From c2b980caedc1a1564ed4e6e486dc87426b85d842 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 16 Nov 2026 12:13:41 +0000 Subject: [PATCH 01/55] Make node_compat config migration lossless and strict [skip ci] --- tests/common/mod.rs | 14 + tests/migrate_config_split.rs | 1146 ++++++++++++++++--------- tests/node_compat.rs | 32 +- tests/node_compat/README.md | 41 +- tests/node_compat/config.jsonc | 12 +- tests/node_compat/report.md | 24 +- tests/node_compat/target-selection.md | 4 +- tests/node_compat_config_report.rs | 34 +- 8 files changed, 836 insertions(+), 471 deletions(-) diff --git a/tests/common/mod.rs b/tests/common/mod.rs index 81a01d0eb..62a46a836 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -2991,6 +2991,20 @@ pub fn load_node_compat_config_with_suite_root( .and_then(|v| v.as_object()) .ok_or_else(|| anyhow::anyhow!("config.jsonc missing 'tests' object"))?; + // Every configured entry counts in the inventory, so its source must exist; otherwise the + // runner and report would silently disagree about the denominator. + let missing: Vec<&String> = tests_obj + .keys() + .filter(|path| !suite_root.join(path).is_file()) + .collect(); + if !missing.is_empty() { + return Err(anyhow!( + "{} node_compat config entries have no vendored source under {}: {missing:?}; map each one to its replacement or remove it with a recorded reason", + missing.len(), + suite_root.display() + )); + } + let mut tests = Vec::new(); for (path, opts) in tests_obj { let category = node_compat_category_from_entry(path, opts, None, suite_root)?; diff --git a/tests/migrate_config_split.rs b/tests/migrate_config_split.rs index 893bac520..6d06b2040 100644 --- a/tests/migrate_config_split.rs +++ b/tests/migrate_config_split.rs @@ -1,524 +1,830 @@ +//! Re-synchronises `tests/node_compat/config.jsonc` with the vendored Node.js suite. +//! +//! Run it after re-vendoring with `cargo test --test migrate_config_split -- --exact migrate_config_split`. +//! The migration rewrites only entries whose subtests changed, keeps every metadata key of every +//! entry and surviving subtest, and adds vendored `.js`/`.mjs` tests that are not listed yet as +//! `unevaluated`. It never deletes an entry and never guesses a classification. It writes a +//! review report to `NODE_COMPAT_MIGRATION_REPORT` (default +//! `target/node-compat-migration-report.json`) and fails when an entry needs a manual mapping: +//! a configured file whose source is gone, a subtest that disappeared, or a split file that can +//! no longer be split and whose subtests had different metadata. +//! +//! The contract tests run against temporary fixtures: +//! `cargo test --test migrate_config_split -- ':tag:migration_contract'`. + test_r::enable!(); #[allow(dead_code)] #[path = "common/mod.rs"] mod common; -use crate::common::js_subtest_parser::{ - SubtestDiscovery, discover_subtests, discover_subtests_with_options, -}; +use crate::common::js_subtest_parser::{SubtestDiscovery, discover_subtests_with_options}; use crate::common::strip_jsonc_comments; -use serde_json::Value; -use std::collections::BTreeSet; +use anyhow::{anyhow, bail}; +use serde_json::{Map, Value, json}; +use std::collections::{BTreeMap, BTreeSet}; use std::fs; +use std::path::Path; use test_r::test; -/// Find the byte span (start, end) of a JSON object value for a given key in JSONC text. -/// Returns the byte range of the value object `{...}` (inclusive of braces). -/// Handles JSONC line/block comments and nested objects. -fn find_value_span(content: &str, key: &str) -> Option<(usize, usize)> { - let search = format!("\"{}\"", key); - let key_pos = content.find(&search)?; - let bytes = content.as_bytes(); - let mut pos = key_pos + search.len(); - - // Skip whitespace - while pos < bytes.len() && bytes[pos].is_ascii_whitespace() { - pos += 1; - } - // Expect ':' - if pos >= bytes.len() || bytes[pos] != b':' { - return None; - } - pos += 1; - // Skip whitespace - while pos < bytes.len() && bytes[pos].is_ascii_whitespace() { - pos += 1; +const SUITES: [&str; 3] = ["parallel", "sequential", "es-module"]; +const NEW_FILE_REASON: &str = "newly discovered, not yet evaluated"; +const NEW_SUBTEST_REASON: &str = "newly discovered subtest, not yet evaluated"; +/// Keys written first, in this order; any other key follows alphabetically, then `split` and +/// `subtests`. +const KEY_ORDER: [&str; 6] = [ + "category", + "reason", + "flaky", + "timeout", + "nestedNodeTest", + "isolateBlockSubtests", +]; + +#[derive(Debug, Default, serde::Serialize, PartialEq)] +#[serde(rename_all = "camelCase")] +struct MigrationReport { + /// Unsplit entries that are now split; their subtests inherit the file's metadata. + split: Vec, + /// Split entries whose subtests changed. + resplit: Vec, + /// Split entries that are now one test; their subtests carried identical metadata. + unsplit: Vec, + /// Vendored tests that were not listed, added as `unevaluated`. + added: Vec, + /// Subtests matched across an index shift by their unchanged description. + renamed: Vec, + /// Subtests without a previous entry. + new_subtests: Vec, + /// Subtests that are gone, with their previous metadata. Needs a mapping. + removed_subtests: Vec, + /// Configured files whose vendored source is gone, left unchanged. Needs a mapping. + missing_sources: Vec, + /// Split files that can no longer be split, left unchanged. Needs a decision. + needs_decision: Vec, +} + +impl MigrationReport { + fn needs_review(&self) -> usize { + self.removed_subtests.len() + self.missing_sources.len() + self.needs_decision.len() } - if pos >= bytes.len() || bytes[pos] != b'{' { - return None; +} + +struct Migration { + content: String, + report: MigrationReport, +} + +/// A member key and the end-exclusive byte span of its value. +type Member = (String, (usize, usize)); + +/// Byte spans of the members of the top-level `"tests"` object. +struct TestsLayout { + /// Member key to the span of its value, end-exclusive. + values: BTreeMap, + /// Position of the closing `}` of the `"tests"` object. + close: usize, +} + +/// Strict JSONC scanner: every member is located by structure, never by searching text, so a +/// key quoted in a comment or reason cannot be mistaken for the entry. +struct Scanner<'a> { + text: &'a str, + pos: usize, +} + +impl<'a> Scanner<'a> { + fn bytes(&self) -> &'a [u8] { + self.text.as_bytes() } - let value_start = pos; - let mut depth = 0; - let mut in_string = false; + fn peek(&self) -> Option { + self.bytes().get(self.pos).copied() + } - while pos < bytes.len() { - if in_string { - if bytes[pos] == b'\\' && pos + 1 < bytes.len() { - pos += 2; - continue; - } - if bytes[pos] == b'"' { - in_string = false; - } - } else { - match bytes[pos] { - b'"' => in_string = true, - b'{' => depth += 1, - b'}' => { - depth -= 1; - if depth == 0 { - return Some((value_start, pos + 1)); - } - } - b'/' if pos + 1 < bytes.len() && bytes[pos + 1] == b'/' => { - pos += 2; - while pos < bytes.len() && bytes[pos] != b'\n' { - pos += 1; + fn skip_trivia(&mut self) -> anyhow::Result<()> { + loop { + match self.peek() { + Some(c) if c.is_ascii_whitespace() => self.pos += 1, + Some(b'/') if self.bytes().get(self.pos + 1) == Some(&b'/') => { + while self.peek().is_some_and(|c| c != b'\n') { + self.pos += 1; } - continue; } - b'/' if pos + 1 < bytes.len() && bytes[pos + 1] == b'*' => { - pos += 2; - while pos + 1 < bytes.len() && !(bytes[pos] == b'*' && bytes[pos + 1] == b'/') { - pos += 1; - } - if pos + 1 < bytes.len() { - pos += 2; - } - continue; + Some(b'/') if self.bytes().get(self.pos + 1) == Some(&b'*') => { + let end = self.text[self.pos + 2..] + .find("*/") + .ok_or_else(|| anyhow!("unterminated block comment at {}", self.pos))?; + self.pos += 2 + end + 2; } - _ => {} + _ => return Ok(()), } } - pos += 1; } - None -} - -/// Find the byte position of the closing '}' of the "tests" object in JSONC content. -fn find_tests_object_close(content: &str) -> Option { - let tests_key = "\"tests\""; - let key_pos = content.find(tests_key)?; - let bytes = content.as_bytes(); - let mut pos = key_pos + tests_key.len(); - - // Skip to ':' - while pos < bytes.len() && bytes[pos].is_ascii_whitespace() { - pos += 1; - } - if pos >= bytes.len() || bytes[pos] != b':' { - return None; - } - pos += 1; - // Skip to '{' - while pos < bytes.len() && bytes[pos].is_ascii_whitespace() { - pos += 1; - } - if pos >= bytes.len() || bytes[pos] != b'{' { - return None; + fn expect(&mut self, c: u8) -> anyhow::Result<()> { + self.skip_trivia()?; + if self.peek() != Some(c) { + bail!("expected '{}' at byte {}", c as char, self.pos); + } + self.pos += 1; + Ok(()) } - let mut depth = 0; - let mut in_string = false; - - while pos < bytes.len() { - if in_string { - if bytes[pos] == b'\\' && pos + 1 < bytes.len() { - pos += 2; - continue; + fn string(&mut self) -> anyhow::Result { + self.skip_trivia()?; + let start = self.pos; + if self.peek() != Some(b'"') { + bail!("expected a string at byte {start}"); + } + self.pos += 1; + loop { + match self.peek() { + None => bail!("unterminated string at byte {start}"), + Some(b'\\') => self.pos += 2, + Some(b'"') => { + self.pos += 1; + return Ok(serde_json::from_str(&self.text[start..self.pos])?); + } + Some(_) => self.pos += 1, } - if bytes[pos] == b'"' { - in_string = false; + } + } + + /// Skips one value and returns its span. + fn value(&mut self) -> anyhow::Result<(usize, usize)> { + self.skip_trivia()?; + let start = self.pos; + match self.peek() { + Some(b'"') => { + self.string()?; } - } else { - match bytes[pos] { - b'"' => in_string = true, - b'{' => depth += 1, - b'}' => { - depth -= 1; - if depth == 0 { - return Some(pos); + Some(open @ (b'{' | b'[')) => { + let close = if open == b'{' { b'}' } else { b']' }; + self.pos += 1; + self.skip_trivia()?; + if self.peek() == Some(close) { + self.pos += 1; + } else { + loop { + if open == b'{' { + self.string()?; + self.expect(b':')?; + } + self.value()?; + self.skip_trivia()?; + match self.peek() { + Some(b',') => { + self.pos += 1; + self.skip_trivia()?; + if self.peek() == Some(close) { + self.pos += 1; + break; + } + } + Some(c) if c == close => { + self.pos += 1; + break; + } + _ => bail!("malformed {} at byte {}", open as char, self.pos), + } } } - b'/' if pos + 1 < bytes.len() && bytes[pos + 1] == b'/' => { - pos += 2; - while pos < bytes.len() && bytes[pos] != b'\n' { - pos += 1; - } - continue; + } + Some(_) => { + while self + .peek() + .is_some_and(|c| !matches!(c, b',' | b'}' | b']') && !c.is_ascii_whitespace()) + { + self.pos += 1; } - b'/' if pos + 1 < bytes.len() && bytes[pos + 1] == b'*' => { - pos += 2; - while pos + 1 < bytes.len() && !(bytes[pos] == b'*' && bytes[pos + 1] == b'/') { - pos += 1; - } - if pos + 1 < bytes.len() { - pos += 2; - } - continue; + if self.pos == start { + bail!("expected a value at byte {start}"); } - _ => {} } + None => bail!("unexpected end of input"), } - pos += 1; + Ok((start, self.pos)) } - None + /// Reads the members of the object starting here: key to value span, and the closing brace. + fn members(&mut self) -> anyhow::Result<(Vec, usize)> { + self.expect(b'{')?; + let mut members = Vec::new(); + loop { + self.skip_trivia()?; + if self.peek() == Some(b'}') { + let close = self.pos; + self.pos += 1; + return Ok((members, close)); + } + let key = self.string()?; + self.expect(b':')?; + let span = self.value()?; + members.push((key, span)); + self.skip_trivia()?; + match self.peek() { + Some(b',') => self.pos += 1, + Some(b'}') => {} + _ => bail!("expected ',' or '}}' at byte {}", self.pos), + } + } + } } -/// Escape a string for embedding in a JSON string literal. -fn escape_json(s: &str) -> String { - s.replace('\\', "\\\\") - .replace('"', "\\\"") - .replace('\n', "\\n") - .replace('\r', "\\r") - .replace('\t', "\\t") +fn tests_layout(content: &str) -> anyhow::Result { + let mut scanner = Scanner { + text: content, + pos: 0, + }; + let (top, _) = scanner.members()?; + let (_, (start, _)) = top + .into_iter() + .find(|(key, _)| key == "tests") + .ok_or_else(|| anyhow!("config has no top-level \"tests\" object"))?; + let mut scanner = Scanner { + text: content, + pos: start, + }; + let (members, close) = scanner.members()?; + let mut values = BTreeMap::new(); + for (key, span) in members { + if values.insert(key.clone(), span).is_some() { + bail!("duplicate node_compat config entry {key:?}"); + } + } + Ok(TestsLayout { values, close }) } -/// Format a split entry value (the part after `"key": `). -fn format_split_value( - skip: bool, - reason: &str, - subtests: &[(String, bool, String)], // (name, skip, reason) -) -> String { - let mut lines = Vec::new(); - lines.push("{".to_string()); - - if skip { - lines.push(" \"skip\": true,".to_string()); - if !reason.is_empty() { - lines.push(format!(" \"reason\": \"{}\",", escape_json(reason))); - } +fn ordered_keys(map: &Map) -> Vec<&String> { + let mut keys: Vec<&String> = KEY_ORDER + .iter() + .filter_map(|k| map.get_key_value(*k).map(|(k, _)| k)) + .collect(); + let mut rest: Vec<&String> = map + .keys() + .filter(|k| !KEY_ORDER.contains(&k.as_str())) + .collect(); + rest.sort(); + keys.extend(rest); + keys +} + +fn format_inline(map: &Map) -> String { + if map.is_empty() { + return "{}".to_string(); } + let members: Vec = ordered_keys(map) + .into_iter() + .map(|k| format!("{}: {}", json!(k), map[k])) + .collect(); + format!("{{ {} }}", members.join(", ")) +} +fn format_split(meta: &Map, subtests: &[(String, Value)]) -> String { + let mut lines = vec!["{".to_string()]; + for k in ordered_keys(meta) { + lines.push(format!(" {}: {},", json!(k), meta[k])); + } lines.push(" \"split\": true,".to_string()); lines.push(" \"subtests\": {".to_string()); - - for (i, (name, sub_skip, sub_reason)) in subtests.iter().enumerate() { + for (i, (name, value)) in subtests.iter().enumerate() { let comma = if i + 1 < subtests.len() { "," } else { "" }; - if *sub_skip { - lines.push(format!( - " \"{}\": {{ \"skip\": true, \"reason\": \"{}\" }}{}", - escape_json(name), - escape_json(sub_reason), - comma - )); - } else { - lines.push(format!(" \"{}\": {{}}{}", escape_json(name), comma)); - } + let value = value.as_object().cloned().unwrap_or_default(); + lines.push(format!( + " {}: {}{comma}", + json!(name), + format_inline(&value) + )); } - lines.push(" }".to_string()); lines.push(" }".to_string()); lines.join("\n") } -/// Build subtests list from discovery, inheriting skip/reason from file level. -fn build_subtests( - discovery: &SubtestDiscovery, - file_skip: bool, - file_reason: &str, -) -> Vec<(String, bool, String)> { - let names: Vec = match discovery { - SubtestDiscovery::None => return Vec::new(), +fn discovered_names(discovery: &SubtestDiscovery) -> Vec { + match discovery { + SubtestDiscovery::None => Vec::new(), SubtestDiscovery::Block(blocks) => blocks.iter().map(|b| b.name.clone()).collect(), SubtestDiscovery::NodeTest(tests) => tests.iter().map(|t| t.name.clone()).collect(), - }; - - names - .into_iter() - .map(|name| { - if file_skip { - let reason = if file_reason.is_empty() { - "inherited".to_string() - } else { - format!("inherited: {}", file_reason) - }; - (name, true, reason) - } else { - (name, false, String::new()) - } - }) - .collect() + } } -/// Build merged subtests from discovery, preserving existing skip/reason for subtests -/// that still exist in the new discovery. -fn build_merged_subtests( - discovery: &SubtestDiscovery, - existing_subtests: &serde_json::Map, - file_skip: bool, - file_reason: &str, -) -> Vec<(String, bool, String)> { - let names: Vec = match discovery { - SubtestDiscovery::None => return Vec::new(), - SubtestDiscovery::Block(blocks) => blocks.iter().map(|b| b.name.clone()).collect(), - SubtestDiscovery::NodeTest(tests) => tests.iter().map(|t| t.name.clone()).collect(), - }; - - names - .into_iter() - .map(|name| { - if let Some(existing) = existing_subtests.get(&name) { - // Preserve existing skip/reason - let skip = existing - .get("skip") - .and_then(|v| v.as_bool()) - .unwrap_or(false); - let reason = existing - .get("reason") - .and_then(|v| v.as_str()) - .unwrap_or("") - .to_string(); - (name, skip, reason) - } else if file_skip { - let reason = if file_reason.is_empty() { - "inherited".to_string() - } else { - format!("inherited: {}", file_reason) - }; - (name, true, reason) - } else { - (name, false, String::new()) - } - }) - .collect() +/// The description part of a generated subtest name (`test_03_assert_throws` → `assert_throws`), +/// or `None` when the description is itself generated (`block_02_block_02`). +fn subtest_description(name: &str) -> Option<&str> { + let (_, rest) = name.split_once('_')?; + let (index, description) = rest.split_once('_')?; + if !index.bytes().all(|b| b.is_ascii_digit()) { + return None; + } + let generated = description.rsplit_once('_').is_some_and(|(word, digits)| { + !digits.is_empty() + && digits.bytes().all(|b| b.is_ascii_digit()) + && word.bytes().all(|b| b.is_ascii_lowercase()) + }); + (!generated).then_some(description) } -/// Format a non-split entry value. -fn format_unsplit_value(skip: bool, reason: &str) -> String { - if skip { - if reason.is_empty() { - "{ \"skip\": true }".to_string() - } else { - format!( - "{{ \"skip\": true, \"reason\": \"{}\" }}", - escape_json(reason) - ) - } +/// The only name in `pool` with this description, if there is exactly one. +fn unique_by_description<'a>(pool: &[&'a String], description: &str) -> Option<&'a String> { + let mut matches = pool + .iter() + .filter(|name| subtest_description(name) == Some(description)); + let first = matches.next().copied(); + if matches.next().is_some() { + None } else { - "{}".to_string() + first } } -/// Extract discovered subtest names as a BTreeSet. -fn discovered_names(discovery: &SubtestDiscovery) -> BTreeSet { - match discovery { - SubtestDiscovery::None => BTreeSet::new(), - SubtestDiscovery::Block(blocks) => blocks.iter().map(|b| b.name.clone()).collect(), - SubtestDiscovery::NodeTest(tests) => tests.iter().map(|t| t.name.clone()).collect(), - } +fn is_listable_test(name: &str) -> bool { + name.starts_with("test-") && (name.ends_with(".js") || name.ends_with(".mjs")) } -/// Discover all `.js` test files from vendored suite directories. -/// Matches the approach used by the config report generator. -fn discover_suite_files() -> BTreeSet { - let suites = ["parallel", "sequential", "es-module"]; +fn discover_suite_files(suite_root: &Path) -> anyhow::Result> { let mut files = BTreeSet::new(); - - for suite in &suites { - let suite_dir = format!("tests/node_compat/suite/{suite}"); - let suite_path = std::path::Path::new(&suite_dir); - if !suite_path.exists() { - eprintln!("Suite directory {suite_dir} not found, skipping"); + for suite in SUITES { + let dir = suite_root.join(suite); + if !dir.is_dir() { continue; } - if let Ok(entries) = fs::read_dir(&suite_dir) { - for entry in entries.flatten() { - let name = entry.file_name().to_string_lossy().to_string(); - if name.ends_with(".js") { - files.insert(format!("{suite}/{name}")); - } + for entry in fs::read_dir(&dir)? { + let entry = entry?; + let name = entry.file_name().to_string_lossy().to_string(); + if entry.file_type()?.is_file() && is_listable_test(&name) { + files.insert(format!("{suite}/{name}")); } } } - - files + Ok(files) } -#[test] -fn migrate_config_split() { - let config_path = "tests/node_compat/config.jsonc"; - let content = fs::read_to_string(config_path).expect("Failed to read config.jsonc"); - let json_str = strip_jsonc_comments(&content); - let config: Value = serde_json::from_str(&json_str).expect("Failed to parse config"); - - let tests_obj = config - .get("tests") - .and_then(|v| v.as_object()) - .expect("config.jsonc missing 'tests' object"); - - let existing_keys: BTreeSet = tests_obj.keys().cloned().collect(); - - // Discover all .js files from suite directories - let all_suite_files = discover_suite_files(); - let new_files: Vec = all_suite_files - .difference(&existing_keys) - .cloned() - .collect(); - - let mut modified_content = content.clone(); - let mut split_count = 0; - let mut update_count = 0; - let mut unsplit_count = 0; - let mut total_subtests = 0; - let mut new_count = 0; - let mut new_split_count = 0; - let empty_map = serde_json::Map::new(); +fn bool_option(opts: &Map, key: &str) -> bool { + opts.get(key).and_then(Value::as_bool).unwrap_or(false) +} - // Phase 1: Split new entries and update stale split entries - let mut split_updates: Vec<(String, String)> = Vec::new(); +fn discover(path: &str, source: &str, opts: &Map) -> Vec { + discovered_names(&discover_subtests_with_options( + path, + source, + bool_option(opts, "nestedNodeTest"), + bool_option(opts, "isolateBlockSubtests"), + )) +} - for (test_path, opts) in tests_obj.iter() { - let is_split = opts.get("split").and_then(|v| v.as_bool()).unwrap_or(false); +/// A new subtest inherits a file-level classification that keeps it out of the runner; in a +/// runnable file it starts as `unevaluated`, because it is not part of the historical baseline. +fn new_subtest_value(meta: &Map) -> Value { + let inherits_excluded = meta + .get("category") + .and_then(Value::as_str) + .is_some_and(|c| !matches!(c, "runnable" | "expected-pass")); + if inherits_excluded { + json!({}) + } else { + json!({ "category": "unevaluated", "reason": NEW_SUBTEST_REASON }) + } +} - let suite_file = format!("tests/node_compat/suite/{}", test_path); - let source = match fs::read_to_string(&suite_file) { - Ok(s) => s, +fn migrate(content: &str, suite_root: &Path) -> anyhow::Result { + let config: Value = serde_json::from_str(&strip_jsonc_comments(content))?; + let tests = config + .get("tests") + .and_then(Value::as_object) + .ok_or_else(|| anyhow!("config.jsonc missing 'tests' object"))?; + let layout = tests_layout(content)?; + let mut report = MigrationReport::default(); + let mut replacements: Vec<(usize, usize, String)> = Vec::new(); + + for (path, opts) in tests { + let opts = opts + .as_object() + .ok_or_else(|| anyhow!("entry {path:?} is not an object"))?; + let source = match fs::read_to_string(suite_root.join(path)) { + Ok(source) => source, Err(_) => { - eprintln!("Skipping {}: file not found", test_path); + report + .missing_sources + .push(json!({ "file": path, "entry": opts })); continue; } }; - - let nested_node_test = opts - .get("nestedNodeTest") - .and_then(|v| v.as_bool()) - .unwrap_or(false); - let isolate_block_subtests = opts - .get("isolateBlockSubtests") - .and_then(|v| v.as_bool()) - .unwrap_or(false); - let discovery = discover_subtests_with_options( - test_path, - &source, - nested_node_test, - isolate_block_subtests, - ); - let file_skip = opts.get("skip").and_then(|v| v.as_bool()).unwrap_or(false); - let file_reason = opts.get("reason").and_then(|v| v.as_str()).unwrap_or(""); - - if is_split { - // Check if subtests need updating - let existing_subtests = opts - .get("subtests") - .and_then(|v| v.as_object()) - .unwrap_or(&empty_map); - let existing_names: BTreeSet = existing_subtests.keys().cloned().collect(); - let disc_names = discovered_names(&discovery); - - if existing_names == disc_names { - continue; // No change needed - } - - if disc_names.len() < 2 { - // Discovery no longer warrants split, convert back to unsplit - let new_value = format_unsplit_value(file_skip, file_reason); - split_updates.push((test_path.clone(), new_value)); - unsplit_count += 1; - } else { - // Update split with merged subtests, preserving existing skip/reason - let subtests = - build_merged_subtests(&discovery, existing_subtests, file_skip, file_reason); - let new_value = format_split_value(file_skip, file_reason, &subtests); - split_updates.push((test_path.clone(), new_value)); - update_count += 1; - total_subtests += subtests.len(); + let names = discover(path, &source, opts); + let mut meta = opts.clone(); + meta.remove("split"); + let existing = meta + .remove("subtests") + .and_then(|v| v.as_object().cloned()) + .unwrap_or_default(); + + let replacement = if !bool_option(opts, "split") { + // An explicit `"split": false` keeps the file as one test. + if names.len() < 2 || opts.contains_key("split") { + continue; } + report.split.push(path.clone()); + let subtests: Vec<(String, Value)> = + names.into_iter().map(|name| (name, json!({}))).collect(); + format_split(&meta, &subtests) } else { - let subtests = build_subtests(&discovery, file_skip, file_reason); - if subtests.len() < 2 { + let discovered: BTreeSet<&String> = names.iter().collect(); + if existing.keys().collect::>() == discovered && names.len() >= 2 { continue; } + if names.len() < 2 { + let mut values = existing.values(); + let first = values.next().cloned().unwrap_or_else(|| json!({})); + if values.any(|v| *v != first) { + report.needs_decision.push(json!({ + "file": path, + "problem": "no longer splits, but its subtests carried different metadata", + "entry": opts, + })); + continue; + } + for (k, v) in first.as_object().into_iter().flatten() { + meta.insert(k.clone(), v.clone()); + } + report.unsplit.push(path.clone()); + format_inline(&meta) + } else { + let removed: Vec<&String> = existing + .keys() + .filter(|name| !discovered.contains(name)) + .collect(); + let added: Vec<&String> = names + .iter() + .filter(|name| !existing.contains_key(*name)) + .collect(); + let mut renamed_from: BTreeMap<&String, &String> = BTreeMap::new(); + for name in &added { + if let Some(description) = subtest_description(name) + && unique_by_description(&added, description) == Some(*name) + && let Some(old) = unique_by_description(&removed, description) + { + renamed_from.insert(*name, old); + } + } + let carried: BTreeSet<&String> = renamed_from.values().copied().collect(); + let mut subtests = Vec::new(); + for name in &names { + let value = if let Some(value) = existing.get(name) { + value.clone() + } else if let Some(old) = renamed_from.get(name) { + report + .renamed + .push(json!({ "file": path, "from": old, "to": name })); + existing[old.as_str()].clone() + } else { + report + .new_subtests + .push(json!({ "file": path, "subtest": name })); + new_subtest_value(&meta) + }; + subtests.push((name.clone(), value)); + } + for old in removed.into_iter().filter(|old| !carried.contains(old)) { + report.removed_subtests.push(json!({ + "file": path, + "subtest": old, + "fileEntry": meta, + "entry": existing[old.as_str()], + })); + } + report.resplit.push(path.clone()); + format_split(&meta, &subtests) + } + }; + let (start, end) = layout.values[path.as_str()]; + replacements.push((start, end, replacement)); + } - let new_value = format_split_value(file_skip, file_reason, &subtests); - split_updates.push((test_path.clone(), new_value)); - split_count += 1; - total_subtests += subtests.len(); + let mut migrated = content.to_string(); + let added: Vec = discover_suite_files(suite_root)? + .into_iter() + .filter(|path| !tests.contains_key(path)) + .collect(); + if !added.is_empty() { + let mut section = String::new(); + let before = migrated[..layout.close].trim_end(); + if !before.ends_with(',') && !before.ends_with('{') { + section.push(','); } + section.push_str("\n\n // === newly discovered tests (not yet evaluated) ==="); + let mut meta = Map::new(); + meta.insert("category".into(), json!("unevaluated")); + meta.insert("reason".into(), json!(NEW_FILE_REASON)); + for (i, path) in added.iter().enumerate() { + let source = fs::read_to_string(suite_root.join(path))?; + let names = discover(path, &source, &Map::new()); + let value = if names.len() >= 2 { + let subtests: Vec<(String, Value)> = + names.into_iter().map(|name| (name, json!({}))).collect(); + format_split(&meta, &subtests) + } else { + format_inline(&meta) + }; + let comma = if i + 1 < added.len() { "," } else { "" }; + section.push_str(&format!("\n {}: {value}{comma}", json!(path))); + } + section.push_str("\n "); + let trimmed_end = before.len(); + replacements.push((trimmed_end, layout.close, section)); + report.added = added; } - // Apply split updates in reverse order of position to preserve byte offsets - let mut positioned_updates: Vec<(usize, usize, String)> = Vec::new(); - for (key, new_value) in &split_updates { - if let Some((start, end)) = find_value_span(&modified_content, key) { - positioned_updates.push((start, end, new_value.clone())); - } else { - eprintln!("WARNING: Could not find value span for key: {}", key); - } + replacements.sort_by_key(|(start, _, _)| std::cmp::Reverse(*start)); + for (start, end, text) in replacements { + migrated.replace_range(start..end, &text); } - positioned_updates.sort_by_key(|b| std::cmp::Reverse(b.0)); // reverse order preserves offsets + // The result must still be a valid config with the same top-level shape. + tests_layout(&migrated)?; + Ok(Migration { + content: migrated, + report, + }) +} - for (start, end, new_value) in positioned_updates { - modified_content.replace_range(start..end, &new_value); +#[test] +fn migrate_config_split() -> anyhow::Result<()> { + let config_path = "tests/node_compat/config.jsonc"; + let report_path = std::env::var("NODE_COMPAT_MIGRATION_REPORT") + .unwrap_or_else(|_| "target/node-compat-migration-report.json".to_string()); + let content = fs::read_to_string(config_path)?; + let Migration { + content: migrated, + report, + } = migrate(&content, Path::new("tests/node_compat/suite"))?; + fs::write(config_path, migrated)?; + if let Some(parent) = Path::new(&report_path).parent() { + fs::create_dir_all(parent)?; } + fs::write(&report_path, serde_json::to_string_pretty(&report)? + "\n")?; - // Phase 2: Insert new entries before the closing '}' of the tests object - if !new_files.is_empty() { - let close_pos = find_tests_object_close(&modified_content) - .expect("Could not find closing brace of tests object"); + println!("Migration of {config_path}:"); + println!(" newly split: {}", report.split.len()); + println!(" re-split: {}", report.resplit.len()); + println!(" unsplit: {}", report.unsplit.len()); + println!(" added as unevaluated: {}", report.added.len()); + println!( + " subtests renamed by index shift: {}", + report.renamed.len() + ); + println!(" new subtests: {}", report.new_subtests.len()); + println!(" removed subtests: {}", report.removed_subtests.len()); + println!( + " configured files without source: {}", + report.missing_sources.len() + ); + println!( + " entries needing a decision: {}", + report.needs_decision.len() + ); + println!(" review report: {report_path}"); + if report.needs_review() > 0 { + bail!( + "{} config entries need a manual mapping; see {report_path}. Map each one to its replacement or record the target change; never by count alone", + report.needs_review() + ); + } + Ok(()) +} - // Split content at the tests object closing brace - let prefix = &modified_content[..close_pos]; - let suffix = &modified_content[close_pos..]; // starts with '}' +#[cfg(test)] +mod contract { + use super::*; + use camino_tempfile::Utf8TempDir; + use test_r::test; - // Check if the last existing entry needs a trailing comma - let trimmed_prefix = prefix.trim_end(); - let needs_comma = !trimmed_prefix.ends_with(',') && !trimmed_prefix.ends_with('{'); + const TWO_TESTS: &str = + "const test = require('node:test');\ntest('alpha', () => {});\ntest('beta', () => {});\n"; - let mut new_section = String::new(); + struct Fixture { + temp: Utf8TempDir, + } - if needs_comma { - // Insert comma right after the last entry value - // We append it to trimmed_prefix and then re-add the whitespace - new_section.push(','); + impl Fixture { + fn new() -> Self { + Self { + temp: Utf8TempDir::new().unwrap(), + } } - new_section.push_str("\n\n // === newly discovered tests (not yet evaluated) ==="); + fn source(&self, path: &str, source: &str) -> &Self { + let path = self.temp.path().join(path); + fs::create_dir_all(path.parent().unwrap()).unwrap(); + fs::write(path, source).unwrap(); + self + } - for test_path in &new_files { - let suite_file = format!("tests/node_compat/suite/{}", test_path); - let source = match fs::read_to_string(&suite_file) { - Ok(s) => s, - Err(_) => { - eprintln!("Skipping new file {}: could not read", test_path); - continue; - } - }; + fn migrate(&self, tests: &str) -> Migration { + let content = format!( + "{{\n \"nodeVersion\": \"22.14.0\",\n // \"parallel/test-a.js\" is quoted here\n \"tests\": {{\n{tests}\n }}\n}}\n" + ); + migrate(&content, self.temp.path().as_std_path()).unwrap() + } + } - let discovery = discover_subtests(test_path, &source); - let subtests = build_subtests(&discovery, true, "newly discovered, not yet evaluated"); + fn entries(migration: &Migration) -> Map { + let config: Value = + serde_json::from_str(&strip_jsonc_comments(&migration.content)).unwrap(); + config["tests"].as_object().unwrap().clone() + } - if subtests.len() >= 2 { - let value = - format_split_value(true, "newly discovered, not yet evaluated", &subtests); - new_section.push_str(&format!("\n \"{}\": {},", test_path, value)); - total_subtests += subtests.len(); - new_split_count += 1; - } else { - new_section.push_str(&format!( - "\n \"{}\": {{ \"skip\": true, \"reason\": \"newly discovered, not yet evaluated\" }},", - test_path - )); - } - new_count += 1; + fn node_tests(names: &[&str]) -> String { + let mut source = "const test = require('node:test');\n".to_string(); + for name in names { + source.push_str(&format!("test('{name}', () => {{}});\n")); } + source + } - // Remove trailing comma from the very last new entry - if new_section.ends_with(',') { - new_section.pop(); - } + #[test] + #[test_r::tag(migration_contract)] + fn splitting_keeps_every_file_level_key() { + let fixture = Fixture::new(); + fixture.source("parallel/test-a.js", TWO_TESTS); + let migration = fixture.migrate( + r#" "parallel/test-a.js": { "category": "known-gap", "reason": "gap", "flaky": true, "timeout": 300, "custom": 1 }"#, + ); + let entry = &entries(&migration)["parallel/test-a.js"]; + assert_eq!( + *entry, + json!({ + "category": "known-gap", "reason": "gap", "flaky": true, "timeout": 300, + "custom": 1, "split": true, + "subtests": { "test_00_alpha": {}, "test_01_beta": {} }, + }) + ); + assert_eq!(migration.report.split, ["parallel/test-a.js"]); + } - new_section.push_str("\n "); // indentation before closing '}' + #[test] + #[test_r::tag(migration_contract)] + fn an_explicit_split_false_is_kept() { + let fixture = Fixture::new(); + fixture.source("parallel/test-a.js", TWO_TESTS); + let entry = r#" "parallel/test-a.js": { "category": "runnable", "split": false }"#; + let migration = fixture.migrate(entry); + assert!(migration.content.contains(entry)); + assert_eq!(migration.report, MigrationReport::default()); + } - // Reconstruct: trimmed prefix + new section + suffix - modified_content = format!("{}{}{}", trimmed_prefix, new_section, suffix); + #[test] + #[test_r::tag(migration_contract)] + fn resplitting_keeps_metadata_and_reports_changed_subtests() { + let fixture = Fixture::new(); + // `alpha` stays, `beta` moves from index 1 to 2, `gone` disappears, `fresh` is new. + fixture.source( + "parallel/test-a.js", + &node_tests(&["alpha", "fresh", "beta"]), + ); + let migration = fixture.migrate( + r#" "parallel/test-a.js": { + "timeout": 30, + "isolateBlockSubtests": false, + "split": true, + "subtests": { + "test_00_alpha": { "category": "known-gap", "reason": "a" }, + "test_01_beta": { "flaky": true }, + "test_02_gone": { "category": "runnable" } + } + }"#, + ); + let entry = &entries(&migration)["parallel/test-a.js"]; + assert_eq!( + *entry, + json!({ + "timeout": 30, "isolateBlockSubtests": false, "split": true, + "subtests": { + "test_00_alpha": { "category": "known-gap", "reason": "a" }, + "test_01_fresh": { "category": "unevaluated", "reason": NEW_SUBTEST_REASON }, + "test_02_beta": { "flaky": true }, + }, + }) + ); + let report = &migration.report; + assert_eq!( + report.renamed, + [json!({ "file": "parallel/test-a.js", "from": "test_01_beta", "to": "test_02_beta" })] + ); + assert_eq!(report.removed_subtests.len(), 1); + assert_eq!(report.removed_subtests[0]["subtest"], "test_02_gone"); + assert_eq!(report.removed_subtests[0]["entry"]["category"], "runnable"); + assert_eq!(report.needs_review(), 1); } - // Write back - fs::write(config_path, &modified_content).expect("Failed to write config.jsonc"); + #[test] + #[test_r::tag(migration_contract)] + fn new_subtests_inherit_an_excluded_file_category() { + let fixture = Fixture::new(); + fixture.source( + "parallel/test-a.js", + &node_tests(&["alpha", "beta", "gamma"]), + ); + let migration = fixture.migrate( + r#" "parallel/test-a.js": { "category": "wasi-impossible", "split": true, "subtests": { "test_00_alpha": {}, "test_01_beta": {} } }"#, + ); + let entry = &entries(&migration)["parallel/test-a.js"]; + assert_eq!(entry["subtests"]["test_02_gamma"], json!({})); + assert_eq!(entry["category"], "wasi-impossible"); + } - println!("Migration complete:"); - println!(" Existing files split: {}", split_count); - println!(" Existing splits updated: {}", update_count); - println!(" Existing splits unsplit: {}", unsplit_count); - println!( - " New files added: {} ({} with splits)", - new_count, new_split_count - ); - println!(" Total subtests discovered: {}", total_subtests); - println!(" Config written to: {}", config_path); + #[test] + #[test_r::tag(migration_contract)] + fn unsplitting_requires_identical_subtest_metadata() { + let fixture = Fixture::new(); + fixture + .source("parallel/test-same.js", &node_tests(&["only"])) + .source("parallel/test-mixed.js", &node_tests(&["only"])); + let mixed = r#" "parallel/test-mixed.js": { "split": true, "subtests": { "test_00_only": {}, "test_01_other": { "category": "known-gap" } } }"#; + let migration = fixture.migrate(&format!( + "{mixed},\n \"parallel/test-same.js\": {{ \"reason\": \"r\", \"split\": true, \"subtests\": {{ \"test_00_a\": {{ \"category\": \"known-gap\" }}, \"test_01_b\": {{ \"category\": \"known-gap\" }} }} }}" + )); + let entries = entries(&migration); + assert_eq!( + entries["parallel/test-same.js"], + json!({ "category": "known-gap", "reason": "r" }) + ); + assert!( + migration.content.contains(mixed), + "mixed entry must stay untouched" + ); + assert_eq!(migration.report.needs_decision.len(), 1); + assert_eq!( + migration.report.needs_decision[0]["file"], + "parallel/test-mixed.js" + ); + } + + #[test] + #[test_r::tag(migration_contract)] + fn unlisted_js_and_mjs_tests_are_added_as_unevaluated() { + let fixture = Fixture::new(); + fixture + .source("parallel/test-a.js", "") + .source("parallel/test-b.mjs", "import 'node:assert';\n") + .source("es-module/test-c.mjs", &node_tests(&["one", "two"])) + .source("parallel/helper.js", "") + .source("parallel/test-notes.txt", ""); + let migration = fixture.migrate(r#" "parallel/test-a.js": {}"#); + let entries = entries(&migration); + assert_eq!( + migration.report.added, + ["es-module/test-c.mjs", "parallel/test-b.mjs"] + ); + assert_eq!( + entries["parallel/test-b.mjs"], + json!({ "category": "unevaluated", "reason": NEW_FILE_REASON }) + ); + assert_eq!( + entries["es-module/test-c.mjs"], + json!({ + "category": "unevaluated", "reason": NEW_FILE_REASON, "split": true, + "subtests": { "test_00_one": {}, "test_01_two": {} }, + }) + ); + assert!(!entries.contains_key("parallel/helper.js")); + } + + #[test] + #[test_r::tag(migration_contract)] + fn missing_sources_are_reported_and_kept() { + let fixture = Fixture::new(); + let missing = r#" "sequential/test-moved.js": { "category": "runnable" }"#; + let migration = fixture.migrate(missing); + assert!(migration.content.contains(missing)); + assert_eq!(migration.report.missing_sources.len(), 1); + assert_eq!( + migration.report.missing_sources[0]["file"], + "sequential/test-moved.js" + ); + assert_eq!(migration.report.needs_review(), 1); + } + + #[test] + #[test_r::tag(migration_contract)] + fn a_second_run_changes_nothing() { + let fixture = Fixture::new(); + fixture + .source("parallel/test-a.js", TWO_TESTS) + .source("parallel/test-b.mjs", ""); + let first = fixture.migrate(r#" "parallel/test-a.js": { "category": "known-gap" }"#); + let second = migrate(&first.content, fixture.temp.path().as_std_path()).unwrap(); + assert_eq!(second.content, first.content); + assert_eq!(second.report, MigrationReport::default()); + } + + #[test] + #[test_r::tag(migration_contract)] + fn duplicate_entries_are_rejected() { + let fixture = Fixture::new(); + let content = "{ \"nodeVersion\": \"22.14.0\", \"tests\": { \"parallel/test-a.js\": {}, \"parallel/test-a.js\": { \"category\": \"known-gap\" } } }"; + let error = migrate(content, fixture.temp.path().as_std_path()) + .err() + .unwrap(); + assert!(error.to_string().contains("duplicate"), "{error:#}"); + } } diff --git a/tests/node_compat.rs b/tests/node_compat.rs index eb11e925f..58a4dc5db 100644 --- a/tests/node_compat.rs +++ b/tests/node_compat.rs @@ -690,13 +690,8 @@ fn gen_node_compat_tests(r: &mut DynamicTestRegistration) { } else { // Split: one Rust test per subtest let suite_path = format!("tests/node_compat/suite/{}", path); - let source = match fs::read_to_string(&suite_path) { - Ok(s) => s, - Err(e) => { - eprintln!("WARNING: Cannot read split test file {}: {}", suite_path, e); - continue; - } - }; + let source = fs::read_to_string(&suite_path) + .unwrap_or_else(|e| panic!("Cannot read split test file {suite_path}: {e}")); let discovery = discover_subtests_with_options( &path, @@ -705,17 +700,22 @@ fn gen_node_compat_tests(r: &mut DynamicTestRegistration) { entry.isolate_block_subtests, ); - // Staleness check: compare discovered subtest count vs config count - let discovered_count = match &discovery { - SubtestDiscovery::None => 0, - SubtestDiscovery::Block(blocks) => blocks.len(), - SubtestDiscovery::NodeTest(tests) => tests.len(), + // Staleness check: a subtest runs by the index in its configured name, so the names, + // not just their number, must match the vendored source. + let mut discovered: Vec<&str> = match &discovery { + SubtestDiscovery::None => Vec::new(), + SubtestDiscovery::Block(blocks) => blocks.iter().map(|b| b.name.as_str()).collect(), + SubtestDiscovery::NodeTest(tests) => { + tests.iter().map(|t| t.name.as_str()).collect() + } }; + let mut configured: Vec<&str> = + entry.subtests.iter().map(|s| s.name.as_str()).collect(); + discovered.sort_unstable(); + configured.sort_unstable(); assert_eq!( - discovered_count, - entry.subtests.len(), - "Subtest count mismatch for {path}: config has {}, discovered {discovered_count}. Run migration tool.", - entry.subtests.len() + configured, discovered, + "Subtest names for {path} differ between config.jsonc and the vendored source. Run the migration tool (cargo test --test migrate_config_split -- --exact migrate_config_split) and map its report." ); for subtest in &entry.subtests { diff --git a/tests/node_compat/README.md b/tests/node_compat/README.md index 810ab35a3..8ca887832 100644 --- a/tests/node_compat/README.md +++ b/tests/node_compat/README.md @@ -40,9 +40,40 @@ developer runs the vendor script to populate it. Configuration loading and report generation inspect these pinned sources to distinguish public API coverage from tests that rely on Node.js internals. They -fail when the suite is absent, a source required for implicit classification is -missing, or the vendored version differs from `config.jsonc`; this prevents -missing classification inputs from silently changing the compatibility totals. +fail when the suite is absent, any configured entry has no vendored source, or +the vendored version differs from `config.jsonc`; this prevents missing inputs +from silently changing the compatibility totals. The runner also fails when a +split entry's subtest names differ from the names discovered in its source, +because each subtest runs by the index in its configured name. + +## Migrating the Config After Re-vendoring + +After vendoring another version, set `nodeVersion` and run: + +```bash +cargo test --test migrate_config_split -- --exact migrate_config_split +``` + +The migration rewrites only entries whose subtests changed and keeps every +metadata key (`category`, `reason`, `flaky`, `timeout`, split options) of the file +and of each surviving subtest: + +- An unsplit file that now has several subtests is split; each subtest inherits + the file's metadata. An explicit `"split": false` keeps it whole. +- A subtest whose index shifted keeps its metadata when its description is + unchanged and unique. A new subtest starts `unevaluated` unless the file is + already excluded from the runner. +- A split file that no longer splits becomes one entry only when all its + subtests carried identical metadata; otherwise it is left unchanged for a + decision. +- Unlisted vendored `test-*.js` and `test-*.mjs` files are added as + `unevaluated`. + +It never deletes an entry. Configured files without a source, removed subtests and +undecided unsplits are written to `target/node-compat-migration-report.json` +(override with `NODE_COMPAT_MIGRATION_REPORT`), and the run fails until each one +is mapped by reading both versions. The tool's contract tests run with +`cargo test --test migrate_config_split -- ':tag:migration_contract'`. ## Target Selection @@ -59,8 +90,10 @@ passing case that does not pass unchanged on both candidates. are run by the test harness. Each entry can include: - `{}` — test should pass +- `{ "category": "...", "reason": "..." }` — classification; see the header of + `config.jsonc` for the categories. Only `runnable` entries run. - `{ "flaky": true }` — one retry (two total attempts, each with fresh runtime state) -- `{ "skip": true, "reason": "..." }` — skip with explanation +- `{ "timeout": 300 }` — per-case timeout in seconds Retries are bounded by test-r's native `RetryKnownFlaky(2)` policy: a passing attempt ends the test, and two failed attempts fail it. Non-split tests use the diff --git a/tests/node_compat/config.jsonc b/tests/node_compat/config.jsonc index 921c580c5..34f49bbf0 100644 --- a/tests/node_compat/config.jsonc +++ b/tests/node_compat/config.jsonc @@ -5899,11 +5899,7 @@ "parallel/test-https-unix-socket-self-signed.js": { "category": "wasi-impossible", "reason": "requires https.createServer/TLS server behavior, unsupported by WASI transport" }, // === Additional sequential tests (http/https/net) === - "sequential/test-http-max-sockets.js": { "category": "known-gap", "reason": "sequential path is stale in vendored suite; equivalent maxSockets queueing/release behavior is not Node-compatible" }, "sequential/test-http-regr-gh-2928.js": { "category": "node-internals", "reason": "uses private `_http_common.parsers` and `HTTPParser` internals" }, - "sequential/test-http-server-request-timeout-keepalive.js": { "category": "known-gap", "reason": "sequential path is stale in vendored suite; equivalent server.requestTimeout keep-alive handling is not Node-compatible" }, - "sequential/test-http-server-request-timeout-pipelining.js": { "category": "known-gap", "reason": "sequential path is stale in vendored suite; equivalent server.requestTimeout pipelining handling is not Node-compatible" }, - "sequential/test-http-server-request-timeout-upgrade.js": { "category": "known-gap", "reason": "sequential path is stale in vendored suite; equivalent Upgrade timeout-disabling semantics are not Node-compatible" }, "sequential/test-https-connect-localport.js": { "category": "wasi-impossible", "reason": "https.createServer (TLS server) is not supported in WebAssembly environment" }, "sequential/test-net-connect-local-error.js": {}, "sequential/test-net-localport.js": {}, @@ -6793,13 +6789,13 @@ "nestedNodeTest": true, "subtests": { "test_00_should_throw_when_no_arguments_are_provided": { "category": "runnable" }, - "test_01_should_throw_when_parent_location_is_invalid": { "category": "runnable" }, - "test_02_should_accept_a_file_url_string": { "category": "runnable" }, + "test_01_should_throw_when_parentlocation_is_invalid": { "category": "runnable" }, + "test_02_should_accept_a_file_url_string_like_from_import_meta_resolv": { "category": "runnable" }, "test_03_should_accept_a_file_url_instance": { "category": "runnable" }, "test_04_should_be_able_to_crawl_up_cjs": { "category": "runnable" }, "test_05_should_be_able_to_crawl_up_esm": { "category": "runnable" }, "test_06_can_require_via_package_json": { "category": "runnable" }, - "test_07_should_resolve_root_and_closest_package_json": { + "test_07_should_be_able_to_resolve_both_root_and_closest_package_json": { "category": "known-gap", "reason": "uses child_process spawn path (spawnPromisified)" }, @@ -6807,7 +6803,7 @@ "category": "known-gap", "reason": "requires child process loader/eval flags" }, - "test_09_should_work_with_async_resolve_hook_registered": { + "test_09_should_work_with_an_async_resolve_hook_registered": { "category": "known-gap", "reason": "requires child process loader/eval flags" } diff --git a/tests/node_compat/report.md b/tests/node_compat/report.md index 21700d978..cc3874d37 100644 --- a/tests/node_compat/report.md +++ b/tests/node_compat/report.md @@ -8,21 +8,21 @@ This report is generated from `config.jsonc` and the pinned vendored Node.js sou Primary compatibility is measured over the public API surface we can provide: CI-enforced passing (`runnable`) plus `known-gap`. WASI-impossible tests, engine differences, unevaluated tests, and Node.js-internals tests are acknowledged separately and excluded from the primary percentage. -**Primary compatibility (CI-enforced):** 3260/4451 (73.2%) +**Primary compatibility (CI-enforced):** 3260/4447 (73.3%) When comparing revisions, read the runnable count and secondary full-public percentage alongside the primary percentage. Reclassifying a test into an excluded category can increase the primary percentage without increasing runnable coverage. | Classification | Count | Primary % | Public inventory % | All listed % | |----------------|-------|-----------|--------------------|--------------| -| ✅ passing (runnable) | 3260 | 73.2% | 56.1% | 47.2% | -| 🧩 known gap | 1191 | 26.8% | 20.5% | 17.2% | -| 🚫 WASI-impossible (excluded) | 1192 | — | 20.5% | 17.2% | +| ✅ passing (runnable) | 3260 | 73.3% | 56.1% | 47.2% | +| 🧩 known gap | 1187 | 26.7% | 20.4% | 17.2% | +| 🚫 WASI-impossible (excluded) | 1192 | — | 20.5% | 17.3% | | ⚙️ engine difference (excluded) | 167 | — | 2.9% | 2.4% | | ❔ unevaluated (excluded) | 0 | — | 0.0% | 0.0% | | 🔒 Node.js internals (excluded) | 1101 | — | — | 15.9% | -| **Total** | **6911** | | | **100.0%** | +| **Total** | **6907** | | | **100.0%** | -Secondary full-public compatibility, including public tests that are currently excluded from primary: **3260/5810 (56.1%)**. +Secondary full-public compatibility, including public tests that are currently excluded from primary: **3260/5806 (56.1%)**. ## Inventory by Module @@ -52,7 +52,7 @@ Secondary full-public compatibility, including public tests that are currently e | fs | 482 | 339 | 46 | 21 | 5 | 0 | 71 | 88.1% | 82.5% | | global | 11 | 4 | 5 | 0 | 0 | 0 | 2 | 44.4% | 44.4% | | heap | 22 | 0 | 0 | 15 | 7 | 0 | 0 | 0.0% | 0.0% | -| http | 898 | 240 | 275 | 301 | 2 | 0 | 80 | 46.6% | 29.3% | +| http | 894 | 240 | 271 | 301 | 2 | 0 | 80 | 47.0% | 29.5% | | inspector | 95 | 1 | 0 | 93 | 0 | 0 | 1 | 100.0% | 1.1% | | internal | 53 | 1 | 0 | 0 | 0 | 0 | 52 | 100.0% | 100.0% | | module | 174 | 123 | 31 | 7 | 1 | 0 | 12 | 79.9% | 75.9% | @@ -688,7 +688,7 @@ Secondary full-public compatibility, including public tests that are currently e ## Classified Non-Runnable Tests -### known gap (1191) +### known gap (1187) | Reason | Count | Example entries | |--------|-------|-----------------| @@ -808,7 +808,7 @@ Secondary full-public compatibility, including public tests that are currently e | process.permission worker-thread restrictions are incomplete | 2 | `parallel/test-permission-dc-worker-threads.js`, `parallel/test-permission-worker-threads-cli.js` | | process.report.writeReport and permission-model integration are missing | 2 | `parallel/test-permission-fs-write-report.js#block_00_block_00`, `parallel/test-permission-fs-write-report.js#block_01_block_01` | | promisified exec()/execFile() rejection errors miss stdout/stderr fields | 2 | `parallel/test-child-process-promisified.js#block_04_block_04`, `parallel/test-child-process-promisified.js#block_05_block_05` | -| requires child process loader/eval flags | 2 | `parallel/test-find-package-json.js#test_08_should_work_within_a_loader`, `parallel/test-find-package-json.js#test_09_should_work_with_async_resolve_hook_registered` | +| requires child process loader/eval flags | 2 | `parallel/test-find-package-json.js#test_08_should_work_within_a_loader`, `parallel/test-find-package-json.js#test_09_should_work_with_an_async_resolve_hook_registered` | | requires isolated process.execPath TypeScript entry execution and Node CLI default-module / require-module flag handling | 2 | `es-module/test-typescript-commonjs.mjs`, `es-module/test-typescript-module.mjs` | | requires spawned process.execPath entry-point execution for extensionless ESM files | 2 | `es-module/test-esm-extensionless-esm-and-wasm.mjs#test_00_should_run_as_the_entry_point`, `es-module/test-esm-extensionless-esm-and-wasm.mjs#test_06_should_run_as_the_entry_point` | | spawn() timeout/killSignal behavior is not Node-compatible in WASM emulation | 2 | `parallel/test-child-process-spawn-timeout-kill-signal.js#block_00_block_00`, `parallel/test-child-process-spawn-timeout-kill-signal.js#block_01_block_01` | @@ -1219,10 +1219,6 @@ Secondary full-public compatibility, including public tests that are currently e | same-process import.meta.resolve behavior is covered by runtime tests; remaining vendored failure requires child_process execPath emulation for --input-type/--import ESM CLI modes | 1 | `es-module/test-esm-import-meta-resolve.mjs` | | sendBlockList connect path can crash in WASI UDP implementation | 1 | `parallel/test-dgram-blocklist.js#block_00_block_00` | | sendBlockList send() callback path is not Node-compatible and can hang | 1 | `parallel/test-dgram-blocklist.js#block_01_block_01` | -| sequential path is stale in vendored suite; equivalent Upgrade timeout-disabling semantics are not Node-compatible | 1 | `sequential/test-http-server-request-timeout-upgrade.js` | -| sequential path is stale in vendored suite; equivalent maxSockets queueing/release behavior is not Node-compatible | 1 | `sequential/test-http-max-sockets.js` | -| sequential path is stale in vendored suite; equivalent server.requestTimeout keep-alive handling is not Node-compatible | 1 | `sequential/test-http-server-request-timeout-keepalive.js` | -| sequential path is stale in vendored suite; equivalent server.requestTimeout pipelining handling is not Node-compatible | 1 | `sequential/test-http-server-request-timeout-pipelining.js` | | server listen/close race with async DNS lookup is not Node-compatible | 1 | `parallel/test-net-server-close-before-calling-lookup-callback.js` | | server option insecureHTTPParser:true is ignored for incoming invalid headers | 1 | `parallel/test-http-insecure-parser-per-stream.js#block_02_test_3_the_client_sends_an_invalid_header` | | server option maxHeaderSize is ignored for incoming oversized headers | 1 | `parallel/test-http-max-header-size-per-stream.js#block_02_test_3_the_client_sends_larger_headers_than_what_would_other` | @@ -1282,7 +1278,7 @@ Secondary full-public compatibility, including public tests that are currently e | uncaught exception handling in HTTP request callbacks does not recover/terminate like Node and hangs | 1 | `parallel/test-http-exceptions.js` | | uncaughtException rethrow exit-code semantics are incomplete | 1 | `parallel/test-unhandled-exception-rethrow-error.js` | | uses V8 native %GetUndetectable() syntax which QuickJS cannot evaluate | 1 | `parallel/test-util-inspect.js#block_83_https_github_com_nodejs_node_issues_31889` | -| uses child_process spawn path (spawnPromisified) | 1 | `parallel/test-find-package-json.js#test_07_should_resolve_root_and_closest_package_json` | +| uses child_process spawn path (spawnPromisified) | 1 | `parallel/test-find-package-json.js#test_07_should_be_able_to_resolve_both_root_and_closest_package_json` | | util.MIMEType parsing API is not implemented | 1 | `parallel/test-mime-whatwg.js` | | util.MIMEType/util.MIMEParams are not implemented | 1 | `parallel/test-mime-api.js` | | util.debuglog formatting/callback behavior is not fully Node-compatible | 1 | `sequential/test-util-debug.js` | diff --git a/tests/node_compat/target-selection.md b/tests/node_compat/target-selection.md index 937d81d59..2a975bd28 100644 --- a/tests/node_compat/target-selection.md +++ b/tests/node_compat/target-selection.md @@ -353,7 +353,9 @@ All of this is required for either target unless marked "26 only". 1. Create a fresh worktree, run `./tests/node_compat/vendor.sh 26.13.1`, and set `"nodeVersion": "26.13.1"`. -2. Apply harness item 2 first, then run `cargo test --test migrate_config_split`. +2. Harness items 2 and 3 are in place. Run + `cargo test --test migrate_config_split -- --exact migrate_config_split` and map every + entry in its review report (see the [README](README.md#migrating-the-config-after-re-vendoring)). 3. Keep each 22.14.0 category. New files start as `unevaluated`; they are not part of the restored baseline. 4. Map every 22.14.0 passing case using the mapping file: diff --git a/tests/node_compat_config_report.rs b/tests/node_compat_config_report.rs index c540888dc..dd41a6d19 100644 --- a/tests/node_compat_config_report.rs +++ b/tests/node_compat_config_report.rs @@ -199,11 +199,26 @@ fn node_compat_config_requires_source_for_implicit_classification() -> anyhow::R fixture.write_suite_version("22.14.0")?; let error = fixture.load().unwrap_err(); assert!( - error - .to_string() - .contains("cannot classify node-compat entry"), + error.to_string().contains("no vendored source"), + "{error:#}" + ); + Ok(()) +} + +#[test] +#[test_r::tag(report_contract)] +fn node_compat_config_requires_source_for_classified_entries() -> anyhow::Result<()> { + let fixture = NodeCompatConfigFixture::with_tests( + r#"{"parallel/test-internal.js": {"category": "known-gap", "reason": "gap"}}"#, + )?; + fixture.write_suite_version("22.14.0")?; + let error = fixture.load().unwrap_err(); + assert!( + error.to_string().contains("parallel/test-internal.js"), "{error:#}" ); + fixture.write_source("'use strict';\n")?; + assert_eq!(fixture.load()?[0].category, NodeCompatCategory::KnownGap); Ok(()) } @@ -235,14 +250,17 @@ impl NodeCompatConfigFixture { } fn create(with_implicit_entry: bool) -> anyhow::Result { - let temp = Utf8TempDir::new()?; - let config_path = temp.path().join("config.jsonc"); - let suite_root = temp.path().join("suite"); - let tests = if with_implicit_entry { + Self::with_tests(if with_implicit_entry { r#"{"parallel/test-internal.js": {}}"# } else { "{}" - }; + }) + } + + fn with_tests(tests: &str) -> anyhow::Result { + let temp = Utf8TempDir::new()?; + let config_path = temp.path().join("config.jsonc"); + let suite_root = temp.path().join("suite"); fs::write( &config_path, format!(r#"{{"nodeVersion": "22.14.0", "tests": {tests}}}"#), From ad33f0571cb50df5dc624ab82cd4fa8bfda2f9b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 16 Nov 2026 12:13:52 +0000 Subject: [PATCH 02/55] Run CI From b01148542b969521fbeddd614bad7b02625f5725 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 16 Nov 2026 13:30:50 +0000 Subject: [PATCH 03/55] Add newer node_compat common helpers and sqlite fixtures [skip ci] --- tests/common/mod.rs | 7 ++ tests/node_compat/README.md | 8 ++- tests/node_compat/common-shim/crypto.js | 6 ++ tests/node_compat/common-shim/index.js | 90 +++++++++++++++++++++++++ tests/node_compat/common-shim/index.mjs | 22 ++++++ tests/node_compat/target-selection.md | 4 ++ tests/node_compat/vendor.sh | 8 ++- 7 files changed, 141 insertions(+), 4 deletions(-) diff --git a/tests/common/mod.rs b/tests/common/mod.rs index 81a01d0eb..823653b0a 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -3207,6 +3207,7 @@ pub fn copy_dir_recursive(src: &std::path::Path, dst: &std::path::Path) -> anyho /// - `/home/node/test/common/` — common shims /// - `/tmp/` — for tmpdir shim /// - `/home/node/test/fixtures/` — fixture data files (recursively copied) +/// - `/home/node/test/sqlite/` — vendored sqlite test helpers, when present pub fn setup_node_compat_test_files(temp: &Utf8Path, test_rel_path: &str) -> anyhow::Result<()> { // Parse the suite name from the relative path (e.g., "parallel/test-foo.js" → "parallel") let suite = test_rel_path.split('/').next().unwrap_or("parallel"); @@ -3310,6 +3311,12 @@ pub fn setup_node_compat_test_files(temp: &Utf8Path, test_rel_path: &str) -> any copy_dir_recursive(vendored_fixtures_src, fixtures_dst.as_std_path())?; } + // Shared sqlite test helpers, such as `require('../sqlite/next-db.js')` + let vendored_sqlite_src = std::path::Path::new("tests/node_compat/suite/sqlite"); + if vendored_sqlite_src.exists() { + copy_dir_recursive(vendored_sqlite_src, test_root.join("sqlite").as_std_path())?; + } + Ok(()) } diff --git a/tests/node_compat/README.md b/tests/node_compat/README.md index 810ab35a3..5c7131c16 100644 --- a/tests/node_compat/README.md +++ b/tests/node_compat/README.md @@ -13,6 +13,7 @@ tests/node_compat/ │ ├── es-module/ # ~190 test files from test/es-module/ │ ├── common/ # Node.js test/common/ infrastructure │ ├── fixtures/ # Node.js test/fixtures/ data files +│ ├── sqlite/ # Node.js test/sqlite/ helpers (next-db.js in newer releases) │ └── NODE_VERSION # Version string (e.g., "22.14.0") ├── common-shim/ # Our WASM-compatible shim for test/common │ └── index.js @@ -34,7 +35,7 @@ To fetch (or update) the vendored test suite: ``` This sparse-checkouts `test/parallel/`, `test/sequential/`, `test/es-module/`, -`test/common/`, and `test/fixtures/` from the Node.js repository at the +`test/common/`, `test/fixtures/`, and `test/sqlite/` from the Node.js repository at the specified tag. The `suite/` directory is gitignored — each developer runs the vendor script to populate it. @@ -84,6 +85,11 @@ WASM-appropriate stubs. Key differences: - `mustCall()` / `mustCallAtLeast()` are pass-through (no `process.on('exit')`) - `canCreateSymLink()` returns false - Network/process-related helpers are stubbed or throw +- `common.skip()` counts as a pass, so capability flags added by newer + `test/common` releases (`hasSQLite`, `hasInspector`, `hasFFI`, `hasFIPS()` and + others) report what the component actually provides; `hasSQLite` probes + `node:sqlite` instead of reading `process.versions.sqlite`. A guard must not + skip a test whose module is available. ## How Tests Run diff --git a/tests/node_compat/common-shim/crypto.js b/tests/node_compat/common-shim/crypto.js index 506ee7a9d..8db4d0582 100644 --- a/tests/node_compat/common-shim/crypto.js +++ b/tests/node_compat/common-shim/crypto.js @@ -89,6 +89,12 @@ module.exports = { sec1Exp: sec1Exp, sec1EncExp: sec1EncExp, hasOpenSSL: hasOpenSSL, + // Upstream: crypto.getFips() === 1 && hasOpenSSL(major, minor, patch). + hasFIPS: function(major, minor, patch) { + return typeof crypto.getFips === 'function' && crypto.getFips() === 1 && + hasOpenSSL(major, minor, patch); + }, + isBoringSSL: Boolean(process.features && process.features.openssl_is_boringssl), get hasOpenSSL3() { return false; }, diff --git a/tests/node_compat/common-shim/index.js b/tests/node_compat/common-shim/index.js index 78702aab7..ef48e857c 100644 --- a/tests/node_compat/common-shim/index.js +++ b/tests/node_compat/common-shim/index.js @@ -775,6 +775,79 @@ var common = { // Inside directory with unusual characters get isInsideDirWithUnusualChars() { return false; }, + // Helpers that upstream test/common added after 22.14.0. common.skip() counts as a pass, so + // each capability flag reports what this component actually provides rather than build + // metadata it does not set, and never skips a test whose module is available. + hasInspector: Boolean(process.features && process.features.inspector), + get hasSQLite() { return hasSQLite(); }, + hasFFI: false, + hasPerfetto: false, + hasDtls: false, + get hasLocalStorage() { + var desc = Object.getOwnPropertyDescriptor(globalThis, 'localStorage'); + return hasSQLite() && desc !== undefined && desc.enumerable === true; + }, + hasTemporal: typeof globalThis.Temporal !== 'undefined', + get hasFullICU() { + try { + return new Intl.DateTimeFormat('es', { month: 'long' }).format(new Date(9e8)) === 'enero'; + } catch (_) { + return false; + } + }, + hasV8Sandbox: false, + isRiscv64: process.arch === 'riscv64', + usesSharedLibrary: false, + skipIfSQLiteMissing: function() { + if (!hasSQLite()) { + common.skip('missing SQLite'); + } + }, + skipIfFFIMissing: function() { + common.skip('missing FFI'); + }, + skipIfPerfettoEnabled: noop, + skipIfPerfettoDisabled: function() { + common.skip('Perfetto is disabled'); + }, + expectRequireStack: function(output, expected) { + var assert = require('assert'); + var lines = output.replace(/\r/g, '').split('\n'); + var start = lines.indexOf('Require stack:'); + if (start === -1) { + assert.deepStrictEqual([], expected); + return; + } + var stack = []; + for (var i = start + 1; i < lines.length && lines[i].startsWith('- '); i++) { + stack.push(lines[i].slice(2)); + } + assert.deepStrictEqual(stack, expected); + }, + expectRequiredTLAError: function(err, stack) { + var assert = require('assert'); + var message = /require\(\) cannot be used on an ESM graph with top-level await/; + if (typeof err === 'string') { + assert.match(err, /ERR_REQUIRE_ASYNC_MODULE/); + assert.match(err, message); + if (stack) { + common.expectRequireStack(err, stack); + } + } else { + assert.strictEqual(err.code, 'ERR_REQUIRE_ASYNC_MODULE'); + assert.match(err.message, message); + if (stack) { + assert.deepStrictEqual(err.requireStack, stack); + } + } + }, + sleepSync: function(ms) { + var end = Date.now() + ms; + while (Date.now() < end) { + // Busy-wait: upstream uses Atomics.wait, but QuickJS is built without Atomics for WASI. + } + }, + // mustCall verification _checkMustCalls: function() { var errors = []; @@ -811,6 +884,23 @@ var common = { }, }; +// Upstream derives hasSQLite from process.versions.sqlite. Probe node:sqlite instead: a build +// without the sqlite feature still loads the module, but its constructor throws. Node 26 renamed +// DatabaseSync to Database and keeps DatabaseSync as a deprecated alias. +var _hasSQLite; +function hasSQLite() { + if (_hasSQLite === undefined) { + try { + var sqlite = require('node:sqlite'); + new (sqlite.Database || sqlite.DatabaseSync)(':memory:').close(); + _hasSQLite = true; + } catch (_) { + _hasSQLite = false; + } + } + return _hasSQLite; +} + function applyNetFlagsAndDefaults() { var net; try { diff --git a/tests/node_compat/common-shim/index.mjs b/tests/node_compat/common-shim/index.mjs index 43f538f0b..a6d5bb4f3 100644 --- a/tests/node_compat/common-shim/index.mjs +++ b/tests/node_compat/common-shim/index.mjs @@ -22,6 +22,17 @@ const { hasIPv6, hasMultiLocalhost, hasQuic, + hasInspector, + hasSQLite, + hasFFI, + hasDtls, + hasLocalStorage, + hasTemporal, + hasV8Sandbox, + isRiscv64, + skipIfSQLiteMissing, + skipIfPerfettoEnabled, + sleepSync, localhostIPv4, buildType, mustCall, @@ -75,6 +86,17 @@ export { hasIPv6, hasMultiLocalhost, hasQuic, + hasInspector, + hasSQLite, + hasFFI, + hasDtls, + hasLocalStorage, + hasTemporal, + hasV8Sandbox, + isRiscv64, + skipIfSQLiteMissing, + skipIfPerfettoEnabled, + sleepSync, localhostIPv4, buildType, mustCall, diff --git a/tests/node_compat/target-selection.md b/tests/node_compat/target-selection.md index 937d81d59..53625b58b 100644 --- a/tests/node_compat/target-selection.md +++ b/tests/node_compat/target-selection.md @@ -317,6 +317,8 @@ All of this is required for either target unless marked "26 only". 4. **Vendoring.** Vendor `test/sqlite/`, which `test-sqlite*.js` now load as `../sqlite/next-db.js`, and copy it in `setup_node_compat_test_files`. `test/sea/` and `test/trace_events/` (26 only) are where moved tests now live; vendor them only if those cases stay classified. + `test/sqlite/` vendoring and copying are in place; `test/sea/` and `test/trace_events/` are + still open. 5. **Shim helpers.** - Both targets need `hasFIPS` and `isBoringSSL` in `common-shim/crypto.js`, plus `hasInspector`, `hasSQLite`, `skipIfSQLiteMissing`, `expectRequireStack`, @@ -324,6 +326,8 @@ All of this is required for either target unless marked "26 only". - 26 only: `hasFFI`, `skipIfFFIMissing`, `hasPerfetto`, `skipIfPerfettoEnabled`/`Disabled`, `hasDtls`, `hasQuic`, `hasLocalStorage`, `hasTemporal`, `hasFullICU` and `hasV8Sandbox`. - Export them from `index.mjs` too. + - These helpers are in place. Capability flags report what the component provides, because + `common.skip()` counts as a pass; `hasSQLite` probes `node:sqlite`. 6. **Mapping review.** Review the renamed-unmapped (63), now-ignored (38) and removed (85) rows in the mapping file. Where a subtest of an `--expose-internals` file such as `test-stream-finished.js` uses only public API, give it an explicit `runnable` category rather diff --git a/tests/node_compat/vendor.sh b/tests/node_compat/vendor.sh index ecf011f8d..f260d9dd9 100755 --- a/tests/node_compat/vendor.sh +++ b/tests/node_compat/vendor.sh @@ -6,7 +6,7 @@ # # If no version is specified, defaults to the version in NODE_VERSION below. # The script sparse-checkouts test/parallel/, test/sequential/, test/es-module/, -# test/common/, and test/fixtures/ from the nodejs/node repository at the given tag. +# test/common/, test/fixtures/, and test/sqlite/ from the nodejs/node repository at the given tag. set -euo pipefail @@ -21,7 +21,7 @@ echo "==> Vendoring Node.js ${TAG} test suite into ${SUITE_DIR}" rm -rf "${SUITE_DIR}" mkdir -p "${SUITE_DIR}" -# Clone with sparse checkout — test/parallel, test/common, and test/fixtures +# Clone with sparse checkout TMPDIR_CLONE="$(mktemp -d)" trap 'rm -rf "${TMPDIR_CLONE}"' EXIT @@ -31,7 +31,7 @@ git clone --depth 1 --sparse --branch "${TAG}" --single-branch \ https://github.com/nodejs/node.git "${TMPDIR_CLONE}/node" cd "${TMPDIR_CLONE}/node" -git sparse-checkout set test/parallel test/sequential test/es-module test/common test/fixtures +git sparse-checkout set test/parallel test/sequential test/es-module test/common test/fixtures test/sqlite echo "==> Copying test files..." cp -r test/parallel "${SUITE_DIR}/parallel" @@ -39,6 +39,8 @@ cp -r test/sequential "${SUITE_DIR}/sequential" cp -r test/es-module "${SUITE_DIR}/es-module" cp -r test/common "${SUITE_DIR}/common" cp -r test/fixtures "${SUITE_DIR}/fixtures" +# Newer test-sqlite*.js files load shared helpers such as ../sqlite/next-db.js. +cp -r test/sqlite "${SUITE_DIR}/sqlite" # Record the version echo "${NODE_VERSION}" > "${SUITE_DIR}/NODE_VERSION" From 5b1fa1b74bef0375d69f9d1f3b0f258ebdffa6dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 16 Nov 2026 13:30:58 +0000 Subject: [PATCH 04/55] Run CI From 5377d57b3166c9750c003b6759323fa9824dab4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 16 Nov 2026 17:45:18 +0000 Subject: [PATCH 05/55] Report Node 26.13.1 process metadata [skip ci] --- .../skeleton/src/builtin/process.js | 18 ++++++++++++++---- .../skeleton/src/builtin/process.rs | 12 ++++++++++++ 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/process.js b/crates/wasm-rquickjs/skeleton/src/builtin/process.js index 3ea4cced1..7b9ab2c17 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/process.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/process.js @@ -9,6 +9,7 @@ import { memory_usage as _native_memory_usage, has_typescript_runtime, typescript_runtime_mode, + sqlite_version, await_runtime_idle } from '__wasm_rquickjs_builtin/process_native'; import { capture_for_callback as __captureScope, enter_callback as __enterScope, leave_callback as __leaveScope } from '__wasm_rquickjs_builtin/custom_invocation_context_native'; @@ -225,19 +226,25 @@ process.pid = 1; process.ppid = 0; process.platform = 'wasi'; process.arch = 'wasm32'; -process.version = 'v22.0.0'; +// Node.js release whose public API this runtime targets; see tests/node_compat/target-selection.md. +process.version = 'v26.13.1'; process.versions = { - node: '22.0.0', - modules: '127', + node: '26.13.1', + modules: '147', openssl: '3.0.0', }; +// Only builds with the sqlite feature have a working node:sqlite. +const _sqliteVersion = sqlite_version(); +if (_sqliteVersion) { + process.versions.sqlite = _sqliteVersion; +} process.config = { target_defaults: { default_configuration: 'Release' }, variables: { v8_enable_i18n_support: 0, asan: 0, openssl_quic: 0, - node_module_version: 127, + node_module_version: 147, node_use_amaro: has_typescript_runtime(), }, }; @@ -255,8 +262,11 @@ process.features = { tls_sni: false, tls_ocsp: false, tls: false, + openssl_is_boringssl: false, cached_builtins: true, require_module: true, + dtls: false, + quic: false, typescript: typescriptRuntimeMode ?? false, }; process.execPath = '/usr/local/bin/node'; diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/process.rs b/crates/wasm-rquickjs/skeleton/src/builtin/process.rs index 62506f0ef..fb00f71c5 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/process.rs +++ b/crates/wasm-rquickjs/skeleton/src/builtin/process.rs @@ -93,6 +93,18 @@ pub mod native_module { cfg!(feature = "typescript-runtime") } + #[rquickjs::function] + pub fn sqlite_version() -> Option<&'static str> { + #[cfg(feature = "sqlite")] + { + Some(rusqlite::version()) + } + #[cfg(not(feature = "sqlite"))] + { + None + } + } + #[rquickjs::function] pub fn typescript_runtime_mode() -> Option<&'static str> { if cfg!(feature = "typescript-transform-runtime") { From a77af641361bb888307e1362bf1de5c7eb4df0cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 16 Nov 2026 17:58:54 +0000 Subject: [PATCH 06/55] Match moved node_compat subtests by source [skip ci] --- tests/migrate_config_split.rs | 303 +++++++++++++++++++++----- tests/node_compat/README.md | 18 +- tests/node_compat/target-selection.md | 3 +- 3 files changed, 268 insertions(+), 56 deletions(-) diff --git a/tests/migrate_config_split.rs b/tests/migrate_config_split.rs index 6d06b2040..f5f33c475 100644 --- a/tests/migrate_config_split.rs +++ b/tests/migrate_config_split.rs @@ -9,6 +9,11 @@ //! a configured file whose source is gone, a subtest that disappeared, or a split file that can //! no longer be split and whose subtests had different metadata. //! +//! When a split file's subtests changed, the previous vendored suite is required as +//! `NODE_COMPAT_MIGRATION_PREVIOUS_SUITE`: a subtest keeps the metadata of the previous subtest +//! with identical source, so an unchanged block that moved to another index (and therefore another +//! generated name such as `block_05_block_05`) keeps its own classification. +//! //! The contract tests run against temporary fixtures: //! `cargo test --test migrate_config_split -- ':tag:migration_contract'`. @@ -52,8 +57,13 @@ struct MigrationReport { unsplit: Vec, /// Vendored tests that were not listed, added as `unevaluated`. added: Vec, - /// Subtests matched across an index shift by their unchanged description. + /// Subtests matched across an index shift by identical source (`"by": "source"`) or by their + /// unchanged description (`"by": "description"`). renamed: Vec, + /// Subtests with a generated name whose source changed; they keep the metadata of the + /// previous subtest at the same position. Review them when that file's subtests have + /// different classifications. + matched_by_position: Vec, /// Subtests without a previous entry. new_subtests: Vec, /// Subtests that are gone, with their previous metadata. Needs a mapping. @@ -302,11 +312,24 @@ fn format_split(meta: &Map, subtests: &[(String, Value)]) -> Stri lines.join("\n") } -fn discovered_names(discovery: &SubtestDiscovery) -> Vec { +/// Subtest names with their source text, whitespace-normalised. +fn discovered_subtests(discovery: &SubtestDiscovery, source: &str) -> Vec<(String, String)> { + let text = |(start, end): (u32, u32)| { + source[start as usize..end as usize] + .split_whitespace() + .collect::>() + .join(" ") + }; match discovery { SubtestDiscovery::None => Vec::new(), - SubtestDiscovery::Block(blocks) => blocks.iter().map(|b| b.name.clone()).collect(), - SubtestDiscovery::NodeTest(tests) => tests.iter().map(|t| t.name.clone()).collect(), + SubtestDiscovery::Block(blocks) => blocks + .iter() + .map(|b| (b.name.clone(), text(b.span))) + .collect(), + SubtestDiscovery::NodeTest(tests) => tests + .iter() + .map(|t| (t.name.clone(), text(t.span))) + .collect(), } } @@ -365,13 +388,42 @@ fn bool_option(opts: &Map, key: &str) -> bool { opts.get(key).and_then(Value::as_bool).unwrap_or(false) } -fn discover(path: &str, source: &str, opts: &Map) -> Vec { - discovered_names(&discover_subtests_with_options( - path, +fn discover(path: &str, source: &str, opts: &Map) -> Vec<(String, String)> { + discovered_subtests( + &discover_subtests_with_options( + path, + source, + bool_option(opts, "nestedNodeTest"), + bool_option(opts, "isolateBlockSubtests"), + ), source, - bool_option(opts, "nestedNodeTest"), - bool_option(opts, "isolateBlockSubtests"), - )) + ) +} + +/// Previous subtest name for each current subtest whose source is identical and unique on both +/// sides. +fn match_by_source<'a>( + current: &'a [(String, String)], + previous: &'a [(String, String)], +) -> BTreeMap<&'a str, &'a str> { + let count = |subtests: &'a [(String, String)]| { + let mut counts: BTreeMap<&str, usize> = BTreeMap::new(); + for (_, text) in subtests { + *counts.entry(text.as_str()).or_default() += 1; + } + counts + }; + let (current_counts, previous_counts) = (count(current), count(previous)); + current + .iter() + .filter(|(_, text)| { + current_counts[text.as_str()] == 1 && previous_counts.get(text.as_str()) == Some(&1) + }) + .map(|(name, text)| { + let (old, _) = previous.iter().find(|(_, t)| t == text).unwrap(); + (name.as_str(), old.as_str()) + }) + .collect() } /// A new subtest inherits a file-level classification that keeps it out of the runner; in a @@ -388,7 +440,11 @@ fn new_subtest_value(meta: &Map) -> Value { } } -fn migrate(content: &str, suite_root: &Path) -> anyhow::Result { +fn migrate( + content: &str, + suite_root: &Path, + previous_suite: Option<&Path>, +) -> anyhow::Result { let config: Value = serde_json::from_str(&strip_jsonc_comments(content))?; let tests = config .get("tests") @@ -411,7 +467,8 @@ fn migrate(content: &str, suite_root: &Path) -> anyhow::Result { continue; } }; - let names = discover(path, &source, opts); + let discovered_subtests = discover(path, &source, opts); + let names: Vec = discovered_subtests.iter().map(|(n, _)| n.clone()).collect(); let mut meta = opts.clone(); meta.remove("split"); let existing = meta @@ -430,7 +487,8 @@ fn migrate(content: &str, suite_root: &Path) -> anyhow::Result { format_split(&meta, &subtests) } else { let discovered: BTreeSet<&String> = names.iter().collect(); - if existing.keys().collect::>() == discovered && names.len() >= 2 { + let same_names = existing.keys().collect::>() == discovered; + if same_names && names.len() >= 2 && previous_suite.is_none() { continue; } if names.len() < 2 { @@ -450,42 +508,87 @@ fn migrate(content: &str, suite_root: &Path) -> anyhow::Result { report.unsplit.push(path.clone()); format_inline(&meta) } else { - let removed: Vec<&String> = existing - .keys() - .filter(|name| !discovered.contains(name)) - .collect(); - let added: Vec<&String> = names + let Some(previous_root) = previous_suite else { + bail!( + "the subtests of {path} changed; set NODE_COMPAT_MIGRATION_PREVIOUS_SUITE to the previously vendored suite so that moved subtests keep their own metadata" + ); + }; + let previous_source = fs::read_to_string(previous_root.join(path)) + .map_err(|e| anyhow!("previous suite has no {path}: {e}"))?; + let previous = discover(path, &previous_source, opts); + let previous_text: BTreeMap<&str, &str> = previous .iter() - .filter(|name| !existing.contains_key(*name)) + .map(|(name, text)| (name.as_str(), text.as_str())) .collect(); - let mut renamed_from: BTreeMap<&String, &String> = BTreeMap::new(); - for name in &added { + // Where each subtest's metadata comes from: identical source first, then the same + // name, then an unchanged description. + let mut origin: BTreeMap = BTreeMap::new(); + for (name, old) in match_by_source(&discovered_subtests, &previous) { + if existing.contains_key(old) { + origin.insert(name.to_string(), (old.to_string(), "source")); + } + } + let mut consumed: BTreeSet = + origin.values().map(|(old, _)| old.clone()).collect(); + for name in &names { + if !origin.contains_key(name) + && existing.contains_key(name) + && !consumed.contains(name) + { + origin.insert(name.clone(), (name.clone(), "name")); + consumed.insert(name.clone()); + } + } + let unmatched_new: Vec<&String> = + names.iter().filter(|n| !origin.contains_key(*n)).collect(); + let unmatched_old: Vec<&String> = + existing.keys().filter(|n| !consumed.contains(*n)).collect(); + for name in &unmatched_new { if let Some(description) = subtest_description(name) - && unique_by_description(&added, description) == Some(*name) - && let Some(old) = unique_by_description(&removed, description) + && unique_by_description(&unmatched_new, description) == Some(*name) + && let Some(old) = unique_by_description(&unmatched_old, description) { - renamed_from.insert(*name, old); + origin.insert((*name).clone(), (old.clone(), "description")); + consumed.insert(old.clone()); } } - let carried: BTreeSet<&String> = renamed_from.values().copied().collect(); + if same_names && origin.iter().all(|(name, (old, _))| name == old) { + continue; + } + let current_text: BTreeMap<&str, &str> = discovered_subtests + .iter() + .map(|(name, text)| (name.as_str(), text.as_str())) + .collect(); let mut subtests = Vec::new(); for name in &names { - let value = if let Some(value) = existing.get(name) { - value.clone() - } else if let Some(old) = renamed_from.get(name) { - report - .renamed - .push(json!({ "file": path, "from": old, "to": name })); - existing[old.as_str()].clone() - } else { - report - .new_subtests - .push(json!({ "file": path, "subtest": name })); - new_subtest_value(&meta) + let value = match origin.get(name) { + Some((old, by)) if old != name => { + report + .renamed + .push(json!({ "file": path, "from": old, "to": name, "by": by })); + existing[old.as_str()].clone() + } + Some((old, _)) => { + if subtest_description(name).is_none() + && previous_text.get(name.as_str()) + != current_text.get(name.as_str()) + { + report + .matched_by_position + .push(json!({ "file": path, "subtest": name })); + } + existing[old.as_str()].clone() + } + None => { + report + .new_subtests + .push(json!({ "file": path, "subtest": name })); + new_subtest_value(&meta) + } }; subtests.push((name.clone(), value)); } - for old in removed.into_iter().filter(|old| !carried.contains(old)) { + for old in existing.keys().filter(|old| !consumed.contains(*old)) { report.removed_subtests.push(json!({ "file": path, "subtest": old, @@ -520,8 +623,10 @@ fn migrate(content: &str, suite_root: &Path) -> anyhow::Result { let source = fs::read_to_string(suite_root.join(path))?; let names = discover(path, &source, &Map::new()); let value = if names.len() >= 2 { - let subtests: Vec<(String, Value)> = - names.into_iter().map(|name| (name, json!({}))).collect(); + let subtests: Vec<(String, Value)> = names + .into_iter() + .map(|(name, _)| (name, json!({}))) + .collect(); format_split(&meta, &subtests) } else { format_inline(&meta) @@ -552,11 +657,16 @@ fn migrate_config_split() -> anyhow::Result<()> { let config_path = "tests/node_compat/config.jsonc"; let report_path = std::env::var("NODE_COMPAT_MIGRATION_REPORT") .unwrap_or_else(|_| "target/node-compat-migration-report.json".to_string()); + let previous_suite = std::env::var("NODE_COMPAT_MIGRATION_PREVIOUS_SUITE").ok(); let content = fs::read_to_string(config_path)?; let Migration { content: migrated, report, - } = migrate(&content, Path::new("tests/node_compat/suite"))?; + } = migrate( + &content, + Path::new("tests/node_compat/suite"), + previous_suite.as_deref().map(Path::new), + )?; fs::write(config_path, migrated)?; if let Some(parent) = Path::new(&report_path).parent() { fs::create_dir_all(parent)?; @@ -572,6 +682,10 @@ fn migrate_config_split() -> anyhow::Result<()> { " subtests renamed by index shift: {}", report.renamed.len() ); + println!( + " changed generated-name subtests matched by position: {}", + report.matched_by_position.len() + ); println!(" new subtests: {}", report.new_subtests.len()); println!(" removed subtests: {}", report.removed_subtests.len()); println!( @@ -603,12 +717,14 @@ mod contract { struct Fixture { temp: Utf8TempDir, + previous: Utf8TempDir, } impl Fixture { fn new() -> Self { Self { temp: Utf8TempDir::new().unwrap(), + previous: Utf8TempDir::new().unwrap(), } } @@ -619,11 +735,24 @@ mod contract { self } + /// The file as it was in the previously vendored suite. + fn previous(&self, path: &str, source: &str) -> &Self { + let path = self.previous.path().join(path); + fs::create_dir_all(path.parent().unwrap()).unwrap(); + fs::write(path, source).unwrap(); + self + } + fn migrate(&self, tests: &str) -> Migration { let content = format!( "{{\n \"nodeVersion\": \"22.14.0\",\n // \"parallel/test-a.js\" is quoted here\n \"tests\": {{\n{tests}\n }}\n}}\n" ); - migrate(&content, self.temp.path().as_std_path()).unwrap() + migrate( + &content, + self.temp.path().as_std_path(), + Some(self.previous.path().as_std_path()), + ) + .unwrap() } } @@ -677,10 +806,15 @@ mod contract { fn resplitting_keeps_metadata_and_reports_changed_subtests() { let fixture = Fixture::new(); // `alpha` stays, `beta` moves from index 1 to 2, `gone` disappears, `fresh` is new. - fixture.source( - "parallel/test-a.js", - &node_tests(&["alpha", "fresh", "beta"]), - ); + fixture + .source( + "parallel/test-a.js", + &node_tests(&["alpha", "fresh", "beta"]), + ) + .previous( + "parallel/test-a.js", + &node_tests(&["alpha", "beta", "gone"]), + ); let migration = fixture.migrate( r#" "parallel/test-a.js": { "timeout": 30, @@ -708,7 +842,9 @@ mod contract { let report = &migration.report; assert_eq!( report.renamed, - [json!({ "file": "parallel/test-a.js", "from": "test_01_beta", "to": "test_02_beta" })] + [ + json!({ "file": "parallel/test-a.js", "from": "test_01_beta", "to": "test_02_beta", "by": "source" }) + ] ); assert_eq!(report.removed_subtests.len(), 1); assert_eq!(report.removed_subtests[0]["subtest"], "test_02_gone"); @@ -718,12 +854,79 @@ mod contract { #[test] #[test_r::tag(migration_contract)] - fn new_subtests_inherit_an_excluded_file_category() { + fn moved_blocks_keep_their_own_metadata() { + let fixture = Fixture::new(); + // A block inserted first shifts every generated name; a changed block keeps its position. + fixture + .previous( + "parallel/test-a.js", + "{ gap(); }\n{ passes(); }\n{ changed(1); }\n", + ) + .source( + "parallel/test-a.js", + "{ inserted(); }\n{ gap(); }\n{ passes(); }\n{ changed(2); }\n", + ); + let migration = fixture.migrate( + r#" "parallel/test-a.js": { + "split": true, + "subtests": { + "block_00_block_00": { "category": "known-gap", "reason": "gap" }, + "block_01_block_01": { "category": "runnable" }, + "block_02_block_02": { "category": "node-internals" } + } + }"#, + ); + assert_eq!( + entries(&migration)["parallel/test-a.js"]["subtests"], + json!({ + "block_00_block_00": { "category": "unevaluated", "reason": NEW_SUBTEST_REASON }, + "block_01_block_01": { "category": "known-gap", "reason": "gap" }, + "block_02_block_02": { "category": "runnable" }, + "block_03_block_03": { "category": "unevaluated", "reason": NEW_SUBTEST_REASON }, + }) + ); + let report = &migration.report; + assert_eq!(report.renamed.len(), 2); + assert!(report.renamed.iter().all(|r| r["by"] == "source")); + // The changed block matches nothing, so its old entry needs a mapping. + assert_eq!(report.removed_subtests.len(), 1); + assert_eq!(report.removed_subtests[0]["subtest"], "block_02_block_02"); + assert_eq!( + report.removed_subtests[0]["entry"]["category"], + "node-internals" + ); + } + + #[test] + #[test_r::tag(migration_contract)] + fn changed_subtests_require_the_previous_suite() { let fixture = Fixture::new(); fixture.source( "parallel/test-a.js", &node_tests(&["alpha", "beta", "gamma"]), ); + let content = "{ \"nodeVersion\": \"22.14.0\", \"tests\": { \"parallel/test-a.js\": { \"split\": true, \"subtests\": { \"test_00_alpha\": {}, \"test_01_beta\": {} } } } }"; + let error = migrate(content, fixture.temp.path().as_std_path(), None) + .err() + .unwrap(); + assert!( + error + .to_string() + .contains("NODE_COMPAT_MIGRATION_PREVIOUS_SUITE"), + "{error:#}" + ); + } + + #[test] + #[test_r::tag(migration_contract)] + fn new_subtests_inherit_an_excluded_file_category() { + let fixture = Fixture::new(); + fixture + .source( + "parallel/test-a.js", + &node_tests(&["alpha", "beta", "gamma"]), + ) + .previous("parallel/test-a.js", &node_tests(&["alpha", "beta"])); let migration = fixture.migrate( r#" "parallel/test-a.js": { "category": "wasi-impossible", "split": true, "subtests": { "test_00_alpha": {}, "test_01_beta": {} } }"#, ); @@ -812,7 +1015,7 @@ mod contract { .source("parallel/test-a.js", TWO_TESTS) .source("parallel/test-b.mjs", ""); let first = fixture.migrate(r#" "parallel/test-a.js": { "category": "known-gap" }"#); - let second = migrate(&first.content, fixture.temp.path().as_std_path()).unwrap(); + let second = migrate(&first.content, fixture.temp.path().as_std_path(), None).unwrap(); assert_eq!(second.content, first.content); assert_eq!(second.report, MigrationReport::default()); } @@ -822,7 +1025,7 @@ mod contract { fn duplicate_entries_are_rejected() { let fixture = Fixture::new(); let content = "{ \"nodeVersion\": \"22.14.0\", \"tests\": { \"parallel/test-a.js\": {}, \"parallel/test-a.js\": { \"category\": \"known-gap\" } } }"; - let error = migrate(content, fixture.temp.path().as_std_path()) + let error = migrate(content, fixture.temp.path().as_std_path(), None) .err() .unwrap(); assert!(error.to_string().contains("duplicate"), "{error:#}"); diff --git a/tests/node_compat/README.md b/tests/node_compat/README.md index 8ca887832..f1a60ff9e 100644 --- a/tests/node_compat/README.md +++ b/tests/node_compat/README.md @@ -48,21 +48,29 @@ because each subtest runs by the index in its configured name. ## Migrating the Config After Re-vendoring -After vendoring another version, set `nodeVersion` and run: +Keep a copy of the previously vendored suite, vendor the new version, set `nodeVersion` and run: ```bash -cargo test --test migrate_config_split -- --exact migrate_config_split +NODE_COMPAT_MIGRATION_PREVIOUS_SUITE=/path/to/previous/suite \ + cargo test --test migrate_config_split -- --exact migrate_config_split ``` +The previous suite is required whenever the subtests of a split file changed. + The migration rewrites only entries whose subtests changed and keeps every metadata key (`category`, `reason`, `flaky`, `timeout`, split options) of the file and of each surviving subtest: - An unsplit file that now has several subtests is split; each subtest inherits the file's metadata. An explicit `"split": false` keeps it whole. -- A subtest whose index shifted keeps its metadata when its description is - unchanged and unique. A new subtest starts `unevaluated` unless the file is - already excluded from the runner. +- A subtest keeps the metadata of the previous subtest with identical source, + even when its index, and with it a generated name such as `block_05_block_05`, + changed. Otherwise it keeps the metadata of the previous subtest with the same + name, or of the one with the same unique description. A new subtest starts + `unevaluated` unless the file is already excluded from the runner. +- A changed subtest with a generated name keeps the metadata of the previous + subtest at its position. The report lists these under `matchedByPosition`; check + them where the file's subtests have different classifications. - A split file that no longer splits becomes one entry only when all its subtests carried identical metadata; otherwise it is left unchanged for a decision. diff --git a/tests/node_compat/target-selection.md b/tests/node_compat/target-selection.md index 2a975bd28..a53a4617f 100644 --- a/tests/node_compat/target-selection.md +++ b/tests/node_compat/target-selection.md @@ -354,7 +354,8 @@ All of this is required for either target unless marked "26 only". 1. Create a fresh worktree, run `./tests/node_compat/vendor.sh 26.13.1`, and set `"nodeVersion": "26.13.1"`. 2. Harness items 2 and 3 are in place. Run - `cargo test --test migrate_config_split -- --exact migrate_config_split` and map every + `cargo test --test migrate_config_split -- --exact migrate_config_split` with + `NODE_COMPAT_MIGRATION_PREVIOUS_SUITE` set to a copy of the 22.14.0 suite, and map every entry in its review report (see the [README](README.md#migrating-the-config-after-re-vendoring)). 3. Keep each 22.14.0 category. New files start as `unevaluated`; they are not part of the restored baseline. From 459007e0b9f5131460f9583b4e472a1484559aa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 16 Nov 2026 19:04:53 +0000 Subject: [PATCH 07/55] Switch node_compat suite to Node 26.13.1 [skip ci] --- tests/node_compat/config.jsonc | 8804 ++++++++++++++--- .../mapping-22.14.0-to-26.13.1.json | 6842 +++++++++++++ tests/node_compat/report.md | 1099 +- tests/node_compat/vendor.sh | 2 +- tests/node_compat_config_report.rs | 35 + 5 files changed, 15355 insertions(+), 1427 deletions(-) create mode 100644 tests/node_compat/mapping-22.14.0-to-26.13.1.json diff --git a/tests/node_compat/config.jsonc b/tests/node_compat/config.jsonc index 34f49bbf0..847d529ab 100644 --- a/tests/node_compat/config.jsonc +++ b/tests/node_compat/config.jsonc @@ -1,6 +1,6 @@ { // Node.js version these tests were vendored from - "nodeVersion": "22.14.0", + "nodeVersion": "26.13.1", // Tests listed here are included in the compatibility inventory. // Each key is a path relative to the suite/ directory. @@ -24,16 +24,16 @@ "parallel/test-path-basename.js": {}, "parallel/test-path-dirname.js": {}, "parallel/test-path-extname.js": {}, - "parallel/test-path-join.js": {}, + "parallel/test-path-join.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: path.win32.join resolves .. through a CON: device-name segment" }, "parallel/test-path-isabsolute.js": {}, - "parallel/test-path-normalize.js": {}, + "parallel/test-path-normalize.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, "parallel/test-path-parse-format.js": {}, "parallel/test-path-relative.js": {}, - "parallel/test-path-resolve.js": {}, + "parallel/test-path-resolve.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: path.win32.resolve(\"\\\\\\\\.\\\\PHYSICALDRIVE0\")" }, "parallel/test-path-zero-length-strings.js": {}, "parallel/test-path.js": {}, "parallel/test-path-glob.js": {}, - "parallel/test-path-makelong.js": {}, + "parallel/test-path-makelong.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, "parallel/test-path-posix-exists.js": {}, "parallel/test-path-win32-exists.js": {}, @@ -54,11 +54,16 @@ "test_10_output_that_extends_beyond_10_lines_should_also_be_truncated": {}, "test_11_bad_args_to_assertionerror_constructor_should_throw_typeerro": {}, "test_12_nan_is_handled_correctly": {}, - "test_13_test_strict_assert": {}, - "test_14_additional_asserts": {}, + "test_13_test_strict_assert": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "test_14_additional_asserts": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, "test_15_throws_accepts_objects": {}, "test_16_additional_assert": {}, - "test_17_assert_strict_exists": {} + "test_17_assert_strict_exists": {}, + "test_18_printf_like_format_strings_as_error_message": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_19_functions_as_error_message": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_20_ambiguous_error_messages_fail": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_21_faulty_message_functions": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_22_functions_as_error_message": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-assert-async.js": { @@ -71,27 +76,6 @@ "block_04_check_assert_doesnotreject": {} } }, - "parallel/test-assert-builtins-not-read-from-filesystem.js": {}, - "parallel/test-assert-calltracker-calls.js": { - "split": true, - "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {}, - "block_02_block_02": {}, - "block_03_block_03": {}, - "block_04_block_04": {}, - "block_05_block_05": {} - } - }, - "parallel/test-assert-calltracker-getCalls.js": { - "split": true, - "subtests": { - "test_00_assert_calltracker_getcalls": {}, - "test_01_assert_calltracker_reset": {} - } - }, - "parallel/test-assert-calltracker-report.js": {}, - "parallel/test-assert-calltracker-verify.js": {}, "parallel/test-assert-checktag.js": {}, "parallel/test-assert-deep-with-error.js": { "split": true, @@ -104,57 +88,62 @@ "split": true, "subtests": { "test_00_deepequal": {}, - "test_01_date": {}, - "test_02_regexp": {}, - "test_03_deepequal_should_pass_for_these_weird_cases": {}, - "test_04_es6_maps_and_sets": {}, - "test_05_gh_6416_make_sure_circular_refs_do_not_throw": {}, - "test_06_gh_14441_circular_structures_should_be_consistent": {}, - "test_07_ensure_reflexivity_of_deepequal_with_arguments_objects": {}, - "test_08_more_checking_that_arguments_objects_are_handled_correctly": {}, - "test_09_handle_sparse_arrays": {}, - "test_10_handle_different_error_messages": {}, - "test_11_handle_nan": {}, - "test_12_handle_boxed_primitives": {}, - "test_13_minus_zero": {}, - "test_14_handle_symbols_enumerable_only": {}, - "test_15_additional_tests": {}, - "test_16_having_the_same_number_of_owned_properties_the_same_set_of_k": {}, - "test_17_having_an_identical_prototype_property": {}, - "test_18_primitives": {}, - "test_19_additional_tests": {}, + "test_01_loose_deepequal": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_02_date": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, + "test_03_regexp": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, + "test_04_deepequal_should_pass_for_these_weird_cases": {}, + "test_05_es6_maps_and_sets": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "test_06_gh_6416_make_sure_circular_refs_do_not_throw": {}, + "test_07_gh_14441_circular_structures_should_be_consistent": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, + "test_08_deepstrictequal_handles_shared_expected_array_elements_after": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_09_deepstrictequal_handles_cross_root_aliases_after_cycle_detec": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_10_ensure_reflexivity_of_deepequal_with_arguments_objects": {}, + "test_11_more_checking_that_arguments_objects_are_handled_correctly": {}, + "test_12_handle_sparse_arrays": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, + "test_13_handle_sets_and_maps_with_mixed_keys": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_14_handle_different_error_messages": {}, + "test_15_handle_nan": {}, + "test_16_handle_boxed_primitives": {}, + "test_17_minus_zero": {}, + "test_18_handle_symbols_enumerable_only": {}, + "test_19_additional_tests": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be loosely deep-equal:" }, "test_20_having_the_same_number_of_owned_properties_the_same_set_of_k": {}, - "test_21_prototype_check": {}, - "test_22_check_extra_properties_on_errors": {}, - "test_23_check_proxies": {}, - "test_24_test_24": {}, - "test_25_basic_valueof_check": {}, - "test_26_basic_array_out_of_bounds_check": {}, - "test_27_test_27": {}, + "test_21_having_an_identical_prototype_property": {}, + "test_22_primitives": {}, + "test_23_additional_tests": {}, + "test_24_having_the_same_number_of_owned_properties_the_same_set_of_k": {}, + "test_25_prototype_check": {}, + "test_26_check_extra_properties_on_errors": {}, + "test_27_check_proxies": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, "test_28_test_28": {}, - "test_29_verify_that_extra_keys_will_be_tested_for_when_using_fake_ar": {}, - "test_30_verify_that_changed_tags_will_still_check_for_the_error_mess": {}, - "test_31_check_for_non_native_errors": {}, - "test_32_check_for_errors_with_cause_property": {}, - "test_33_check_for_aggregateerror": {}, - "test_34_verify_that_valueof_is_not_called_for_boxed_primitives": {}, - "test_35_check_getters": {}, - "test_36_verify_object_types_being_identical_on_both_sides": {}, - "test_37_verify_commutativity": {}, - "test_38_crypto": {} + "test_29_basic_valueof_check": {}, + "test_30_basic_array_out_of_bounds_check": {}, + "test_31_test_31": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "test_32_test_32": {}, + "test_33_verify_that_extra_keys_will_be_tested_for_when_using_fake_ar": {}, + "test_34_verify_that_changed_tags_will_still_check_for_the_error_mess": {}, + "test_35_check_for_non_native_errors": {}, + "test_36_check_for_errors_with_cause_property": {}, + "test_37_check_for_aggregateerror": {}, + "test_38_verify_that_valueof_is_not_called_for_boxed_primitives": {}, + "test_39_check_getters": {}, + "test_40_verify_object_types_being_identical_on_both_sides": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, + "test_41_verify_commutativity": {}, + "test_42_crypto": {}, + "test_43_comparing_two_identical_weakmap_instances": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_44_comparing_two_different_weakmap_instances": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_45_comparing_two_identical_weakset_instances": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_46_comparing_two_different_weakset_instances": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_47_comparing_two_arrays_nested_inside_object_with_overlapping_e": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_48_comparing_two_arrays_nested_inside_object_with_overlapping_e": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_49_detects_differences_in_deeply_nested_arrays_instead_of_seein": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_50_urls": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_51_own_property_constructor_properties_should_check_against_the": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_52_inherited_null_prototype_without_own_constructor_properties_": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_53_promises_should_fail_deepequal": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-assert-esm-cjs-message-verify.js": {}, - "parallel/test-assert-fail-deprecation.js": { - "split": true, - "subtests": { - "test_00_two_args_only_operator_defaults_to": {}, - "test_01_three_args": {}, - "test_02_three_args_with_custom_error": {}, - "test_03_no_third_arg_but_a_fourth_arg": {}, - "test_04_the_stackframefunction_should_exclude_the_foo_frame": {} - } - }, "parallel/test-assert-fail.js": { "split": true, "subtests": { @@ -174,12 +163,11 @@ "test_03_https_github_com_nodejs_node_v0_x_archive_issues_2893": {} } }, - "parallel/test-assert-objects.js": {}, "parallel/test-assert-typedarray-deepequal.js": { "split": true, "subtests": { "test_00_equalarraypairs": {}, - "test_01_looseequalarraypairs": {}, + "test_01_looseequalarraypairs": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be loosely deep-equal:" }, "test_02_notequalarraypairs": {} } }, @@ -189,137 +177,53 @@ // === blob tests === "parallel/test-blob.js": { - "split": true, "isolateBlockSubtests": true, + "split": true, "subtests": { - "block_00_block_00": { - "category": "runnable" - }, - "block_01_statement_01": { - "category": "runnable" - }, - "block_02_statement_02": { - "category": "runnable" - }, - "block_03_statement_03": { - "category": "runnable" - }, - "block_04_block_04": { - "category": "runnable" - }, - "block_05_block_05": { - "category": "runnable" - }, - "block_06_block_06": { - "category": "runnable" - }, - "block_07_block_07": { - "category": "runnable" - }, - "block_08_block_08": { - "category": "runnable" - }, - "block_09_block_09": { - "category": "runnable" - }, - "block_10_block_10": { - "category": "runnable" - }, - "block_11_block_11": { - "category": "runnable" - }, - "block_12_block_12": { - "category": "runnable" - }, - "block_13_block_13": { - "category": "runnable" - }, - "block_14_block_14": { - "category": "runnable" - }, - "block_15_block_15": { - "category": "runnable" - }, - "block_16_block_16": { - "category": "runnable" - }, - "block_17_block_17": { - "category": "runnable" - }, - "block_18_block_18": { - "category": "runnable" - }, - "block_19_block_19": { - "category": "runnable" - }, - "block_20_block_20": { - "category": "runnable" - }, - "block_21_statement_21": { - "category": "runnable" - }, - "block_22_statement_22": { - "category": "runnable" - }, - "block_23_statement_23": { - "category": "runnable" - }, - "block_24_statement_24": { - "category": "runnable" - }, - "block_25_statement_25": { - "category": "runnable" - }, - "block_26_statement_26": { - "category": "runnable" - }, - "block_27_statement_27": { - "category": "known-gap", - "reason": "fetch does not resolve registered blob:nodedata URLs; requests currently require wasi:http transport" - }, - "block_28_statement_28": { - "category": "node-internals", - "reason": "Asserts internal webstreams kState" - }, - "block_29_statement_29": { - "category": "known-gap", - "reason": "Blob byte-stream BYOB final read does not settle at end of stream" - }, - "block_30_statement_30": { - "category": "node-internals", - "reason": "Asserts internal webstreams kState" - }, - "block_31_statement_31": { - "category": "node-internals", - "reason": "Asserts internal webstreams kState" - }, - "block_32_block_32": { - "category": "runnable" - }, - "block_33_block_33": { - "category": "runnable" - }, - "block_34_statement_34": { - "category": "runnable" - }, - "block_35_statement_35": { - "category": "runnable" - }, - "block_36_block_36": { - "category": "runnable" - }, - "block_37_statement_37": { - "category": "runnable" - }, - "block_38_block_38": { - "category": "runnable" - }, - "block_39_statement_39": { - "category": "runnable" - }, - "block_40_statement_40": { - "category": "runnable" - } + "block_00_block_00": { "category": "runnable" }, + "block_01_statement_01": { "category": "runnable" }, + "block_02_statement_02": { "category": "runnable" }, + "block_03_statement_03": { "category": "runnable" }, + "block_04_block_04": { "category": "runnable" }, + "block_05_block_05": { "category": "runnable" }, + "block_06_block_06": { "category": "runnable" }, + "block_07_block_07": { "category": "runnable" }, + "block_08_block_08": { "category": "runnable" }, + "block_09_block_09": { "category": "runnable" }, + "block_10_block_10": { "category": "runnable" }, + "block_11_block_11": { "category": "runnable" }, + "block_12_block_12": { "category": "runnable" }, + "block_13_block_13": { "category": "runnable" }, + "block_14_block_14": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_15_block_15": { "category": "runnable" }, + "block_16_block_16": { "category": "runnable" }, + "block_17_block_17": { "category": "runnable" }, + "block_18_block_18": { "category": "runnable" }, + "block_19_block_19": { "category": "runnable" }, + "block_20_block_20": { "category": "runnable" }, + "block_21_block_21": { "category": "runnable" }, + "block_22_statement_22": { "category": "runnable" }, + "block_23_statement_23": { "category": "runnable" }, + "block_24_statement_24": { "category": "runnable" }, + "block_25_statement_25": { "category": "runnable" }, + "block_26_statement_26": { "category": "runnable" }, + "block_27_statement_27": { "category": "runnable" }, + "block_28_statement_28": { "category": "known-gap", "reason": "fetch does not resolve registered blob:nodedata URLs; requests currently require wasi:http transport" }, + "block_29_statement_29": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_30_statement_30": { "category": "known-gap", "reason": "Blob byte-stream BYOB final read does not settle at end of stream" }, + "block_31_statement_31": { "category": "node-internals", "reason": "Asserts internal webstreams kState" }, + "block_32_statement_32": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_33_block_33": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection: AssertionError: 'a\\rb' !== 'a\\nb'; carries 22.14.0 subtest block_32_block_32" }, + "block_34_block_34": { "category": "runnable" }, + "block_35_statement_35": { "category": "runnable" }, + "block_36_statement_36": { "category": "runnable" }, + "block_37_block_37": { "category": "runnable" }, + "block_38_statement_38": { "category": "runnable" }, + "block_39_block_39": { "category": "runnable" }, + "block_40_statement_40": { "category": "runnable" }, + "block_41_statement_41": { "category": "runnable" }, + "block_42_block_42": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_43_statement_43": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-blob-createobjecturl.js": {}, @@ -335,11 +239,12 @@ "block_03_nested_in_colon": {}, "block_04_test_removing_limit": {}, "block_05_block_05": {}, - "block_06_test_custom_decode": {}, - "block_07_test_querystring_unescape": {}, - "block_08_test_custom_encode": {}, - "block_09_test_custom_encode_for_different_types": {}, - "block_10_test_overriding_unescape": {} + "block_06_test_encoded_key_with_unencoded_value": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_07_test_custom_decode": {}, + "block_08_test_querystring_unescape": {}, + "block_09_test_custom_encode": {}, + "block_10_test_custom_encode_for_different_types": {}, + "block_11_test_overriding_unescape": {} } }, "parallel/test-querystring-escape.js": {}, @@ -353,11 +258,10 @@ "test_00_invalid_arguments": {}, "test_01_input_must_be_a_file_url": {}, "test_02_fileurltopath_with_host": {}, - "test_03_fileurltopath_with_invalid_path": {}, - "test_04_fileurltopath_with_windows_path": {}, - "test_05_fileurltopath_with_posix_path": {}, - "test_06_options_is_null": {}, - "test_07_defaulttestcases": {} + "test_03_fileurltopath_with_windows_path": {}, + "test_04_fileurltopath_with_posix_path": {}, + "test_05_options_is_null": {}, + "test_06_defaulttestcases": {} } }, "parallel/test-url-pathtofileurl.js": { @@ -366,11 +270,14 @@ "block_00_block_00": {}, "block_01_block_01": {}, "block_02_block_02": {}, - "block_03_block_03": {}, - "block_04_test_for_non_string_parameter": {} + "block_03_block_03": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_04_block_04": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_05_block_05": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_06_block_06": {}, + "block_07_test_for_non_string_parameter": {} } }, - "parallel/test-url-urltooptions.js": {}, + "parallel/test-url-urltooptions.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." }, "parallel/test-url-format-whatwg.js": { "category": "known-gap", "reason": "all assertions are gated by common.hasIntl; URL-only IDNA formatting is covered by focused runtime tests while the broader Intl API remains unavailable", @@ -380,7 +287,8 @@ "test_01_handle_invalid_arguments": {}, "test_02_any_falsy_value_other_than_undefined_will_be_treated_as_fals": {}, "test_03_should_format_with_unicode_true": {}, - "test_04_should_format_tel_prefix": {} + "test_04_should_format_tel_prefix": {}, + "test_05_should_not_crash_on_urls_with_invalid_idn_hostnames": {} } }, "parallel/test-url-format-invalid-input.js": {}, @@ -401,9 +309,7 @@ "test_01_parse_result_should_equal_new_url_url": {} } }, - "parallel/test-url-parse-invalid-input.js": { - "reason": "the runnable assertions execute, while its common.hasIntl-gated invalid-IDNA matrix is covered separately by focused runtime tests" - }, + "parallel/test-url-parse-invalid-input.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception.; the runnable assertions execute, while its common.hasIntl-gated invalid-IDNA matrix is covered separately by focused runtime tests" }, "parallel/test-url-parse-query.js": {}, "parallel/test-url-relative.js": {}, @@ -428,7 +334,8 @@ "subtests": { "block_00_emits_deprecation_only_once_if_same_function_is_called": {}, "block_01_emits_deprecation_twice_for_different_functions": {}, - "block_02_functions": {} + "block_02_functions": {}, + "block_03_test_modifyprototype_option": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-util-emit-experimental-warning.js": { "category": "node-internals", "reason": "directly tests internal/util.emitExperimentalWarning()" }, @@ -440,30 +347,27 @@ "block_00_block_00": {}, "block_01_string_format_specifier_including_tostring_properties_on_the": {}, "block_02_symbol_toprimitive_handling_for_string_format_specifier": {}, - "block_03_block_03": {}, - "block_04_block_04": {} + "block_03_built_in_toprimitive_is_the_same_behavior_as_inspect": {}, + "block_04_prototype_chain_handling_for_tostring": {}, + "block_05_prototype_chain_handling_for_symbol_toprimitive": {}, + "block_06_prototype_chain_handling_for_both_tostring_and_symbol_toprim": {}, + "block_07_block_07": {}, + "block_08_block_08": {} } }, - "parallel/test-util-getcallsite.js": {}, "parallel/test-util-getcallsites.js": { "split": true, "subtests": { "block_00_block_00": {}, "block_01_block_01": {}, - "block_02_guarantee_dot_left_numbers_are_ignored": {}, + "block_02_framecount_must_be_an_integer": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception.; carries 22.14.0 subtest block_02_guarantee_dot_left_numbers_are_ignored" }, "block_03_block_03": {}, "block_04_block_04": {}, - "block_05_block_05": {}, - "block_06_scriptid_is_a_string": {}, - "block_07_guarantee_eval_will_appear_on_stacktraces_when_using_e": {}, - "block_08_guarantee_the_stacktrace_0_is_the_filename": {}, - "block_09_error_stacktracelimit_should_not_influence_callsite_size": {}, - "block_10_block_10": { - "category": "known-gap", - "reason": "simulated child_process TypeScript CLI execution does not publish its transform map to util.getCallSites" - }, - "block_11_block_11": {}, - "block_12_block_12": {} + "block_05_scriptid_is_a_string": {}, + "block_06_guarantee_eval_will_appear_on_stacktraces_when_using_e": {}, + "block_07_guarantee_the_stacktrace_0_is_the_filename": {}, + "block_08_error_stacktracelimit_should_not_influence_callsite_size": {}, + "block_09_block_09": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-util-inherits.js": {}, @@ -476,7 +380,15 @@ }, "parallel/test-util-inspect-long-running.js": {}, "parallel/test-util-inspect-namespace.js": { "category": "runnable" }, - "parallel/test-util-inspect-proxy.js": { "category": "node-internals", "reason": "requires internalBinding('util').getProxyDetails" }, + "parallel/test-util-inspect-proxy.js": { + "category": "node-internals", + "reason": "requires internalBinding('util').getProxyDetails", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, "parallel/test-util-inspect.js": { "category": "node-internals", "reason": "requires --expose-internals plus internal/test/binding internalBinding('js_stream'/'util')", @@ -503,102 +415,106 @@ "block_18_test_for_array_constructor_in_different_context": {}, "block_19_test_for_other_constructors_in_different_context": {}, "block_20_test_for_property_descriptors": {}, - "block_21_exceptions_should_print_the_error_message_not": { "category": "runnable" }, - "block_22_block_22": { "category": "runnable" }, - "block_23_block_23": { "category": "runnable" }, - "block_24_prevent_enumerable_error_properties_from_being_printed": { "category": "runnable" }, - "block_25_doesn_t_capture_stack_trace": { "category": "runnable" }, - "block_26_https_github_com_nodejs_node_v0_x_archive_issues_1944": {}, - "block_27_should_not_throw": {}, - "block_28_should_not_throw": {}, - "block_29_see_https_github_com_nodejs_node_v0_x_archive_issues_2225": {}, - "block_30_util_inspect_should_display_the_escaped_value_of_a_key": {}, - "block_31_escape_unpaired_surrogate_pairs": {}, - "block_32_test_util_inspect_styles_and_util_inspect_colors": {}, - "block_33_new_api_accepts_an_options_object": {}, - "block_34_block_34": {}, - "block_35_block_35": {}, + "block_21_exceptions_should_print_the_error_message_not": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_22_block_22": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_23_block_23": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_24_block_24": {}, + "block_25_block_25": {}, + "block_26_prevent_enumerable_error_properties_from_being_printed": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_27_doesn_t_capture_stack_trace": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_28_https_github_com_nodejs_node_v0_x_archive_issues_1944": {}, + "block_29_should_not_throw": {}, + "block_30_should_not_throw": {}, + "block_31_see_https_github_com_nodejs_node_v0_x_archive_issues_2225": {}, + "block_32_util_inspect_should_display_the_escaped_value_of_a_key": {}, + "block_33_escape_unpaired_surrogate_pairs": {}, + "block_34_test_util_inspect_styles_and_util_inspect_colors": {}, + "block_35_new_api_accepts_an_options_object": {}, "block_36_block_36": {}, - "block_37_without_it": {}, - "block_38_test_boxed_primitives_with_own_properties": {}, - "block_39_test_set": {}, - "block_40_test_circular_set": {}, - "block_41_test_map": {}, - "block_42_test_circular_map": {}, - "block_43_test_multiple_circular_references": {}, - "block_44_test_promise": {}, - "block_45_a_bonafide_native_promise": {}, - "block_46_test_map_iterators": {}, - "block_47_test_set_iterators": {}, - "block_48_the_constructor_and_symbol_tostringtag": { "category": "runnable" }, - "block_49_assumes_that_the_first_numeric_character_is_the_start_of_an_": { "category": "runnable" }, - "block_50_test_display_of_constructors": { "category": "runnable" }, - "block_51_empty_and_circular_before_depth": { "category": "runnable" }, - "block_52_corner_cases": { "category": "runnable" }, - "block_53_block_53": { "category": "runnable" }, - "block_54_block_54": { "category": "runnable" }, - "block_55_block_55": { "category": "runnable" }, - "block_56_block_56": { "category": "runnable" }, - "block_57_https_github_com_nodejs_node_pull_6334_is_backported": { "category": "runnable" }, - "block_58_block_58": { "category": "runnable" }, - "block_59_block_59": { "category": "runnable" }, - "block_60_block_60": { "category": "runnable" }, - "block_61_util_inspect_defaultoptions_tests": { "category": "runnable" }, - "block_62_setting_custom_inspect_property_to_a_non_function_should_do_": { "category": "runnable" }, - "block_63_block_63": { "category": "runnable" }, - "block_64_block_64": { "category": "runnable" }, - "block_65_check_compact_indentation": { "category": "runnable" }, - "block_66_block_66": { "category": "runnable" }, - "block_67_block_67": { "category": "runnable" }, - "block_68_block_68": { "category": "runnable" }, - "block_69_class_properties_should_not_be_detected_as_class": { "category": "runnable" }, - "block_70_verify_non_enumerable_keys_get_escaped": { "category": "runnable" }, - "block_71_check_for_special_colors": { "category": "runnable" }, - "block_72_non_indices_array_properties_are_sorted_as_well": { "category": "runnable" }, - "block_73_manipulate_the_prototype_in_weird_ways": { - "category": "known-gap", - "reason": "requires V8 hidden-class constructor-name recovery after the prototype constructor is detached" - }, - "block_74_check_that_the_fallback_always_works": { "category": "runnable" }, - "block_75_check_the_getter_option": { "category": "runnable" }, - "block_76_check_compact_number_mode": { "category": "runnable" }, - "block_77_block_77": { "category": "runnable" }, - "block_78_block_78": { "category": "node-internals", "reason": "inherits top-level internal/test/binding dependency" }, - "block_79_block_79": { "category": "runnable" }, - "block_80_inspect_prototype_properties": { "category": "runnable" }, - "block_81_regression_test_for_https_github_com_nodejs_node_issues_3573": { "category": "runnable" }, - "block_82_test_changing_util_inspect_colors_colors_and_aliases": { "category": "runnable" }, - "block_83_https_github_com_nodejs_node_issues_31889": { - "category": "known-gap", - "reason": "uses V8 native %GetUndetectable() syntax which QuickJS cannot evaluate" - }, - "block_84_truncate_output_for_primitives_with_1_character_left": { "category": "runnable" }, - "block_85_block_85": { "category": "runnable" }, - "block_86_block_86": { "category": "runnable" }, - "block_87_block_87": { "category": "runnable" }, - "block_88_block_88": { "category": "runnable" }, - "block_89_block_89": { "category": "runnable" }, - "block_90_block_90": { "category": "runnable" }, - "block_91_block_91": { "category": "runnable" }, - "block_92_regression_test_for_https_github_com_nodejs_node_issues_4124": { "category": "runnable" }, - "block_93_block_93": { "category": "runnable" }, - "block_94_block_94": { "category": "runnable" }, - "block_95_block_95": { "category": "runnable" }, - "block_96_block_96": { "category": "runnable" }, - "block_97_block_97": { "category": "runnable" }, - "block_98_block_98": { "category": "runnable" } + "block_37_block_37": {}, + "block_38_block_38": {}, + "block_39_without_it": {}, + "block_40_test_boxed_primitives_with_own_properties": {}, + "block_41_test_set": {}, + "block_42_test_circular_set": {}, + "block_43_test_map": {}, + "block_44_test_circular_map": {}, + "block_45_test_multiple_circular_references": {}, + "block_46_test_promise": {}, + "block_47_a_bonafide_native_promise": {}, + "block_48_test_map_iterators": {}, + "block_49_test_set_iterators": {}, + "block_50_the_constructor_and_symbol_tostringtag": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_51_assumes_that_the_first_numeric_character_is_the_start_of_an_": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_52_test_display_of_constructors": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_53_empty_and_circular_before_depth": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_54_corner_cases": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_55_block_55": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_56_block_56": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_57_block_57": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_58_block_58": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_59_https_github_com_nodejs_node_pull_6334_is_backported": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_60_block_60": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_61_block_61": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_62_block_62": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_63_util_inspect_defaultoptions_tests": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_64_setting_custom_inspect_property_to_a_non_function_should_do_": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_65_block_65": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_63_block_63" }, + "block_66_block_66": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_67_check_compact_indentation": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_68_block_68": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_69_block_69": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_70_block_70": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_71_class_properties_should_not_be_detected_as_class": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_72_verify_non_enumerable_keys_get_escaped": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_73_check_for_special_colors": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_74_only_the_name_is_colored_and_space_are_unstyled": {}, + "block_75_non_indices_array_properties_are_sorted_as_well": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_76_manipulate_the_prototype_in_weird_ways": { "category": "known-gap", "reason": "requires V8 hidden-class constructor-name recovery after the prototype constructor is detached" }, + "block_77_check_that_the_fallback_always_works": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_78_check_the_getter_option": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_79_https_github_com_nodejs_node_issues_64838": {}, + "block_80_property_getter_throwing_an_error": {}, + "block_81_https_github_com_nodejs_node_issues_60683": {}, + "block_82_property_getter_throwing_an_error_with_getters_that_throws_r": {}, + "block_83_property_getter_throwing_an_error_whose_own_getters_throw_th": {}, + "block_84_check_compact_number_mode": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_85_block_85": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_77_block_77" }, + "block_86_block_86": {}, + "block_87_block_87": {}, + "block_88_block_88": {}, + "block_89_block_89": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_90_inspect_prototype_properties": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_91_regression_test_for_https_github_com_nodejs_node_issues_3573": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_92_test_changing_util_inspect_colors_colors_and_aliases": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_93_https_github_com_nodejs_node_issues_31889": { "category": "known-gap", "reason": "uses V8 native %GetUndetectable() syntax which QuickJS cannot evaluate" }, + "block_94_truncate_output_for_primitives_with_1_character_left": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_95_block_95": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_96_block_96": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_97_block_97": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_98_block_98": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_99_block_99": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_100_block_100": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: util.inspect prints the symbol key of a boxed String as [Symbol(foo)]; 26.13.1 expects Symbol(foo); carries 22.14.0 subtest block_90_block_90" }, + "block_101_block_101": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_91_block_91" }, + "block_102_regression_test_for_https_github_com_nodejs_node_issues_4124": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_103_block_103": {}, + "block_104_block_104": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_105_block_105": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_106_block_106": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_95_block_95" }, + "block_107_block_107": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_108_block_108": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_109_block_109": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_98_block_98" }, + "block_110_block_110": {}, + "block_111_block_111": {}, + "block_112_block_112": {}, + "block_113_block_113": {}, + "block_114_block_114": {}, + "block_115_block_115": {} } }, "parallel/test-util-internal.js": { "category": "node-internals", "reason": "requires internalBinding('util').privateSymbols" }, - "parallel/test-util-isDeepStrictEqual.js": { - "split": true, - "subtests": { - "block_00_handle_boxed_primitives": {}, - "block_01_handle_symbols_enumerable_only": {} - } - }, - "parallel/test-util-log.js": {}, - "parallel/test-util-parse-env.js": {}, + "parallel/test-util-isDeepStrictEqual.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "parallel/test-util-parse-env.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, "parallel/test-util-primordial-monkeypatching.js": {}, "parallel/test-util-promisify.js": { "category": "node-internals", @@ -628,9 +544,15 @@ }, "parallel/test-util-sigint-watchdog.js": { "category": "node-internals", "reason": "requires internal/test/binding and internalBinding('contextify')" }, "parallel/test-util-sleep.js": { "category": "node-internals", "reason": "requires internal/util.sleep" }, - "parallel/test-util-stripvtcontrolcharacters.js": {}, - "parallel/test-util-styletext.js": {}, - "parallel/test-util-text-decoder.js": {}, + "parallel/test-util-stripvtcontrolcharacters.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "parallel/test-util-styletext.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The argument 'format' must be a valid string format. Received \"grey\"" }, + "parallel/test-util-text-decoder.js": { + "split": true, + "subtests": { + "test_00_textdecoder_correctly_decodes_windows_1252_encoded_data": {}, + "test_01_test_01": {} + } + }, "parallel/test-util-types-exists.js": {}, "parallel/test-util-types.js": { "category": "node-internals", @@ -639,7 +561,32 @@ "subtests": { "block_00_block_00": {}, "block_01_block_01": {}, - "block_02_block_02": {} + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {}, + "block_07_block_07": {}, + "block_08_block_08": {}, + "block_09_block_09": {}, + "block_10_block_10": {}, + "block_11_block_11": {}, + "block_12_block_12": {}, + "block_13_block_13": {}, + "block_14_block_14": {}, + "block_15_block_15": {}, + "block_16_block_16": {}, + "block_17_block_17": {}, + "block_18_block_18": {}, + "block_19_block_19": {}, + "block_20_block_20": {}, + "block_21_block_21": {}, + "block_22_block_22": {}, + "block_23_block_23": {}, + "block_24_block_24": {}, + "block_25_block_25": {}, + "block_26_block_26": {}, + "block_27_block_27": {} } }, "parallel/test-util.js": { "category": "node-internals", "reason": "requires internal/errors" }, @@ -685,7 +632,7 @@ "parallel/test-fs-chown-type-check.js": {}, "parallel/test-fs-close.js": {}, "parallel/test-fs-close-errors.js": {}, - "parallel/test-fs-constants.js": {}, + "parallel/test-fs-constants.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, "parallel/test-fs-copyfile.js": { "category": "node-internals", "reason": "uses --expose-internals with internal/test/binding (internalBinding('uv'))" }, "parallel/test-fs-copyfile-respect-permissions.js": { "category": "wasi-impossible", @@ -807,11 +754,11 @@ "parallel/test-fs-opendir.js": { "split": true, "subtests": { - "block_00_check_the_opendir_sync_version": {}, - "block_01_check_that_passing_a_positive_integer_as_buffersize_works": {}, - "block_02_check_read_throw_exceptions_on_invalid_callback": {}, - "block_03_check_if_directory_already_closed_the_callback_should_pass_a": {}, - "block_04_check_if_directory_already_closed_throw_an_promise_exception": {} + "block_00_check_the_opendir_sync_version": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, + "block_01_check_that_passing_a_positive_integer_as_buffersize_works": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception." }, + "block_02_check_read_throw_exceptions_on_invalid_callback": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception." }, + "block_03_check_if_directory_already_closed_the_callback_should_pass_a": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception." }, + "block_04_check_if_directory_already_closed_throw_an_promise_exception": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception." } } }, "parallel/test-fs-operations-with-surrogate-pairs.js": {}, @@ -830,14 +777,13 @@ }, "parallel/test-fs-promises-exists.js": {}, "parallel/test-fs-promises-file-handle-aggregate-errors.js": { "category": "node-internals", "reason": "patches internal/fs/promises FileHandle fd/close internals" }, - "parallel/test-fs-promises-file-handle-append-file.js": {}, + "parallel/test-fs-promises-file-handle-append-file.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Ab" }, "parallel/test-fs-promises-file-handle-chmod.js": {}, "parallel/test-fs-promises-file-handle-close-errors.js": { "category": "node-internals", "reason": "patches internal/fs/promises FileHandle fd/close internals" }, - "parallel/test-fs-promises-file-handle-close.js": {}, - "parallel/test-fs-promises-file-handle-dispose.js": {}, + "parallel/test-fs-promises-file-handle-dispose.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): TypeError: not a function" }, "parallel/test-fs-promises-file-handle-op-errors.js": { "category": "node-internals", "reason": "patches internal/fs/promises FileHandle fd internals" }, "parallel/test-fs-promises-file-handle-read-worker.js": { "category": "wasi-impossible", "reason": "depends on real worker_threads execution to read the transferred FileHandle in a separate context, which is not available in single-threaded WASM" }, - "parallel/test-fs-promises-file-handle-read.js": {}, + "parallel/test-fs-promises-file-handle-read.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): TypeError: Error converting from js 'string' i" }, "parallel/test-fs-promises-file-handle-readFile.js": {}, "parallel/test-fs-promises-file-handle-stat.js": {}, "parallel/test-fs-promises-file-handle-stream.js": {}, @@ -848,15 +794,13 @@ "parallel/test-fs-promises-readfile-empty.js": {}, "parallel/test-fs-promises-readfile-with-fd.js": {}, "parallel/test-fs-promises-readfile.js": { "category": "node-internals", "reason": "patches internalBinding('fs') via internal/test/binding" }, - "parallel/test-fs-promises-watch.js": {}, + "parallel/test-fs-promises-watch.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Test timed out after 120s" }, "parallel/test-fs-promises-write-optional-params.js": {}, - "parallel/test-fs-promises-writefile-typedarray.js": {}, - "parallel/test-fs-promises-writefile-with-fd.js": {}, "parallel/test-fs-promises-writefile.js": {}, "parallel/test-fs-promises.js": { "split": true, "subtests": { - "block_00_block_00": {}, + "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, "block_01_block_01": { "category": "known-gap", "reason": "the rooted symlink target used by this subtest cannot be resolved inside a WASI preopen" } } }, @@ -999,40 +943,10 @@ "block_00_test_the_asynchronous_version": {}, "block_01_test_the_synchronous_version": {}, "block_02_test_input_validation": {}, - "block_03_block_03": {} - } - }, - "parallel/test-fs-rmdir-recursive.js": { - "category": "node-internals", - "reason": "imports internal/fs/utils validateRmdirOptions", - "split": true, - "subtests": { - "block_00_test_the_asynchronous_version": {}, - "block_01_test_the_synchronous_version": {}, - "block_02_test_input_validation": {}, - "block_03_rimraf_see_35566": {} - } - }, - "parallel/test-fs-rmdir-recursive-sync-warns-not-found.js": {}, - "parallel/test-fs-rmdir-recursive-sync-warns-on-file.js": {}, - "parallel/test-fs-rmdir-recursive-throws-not-found.js": { - "split": true, - "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {}, - "block_02_block_02": {} - } - }, - "parallel/test-fs-rmdir-recursive-throws-on-file.js": { - "split": true, - "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {}, - "block_02_block_02": {} + "block_03_block_03": {}, + "block_04_block_04": {} } }, - "parallel/test-fs-rmdir-recursive-warns-not-found.js": {}, - "parallel/test-fs-rmdir-recursive-warns-on-file.js": {}, "parallel/test-fs-rmdir-type-check.js": {}, "parallel/test-fs-sir-writes-alot.js": {}, "parallel/test-fs-stat.js": { @@ -1040,7 +954,8 @@ "subtests": { "block_00_block_00": {}, "block_01_block_01": {}, - "block_02_block_02": {} + "block_02_block_02": {}, + "block_03_block_03": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-fs-stat-bigint.js": { @@ -1062,8 +977,8 @@ "parallel/test-fs-statfs.js": { "split": true, "subtests": { - "block_00_synchronous": {}, - "block_01_synchronous_bigint": {} + "block_00_synchronous": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The expression evaluated to a falsy value:" }, + "block_01_synchronous_bigint": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The expression evaluated to a falsy value:" } } }, "parallel/test-fs-stream-construct-compat-error-read.js": {}, @@ -1138,7 +1053,6 @@ "block_01_asynchronous_test": {} } }, - "parallel/test-fs-truncate-fd.js": {}, "parallel/test-fs-truncate-sync.js": {}, "parallel/test-fs-unlink-type-check.js": {}, "parallel/test-fs-util-validateoffsetlength.js": { @@ -1166,7 +1080,8 @@ "block_05_getdirent": {}, "block_06_block_06": {}, "block_07_block_07": {}, - "block_08_block_08": {} + "block_08_block_08": {}, + "block_09_block_09": {} } }, "parallel/test-fs-utimes.js": { @@ -1201,7 +1116,12 @@ "split": true, "subtests": { "block_00_block_00": {}, - "block_01_block_01": {} + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {} } }, "parallel/test-fs-watch-file-enoent-after-deletion.js": {}, @@ -1218,7 +1138,7 @@ "parallel/test-fs-watch-recursive-sync-write.js": {}, "parallel/test-fs-watch-recursive-update-file.js": {}, "parallel/test-fs-watch-recursive-validate.js": {}, - "parallel/test-fs-watch-recursive-watch-file.js": {}, + "parallel/test-fs-watch-recursive-watch-file.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, "parallel/test-fs-watch-ref-unref.js": {}, "parallel/test-fs-watch-stop-async.js": {}, "parallel/test-fs-watch-stop-sync.js": {}, @@ -1287,7 +1207,7 @@ "parallel/test-fs-write-optional-params.js": {}, "parallel/test-fs-write-reuse-callback.js": {}, "parallel/test-fs-write-sigxfsz.js": { "category": "wasi-impossible", "reason": "requires POSIX RLIMIT_FSIZE/SIGXFSZ behavior via /bin/sh ulimit" }, - "parallel/test-fs-write-stream-autoclose-option.js": {}, + "parallel/test-fs-write-stream-autoclose-option.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, "parallel/test-fs-write-stream-change-open.js": {}, "parallel/test-fs-write-stream-close-without-callback.js": {}, "parallel/test-fs-write-stream-double-close.js": { @@ -1398,20 +1318,23 @@ "parallel/test-timers-api-refs.js": {}, "parallel/test-timers-process-tampering.js": {}, "parallel/test-timers-refresh-in-callback.js": {}, - "parallel/test-timers-active.js": { "category": "node-internals", "reason": "asserts deprecated timers.active() behavior and private _idle* timer fields" }, "parallel/test-timers-destroyed.js": { "category": "node-internals", "reason": "asserts private Timer._destroyed state on timeout/interval objects" }, "parallel/test-timers-dispose.js": {}, "parallel/test-dgram-async-dispose.mjs": {}, "parallel/test-net-server-async-dispose.mjs": {}, "parallel/test-timers-immediate-queue.js": { "category": "known-gap", "reason": "setImmediate queue turn semantics are unstable and can trap in the timeout scheduler" }, - "parallel/test-timers-immediate-queue-throw.js": {}, + "parallel/test-timers-immediate-queue-throw.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, "parallel/test-timers-immediate-unref.js": {}, "parallel/test-timers-immediate-unref-nested-once.js": {}, "parallel/test-timers-immediate-unref-simple.js": {}, "parallel/test-timers-interval-throw.js": {}, - "parallel/test-timers-max-duration-warning.js": {}, - "parallel/test-timers-enroll-invalid-msecs.js": { "category": "node-internals", "reason": "tests deprecated internal timers.enroll() validation/error paths" }, - "parallel/test-timers-enroll-second-time.js": {}, + "parallel/test-timers-max-duration-warning.js": { + "split": true, + "subtests": { + "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, + "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" } + } + }, "parallel/test-timers-reset-process-domain-on-throw.js": {}, "parallel/test-timers-socket-timeout-removes-other-socket-unref-timer.js": {}, "parallel/test-timers-to-primitive.js": { @@ -1441,9 +1364,6 @@ "block_02_see_https_github_com_nodejs_node_v0_x_archive_issues_4261": {} } }, - "parallel/test-timers-unref-active.js": { "category": "node-internals", "reason": "explicitly tests private timers._unrefActive()/enroll()/unenroll() behavior" }, - "parallel/test-timers-unref-remove-other-unref-timers.js": { "category": "node-internals", "reason": "explicitly tests private timers._unrefActive()/enroll()/unenroll() behavior" }, - "parallel/test-timers-unref-remove-other-unref-timers-only-one-fires.js": { "category": "node-internals", "reason": "explicitly tests private timers._unrefActive()/enroll()/unenroll() behavior" }, "parallel/test-timers-unref-throw-then-ref.js": {}, "parallel/test-timers-unrefd-interval-still-fires.js": {}, "parallel/test-timers-unrefed-in-beforeexit.js": {}, @@ -1512,7 +1432,8 @@ "split": true, "subtests": { "block_00_block_00": {}, - "block_01_block_01": {} + "block_01_block_01": {}, + "block_02_block_02": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-events-customevent.js": { @@ -1600,7 +1521,7 @@ "block_29_block_29": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, "block_30_block_30": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, "block_31_block_31": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, - "block_32_block_32": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, + "block_32_block_32": {}, "block_33_block_33": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, "block_34_block_34": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, "block_35_block_35": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, @@ -1612,23 +1533,25 @@ "block_41_block_41": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, "block_42_block_42": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, "block_43_block_43": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, - "block_44_block_44": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, + "block_44_block_44": {}, "block_45_block_45": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, "block_46_block_46": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, "block_47_block_47": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, "block_48_block_48": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, - "block_49_block_49": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, + "block_49_block_49": {}, "block_50_block_50": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, "block_51_block_51": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, "block_52_block_52": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, - "block_53_block_53": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, + "block_53_block_53": {}, "block_54_block_54": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, "block_55_block_55": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, "block_56_block_56": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, "block_57_block_57": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, - "block_58_block_58": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, + "block_58_block_58": {}, "block_59_block_59": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, - "block_60_block_60": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" } + "block_60_block_60": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" }, + "block_61_block_61": {}, + "block_62_block_62": { "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" } } }, "parallel/test-eventtarget-brandcheck.js": { "category": "node-internals", "reason": "requires --expose-internals and internal/event_target" }, @@ -1651,31 +1574,35 @@ // === node:crypto tests === "parallel/test-crypto-aes-wrap.js": {}, - "parallel/test-crypto-async-sign-verify.js": {}, + "parallel/test-crypto-async-sign-verify.js": { + "split": true, + "subtests": { + "block_00_test_parallel_execution_w_keyobject_is_threadsafe_in_openssl": {}, + "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: error:06000068:public key routines::operation not supported for this keytype" }, + "block_02_block_02": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: error:0408006C:rsa routines::digest too big for rsa key" } + } + }, "parallel/test-crypto-authenticated-stream.js": {}, "parallel/test-crypto-authenticated.js": { "split": true, "subtests": { - "block_00_non_authenticating_mode": {}, - "block_01_throw": {}, - "block_02_test_that_gcm_can_produce_shorter_authentication_tags_than_1": {}, - "block_03_test_that_users_can_manually_restrict_the_gcm_tag_length_to_": {}, - "block_04_authentication_tag_length_has_been_specified": {}, - "block_05_authentication_tag_has_been_specified": {}, - "block_06_test_that_setaad_throws_if_an_invalid_plaintext_length_has_b": {}, - "block_07_test_that_setaad_and_update_throw_if_the_plaintext_is_too_lo": {}, - "block_08_been_specified": {}, - "block_09_test_that_final_throws_in_ccm_mode_when_no_authentication_ta": {}, - "block_10_test_that_setauthtag_does_not_throw_in_gcm_mode_when_called_": {}, - "block_11_test_that_an_iv_length_of_11_does_not_overflow_max_message_s": {}, - "block_12_final_in_gcm_or_ocb_mode": {}, - "block_13_test_that_setauthtag_can_only_be_called_once": {}, - "block_14_https_www_openssl_org_news_secadv_20190306_txt": {}, - "block_15_block_15": {}, - "block_16_block_16": {}, - "block_17_require_the_authentication_tag_before_calls_to_update_during": {}, - "block_18_no_recommended_or_approved_authentication_tag_lengths_below_": {}, - "block_19_https_github_com_nodejs_node_issues_45874": {} + "block_00_non_authenticating_mode": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" }, + "block_01_throw": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" }, + "block_02_siv_and_gcm_siv_use_fixed_16_byte_authentication_tags": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_03_test_that_gcm_can_produce_shorter_authentication_tags_than_1": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" }, + "block_04_test_that_users_can_manually_restrict_the_gcm_tag_length_to_": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" }, + "block_05_authentication_tag_length_has_been_specified": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:; carries 22.14.0 subtest block_04_authentication_tag_length_has_been_specified" }, + "block_06_authentication_tag_length_has_been_specified": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:; carries 22.14.0 subtest block_05_authentication_tag_has_been_specified" }, + "block_07_test_that_setaad_throws_if_an_invalid_plaintext_length_has_b": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" }, + "block_08_test_that_setaad_and_update_throw_if_the_plaintext_is_too_lo": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" }, + "block_09_been_specified": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" }, + "block_10_test_that_final_throws_in_ccm_mode_when_no_authentication_ta": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" }, + "block_11_test_that_setauthtag_does_not_throw_in_gcm_mode_when_called_": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" }, + "block_12_test_that_an_iv_length_of_11_does_not_overflow_max_message_s": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" }, + "block_13_final_in_gcm_mode_ocb_mode_and_for_chacha20_poly1305": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input; carries 22.14.0 subtest block_12_final_in_gcm_or_ocb_mode" }, + "block_14_test_that_setauthtag_can_only_be_called_once": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" }, + "block_15_https_www_openssl_org_news_secadv_20190306_txt": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" }, + "block_16_block_16": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" } } }, "parallel/test-crypto-certificate.js": { @@ -1689,10 +1616,10 @@ "parallel/test-crypto-cipheriv-decipheriv.js": { "split": true, "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {}, - "block_02_block_02": {}, - "block_03_block_03": {} + "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, + "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, + "block_02_block_02": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, + "block_03_block_03": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." } } }, "parallel/test-crypto-classes.js": {}, @@ -1705,7 +1632,7 @@ "block_02_block_02": {} } }, - "parallel/test-crypto-dh-curves.js": {}, + "parallel/test-crypto-dh-curves.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, "parallel/test-crypto-dh-errors.js": {}, "parallel/test-crypto-dh-generate-keys.js": {}, "parallel/test-crypto-dh-group-setters.js": {}, @@ -1715,7 +1642,19 @@ "parallel/test-crypto-dh-odd-key.js": {}, "parallel/test-crypto-dh-padding.js": {}, "parallel/test-crypto-dh-shared.js": {}, - "parallel/test-crypto-dh-stateless.js": {}, + "parallel/test-crypto-dh-stateless.js": { + "split": true, + "subtests": { + "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." }, + "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." }, + "block_02_block_02": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." }, + "block_03_block_03": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." }, + "block_04_test_that_error_messages_include_the_correct_property_path": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." }, + "block_05_block_05": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." }, + "block_06_block_06": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." }, + "block_07_test_c_error_conditions_both_sync_throws_and_async_callback": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." } + } + }, "parallel/test-crypto-dh.js": { "split": true, "subtests": { @@ -1737,8 +1676,8 @@ "parallel/test-crypto-encoding-validation-error.js": { "split": true, "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {}, + "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, "block_02_block_02": {}, "block_03_block_03": {} } @@ -1753,65 +1692,59 @@ "block_02_block_02": {} } }, - "parallel/test-crypto-gcm-implicit-short-tag.js": {}, + "parallel/test-crypto-gcm-implicit-short-tag.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, "parallel/test-crypto-getcipherinfo.js": {}, "parallel/test-crypto-hash-stream-pipe.js": {}, "parallel/test-crypto-hash.js": { "split": true, "subtests": { "block_00_block_00": {}, - "block_01_test_xof_hash_functions_and_the_outputlength_option": {}, + "block_01_block_01": {}, "block_02_block_02": {}, - "block_03_block_03": {}, - "block_04_block_04": {} + "block_03_block_03": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, - "parallel/test-crypto-hkdf.js": {}, + "parallel/test-crypto-hkdf.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, "parallel/test-crypto-hmac.js": { "split": true, "subtests": { "block_00_block_00": {}, "block_01_block_01": {}, - "block_02_check_initialized_uninitialized_state_transition_after_calli": {}, - "block_03_calls_to_update_omitted_intentionally": {}, + "block_02_block_02": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_03_see_https_github_com_nodejs_node_issues_28245": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "block_04_block_04": {}, - "block_05_block_05": {}, - "block_06_block_06": {} + "block_05_check_initialized_uninitialized_state_transition_after_calli": {}, + "block_06_calls_to_update_omitted_intentionally": {}, + "block_07_block_07": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_08_block_08": {}, + "block_09_block_09": {} } }, "parallel/test-crypto-key-objects-messageport.js": { "category": "wasi-impossible", "reason": "requires real worker_threads execution (HAS_STARTED_WORKER round-trip) which is not available in single-threaded WASM" }, - "parallel/test-crypto-key-objects-to-crypto-key.js": { - "split": true, - "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {}, - "block_02_block_02": {}, - "block_03_block_03": {}, - "block_04_block_04": {}, - "block_05_block_05": {} - } - }, + "parallel/test-crypto-key-objects-to-crypto-key.js": {}, "parallel/test-crypto-key-objects.js": { "split": true, "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {}, - "block_02_block_02": {}, - "block_03_block_03": {}, - "block_04_block_04": {}, + "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_02_block_02": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_03_block_03": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_04_block_04": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, "block_05_block_05": { "category": "known-gap", "reason": "importing scrypt-encrypted PKCS#8 keys traps in the WASM crypto backend" }, - "block_06_block_06": {}, - "block_07_block_07": {}, - "block_08_block_08": {}, - "block_09_block_09": {}, - "block_10_block_10": {}, - "block_11_block_11": {}, - "block_12_block_12": {}, - "block_13_block_13": {}, - "block_14_block_14": {}, - "block_15_block_15": {}, - "block_16_block_16": {}, - "block_17_block_17": {} + "block_06_block_06": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "block_07_importing_an_okp_private_jwk_where_x_does_not_match_d_should": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_08_importing_an_ec_private_jwk_where_x_does_not_match_d_should_": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_09_block_09": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_10_block_10": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_11_block_11": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_12_block_12": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_13_block_13": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key; carries 22.14.0 subtest block_12_block_12" }, + "block_14_block_14": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_15_block_15": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_16_block_16": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key; carries 22.14.0 subtest block_15_block_15" }, + "block_17_block_17": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_18_block_18": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_19_test_that_createpublickey_createprivatekey_error_messages_us": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-crypto-keygen-async-dsa-key-object.js": { "category": "known-gap", "reason": "DSA keygen currently supports only modern key sizes; legacy 512-bit variant fails" }, @@ -1829,10 +1762,8 @@ "parallel/test-crypto-keygen-async-named-elliptic-curve.js": {}, "parallel/test-crypto-keygen-async-rsa.js": {}, "parallel/test-crypto-keygen-bit-length.js": {}, - "parallel/test-crypto-keygen-deprecation.js": {}, "parallel/test-crypto-keygen-dh-classic.js": {}, - "parallel/test-crypto-keygen-duplicate-deprecated-option.js": {}, - "parallel/test-crypto-keygen-eddsa.js": {}, + "parallel/test-crypto-keygen-eddsa.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." }, "parallel/test-crypto-keygen-empty-passphrase-no-error.js": {}, "parallel/test-crypto-keygen-empty-passphrase-no-prompt.js": { "category": "known-gap", "reason": "decoding empty-passphrase encrypted PEM traps in the WASM crypto backend" }, "parallel/test-crypto-keygen-invalid-parameter-encoding-dsa.js": {}, @@ -1851,7 +1782,7 @@ "split": true, "subtests": { "block_00_test_invalid_parameter_encoding": {}, - "block_01_block_01": {}, + "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." }, "block_02_block_02": {}, "block_03_block_03": {}, "block_04_test_rsa_parameters": {}, @@ -1859,8 +1790,7 @@ "block_06_test_ec_parameters": {}, "block_07_block_07": {}, "block_08_test_invalid_key_encoding_types": {}, - "block_09_block_09": {}, - "block_10_block_10": {} + "block_09_block_09": {} } }, "parallel/test-crypto-lazy-transform-writable.js": {}, @@ -1869,7 +1799,13 @@ "parallel/test-crypto-op-during-process-exit.js": {}, "parallel/test-crypto-padding-aes256.js": {}, "parallel/test-crypto-padding.js": {}, - "parallel/test-crypto-pbkdf2.js": {}, + "parallel/test-crypto-pbkdf2.js": { + "split": true, + "subtests": { + "block_00_outcome_as_0": {}, + "block_01_block_01": {} + } + }, "parallel/test-crypto-prime.js": { "split": true, "subtests": { @@ -1906,13 +1842,18 @@ "block_12_block_12": {}, "block_13_block_13": {}, "block_14_block_14": {}, - "block_15_block_15": {}, - "block_16_block_16": {}, - "block_17_block_17": {}, - "block_18_block_18": {}, - "block_19_block_19": {}, + "block_15_block_15": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_16_block_16": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_17_block_17": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_18_block_18": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_19_block_19": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "block_20_block_20": {}, - "block_21_block_21": {} + "block_21_block_21": {}, + "block_22_block_22": {}, + "block_23_block_23": {}, + "block_24_block_24": {}, + "block_25_block_25": {}, + "block_26_block_26": {} } }, "parallel/test-crypto-randomfillsync-regression.js": {}, @@ -1923,10 +1864,7 @@ "block_00_test_rsa_encryption_decryption": {}, "block_01_ensure_compatibility_when_using_non_sha1_hash_functions": {}, "block_02_block_02": {}, - "block_03_block_03": {}, - "block_04_block_04": {}, - "block_05_block_05": {}, - "block_06_block_06": {} + "block_03_block_03": {} } }, "parallel/test-crypto-scrypt.js": { @@ -1936,8 +1874,7 @@ "subtests": { "block_00_block_00": {}, "block_01_block_01": {}, - "block_02_block_02": {}, - "block_03_block_03": {} + "block_02_0_which_differs_by_openssl_build": {} } }, "parallel/test-crypto-secret-keygen.js": { @@ -1952,25 +1889,24 @@ "parallel/test-crypto-sign-verify.js": { "split": true, "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {}, - "block_02_test_handling_of_exceptional_conditions": {}, - "block_03_test_signing_and_verifying": {}, - "block_04_block_04": {}, - "block_05_block_05": {}, - "block_06_special_tests_for_rsa_pkcs1_pss_padding": {}, - "block_07_https_www_emc_com_emc_plus_rsa_labs_standards_initiatives_pk": {}, - "block_08_test_exceptions_for_invalid_padding_and_saltlength_values": {}, - "block_09_test_throws_exception_when_key_options_is_null": {}, - "block_10_block_10": {}, - "block_11_block_11": {}, + "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_02_test_handling_of_exceptional_conditions": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_03_test_signing_and_verifying": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_04_block_04": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_05_block_05": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_06_special_tests_for_rsa_pkcs1_pss_padding": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_07_https_www_emc_com_emc_plus_rsa_labs_standards_initiatives_pk": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_08_test_exceptions_for_invalid_padding_and_saltlength_values": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_09_test_throws_exception_when_key_options_is_null": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_10_block_10": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_11_block_11": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, "block_12_block_12": { "category": "known-gap", "reason": "RSA private-key parsing/signing path is incomplete (Failed to parse private key)" }, - "block_13_early_if_no_openssl_binary_is_found": { "category": "wasi-impossible", "reason": "requires external OpenSSL CLI via child_process.exec" }, - "block_14_block_14": {}, - "block_15_regression_test_for_https_github_com_nodejs_node_issues_4079": {}, - "block_16_block_16": {}, - "block_17_block_17": {}, - "block_18_block_18": { "category": "known-gap", "reason": "verify() returns non-Node error code/message for unsupported key types" } + "block_13_regression_test_for_https_github_com_nodejs_node_issues_4079": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_14_block_14": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_15_block_15": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key; carries 22.14.0 subtest block_17_block_17" }, + "block_16_test_that_sign_verify_error_messages_use_correct_property_pa": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_17_crypto_verify_accepts_arraybuffer_and_sharedarraybuffer_for_": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-crypto-stream.js": {}, @@ -1986,7 +1922,9 @@ "subtests": { "block_00_block_00": { "reason": "inherited: requires --expose-internals and internal/crypto/x509" }, "block_01_block_01": { "reason": "inherited: requires --expose-internals and internal/crypto/x509" }, - "block_02_block_02": { "reason": "inherited: requires --expose-internals and internal/crypto/x509" } + "block_02_block_02": { "reason": "inherited: requires --expose-internals and internal/crypto/x509" }, + "block_03_block_03": {}, + "block_04_block_04": {} } }, "parallel/test-crypto.js": { "category": "wasi-impossible", "reason": "requires tls APIs that are unsupported in WASM" }, @@ -2001,7 +1939,7 @@ "test_03_abortsignal_is_impossible_to_construct_manually": {}, "test_04_symbol_tostringtag_is_correct": {}, "test_05_abortsignal_abort_creates_an_already_aborted_signal": {}, - "test_06_abortcontroller_properties_and_methods_valiate_the_receiver": {}, + "test_06_abortcontroller_properties_and_methods_validate_the_receiver": {"category": "runnable", "reason": "carries 22.14.0 subtest test_06_abortcontroller_properties_and_methods_valiate_the_receiver"}, "test_07_abortsignal_properties_validate_the_receiver": {}, "test_08_abortcontroller_inspection_depth_1_or_null_works": {}, "test_09_abortsignal_reason_is_set_correctly": {}, @@ -2042,19 +1980,21 @@ "block_00_block_00": {}, "block_01_block_01": {}, "block_02_block_02": {}, - "block_03_block_03": {}, + "block_03_block_03": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, "block_04_block_04": {}, "block_05_block_05": {}, "block_06_block_06": {}, "block_07_block_07": {}, "block_08_block_08": {}, "block_09_block_09": {}, - "block_10_block_10": {}, + "block_10_block_10": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "block_11_block_11": {}, "block_12_block_12": {}, "block_13_block_13": {}, - "block_14_block_14": {}, - "block_15_block_15": {} + "block_14_block_14": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_15_block_15": {}, + "block_16_block_16": {}, + "block_17_block_17": {} } }, @@ -2077,8 +2017,8 @@ "parallel/test-buffer-failed-alloc-typed-arrays.js": {}, "parallel/test-buffer-fakes.js": {}, "parallel/test-buffer-inheritance.js": {}, - "parallel/test-buffer-isascii.js": {}, - "parallel/test-buffer-isutf8.js": {}, + "parallel/test-buffer-isascii.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Cannot perform operation on a detached ArrayBuffer" }, + "parallel/test-buffer-isutf8.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Cannot perform operation on a detached ArrayBuffer" }, "parallel/test-buffer-iterator.js": {}, "parallel/test-buffer-nopendingdep-map.js": {}, "parallel/test-buffer-of-no-deprecation.js": {}, @@ -2175,7 +2115,7 @@ "block_48_the_source_buffer": {}, "block_49_block_49": {}, "block_50_test_that_parsearrayindex_handles_full_uint32": {}, - "block_51_unpooled_buffer_replaces_slowbuffer": {}, + "block_51_unpooled_buffer": {}, "block_52_block_52": {} } }, @@ -2188,10 +2128,10 @@ "block_03_block_03": {} } }, - "parallel/test-buffer-bytelength.js": {}, + "parallel/test-buffer-bytelength.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Conversion from string failed: invalid utf-8 sequence of 1 bytes from index 300" }, "parallel/test-buffer-compare.js": {}, "parallel/test-buffer-compare-offset.js": {}, - "parallel/test-buffer-concat.js": {}, + "parallel/test-buffer-concat.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, "parallel/test-buffer-constants.js": {}, "parallel/test-buffer-copy.js": { "split": true, @@ -2209,7 +2149,13 @@ "block_10_block_10": {}, "block_11_test_that_the_target_can_be_a_uint8array": {}, "block_12_test_that_the_source_can_be_a_uint8array_too": {}, - "block_13_block_13": {} + "block_13_copy_into_a_uint16array_target_bytes_are_packed_into_16_bit_": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_14_block_14": {}, + "block_15_copies_one_shared_one_not_go_through_the_regular_non_atomic_": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_16_block_16": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_17_block_17": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_18_block_18": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_19_block_19": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-buffer-equals.js": {}, @@ -2218,7 +2164,12 @@ "subtests": { "block_00_block_00": {}, "block_01_block_01": {}, - "block_02_block_02": {} + "block_02_block_02": {}, + "block_03_copybytesfrom_length_exceeds_view_should_clamp_not_throw": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_04_copybytesfrom_length_0_returns_empty_buffer": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_05_copybytesfrom_offset_past_end_returns_empty_buffer": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_06_copybytesfrom_float64array_with_offset_and_length": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_07_copybytesfrom_empty_typed_array_returns_empty_buffer": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-buffer-includes.js": {}, @@ -2227,11 +2178,15 @@ "subtests": { "block_00_block_00": {}, "block_01_block_01": {}, - "block_02_block_02": {}, + "block_02_block_02": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "block_03_block_03": {}, - "block_04_test_truncation_of_number_arguments_to_uint8": {}, - "block_05_test_that_uint8array_arguments_are_okay": {}, - "block_06_see_https_github_com_nodejs_node_issues_32753": {} + "block_04_block_04": {}, + "block_05_test_truncation_of_number_arguments_to_uint8": {}, + "block_06_test_that_uint8array_arguments_are_okay": {}, + "block_07_as_buffer_from_for_unpaired_utf_16_surrogates": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_08_see_https_github_com_nodejs_node_issues_32753": {}, + "block_09_block_09": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_10_block_10": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-buffer-inspect.js": {}, @@ -2273,7 +2228,17 @@ "parallel/test-buffer-set-inspect-max-bytes.js": {}, "parallel/test-buffer-slow.js": {}, "parallel/test-buffer-tostring.js": {}, - "parallel/test-buffer-tostring-range.js": { "category": "wasi-impossible", "reason": "requires >32-bit buffer index range behavior unavailable in wasm32" }, + "parallel/test-buffer-tostring-range.js": { + "category": "wasi-impossible", + "reason": "requires >32-bit buffer index range behavior unavailable in wasm32", + "split": true, + "subtests": { + "block_00_test_hex_base64_base64url_partial_range_encoding_exercises_v": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_test_with_pool_allocated_buffer_has_non_zero_byteoffset": {} + } + }, "parallel/test-buffer-write.js": { "split": true, "subtests": { @@ -2304,7 +2269,7 @@ "block_05_test_uint": {} } }, - "parallel/test-buffer-pool-untransferable.js": {}, + "parallel/test-buffer-pool-untransferable.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." }, "parallel/test-buffer-constructor-deprecation-error.js": {}, "parallel/test-buffer-constructor-outside-node-modules.js": {}, "parallel/test-buffer-pending-deprecation.js": {}, @@ -2585,7 +2550,6 @@ "parallel/test-child-process-server-close.js": { "category": "wasi-impossible", "reason": "requires child_process IPC/fork which is not available in WASM" }, "parallel/test-child-process-set-blocking.js": { "category": "wasi-impossible", "reason": "requires spawning an external Python process with inherited stdio, which is unavailable in WASM" }, "parallel/test-child-process-silent.js": { "category": "wasi-impossible", "reason": "requires child_process which is not available in WASM" }, - "parallel/test-child-process-spawn-args.js": { "category": "wasi-impossible", "reason": "requires child_process which is not available in WASM" }, "parallel/test-child-process-spawn-argv0.js": { "category": "known-gap", "reason": "local Node children do not apply the argv0 option" }, "parallel/test-child-process-spawn-controller.js": { "category": "wasi-impossible", @@ -2737,7 +2701,7 @@ "parallel/test-diagnostics-channel-has-subscribers.js": {}, "parallel/test-diagnostics-channel-object-channel-pub-sub.js": {}, "parallel/test-diagnostics-channel-pub-sub.js": {}, - "parallel/test-diagnostics-channel-symbol-named.js": {}, + "parallel/test-diagnostics-channel-symbol-named.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, "parallel/test-diagnostics-channel-tracing-channel-args-types.js": { "category": "known-gap", "reason": "tracingChannel({}) argument-validation behavior differs from Node.js (message/throw shape mismatch)" }, "parallel/test-diagnostics-channel-tracing-channel-callback-early-exit.js": {}, "parallel/test-diagnostics-channel-tracing-channel-callback-error.js": {}, @@ -2808,7 +2772,7 @@ "block_01_block_01": {} } }, - "parallel/test-net-autoselectfamily-attempt-timeout-cli-option.js": {}, + "parallel/test-net-autoselectfamily-attempt-timeout-cli-option.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, "parallel/test-net-autoselectfamily-attempt-timeout-default-value.js": {}, "parallel/test-net-autoselectfamily-commandline-option.js": {}, "parallel/test-net-autoselectfamily-default.js": { @@ -2862,7 +2826,7 @@ "parallel/test-net-can-reset-timeout.js": {}, "parallel/test-net-child-process-connect-reset.js": { "category": "wasi-impossible", "reason": "[manual] This test fundamentally requires `child_process.spawn()` with IPC communication and OS signal handling (`SIGKILL`), which are impossible in a WebAssembly sandbox. The entire test logic dep..." }, "parallel/test-net-client-bind-twice.js": {}, - "parallel/test-net-connect-abort-controller.js": {}, + "parallel/test-net-connect-abort-controller.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Test timed out after 120s" }, "parallel/test-net-connect-after-destroy.js": {}, "parallel/test-net-connect-buffer.js": {}, "parallel/test-net-connect-buffer2.js": {}, @@ -2876,7 +2840,14 @@ "parallel/test-net-connect-nodelay.js": { "category": "known-gap", "reason": "net.js TCP implementation incomplete - needs event handling and API fixes" }, "parallel/test-net-connect-options-allowhalfopen.js": {}, "parallel/test-net-connect-options-fd.js": { "category": "node-internals", "reason": "requires internalBinding('pipe_wrap') to construct raw Pipe handles" }, - "parallel/test-net-connect-options-invalid.js": {}, + "parallel/test-net-connect-options-invalid.js": { + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." } + } + }, "parallel/test-net-connect-options-ipv6.js": { "category": "known-gap", "reason": "IPv6 sockets are not available in this runtime (common.hasIPv6=false)" }, "parallel/test-net-connect-options-path.js": {}, "parallel/test-net-connect-options-port.js": { @@ -2895,7 +2866,6 @@ "parallel/test-net-connect-reset-before-connected.js": {}, "parallel/test-net-connect-reset-until-connected.js": {}, "parallel/test-net-connect-reset.js": { "category": "known-gap", "reason": "net edge case not yet handled" }, - "parallel/test-net-deprecated-setsimultaneousaccepts.js": {}, "parallel/test-net-dns-custom-lookup.js": {}, "parallel/test-net-dns-error.js": {}, "parallel/test-net-dns-lookup-skip.js": {}, @@ -2916,7 +2886,6 @@ "parallel/test-net-listen-handle-in-cluster-1.js": { "category": "wasi-impossible", "reason": "cluster requires process forking, not available in WASM" }, "parallel/test-net-listen-handle-in-cluster-2.js": { "category": "node-internals", "reason": "requires internalBinding('tcp_wrap') handle APIs (plus cluster path)" }, "parallel/test-net-listen-invalid-port.js": {}, - "parallel/test-net-listen-ipv6only.js": { "category": "known-gap", "reason": "IPv6 sockets are not available in this runtime (common.hasIPv6=false)" }, "parallel/test-net-listen-twice.js": { "category": "wasi-impossible", "reason": "cluster requires process forking, not available in WASM" }, "parallel/test-net-listening.js": {}, "parallel/test-net-local-address-port.js": {}, @@ -2964,7 +2933,6 @@ "parallel/test-net-server-close-before-calling-lookup-callback.js": { "category": "known-gap", "reason": "server listen/close race with async DNS lookup is not Node-compatible" }, "parallel/test-net-server-close-before-ipc-response.js": { "category": "wasi-impossible", "reason": "cluster requires process forking, not available in WASM" }, "parallel/test-net-server-close.js": {}, - "parallel/test-net-server-drop-connections-in-cluster.js": { "category": "wasi-impossible", "reason": "cluster requires process forking, not available in WASM" }, "parallel/test-net-server-drop-connections.js": { "category": "known-gap", "reason": "net.js TCP implementation incomplete - needs event handling and API fixes" }, "parallel/test-net-server-keepalive.js": { "category": "node-internals", "reason": "uses private server/socket _handle internals" }, "parallel/test-net-server-listen-handle.js": { @@ -3014,7 +2982,6 @@ "parallel/test-net-server-options.js": {}, "parallel/test-net-server-pause-on-connect.js": {}, "parallel/test-net-server-reset.js": { "category": "known-gap", "reason": "net.js TCP implementation incomplete - needs event handling and API fixes" }, - "parallel/test-net-server-simultaneous-accepts-produce-warning-once.js": {}, "parallel/test-net-server-try-ports.js": {}, "parallel/test-net-server-unref-persistent.js": { "category": "known-gap", "reason": "net.js TCP implementation incomplete - needs event handling and API fixes" }, "parallel/test-net-server-unref.js": { "category": "known-gap", "reason": "net.js TCP implementation incomplete - needs event handling and API fixes" }, @@ -3115,7 +3082,7 @@ "parallel/test-process-initgroups.js": {}, "parallel/test-process-kill-pid.js": {}, "parallel/test-process-prototype.js": { "category": "known-gap", "reason": "process prototype chain is not fully Node-compatible (prototype is not EventEmitter-based)" }, - "parallel/test-process-release.js": {}, + "parallel/test-process-release.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, "parallel/test-process-setgroups.js": {}, "parallel/test-process-setsourcemapsenabled.js": {}, "parallel/test-process-uid-gid.js": { "category": "known-gap", "reason": "process.setuid()/process.setgid() are stubbed and do not mutate credentials" }, @@ -3154,7 +3121,7 @@ "block_14_does_not_persist_url_parameter_if_source_map_has_been_parsed": {}, "block_15_persists_line_lengths_for_in_memory_representation_of_source": {}, "block_16_trace_length_0": {}, - "block_17_refs_https_sourcemaps_info_spec_html_h_75yo6yoyk7x5": {}, + "block_17_refs_https_tc39_es_ecma426_sec_sources": {}, "block_18_refs_https_github_com_typestrong_ts_node_issues_1769": {}, "block_19_being_required": {}, "block_20_does_not_throw_typeerror_when_primitive_value_is_thrown": {}, @@ -3282,15 +3249,16 @@ "block_05_block_05": {}, "block_06_block_06": {}, "block_07_block_07": {}, - "block_08_block_08": {}, - "block_09_block_09": {} + "block_08_block_08": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_09_block_09": {}, + "block_10_block_10": {}, + "block_11_block_11": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-event-emitter-subclass.js": {}, // === node:stream tests (additional) === "parallel/test-readable-from.js": {}, - "parallel/test-stream-aliases-legacy.js": {}, "parallel/test-stream-drop-take.js": { "split": true, "subtests": { @@ -3544,7 +3512,9 @@ "block_19_block_19": {}, "block_20_block_20": {}, "block_21_block_21": {}, - "block_22_block_22": {} + "block_22_block_22": {}, + "block_23_when_the_readable_side_errors_the_error_must_propagate_to_th": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_24_input_must_still_allow_pipeline_to_complete_and_destroy_the_": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-stream-duplex-destroy.js": { @@ -3588,7 +3558,7 @@ "block_00_block_00": {}, "block_01_block_01": {}, "block_02_block_02": {}, - "block_03_block_03": {}, + "block_03_block_03": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, "block_04_block_04": {} } }, @@ -3628,7 +3598,8 @@ "subtests": { "block_00_duplex_fromweb": {}, "block_01_duplex_fromweb_using_utf8_and_objectmode": {}, - "block_02_duplex_toweb": {} + "block_02_duplex_toweb": {}, + "block_03_duplex_toweb_byob": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-stream-end-paused.js": {}, @@ -3665,7 +3636,7 @@ "parallel/test-stream-pipe-multiple-pipes.js": {}, "parallel/test-stream-pipeline-with-empty-string.js": {}, "parallel/test-stream-push-order.js": {}, - "parallel/test-stream-push-strings.js": {}, + "parallel/test-stream-push-strings.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, "parallel/test-stream-readable-add-chunk-during-data.js": {}, "parallel/test-stream-readable-constructor-set-methods.js": {}, "parallel/test-stream-readable-data.js": {}, @@ -3704,7 +3675,7 @@ "parallel/test-stream-readable-from-web-termination.js": {}, "parallel/test-stream-readable-hwm-0-async.js": {}, "parallel/test-stream-readable-hwm-0.js": {}, - "parallel/test-stream-readable-infinite-read.js": {}, + "parallel/test-stream-readable-infinite-read.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, "parallel/test-stream-readable-invalid-chunk.js": {}, "parallel/test-stream-readable-next-no-null.js": {}, "parallel/test-stream-readable-no-unneeded-readable.js": { @@ -3745,7 +3716,9 @@ "subtests": { "block_00_block_00": {}, "block_01_block_01": {}, - "block_02_block_02": {} + "block_02_block_02": {}, + "block_03_block_03": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_04_block_04": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-stream-readable-setEncoding-null.js": {}, @@ -3757,7 +3730,14 @@ "block_02_block_02": {} } }, - "parallel/test-stream-readable-to-web-termination.js": {}, + "parallel/test-stream-readable-to-web-termination.js": { + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected \"actual\" to be strict" }, + "block_02_controller_enqueue_see_https_github_com_nodejs_node_issues_5": {} + } + }, "parallel/test-stream-readable-unshift.js": { "split": true, "subtests": { @@ -3843,7 +3823,7 @@ "block_02_block_02": {} } }, - "parallel/test-stream-writable-write-error.js": {}, + "parallel/test-stream-writable-write-error.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, "parallel/test-stream-writable-write-writev-finish.js": { "split": true, "subtests": { @@ -3986,7 +3966,6 @@ "parallel/test-process-beforeexit-throw-exit.js": { "category": "known-gap", "reason": "process API incomplete" }, "parallel/test-process-beforeexit.js": { "category": "known-gap", "reason": "process API incomplete" }, "parallel/test-process-exit-from-before-exit.js": {}, - "parallel/test-promise-swallowed-event.js": { "category": "known-gap", "reason": "process 'multipleResolves' event semantics are not implemented" }, "parallel/test-repl-programmatic-history.js": { "category": "wasi-impossible", "reason": "repl requires interactive terminal" }, "parallel/test-runner-filetest-location.js": { "category": "known-gap", "reason": "test runner edge case" }, "parallel/test-runner-root-after-with-refed-handles.js": { "category": "known-gap", "reason": "test runner edge case" }, @@ -4078,7 +4057,7 @@ } }, "parallel/test-worker-message-port-close-while-receiving.js": {}, - "parallel/test-zlib-zero-byte.js": {}, + "parallel/test-zlib-zero-byte.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, "parallel/test-async-hooks-vm-gc.js": {}, "parallel/test-finalization-registry-shutdown.js": {}, "parallel/test-heapdump-async-hooks-init-promise.js": { "category": "engine-difference", "reason": "v8.getHeapSnapshot is V8-specific and unavailable in QuickJS" }, @@ -4197,8 +4176,20 @@ "es-module/test-esm-loader-cache-clearing.js": { "category": "runnable" }, "es-module/test-vm-compile-function-leak.js": { "category": "engine-difference", "reason": "uses common/gc checkIfCollectable, which is replaced by a non-observing WASM shim and cannot verify collection" }, "es-module/test-vm-contextified-script-leak.js": { "category": "engine-difference", "reason": "uses common/gc checkIfCollectable, which is replaced by a non-observing WASM shim and cannot verify collection" }, - "es-module/test-esm-import-meta.mjs": { "category": "runnable" }, - "es-module/test-esm-import-meta-resolve.mjs": { "category": "known-gap", "reason": "same-process import.meta.resolve behavior is covered by runtime tests; remaining vendored failure requires child_process execPath emulation for --input-type/--import ESM CLI modes" }, + "es-module/test-esm-import-meta.mjs": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "es-module/test-esm-import-meta-resolve.mjs": { + "category": "known-gap", + "reason": "same-process import.meta.resolve behavior is covered by runtime tests; remaining vendored failure requires child_process execPath emulation for --input-type/--import ESM CLI modes", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {} + } + }, // === node:zlib tests === "parallel/test-zlib-const.js": {}, @@ -4212,10 +4203,10 @@ } }, "parallel/test-zlib-flush-flags.js": {}, - "parallel/test-zlib-convenience-methods.js": {}, + "parallel/test-zlib-convenience-methods.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, "parallel/test-zlib-from-string.js": {}, "parallel/test-zlib-brotli-from-string.js": {}, - "parallel/test-zlib-empty-buffer.js": {}, + "parallel/test-zlib-empty-buffer.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): TypeError: The \"original\" argument must be of " }, "parallel/test-zlib-deflate-constructors.js": {}, "parallel/test-zlib-not-string-or-buffer.js": {}, "parallel/test-zlib-sync-no-event.js": {}, @@ -4228,10 +4219,17 @@ } }, "parallel/test-zlib-invalid-arg-value-brotli-compress.js": {}, - "parallel/test-zlib-bytes-read.js": { "category": "known-gap", "reason": "zlib stream bytesWritten/bytesRead accounting and end/data callbacks differ from Node" }, "parallel/test-zlib-close-after-write.js": {}, "parallel/test-zlib-deflate-raw-inherits.js": {}, - "parallel/test-zlib-invalid-input.js": { "category": "known-gap", "reason": "zlib invalid compressed input error event/callback behavior differs from Node" }, + "parallel/test-zlib-invalid-input.js": { + "category": "known-gap", + "reason": "zlib invalid compressed input error event/callback behavior differs from Node", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, "parallel/test-zlib-object-write.js": {}, "parallel/test-zlib-premature-end.js": { "category": "known-gap", "reason": "zlib decompressor handling of trailing garbage/premature end differs from Node" }, "parallel/test-zlib-brotli-16GB.js": {}, @@ -4258,14 +4256,21 @@ "parallel/test-zlib-invalid-input-memory.js": { "category": "node-internals", "reason": "relies on common/gc onGC tracking of internal zlib handle lifetime" }, "parallel/test-zlib-kmaxlength-rangeerror.js": {}, "parallel/test-zlib-maxOutputLength.js": {}, - "parallel/test-zlib-params.js": {}, - "parallel/test-zlib-random-byte-pipes.js": {}, + "parallel/test-zlib-params.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, + "parallel/test-zlib-random-byte-pipes.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, "parallel/test-zlib-reset-before-write.js": {}, - "parallel/test-zlib-truncated.js": {}, + "parallel/test-zlib-truncated.js": { + "split": true, + "subtests": { + "block_00_value_as_truncated_input": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "block_01_mistaken_for_an_empty_truncated_frame": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "block_02_must_report_that_the_frame_is_incomplete": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" } + } + }, "parallel/test-zlib-unused-weak.js": { "category": "node-internals", "reason": "asserts internal zlib native-handle weak-reference/external-memory behavior" }, "parallel/test-zlib-write-after-close.js": {}, "parallel/test-zlib-write-after-end.js": {}, - "parallel/test-zlib-write-after-flush.js": {}, + "parallel/test-zlib-write-after-flush.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, "parallel/test-zlib-close-after-error.js": { "category": "node-internals", "reason": "asserts private zlib stream _closed state after error" }, "parallel/test-zlib-close-in-ondata.js": {}, "parallel/test-zlib-destroy.js": { @@ -4292,8 +4297,9 @@ "split": true, "subtests": { "block_00_block_00": { "reason": "inherited: requires --expose-internals and internalBinding('cares_wrap') to stub getaddrinfo" }, - "block_01_block_01": { "reason": "inherited: requires --expose-internals and internalBinding('cares_wrap') to stub getaddrinfo" }, - "block_02_block_02": { "reason": "inherited: requires --expose-internals and internalBinding('cares_wrap') to stub getaddrinfo" } + "block_01_block_01": {}, + "block_02_block_02": { "reason": "inherited: requires --expose-internals and internalBinding('cares_wrap') to stub getaddrinfo" }, + "block_03_block_03": { "reason": "inherited: requires --expose-internals and internalBinding('cares_wrap') to stub getaddrinfo" } } }, "parallel/test-dns-lookup-promises.js": { "category": "node-internals", "reason": "requires --expose-internals and internalBinding('cares_wrap') to stub getaddrinfo" }, @@ -4311,15 +4317,17 @@ "block_00_verify_that_setservers_handles_arrays_with_holes_and_other_o": { "reason": "inherited: dns.getServers()/setServers default-server behavior and validation are not Node-compatible" }, "block_01_block_01": { "reason": "inherited: dns.getServers()/setServers default-server behavior and validation are not Node-compatible" }, "block_02_block_02": { "reason": "inherited: dns.getServers()/setServers default-server behavior and validation are not Node-compatible" }, - "block_03_block_03": { "reason": "inherited: dns.getServers()/setServers default-server behavior and validation are not Node-compatible" }, + "block_03_block_03": {}, "block_04_block_04": { "reason": "inherited: dns.getServers()/setServers default-server behavior and validation are not Node-compatible" }, - "block_05_dns_lookup_should_accept_only_falsey_and_string_values": { "reason": "inherited: dns.getServers()/setServers default-server behavior and validation are not Node-compatible" }, - "block_06_dns_lookup_should_accept_falsey_values": { "reason": "inherited: dns.getServers()/setServers default-server behavior and validation are not Node-compatible" }, - "block_07_block_07": { "reason": "inherited: dns.getServers()/setServers default-server behavior and validation are not Node-compatible" }, + "block_05_block_05": { "reason": "inherited: dns.getServers()/setServers default-server behavior and validation are not Node-compatible" }, + "block_06_dns_lookup_should_accept_only_falsey_and_string_values": { "reason": "inherited: dns.getServers()/setServers default-server behavior and validation are not Node-compatible" }, + "block_07_dns_lookup_should_accept_falsey_values": { "reason": "inherited: dns.getServers()/setServers default-server behavior and validation are not Node-compatible" }, "block_08_block_08": { "reason": "inherited: dns.getServers()/setServers default-server behavior and validation are not Node-compatible" }, "block_09_block_09": { "reason": "inherited: dns.getServers()/setServers default-server behavior and validation are not Node-compatible" }, "block_10_block_10": { "reason": "inherited: dns.getServers()/setServers default-server behavior and validation are not Node-compatible" }, - "block_11_block_11": { "reason": "inherited: dns.getServers()/setServers default-server behavior and validation are not Node-compatible" } + "block_11_block_11": { "reason": "inherited: dns.getServers()/setServers default-server behavior and validation are not Node-compatible" }, + "block_12_block_12": {}, + "block_13_block_13": {} } }, "parallel/test-dns-setservers-type-check.js": { @@ -4345,7 +4353,8 @@ "split": true, "subtests": { "block_00_verifies_that_setlocaladdress_succeeds_with_ipv4_and_ipv6_ad": {}, - "block_01_verify_that_setlocaladdress_throws_if_called_with_an_invalid": { "category": "known-gap", "reason": "inherited: Resolver#setLocalAddress validation/error behavior is not implemented" } + "block_01_verify_that_setlocaladdress_throws_if_called_with_an_invalid": { "category": "known-gap", "reason": "inherited: Resolver#setLocalAddress validation/error behavior is not implemented" }, + "block_02_of_silently_truncating_them_at_the_first_null_byte": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-dns-cancel-reverse-lookup.js": { "category": "known-gap", "reason": "Resolver.cancel() behavior for in-flight reverse lookups is not implemented" }, @@ -4515,8 +4524,8 @@ "block_00_block_00": {}, "block_01_block_01": {}, "block_02_block_02": {}, - "block_03_block_03": {}, - "block_04_block_04": {}, + "block_03_block_03": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Test timed out after 120s" }, + "block_04_block_04": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Test timed out after 120s" }, "block_05_block_05": {} } }, @@ -4592,7 +4601,13 @@ } }, "parallel/test-http-dump-req-when-res-ends.js": { "category": "known-gap", "reason": "wasi:http client cannot expose an early response before the request body is finished, so this bidirectional streaming fixture deadlocks" }, - "parallel/test-http-early-hints-invalid-argument.js": {}, + "parallel/test-http-early-hints-invalid-argument.js": { + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Test timed out after 120s" } + } + }, "parallel/test-http-early-hints.js": { "split": true, "subtests": { @@ -4693,13 +4708,15 @@ "parallel/test-http-outgoing-destroyed.js": { "split": true, "subtests": { - "block_00_block_00": { "category": "known-gap", "reason": "wasi:http request body is not finalized/sent until end(), so write()-only request flow diverges from Node" }, - "block_01_block_01": { "category": "known-gap", "reason": "wasi:http request body is not finalized/sent until end(), so write()-only request flow diverges from Node" }, - "block_02_block_02": {} + "block_00_outgoingmessage_destroy_with_no_socket_should_emit_close_and": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_01_outgoingmessage_destroy_err_with_no_socket_should_set_errore": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_02_block_02": { "category": "known-gap", "reason": "wasi:http request body is not finalized/sent until end(), so write()-only request flow diverges from Node" }, + "block_03_block_03": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_04_block_04": {"category": "runnable", "reason": "carries 22.14.0 subtest block_02_block_02"} } }, "parallel/test-http-outgoing-end-cork.js": { "category": "known-gap", "reason": "the client never observes a reused keep-alive socket, so the corked-response reuse loop does not terminate" }, - "parallel/test-http-outgoing-end-multiple.js": {}, + "parallel/test-http-outgoing-end-multiple.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Test timed out after 120s" }, "parallel/test-http-outgoing-end-types.js": {}, "parallel/test-http-outgoing-finish-writable.js": {}, "parallel/test-http-outgoing-finish.js": {}, @@ -4713,7 +4730,15 @@ } }, "parallel/test-http-outgoing-message-write-callback.js": {}, - "parallel/test-http-outgoing-writableFinished.js": {}, + "parallel/test-http-outgoing-writableFinished.js": { + "split": true, + "subtests": { + "block_00_before_finish_is_emitted": {}, + "block_01_finish_the_end_callback_receives_the_write_error_instead": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, + "block_02_surfaces_through_the_socket_write_callbacks": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, + "block_03_has_nothing_to_send": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" } + } + }, "parallel/test-http-outgoing-write-types.js": {}, "parallel/test-http-parser-finish-error.js": { "category": "known-gap", "reason": "server parser does not emit Node-compatible clientError (HPE_INVALID_EOF_STATE) on truncated headers" }, "parallel/test-http-parser-freed-before-upgrade.js": { "category": "node-internals", "reason": "asserts internal socket.parser lifecycle around HTTP upgrade" }, @@ -4799,15 +4824,7 @@ "parallel/test-http-server-close-all.js": { "category": "known-gap", "reason": "server.closeAllConnections() does not close active and idle HTTP sockets with Node-compatible behavior" }, "parallel/test-http-server-close-idle-wait-response.js": { "category": "known-gap", "reason": "server.closeIdleConnections() while waiting for a response does not fire expected callbacks" }, "parallel/test-http-server-close-idle.js": {}, - "parallel/test-http-server-connection-list-when-close.js": { - "category": "node-internals", - "reason": "asserts private req.socket.parser.free lifecycle from Node internals", - "split": true, - "subtests": { - "block_00_block_00": { "reason": "asserts private req.socket.parser.free lifecycle from Node internals" }, - "block_01_block_01": { "reason": "asserts private req.socket.parser.free lifecycle from Node internals" } - } - }, + "parallel/test-http-server-connection-list-when-close.js": { "category": "node-internals", "reason": "asserts private req.socket.parser.free lifecycle from Node internals" }, "parallel/test-http-server-consumed-timeout.js": { "category": "known-gap", "reason": "req.setTimeout() handling for actively consumed request bodies is not Node-compatible" }, "parallel/test-http-server-de-chunked-trailer.js": { "category": "known-gap", "reason": "ServerResponse.writeHead() does not throw ERR_HTTP_TRAILER_INVALID when Trailer is set with Content-Length" }, "parallel/test-http-server-delete-parser.js": {}, @@ -4840,7 +4857,7 @@ "parallel/test-http-server-request-timeout-keepalive.js": { "category": "known-gap", "reason": "server.requestTimeout handling across keep-alive requests is not Node-compatible" }, "parallel/test-http-server-request-timeout-pipelining.js": { "category": "known-gap", "reason": "server.requestTimeout handling for pipelined requests is not Node-compatible" }, "parallel/test-http-server-request-timeout-upgrade.js": { "category": "known-gap", "reason": "server.requestTimeout is not disabled with Node-compatible semantics after Upgrade" }, - "parallel/test-http-server-response-standalone.js": {}, + "parallel/test-http-server-response-standalone.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, "parallel/test-http-server-stale-close.js": { "category": "wasi-impossible", "reason": "requires child_process.fork(), which is unavailable in WASI" }, "parallel/test-http-server-timeouts-validation.js": { "split": true, @@ -4910,12 +4927,24 @@ "block_02_block_02": {}, "block_03_block_03": {}, "block_04_block_04": {}, - "block_05_block_05": {} + "block_05_block_05": {}, + "block_06_block_06": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-stream-iterator-helpers-test262-tests.mjs": { "category": "known-gap", - "reason": "Readable.prototype.drop.length is 2 instead of Node's 1; later iterator-helper assertions are not reached" + "reason": "Readable.prototype.drop.length is 2 instead of Node's 1; later iterator-helper assertions are not reached", + "split": true, + "subtests": { + "block_00_that_happen_before_stream_conversion_were_not_ported": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {}, + "block_07_block_07": {} + } }, "parallel/test-stream-readable-async-iterators.js": { "split": true, @@ -4926,7 +4955,17 @@ "block_03_block_03": { "category": "known-gap", "reason": "stream edge case not yet handled" }, "block_04_asynciterator_non_destroying_iterator": { "category": "known-gap", "reason": "stream edge case not yet handled" }, "block_05_block_05": { "category": "known-gap", "reason": "Readable async iterator pending next() resolution can hang on destroy/end paths" }, - "block_06_block_06": { "category": "known-gap", "reason": "stream edge case not yet handled" } + "block_06_block_06": { "category": "known-gap", "reason": "stream edge case not yet handled" }, + "block_07_block_07": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_08_block_08": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_09_block_09": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_10_block_10": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_11_block_11": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_12_block_12": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_13_block_13": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_14_block_14": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_15_block_15": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_16_block_16": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-stream-toWeb-allows-server-response.js": {}, @@ -5122,14 +5161,22 @@ } }, "parallel/test-repl-tab-complete-no-warn.js": { "category": "wasi-impossible", "reason": "repl is not supported in WASM" }, - "parallel/test-repl-tab-complete-on-editor-mode.js": { "category": "wasi-impossible", "reason": "repl is not supported in WASM" }, + "parallel/test-repl-tab-complete-on-editor-mode.js": { + "category": "wasi-impossible", + "reason": "repl is not supported in WASM", + "split": true, + "subtests": { + "block_00_tab_completion_in_editor_mode": {}, + "block_01_regression_test_for_https_github_com_nodejs_node_issues_4352": {} + } + }, "parallel/test-repl-uncaught-exception-async.js": { "category": "wasi-impossible", "reason": "repl is not supported in WASM" }, "parallel/test-repl-uncaught-exception.js": { "category": "wasi-impossible", "reason": "repl is not supported in WASM" }, "parallel/test-readline-interface-no-trailing-newline.js": { "category": "known-gap", "reason": "node:readline Interface constructor/options are not implemented" }, "parallel/test-readline-interface-recursive-writes.js": { "category": "known-gap", "reason": "node:readline Interface constructor/options are not implemented" }, // Tests using ../common/hijackstdio (additional) - "parallel/test-console.js": {}, + "parallel/test-console.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, // Tests using ../common/udp "parallel/test-dgram-reuseport.js": { "category": "known-gap", "reason": "dgram reusePort handling is incomplete and support probing can hang" }, @@ -5193,7 +5240,7 @@ "parallel/test-http-header-validators.js": {}, "parallel/test-http-hostname-typechecking.js": {}, "parallel/test-http-import-websocket.js": {}, - "parallel/test-http-incoming-matchKnownFields.js": {}, + "parallel/test-http-incoming-matchKnownFields.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, "parallel/test-http-incoming-message-connection-setter.js": {}, "parallel/test-http-incoming-message-destroy.js": {}, "parallel/test-http-insecure-parser-per-stream.js": { @@ -5208,7 +5255,7 @@ }, "parallel/test-http-invalid-path-chars.js": {}, "parallel/test-http-invalid-urls.js": {}, - "parallel/test-http-invalidheaderfield2.js": {}, + "parallel/test-http-invalidheaderfield2.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: _checkInvalidHeaderChar('\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\b', true) unexpectedly failed in lenient mode" }, "parallel/test-http-localaddress.js": { "category": "node-internals", "reason": "uses common/net.hasMultiLocalhost(), which depends on internalBinding('tcp_wrap')" }, "parallel/test-http-max-header-size-per-stream.js": { "split": true, @@ -5225,24 +5272,6 @@ "parallel/test-http-no-content-length.js": { "category": "known-gap", "reason": "GOL-221: wasi:http does not reliably close the client TCP send side after a close-delimited response, so net.Server.close() can wait indefinitely" }, "parallel/test-http-outgoing-buffer.js": { "category": "node-internals", "reason": "requires internal/streams/state.getDefaultHighWaterMark()" }, "parallel/test-http-outgoing-destroy.js": {}, - "parallel/test-http-outgoing-internal-headernames-getter.js": { - "split": true, - "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {} - } - }, - "parallel/test-http-outgoing-internal-headernames-setter.js": {}, - "parallel/test-http-outgoing-internal-headers.js": { - "category": "node-internals", - "reason": "requires internal/http kOutHeaders symbol", - "split": true, - "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {}, - "block_02_block_02": {} - } - }, "parallel/test-http-outgoing-message-inheritance.js": {}, "parallel/test-http-outgoing-properties.js": { "split": true, @@ -5677,7 +5706,15 @@ "parallel/test-http2-respond-with-fd-errors.js": { "category": "node-internals", "reason": "uses --expose-internals with internalBinding('http2') and internal/http2/util" }, "parallel/test-http2-respond-with-file-connection-abort.js": { "category": "known-gap", "reason": "node:http2 public API is a stub in WebAssembly runtime" }, "parallel/test-http2-response-splitting.js": { "category": "known-gap", "reason": "node:http2 public API is a stub in WebAssembly runtime" }, - "parallel/test-http2-sensitive-headers.js": { "category": "known-gap", "reason": "node:http2 public API is a stub in WebAssembly runtime" }, + "parallel/test-http2-sensitive-headers.js": { + "category": "known-gap", + "reason": "node:http2 public API is a stub in WebAssembly runtime", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, "parallel/test-http2-sent-headers.js": { "category": "known-gap", "reason": "node:http2 public API is a stub in WebAssembly runtime" }, "parallel/test-http2-serve-file.js": { "category": "wasi-impossible", "reason": "requires TLS-enabled HTTP/2 server (createSecureServer), unsupported in WASI runtime" }, "parallel/test-http2-server-async-dispose.js": { "category": "known-gap", "reason": "node:http2 public API is a stub in WebAssembly runtime" }, @@ -5733,7 +5770,6 @@ "parallel/test-http2-session-timeout.js": { "category": "known-gap", "reason": "node:http2 public API is a stub in WebAssembly runtime" }, "parallel/test-http2-settings-unsolicited-ack.js": { "category": "known-gap", "reason": "node:http2 public API is a stub in WebAssembly runtime" }, "parallel/test-http2-short-stream-client-server.js": { "category": "known-gap", "reason": "node:http2 public API is a stub in WebAssembly runtime" }, - "parallel/test-http2-single-headers.js": { "category": "known-gap", "reason": "node:http2 public API is a stub in WebAssembly runtime" }, "parallel/test-http2-socket-close.js": { "category": "wasi-impossible", "reason": "requires TLS-enabled HTTP/2 server (createSecureServer), unsupported in WASI runtime" }, "parallel/test-http2-socket-proxy-handler-for-has.js": { "category": "wasi-impossible", "reason": "requires TLS-enabled HTTP/2 server (createSecureServer), unsupported in WASI runtime" }, "parallel/test-http2-socket-proxy.js": { "category": "node-internals", "reason": "uses --expose-internals and require('internal/timers')" }, @@ -5961,7 +5997,7 @@ "es-module/test-esm-dynamic-import.js": { "category": "runnable" }, "es-module/test-esm-encoded-path-native.js": { "category": "runnable" }, "es-module/test-esm-error-cache.js": { "category": "runnable" }, - "es-module/test-esm-import-attributes-errors.js": { "category": "runnable" }, + "es-module/test-esm-import-attributes-errors.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, "es-module/test-esm-import-attributes-validation.js": { "category": "node-internals", "reason": "imports internal/modules/esm/assert (Node internal module)" }, "es-module/test-esm-invalid-data-urls.js": { "category": "runnable" }, "es-module/test-esm-invalid-pjson.js": { "category": "known-gap", "reason": "same-process ESM invalid package config diagnostics are covered by module-resolution runtime tests; vendored fixture asserts stderr/status through spawned process.execPath ESM entry-point emulation" }, @@ -5991,7 +6027,7 @@ "es-module/test-esm-url-extname.js": { "category": "node-internals", "reason": "uses --expose-internals and imports node:internal/modules/esm/get_format" }, "es-module/test-esm-windows.js": { "category": "runnable" }, "es-module/test-loaders-hidden-from-users.js": { "category": "node-internals", "reason": "uses --expose-internals plus Node internals (require('internal/...'), process.binding('natives'))" }, - "es-module/test-require-module-cached-tla.js": { "category": "runnable" }, + "es-module/test-require-module-cached-tla.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, "es-module/test-require-module-conditional-exports-module.js": { "category": "runnable" }, "es-module/test-require-module-conditional-exports.js": { "split": true, @@ -6056,11 +6092,11 @@ "es-module/test-require-module-detect-entry-point-aou.js": { "category": "runnable" }, "es-module/test-require-module-detect-entry-point.js": { "category": "runnable" }, "es-module/test-require-module-dont-detect-cjs.js": { "category": "runnable" }, - "es-module/test-require-module-dynamic-import-1.js": { "category": "runnable" }, - "es-module/test-require-module-dynamic-import-2.js": { "category": "runnable" }, + "es-module/test-require-module-dynamic-import-1.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "es-module/test-require-module-dynamic-import-2.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, "es-module/test-require-module-dynamic-import-3.js": { "category": "runnable" }, "es-module/test-require-module-dynamic-import-4.js": { "category": "runnable" }, - "es-module/test-require-module-error-catching.js": { "category": "runnable" }, + "es-module/test-require-module-error-catching.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, "es-module/test-require-module-errors.js": { "category": "engine-difference", "reason": "asserts V8-specific syntax error stderr text/format that differs in QuickJS" }, "es-module/test-require-module-feature-detect.js": { "category": "runnable" }, "es-module/test-require-module-implicit.js": { "category": "runnable" }, @@ -6071,15 +6107,8 @@ "es-module/test-require-module-tla-retry-import-2.js": { "category": "runnable" }, "es-module/test-require-module-tla-retry-import.js": { "category": "runnable" }, "es-module/test-require-module-tla-retry-require.js": { "category": "runnable" }, - "es-module/test-require-module-tla.js": { - "split": true, - "subtests": { - "block_00_block_00": { "category": "runnable" }, - "block_01_block_01": { "category": "known-gap", "reason": "child_process execPath emulation does not implement --experimental-print-required-tla diagnostics output" } - } - }, "es-module/test-require-module-transpiled.js": { "category": "runnable" }, - "es-module/test-require-module-twice.js": { "category": "runnable" }, + "es-module/test-require-module-twice.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, "es-module/test-require-module-warning.js": { "category": "known-gap", "reason": "child_process execPath emulation does not implement --trace-require-module warning output" }, "es-module/test-require-module-with-detection.js": { "split": true, @@ -6094,7 +6123,7 @@ "subtests": { "block_00_test_named_exports": { "category": "runnable" }, "block_01_test_esm_that_import_esm": { "category": "runnable" }, - "block_02_test_esm_that_import_cjs": { "category": "runnable" }, + "block_02_test_esm_that_import_cjs": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, "block_03_test_esm_that_require_cjs": { "category": "runnable" }, "block_04_also_test_default_export": { "category": "runnable" }, "block_05_test_data_import": { "category": "runnable" } @@ -6118,18 +6147,37 @@ "es-module/test-esm-custom-exports.mjs": { "category": "runnable" }, "es-module/test-esm-cyclic-dynamic-import.mjs": { "category": "runnable" }, "es-module/test-esm-default-type.mjs": { "category": "runnable" }, - "es-module/test-esm-detect-ambiguous.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" }, + "es-module/test-esm-detect-ambiguous.mjs": { + "category": "known-gap", + "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR", + "split": true, + "subtests": { + "test_00_module_syntax_detection": {}, + "test_01_wrapping_a_require_of_an_es_module_while_using_abort_on_unca": {}, + "test_02_when_working_with_worker_threads": {}, + "test_03_cjs_esm_ambiguous_syntax_case": {} + } + }, "es-module/test-esm-dns-promises.mjs": { "category": "runnable" }, "es-module/test-esm-double-encoding.mjs": { "category": "runnable" }, - "es-module/test-esm-dynamic-import-attribute.mjs": { "category": "runnable" }, + "es-module/test-esm-dynamic-import-attribute.mjs": { + "category": "runnable", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {} + } + }, "es-module/test-esm-dynamic-import-commonjs.mjs": { "category": "runnable" }, "es-module/test-esm-dynamic-import-mutating-fs.mjs": { "category": "known-gap", "reason": "same-process dynamic import cache behavior is covered by runner_dynamic_import_cache_survives_removed_file; full Node test also requires spawned process.execPath --input-type=module support" }, "es-module/test-esm-encoded-path.mjs": { "category": "runnable" }, "es-module/test-esm-example-loader.mjs": { "category": "runnable" }, "es-module/test-esm-experimental-warnings.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" }, "es-module/test-esm-export-not-found.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" }, - "es-module/test-esm-exports-deprecations.mjs": { "category": "runnable" }, - "es-module/test-esm-exports.mjs": { "category": "runnable" }, + "es-module/test-esm-exports-deprecations.mjs": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection: AssertionError: Expected values to be strictly deep-equal:" }, + "es-module/test-esm-exports.mjs": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection: AssertionError: Expected values to be strictly deep-equal:" }, "es-module/test-esm-extension-lookup-deprecation.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" }, "es-module/test-esm-extensionless-esm-and-wasm.mjs": { "split": true, @@ -6153,20 +6201,21 @@ "es-module/test-esm-import-attributes-1.mjs": { "category": "runnable" }, "es-module/test-esm-import-attributes-2.mjs": { "category": "runnable" }, "es-module/test-esm-import-attributes-3.mjs": { "category": "runnable" }, - "es-module/test-esm-import-attributes-errors.mjs": { "category": "runnable" }, + "es-module/test-esm-import-attributes-errors.mjs": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, "es-module/test-esm-import-flag.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" }, "es-module/test-esm-import-json-named-export.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" }, - "es-module/test-esm-imports-deprecations.mjs": { "category": "runnable" }, - "es-module/test-esm-imports.mjs": { "category": "runnable" }, + "es-module/test-esm-imports-deprecations.mjs": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): TypeError: Invalid module \"#/foo\" is not a val" }, + "es-module/test-esm-imports.mjs": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): TypeError: Invalid module \"#/foo\" is not a val" }, "es-module/test-esm-initialization.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" }, "es-module/test-esm-json-cache.mjs": { "category": "runnable" }, "es-module/test-esm-json.mjs": { - "split": true, "nestedNodeTest": true, + "split": true, "subtests": { "test_00_should_load_json": { "category": "runnable" }, - "test_01_should_not_print_an_experimental_warning": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support for child-process JSON module warning assertions" }, - "test_02_should_load_different_modules_when_the_url_is_different": { "category": "runnable" } + "test_01_should_load_json_with_import_calls": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_02_should_not_print_an_experimental_warning": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support for child-process JSON module warning assertions" }, + "test_03_should_load_different_modules_when_the_url_is_different": { "category": "runnable" } } }, "es-module/test-esm-live-binding.mjs": { "category": "known-gap", "reason": "QuickJS property redefinition errors use engine-specific wording; Node-compatible normalization without replacing public intrinsics is tracked by GOL-361" }, @@ -6176,7 +6225,6 @@ "es-module/test-esm-loader-dependency.mjs": { "category": "runnable" }, "es-module/test-esm-loader-entry-url.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" }, "es-module/test-esm-loader-event-loop.mjs": { "category": "runnable" }, - "es-module/test-esm-loader-hooks.mjs": { "category": "known-gap", "reason": "loader hooks in this vendored file are exercised through spawned process.execPath CLI loader flags/eval, deferred to simulated Node CLI mode support" }, "es-module/test-esm-loader-http-imports.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" }, "es-module/test-esm-loader-invalid-format.mjs": { "category": "runnable" }, "es-module/test-esm-loader-invalid-url.mjs": { "category": "runnable" }, @@ -6184,7 +6232,15 @@ "es-module/test-esm-loader-not-found.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" }, "es-module/test-esm-loader-programmatically.mjs": { "category": "known-gap", "reason": "programmatic loader registration in this vendored file is exercised through spawned process.execPath --eval/--import/--loader CLI mode" }, "es-module/test-esm-loader-resolve-type.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" }, - "es-module/test-esm-loader-spawn-promisified.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" }, + "es-module/test-esm-loader-spawn-promisified.mjs": { + "category": "known-gap", + "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR", + "split": true, + "subtests": { + "test_00_loader_hooks_throwing_errors": {}, + "test_01_loader_hooks_parsing_modules": {} + } + }, "es-module/test-esm-loader-stringify-text.mjs": { "category": "runnable" }, "es-module/test-esm-loader-thenable.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" }, "es-module/test-esm-loader-with-source.mjs": { "category": "runnable" }, @@ -6217,58 +6273,128 @@ "es-module/test-esm-tla-unfinished.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" }, "es-module/test-esm-tla.mjs": { "category": "runnable" }, "es-module/test-esm-type-field.mjs": { "category": "runnable" }, - "es-module/test-esm-type-flag-cli-entry.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" }, - "es-module/test-esm-type-flag-errors.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" }, - "es-module/test-esm-type-flag-loose-files.mjs": { - "split": true, - "nestedNodeTest": true, - "subtests": { - "test_00_should_run_as_esm_a_js_file_that_is_outside_of_any_package_s": { "category": "known-gap", "reason": "requires spawned process.execPath entry-point execution with --experimental-default-type=module" }, - "test_01_should_run_as_esm_an_extensionless_javascript_file_that_is_o": { "category": "known-gap", "reason": "requires spawned process.execPath entry-point execution with --experimental-default-type=module" }, - "test_02_should_run_as_wasm_an_extensionless_wasm_file_that_is_outsid": { "category": "known-gap", "reason": "requires spawned process.execPath entry-point execution plus WebAssembly module loading support" }, - "test_03_should_import_as_esm_a_js_file_that_is_outside_of_any_packag": { "category": "runnable" }, - "test_04_should_import_as_esm_an_extensionless_javascript_file_that_i": { "category": "runnable" }, - "test_05_should_import_as_wasm_an_extensionless_wasm_file_that_is_out": { "category": "known-gap", "reason": "WebAssembly module loading for .wasm files is not implemented; binary input is currently treated as JS source" }, - "test_06_should_check_as_esm_input_passed_via_check": { "category": "known-gap", "reason": "requires spawned process.execPath --check execution with --experimental-default-type=module" } - } - }, - "es-module/test-esm-type-flag-package-scopes.mjs": { - "split": true, - "nestedNodeTest": true, - "subtests": { - "test_00_should_run_as_esm_an_extensionless_javascript_file_within_a_": { "category": "known-gap", "reason": "requires spawned process.execPath entry-point execution with --experimental-default-type=module" }, - "test_01_should_import_an_extensionless_javascript_file_within_a_type": { "category": "runnable" }, - "test_02_should_import_an_extensionless_javascript_file_within_a_type": { "category": "runnable" }, - "test_03_should_run_as_wasm_an_extensionless_wasm_file_within_a_type_": { "category": "known-gap", "reason": "requires spawned process.execPath entry-point execution plus WebAssembly module loading support" }, - "test_04_should_import_as_wasm_an_extensionless_wasm_file_within_a_ty": { "category": "known-gap", "reason": "WebAssembly module loading for .wasm files is not implemented; binary input is currently treated as JS source" }, - "test_05_should_import_an_extensionless_wasm_file_within_a_type_modul": { "category": "known-gap", "reason": "WebAssembly module loading for .wasm files is not implemented; binary input is currently treated as JS source" }, - "test_06_should_run_as_esm_a_js_file_within_package_scope_that_has_no": { "category": "known-gap", "reason": "requires spawned process.execPath entry-point execution with --experimental-default-type=module" }, - "test_07_should_run_as_esm_an_extensionless_javascript_file_within_a_": { "category": "known-gap", "reason": "requires spawned process.execPath entry-point execution with --experimental-default-type=module" }, - "test_08_should_run_as_wasm_an_extensionless_wasm_file_within_a_packa": { "category": "known-gap", "reason": "requires spawned process.execPath entry-point execution plus WebAssembly module loading support" }, - "test_09_should_import_as_esm_a_js_file_within_package_scope_that_has": { "category": "runnable" }, - "test_10_should_import_as_esm_an_extensionless_javascript_file_within": { "category": "runnable" }, - "test_11_should_import_as_wasm_an_extensionless_wasm_file_within_a_pa": { "category": "known-gap", "reason": "WebAssembly module loading for .wasm files is not implemented; binary input is currently treated as JS source" }, - "test_12_should_run_as_commonjs_a_js_file_within_package_scope_that_h": { "category": "known-gap", "reason": "requires spawned process.execPath entry-point execution with --experimental-default-type=module" }, - "test_13_should_import_as_commonjs_a_js_file_within_a_package_scope_t": { "category": "runnable" }, - "test_14_should_run_as_commonjs_an_extensionless_javascript_file_with": { "category": "known-gap", "reason": "requires spawned process.execPath entry-point execution with --experimental-default-type=module" }, - "test_15_should_import_as_commonjs_an_extensionless_javascript_file_w": { "category": "runnable" } - } - }, - "es-module/test-esm-type-flag-string-input.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" }, "es-module/test-esm-type-main.mjs": { "category": "runnable" }, "es-module/test-esm-util-types.mjs": { "category": "runnable" }, "es-module/test-esm-virtual-json.mjs": { "category": "runnable" }, - "es-module/test-esm-wasm.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" }, "es-module/test-import-module-conditional-exports-module.mjs": { "category": "runnable" }, "es-module/test-loaders-unknown-builtin-module.mjs": { "category": "runnable" }, "es-module/test-loaders-workers-spawned.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" }, "es-module/test-require-as-esm-interop.mjs": { "category": "runnable" }, - "es-module/test-typescript-commonjs.mjs": { "category": "known-gap", "reason": "requires isolated process.execPath TypeScript entry execution and Node CLI default-module / require-module flag handling" }, - "es-module/test-typescript-eval.mjs": { "category": "known-gap", "reason": "requires isolated process.execPath --eval execution, TypeScript input-type flags, and child warning/output/exit capture" }, - "es-module/test-typescript-module.mjs": { "category": "known-gap", "reason": "requires isolated process.execPath TypeScript entry execution and Node CLI default-module / require-module flag handling" }, - "es-module/test-typescript-transform.mjs": { "category": "known-gap", "reason": "requires isolated process.execPath --experimental-transform-types execution and CLI source-map configuration" }, - "es-module/test-typescript.mjs": { "category": "known-gap", "reason": "requires isolated process.execPath TypeScript entry execution and Node CLI flags; the direct process.features check requires a separate feature-disabled component" }, - "parallel/test-abortcontroller-internal.js": { "category": "node-internals", "reason": "requires --expose-internals and internal/event_target (kWeakHandler)" }, + "es-module/test-typescript-commonjs.mjs": { + "category": "known-gap", + "reason": "requires isolated process.execPath TypeScript entry execution and Node CLI default-module / require-module flag handling", + "split": true, + "subtests": { + "test_00_require_a_ts_file_with_explicit_extension_succeeds": {}, + "test_01_eval_require_a_ts_file_with_implicit_extension_fails": {}, + "test_02_eval_require_a_cts_file_with_implicit_extension_fails": {}, + "test_03_require_a_ts_file_with_implicit_extension_fails": {}, + "test_04_expect_failure_of_an_mts_file_with_commonjs_syntax": {}, + "test_05_execute_a_cts_file_importing_a_cts_file": {}, + "test_06_execute_a_cts_file_importing_a_ts_file_export": {}, + "test_07_execute_a_cts_file_importing_a_mts_file_export": {}, + "test_08_execute_a_cts_file_importing_a_mts_file_export": {}, + "test_09_expect_failure_of_a_cts_file_in_node_modules": {}, + "test_10_expect_failure_of_a_ts_file_in_node_modules": {}, + "test_11_expect_failure_of_a_cts_requiring_esm_without_default_type_m": {}, + "test_12_expect_failure_of_a_cts_file_requiring_esm_in_node_modules": {}, + "test_13_cts_require_mts_import_cts": {} + } + }, + "es-module/test-typescript-eval.mjs": { + "category": "known-gap", + "reason": "requires isolated process.execPath --eval execution, TypeScript input-type flags, and child warning/output/exit capture", + "split": true, + "subtests": { + "test_00_eval_typescript_esm_syntax": {}, + "test_01_eval_typescript_esm_syntax_with_input_type_module": {}, + "test_02_eval_typescript_commonjs_syntax": {}, + "test_03_eval_typescript_commonjs_syntax_with_input_type_commonjs_typ": {}, + "test_04_eval_typescript_commonjs_syntax_by_default": {}, + "test_05_typescript_esm_syntax_not_specified": {}, + "test_06_expect_fail_eval_typescript_commonjs_syntax_with_input_type_": {}, + "test_07_expect_fail_eval_typescript_esm_syntax_with_input_type_commo": {}, + "test_08_check_syntax_error_is_thrown_when_passing_unsupported_syntax": {}, + "test_09_check_syntax_error_is_thrown_when_passing_unsupported_syntax": {}, + "test_10_check_syntax_error_is_thrown_when_passing_unsupported_syntax": {}, + "test_11_should_not_parse_typescript_with_type_module_commonjs": {}, + "test_12_should_not_parse_typescript_with_type_module_module": {}, + "test_13_check_warning_is_emitted_when_eval_typescript_commonjs_synta": {}, + "test_14_code_is_throwing_a_non_error_is_rethrown": {}, + "test_15_code_is_throwing_an_error_with_customized_accessors": {}, + "test_16_typescript_code_is_throwing_an_error": {}, + "test_17_typescript_esm_code_is_throwing_a_syntax_error_at_runtime": {}, + "test_18_typescript_cjs_code_is_throwing_a_syntax_error_at_runtime": {}, + "test_19_check_syntax_error_is_thrown_when_passing_invalid_syntax_wit": {}, + "test_20_check_syntax_error_is_thrown_when_passing_invalid_syntax_wit": {}, + "test_21_should_not_allow_module_keyword": {}, + "test_22_should_not_allow_declare_module_keyword": {}, + "test_23_the_error_message_should_not_contain_extra_padding": {} + } + }, + "es-module/test-typescript-module.mjs": { + "category": "known-gap", + "reason": "requires isolated process.execPath TypeScript entry execution and Node CLI default-module / require-module flag handling", + "split": true, + "subtests": { + "test_00_expect_failure_of_a_mts_file_with_commonjs_syntax": {}, + "test_01_execute_an_mts_file_importing_an_mts_file": {}, + "test_02_execute_an_mts_file_importing_a_ts_file": {}, + "test_03_execute_an_mts_file_importing_a_cts_file": {}, + "test_04_execute_an_mts_file_from_node_modules": {}, + "test_05_execute_a_cts_file_from_node_modules": {}, + "test_06_execute_a_ts_file_from_node_modules": {}, + "test_07_execute_an_empty_ts_file": {}, + "test_08_execute_ts_file_importing_a_module": {}, + "test_09_mts_import_cts_require_mts": {} + } + }, + "es-module/test-typescript.mjs": { + "category": "known-gap", + "reason": "requires isolated process.execPath TypeScript entry execution and Node CLI flags; the direct process.features check requires a separate feature-disabled component", + "split": true, + "subtests": { + "test_00_expect_process_features_typescript_to_be_false_when_no_exper": {}, + "test_01_execute_a_typescript_file": {}, + "test_02_execute_a_typescript_file_with_imports": {}, + "test_03_execute_a_typescript_file_with_imports": {}, + "test_04_execute_a_typescript_file_with_node_modules": {}, + "test_05_expect_error_when_executing_a_typescript_file_with_imports_w": {}, + "test_06_expect_error_when_executing_a_typescript_file_with_enum": {}, + "test_07_expect_error_when_executing_a_typescript_file_with_experimen": {}, + "test_08_expect_error_when_executing_a_typescript_file_with_namespace": {}, + "test_09_execute_a_typescript_file_with_type_definition": {}, + "test_10_execute_a_typescript_file_with_type_definition_but_no_type_k": {}, + "test_11_execute_a_typescript_file_with_commonjs_syntax": {}, + "test_12_execute_a_typescript_file_with_es_module_syntax": {}, + "test_13_expect_failure_of_a_typescript_file_requiring_es_module_synt": {}, + "test_14_expect_stack_trace_of_a_typescript_file_to_be_correct": {}, + "test_15_execute_commonjs_typescript_file_from_node_modules_with_requ": {}, + "test_16_execute_a_typescript_file_with_commonjs_syntax_requiring_cts": {}, + "test_17_execute_a_typescript_file_with_commonjs_syntax_requiring_mts": {}, + "test_18_execute_a_typescript_file_with_commonjs_syntax_requiring_mts": {}, + "test_19_execute_a_typescript_file_with_commonjs_syntax_requiring_cts": {}, + "test_20_execute_a_typescript_file_with_commonjs_syntax_requiring_mts": {}, + "test_21_execute_a_javascript_file_importing_a_cjs_typescript_file": {}, + "test_22_execute_a_typescript_test_mocking_module": {}, + "test_23_expect_process_features_typescript_to_be_strip": {}, + "test_24_execute_a_typescript_file_with_union_types": {}, + "test_25_expect_error_when_executing_a_typescript_file_with_generics": {}, + "test_26_execute_a_typescript_loader_and_a_ts_file": {}, + "test_27_execute_a_typescript_loader_and_a_js_file": {}, + "test_28_execute_invalid_typescript_syntax": {}, + "test_29_expect_error_when_executing_a_typescript_file_with_jitless": {} + } + }, + "parallel/test-abortcontroller-internal.js": { + "category": "node-internals", + "reason": "requires --expose-internals and internal/event_target (kWeakHandler)", + "split": true, + "subtests": { + "test_00_a_weak_event_listener_should_not_prevent_gc": {}, + "test_01_two_weak_listeners_with_the_same_retainer_should_both_run_on": {} + } + }, "parallel/test-accessor-properties.js": { "category": "node-internals", "reason": "uses --expose-internals and internal/test/binding internalBinding()", @@ -6330,7 +6456,53 @@ "block_13_block_13": { "category": "runnable" }, "block_14_block_14": { "category": "runnable" }, "block_15_block_15": { "category": "runnable" }, - "block_16_block_16": { "category": "runnable" } + "block_16_block_16": { "category": "runnable" }, + "block_17_block_17": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_18_block_18": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_19_block_19": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_20_block_20": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_21_block_21": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_22_test_exporting_and_importing_the_rule_list_to_from_json": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_23_removerange_basic_removal": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_24_removerange_non_existent_range_is_a_no_op": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_25_removerange_ipv6_range": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_26_removerange_with_socketaddress_objects": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_27_removesubnet_basic_ipv4_removal": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_28_removesubnet_ipv6": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_29_removesubnet_cross_family_cleanup": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_30_removesubnet_non_existent_subnet_is_a_no_op": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_31_removesubnet_with_socketaddress_objects": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_32_removerange_removesubnet_don_t_affect_other_rule_types": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_33_addcidr_ipv4": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_34_addcidr_ipv6_auto_detected": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_35_addcidr_cross_family": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_36_addcidr_validation_errors": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_37_removecidr_basic": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_38_removecidr_ipv6": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_39_removecidr_non_existent_is_a_no_op": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_40_addcidr_interoperates_with_removesubnet_and_vice_versa": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_41_removeaddress_basic": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_42_removeaddress_cross_family_cleanup": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_43_removeaddress_ipv6": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_44_removeaddress_non_existent_is_a_no_op": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_45_removeaddress_with_socketaddress_object": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_46_addcidrs_batch": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_47_addcidrs_validation": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_48_addcidrs_empty_array_is_a_no_op": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_49_addcidrs_invalid_entry_mid_array_does_not_half_apply": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_50_size_tracks_all_rule_types": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_51_size_duplicate_addaddress_does_not_double_count": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_52_private_ranges_is_a_frozen_array_of_cidr_strings": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_53_private_ranges_covers_expected_addresses": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_54_error_path_in_c_socketaddress_new_fails_returns_false": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_55_stack_limit_must_not_turn_that_into_a_miss_after_jit": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_56_check_family_parameter_is_case_insensitive": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_57_socketaddress_constructor_with_invalid_address_throws_err_in": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_58_check_with_socketaddress_objects_across_family_boundaries": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_59_subnet_with_ipv4_mapped_ipv6_network": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_60_range_with_ipv6_addresses": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_61_removing_a_broader_subnet_must_restore_subsumed_narrower_sub": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_62_block_62": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-bootstrap-modules.js": { "category": "node-internals", "reason": "asserts exact process.moduleLoadList bootstrap internals" }, @@ -6345,7 +6517,7 @@ "block_03_block_03": { "reason": "inherited: requires worker_threads.BroadcastChannel, unavailable without threads in WASM" } } }, - "parallel/test-c-ares.js": {}, + "parallel/test-c-ares.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, "parallel/test-cli-bad-options.js": { "category": "known-gap", "reason": "child_process execPath emulation does not yet match Node CLI argument validation/exit codes" }, "parallel/test-cli-eval-event.js": {}, "parallel/test-cli-node-options-disallowed.js": {}, @@ -6522,7 +6694,6 @@ "block_02_block_02": { "category": "known-gap", "reason": "dgram does not validate options.lookup type" } } }, - "parallel/test-dgram-deprecation-error.js": {}, "parallel/test-dgram-ipv6only.js": { "category": "known-gap", "reason": "IPv6 sockets are not available in this runtime (common.hasIPv6=false)" }, "parallel/test-dgram-membership.js": { "category": "unevaluated", @@ -6536,7 +6707,7 @@ "block_04_addmembership_with_invalid_multicast_address_should_throw": { "category": "known-gap", "reason": "dgram multicast membership APIs are not implemented (ENOSYS)" }, "block_05_dropmembership_with_invalid_multicast_address_should_throw": { "category": "known-gap", "reason": "dgram multicast membership APIs are not implemented (ENOSYS)" }, "block_06_addsourcespecificmembership_with_invalid_sourceaddress_shoul": { "category": "known-gap", "reason": "dgram multicast membership APIs are not implemented (ENOSYS)" }, - "block_07_addsourcespecificmembership_with_invalid_sourceaddress_shoul": { "category": "known-gap", "reason": "dgram multicast membership APIs are not implemented (ENOSYS)" }, + "block_07_addsourcespecificmembership_with_invalid_groupaddress_should": { "category": "known-gap", "reason": "dgram multicast membership APIs are not implemented (ENOSYS)" }, "block_08_addsourcespecificmembership_with_invalid_groupaddress_should": { "category": "known-gap", "reason": "dgram multicast membership APIs are not implemented (ENOSYS)" }, "block_09_dropsourcespecificmembership_with_invalid_sourceaddress_shou": { "category": "known-gap", "reason": "dgram multicast membership APIs are not implemented (ENOSYS)" }, "block_10_dropsourcespecificmembership_with_invalid_groupaddress_shoul": { "category": "known-gap", "reason": "dgram multicast membership APIs are not implemented (ENOSYS)" }, @@ -6630,7 +6801,7 @@ "parallel/test-domain-top-level-error-handler-throw.js": { "category": "known-gap", "reason": "domain module depends on async_hooks, not fully working" }, "parallel/test-domain-uncaught-exception.js": { "category": "known-gap", "reason": "domain module depends on async_hooks, not fully working" }, "parallel/test-domain-vm-promise-isolation.js": { "category": "known-gap", "reason": "domain module depends on async_hooks, not fully working" }, - "parallel/test-domain-with-abort-on-uncaught-exception.js": {}, + "parallel/test-domain-with-abort-on-uncaught-exception.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, "parallel/test-domexception-cause.js": { "split": true, "subtests": { @@ -6765,28 +6936,28 @@ "parallel/test-file.js": { "split": true, "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {}, - "block_02_block_02": {}, - "block_03_block_03": {}, - "block_04_block_04": {}, - "block_05_block_05": {}, - "block_06_block_06": {}, - "block_07_block_07": {}, - "block_08_block_08": {}, - "block_09_block_09": {}, - "block_10_block_10": {}, - "block_11_block_11": {}, - "block_12_block_12": {}, - "block_13_block_13": {}, - "block_14_block_14": {}, - "block_15_block_15": {} + "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "block_02_block_02": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "block_03_block_03": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "block_04_block_04": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "block_05_block_05": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "block_06_block_06": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "block_07_block_07": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "block_08_block_08": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "block_09_block_09": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "block_10_block_10": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "block_11_block_11": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "block_12_block_12": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "block_13_block_13": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "block_14_block_14": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "block_15_block_15": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" } } }, "parallel/test-filehandle-readablestream.js": { "category": "known-gap", "reason": "fs/promises FileHandle.readableWebStream support is missing or incomplete" }, "parallel/test-find-package-json.js": { - "split": true, "nestedNodeTest": true, + "split": true, "subtests": { "test_00_should_throw_when_no_arguments_are_provided": { "category": "runnable" }, "test_01_should_throw_when_parentlocation_is_invalid": { "category": "runnable" }, @@ -6795,18 +6966,10 @@ "test_04_should_be_able_to_crawl_up_cjs": { "category": "runnable" }, "test_05_should_be_able_to_crawl_up_esm": { "category": "runnable" }, "test_06_can_require_via_package_json": { "category": "runnable" }, - "test_07_should_be_able_to_resolve_both_root_and_closest_package_json": { - "category": "known-gap", - "reason": "uses child_process spawn path (spawnPromisified)" - }, - "test_08_should_work_within_a_loader": { - "category": "known-gap", - "reason": "requires child process loader/eval flags" - }, - "test_09_should_work_with_an_async_resolve_hook_registered": { - "category": "known-gap", - "reason": "requires child process loader/eval flags" - } + "test_07_should_be_able_to_resolve_both_root_and_closest_package_json": { "category": "known-gap", "reason": "uses child_process spawn path (spawnPromisified)" }, + "test_08_should_work_within_a_loader": { "category": "known-gap", "reason": "requires child process loader/eval flags" }, + "test_09_should_work_with_an_async_resolve_hook_registered": { "category": "known-gap", "reason": "requires child process loader/eval flags" }, + "test_10_should_work_when_unrecognised_keys_are_specified_within_the_": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-fixed-queue.js": { @@ -6837,11 +7000,9 @@ "parallel/test-gc-net-timeout.js": { "category": "known-gap", "reason": "common/gc.onGC is non-observing; this collection assertion cannot be validated by the current harness" }, "parallel/test-gc-tls-external-memory.js": { "category": "wasi-impossible", "reason": "tls is not supported in WebAssembly environment" }, "parallel/test-global-console-exists.js": {}, - "parallel/test-global-customevent-disabled.js": { "category": "known-gap", "reason": "--no-experimental-global-customevent flag is not honored" }, "parallel/test-global-customevent.js": { "category": "node-internals", "reason": "requires --expose-internals and internal/event_target" }, "parallel/test-global-setters.js": { "category": "known-gap", "reason": "global process/Buffer accessor setter semantics are incomplete" }, "parallel/test-global-webcrypto-classes.js": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webcrypto" }, - "parallel/test-global-webcrypto-disbled.js": { "category": "known-gap", "reason": "--no-experimental-global-webcrypto flag is not honored" }, "parallel/test-global-webcrypto.js": {}, "parallel/test-global-webstreams.js": { "category": "known-gap", "reason": "global web streams and node:stream/web exports are inconsistent" }, "parallel/test-global.js": { "category": "known-gap", "reason": "globalThis shape differs from Node.js" }, @@ -7052,9 +7213,16 @@ } }, "parallel/test-internal-util-assertCrypto.js": { "category": "node-internals", "reason": "requires --expose-internals and internal/util" }, - "parallel/test-internal-util-classwrapper.js": { "category": "node-internals", "reason": "requires --expose-internals and internal/util" }, "parallel/test-internal-util-decorate-error-stack.js": { "category": "node-internals", "reason": "requires --expose-internals, internal/util, and internal/test/binding" }, - "parallel/test-internal-util-helpers.js": { "category": "node-internals", "reason": "requires --expose-internals and internal/util" }, + "parallel/test-internal-util-helpers.js": { + "category": "node-internals", + "reason": "requires --expose-internals and internal/util", + "split": true, + "subtests": { + "block_00_actual_errors": {}, + "block_01_block_01": {} + } + }, "parallel/test-internal-util-normalizeencoding.js": { "category": "node-internals", "reason": "directly tests internal/util.normalizeEncoding()" }, "parallel/test-internal-util-objects.js": { "category": "node-internals", @@ -7080,7 +7248,17 @@ } }, "parallel/test-internal-validators-validateport.js": { "category": "node-internals", "reason": "requires --expose-internals and internal/validators" }, - "parallel/test-internal-webidl-converttoint.js": { "category": "node-internals", "reason": "requires --expose-internals and internal/webidl" }, + "parallel/test-internal-webidl-converttoint.js": { + "category": "node-internals", + "reason": "requires --expose-internals and internal/webidl", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {} + } + }, "parallel/test-intl-v8BreakIterator.js": { "category": "known-gap", "reason": "Intl is not installed in vm contexts and Intl.v8BreakIterator is not implemented" }, "parallel/test-intl.js": { "category": "known-gap", "reason": "process.config reports ICU disabled and full Node Intl metadata and fidelity are not implemented" }, "parallel/test-js-stream-call-properties.js": { "category": "node-internals", "reason": "requires internalBinding('js_stream').JSStream" }, @@ -7099,7 +7277,15 @@ "parallel/test-messaging-marktransfermode.js": { "category": "node-internals", "reason": "requires --expose-internals and internal/test/transfer" }, "parallel/test-microtask-queue-run-immediate.js": { "category": "runnable" }, "parallel/test-microtask-queue-run.js": { "category": "runnable" }, - "parallel/test-mime-api.js": { "category": "known-gap", "reason": "util.MIMEType/util.MIMEParams are not implemented" }, + "parallel/test-mime-api.js": { + "category": "known-gap", + "reason": "util.MIMEType/util.MIMEParams are not implemented", + "split": true, + "subtests": { + "block_00_refs_https_mimesniff_spec_whatwg_org_parameter_names_are_asc": {}, + "block_01_block_01": {} + } + }, "parallel/test-mime-whatwg.js": { "category": "known-gap", "reason": "util.MIMEType parsing API is not implemented" }, "parallel/test-module-builtin.js": { "category": "runnable" }, "parallel/test-module-children.js": { "category": "runnable" }, @@ -7133,7 +7319,18 @@ }, "parallel/test-module-nodemodulepaths.js": { "category": "runnable" }, "parallel/test-module-parent-deprecation.js": { "category": "runnable" }, - "parallel/test-module-print-timing.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI module_timer and trace-event support" }, + "parallel/test-module-print-timing.mjs": { + "category": "known-gap", + "reason": "requires simulated process.execPath / Node CLI module_timer and trace-event support", + "split": true, + "subtests": { + "test_00_should_print_the_timing_information_for_cjs": {}, + "test_01_should_write_tracing_information_for_cjs": {}, + "test_02_should_write_tracing_print_logs_for_cjs": {}, + "test_03_should_support_enable_tracing_dynamically": {}, + "test_04_should_not_print_when_is_disabled_and_found_duplicated_label": {} + } + }, "parallel/test-module-prototype-mutation.js": { "category": "runnable" }, "parallel/test-module-readonly.js": { "category": "wasi-impossible", "reason": "Windows-specific readonly-module filesystem behavior is not applicable in WASI" }, "parallel/test-module-relative-lookup.js": { "category": "runnable" }, @@ -7155,17 +7352,22 @@ "test_02_striptypescripttypes_code_is_not_a_string": {}, "test_03_striptypescripttypes_invalid_mode": {}, "test_04_striptypescripttypes_sourcemap_throws_when_mode_is_strip": {}, - "test_05_striptypescripttypes_sourceurl_throws_when_mode_is_strip": {}, - "test_06_striptypescripttypes_source_map_when_mode_is_transform": {}, - "test_07_striptypescripttypes_source_map_when_mode_is_transform_and_s": {}, - "test_08_striptypescripttypes_source_map_when_mode_is_transform_and_s": {} + "test_05_striptypescripttypes_sourceurl_throws_when_mode_is_strip": {} } }, "parallel/test-module-symlinked-peer-modules.js": { "category": "known-gap", "reason": "rooted symlink targets cannot be resolved inside a WASI preopen; the adapter rejects them at creation, while persistent relative symlinks are covered by runtime tests" }, "parallel/test-module-version.js": { "category": "runnable" }, "parallel/test-module-wrap.js": { "category": "runnable" }, "parallel/test-module-wrapper.js": { "category": "runnable" }, - "parallel/test-navigator.js": { "category": "node-internals", "reason": "requires --expose-internals and internal/navigator" }, + "parallel/test-navigator.js": { + "category": "node-internals", + "reason": "requires --expose-internals and internal/navigator", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, "parallel/test-next-tick-errors.js": { "category": "runnable" }, "parallel/test-next-tick-ordering.js": {}, "parallel/test-no-addons-resolution-condition.js": { "category": "wasi-impossible", "reason": "requires worker_threads isolate/execArgv behavior not available in WASM" }, @@ -7184,7 +7386,7 @@ "block_06_block_06": { "reason": "inherited: requires --expose-internals and internal/event_target" } } }, - "parallel/test-npm-install.js": {}, + "parallel/test-npm-install.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: - process terminated with status 1, expected 0" }, "parallel/test-npm-version.js": { "category": "node-internals", "reason": "checks Node source-tree deps/npm package.json artifact, not runtime API" }, "parallel/test-openssl-ca-options.js": { "category": "wasi-impossible", "reason": "requires spawning node subprocesses to validate CLI CA flags" }, "parallel/test-options-binding.js": { "category": "node-internals", "reason": "requires --expose-internals and internal/options" }, @@ -7207,7 +7409,8 @@ "block_02_block_02": { "reason": "inherited: perf_hooks createHistogram/monitorEventLoopDelay are not implemented" }, "block_03_block_03": { "reason": "inherited: perf_hooks createHistogram/monitorEventLoopDelay are not implemented" }, "block_04_block_04": { "reason": "inherited: perf_hooks createHistogram/monitorEventLoopDelay are not implemented" }, - "block_05_block_05": { "reason": "inherited: perf_hooks createHistogram/monitorEventLoopDelay are not implemented" } + "block_05_block_05": { "reason": "inherited: perf_hooks createHistogram/monitorEventLoopDelay are not implemented" }, + "block_06_block_06": {} } }, "parallel/test-perf-hooks-resourcetiming.js": { @@ -7233,21 +7436,7 @@ } }, "parallel/test-perf-hooks-worker-timeorigin.js": { "category": "wasi-impossible", "reason": "requires worker_threads which is not available in WASM" }, - "parallel/test-performance-eventlooputil.js": { "category": "wasi-impossible", "reason": "depends on worker_threads-based event loop utilization behavior" }, "parallel/test-performance-function-async.js": { "category": "known-gap", "reason": "performance.timerify function entries are not implemented" }, - "parallel/test-performance-function.js": { - "category": "known-gap", - "reason": "performance.timerify function entries are not implemented", - "split": true, - "subtests": { - "block_00_block_00": { "reason": "inherited: performance.timerify function entries are not implemented" }, - "block_01_block_01": { "reason": "inherited: performance.timerify function entries are not implemented" }, - "block_02_block_02": { "reason": "inherited: performance.timerify function entries are not implemented" }, - "block_03_block_03": { "reason": "inherited: performance.timerify function entries are not implemented" }, - "block_04_function_can_be_wrapped_many_times_also_check_length_and_nam": { "reason": "inherited: performance.timerify function entries are not implemented" }, - "block_05_regression_tests_for_https_github_com_nodejs_node_issues_406": { "reason": "inherited: performance.timerify function entries are not implemented" } - } - }, "parallel/test-performance-global.js": {}, "parallel/test-performance-nodetiming-uvmetricsinfo.js": { "category": "known-gap", "reason": "perf_hooks nodeTiming.uvMetricsInfo is missing" }, "parallel/test-performance-nodetiming.js": { "category": "known-gap", "reason": "perf_hooks nodeTiming milestones/duration semantics are incomplete" }, @@ -7262,7 +7451,15 @@ "block_01_test_non_buffered": { "reason": "inherited: requires --expose-internals and internal/test/binding internalBinding('performance')" } } }, - "parallel/test-permission-allow-addons-cli.js": { "category": "known-gap", "reason": "child_process execPath emulation does not honor --allow-addons/node-addons resolution" }, + "parallel/test-permission-allow-addons-cli.js": { + "category": "known-gap", + "reason": "child_process execPath emulation does not honor --allow-addons/node-addons resolution", + "split": true, + "subtests": { + "block_00_to_require_native_addons_unless_allow_addons_is_sent": {}, + "block_01_block_01": {} + } + }, "parallel/test-permission-allow-child-process-cli.js": { "category": "known-gap", "reason": "process.permission and --permission CLI semantics are incomplete in execPath emulation", @@ -7299,7 +7496,6 @@ "block_01_to_spawn": { "reason": "inherited: process.permission and --permission CLI semantics are incomplete in execPath emulation" } } }, - "parallel/test-permission-dc-worker-threads.js": { "category": "known-gap", "reason": "process.permission worker-thread restrictions are incomplete" }, "parallel/test-permission-fs-absolute-path.js": { "category": "known-gap", "reason": "process.permission and --permission CLI semantics are incomplete in execPath emulation" }, "parallel/test-permission-fs-internal-module-stat.js": { "category": "node-internals", "reason": "requires --expose-internals internalBinding('fs').internalModuleStat" }, "parallel/test-permission-fs-read.js": { @@ -7307,7 +7503,8 @@ "subtests": { "block_00_block_00": {}, "block_01_block_01": { "category": "known-gap", "reason": "inherited: process.permission and --permission CLI semantics are incomplete in execPath emulation" }, - "block_02_block_02": {} + "block_02_block_02": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: AssertionError: Missing expected exception." }, + "block_03_block_03": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-permission-fs-relative-path.js": { "category": "known-gap", "reason": "process.permission and --permission CLI semantics are incomplete in execPath emulation" }, @@ -7359,7 +7556,8 @@ "split": true, "subtests": { "block_00_block_00": { "reason": "inherited: process.permission and --permission CLI semantics are incomplete in execPath emulation" }, - "block_01_block_01": { "reason": "inherited: process.permission and --permission CLI semantics are incomplete in execPath emulation" } + "block_01_block_01": { "reason": "inherited: process.permission and --permission CLI semantics are incomplete in execPath emulation" }, + "block_02_block_02": {} } }, "parallel/test-permission-fs-windows-path.js": { @@ -7379,7 +7577,10 @@ "split": true, "subtests": { "block_00_block_00": { "category": "known-gap", "reason": "process.report.writeReport and permission-model integration are missing" }, - "block_01_block_01": { "category": "known-gap", "reason": "process.report.writeReport and permission-model integration are missing" } + "block_01_block_01": { "category": "known-gap", "reason": "process.report.writeReport and permission-model integration are missing" }, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {} } }, "parallel/test-permission-fs-write-v8.js": { @@ -7388,7 +7589,9 @@ "split": true, "subtests": { "block_00_block_00": { "category": "engine-difference", "reason": "v8.writeHeapSnapshot is a V8-specific API and is unavailable in QuickJS" }, - "block_01_block_01": { "category": "engine-difference", "reason": "v8.writeHeapSnapshot is a V8-specific API and is unavailable in QuickJS" } + "block_01_block_01": { "category": "engine-difference", "reason": "v8.writeHeapSnapshot is a V8-specific API and is unavailable in QuickJS" }, + "block_02_block_02": {}, + "block_03_block_03": {} } }, "parallel/test-permission-fs-write.js": { "category": "known-gap", "reason": "process.permission and --permission CLI semantics are incomplete in execPath emulation" }, @@ -7398,7 +7601,8 @@ "split": true, "subtests": { "block_00_block_00": { "category": "known-gap", "reason": "process.permission and --permission CLI semantics are incomplete in execPath emulation" }, - "block_01_block_01": { "category": "known-gap", "reason": "process.permission and --permission CLI semantics are incomplete in execPath emulation" } + "block_01_block_01": { "category": "known-gap", "reason": "process.permission and --permission CLI semantics are incomplete in execPath emulation" }, + "block_02_block_02": {} } }, "parallel/test-permission-inspector-brk.js": { @@ -7444,9 +7648,11 @@ "block_00_block_00": { "reason": "inherited: uses --expose-internals and internal/test/binding primordials" }, "block_01_block_01": { "reason": "inherited: uses --expose-internals and internal/test/binding primordials" }, "block_02_block_02": { "reason": "inherited: uses --expose-internals and internal/test/binding primordials" }, - "block_03_block_03": { "reason": "inherited: uses --expose-internals and internal/test/binding primordials" }, - "block_04_block_04": { "reason": "inherited: uses --expose-internals and internal/test/binding primordials" }, - "block_05_block_05": { "reason": "inherited: uses --expose-internals and internal/test/binding primordials" } + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": { "reason": "inherited: uses --expose-internals and internal/test/binding primordials" }, + "block_06_block_06": { "reason": "inherited: uses --expose-internals and internal/test/binding primordials" }, + "block_07_block_07": { "reason": "inherited: uses --expose-internals and internal/test/binding primordials" } } }, "parallel/test-primordials-promise.js": { @@ -7490,7 +7696,6 @@ } }, "parallel/test-process-argv-0.js": {}, - "parallel/test-process-assert.js": { "category": "known-gap", "reason": "process.assert() is not implemented" }, "parallel/test-process-binding-internalbinding-allowlist.js": { "category": "node-internals", "reason": "uses internal process.binding allowlist modules" }, "parallel/test-process-binding-util.js": { "category": "node-internals", "reason": "uses internal process.binding('util') API" }, "parallel/test-process-binding.js": { "category": "node-internals", "reason": "uses --expose-internals and internal/test/binding" }, @@ -7534,7 +7739,7 @@ } }, "parallel/test-process-getactiveresources.js": { "category": "known-gap", "reason": "process.getActiveResourcesInfo() is not implemented" }, - "parallel/test-process-getgroups.js": {}, + "parallel/test-process-getgroups.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, "parallel/test-process-kill-null.js": { "category": "wasi-impossible", "reason": "sending host process signals is not supported in WASI" }, "parallel/test-process-load-env-file.js": { "category": "known-gap", "reason": "process.loadEnvFile() behavior is incomplete" }, "parallel/test-process-ppid.js": { "category": "known-gap", "reason": "process.ppid is stubbed and not wired to parent process IDs" }, @@ -7583,10 +7788,6 @@ "block_01_block_01": { "reason": "inherited: queueMicrotask argument validation/error codes are incomplete" } } }, - "parallel/test-quic-internal-endpoint-listen-defaults.js": { "category": "node-internals", "reason": "requires internal/quic/quic classes (non-public API)" }, - "parallel/test-quic-internal-endpoint-options.js": { "category": "node-internals", "reason": "requires internal/quic/quic classes (non-public API)" }, - "parallel/test-quic-internal-endpoint-stats-state.js": { "category": "node-internals", "reason": "requires internal/quic/quic and internal/quic/symbols" }, - "parallel/test-quic-internal-setcallbacks.js": { "category": "node-internals", "reason": "requires internalBinding('quic').setCallbacks" }, "parallel/test-readline-async-iterators-backpressure.js": { "category": "known-gap", "reason": "node:readline createInterface/async iterator API is not implemented" }, "parallel/test-readline-async-iterators-destroy.js": { "category": "known-gap", "reason": "node:readline createInterface/async iterator API is not implemented" }, "parallel/test-readline-async-iterators.js": { "category": "known-gap", "reason": "node:readline createInterface/async iterator API is not implemented" }, @@ -7740,7 +7941,6 @@ "parallel/test-repl-dynamic-import.js": { "category": "wasi-impossible", "reason": "REPL requires interactive terminal, not available in WASM" }, "parallel/test-repl-empty.js": { "category": "wasi-impossible", "reason": "REPL requires interactive terminal, not available in WASM" }, "parallel/test-repl-envvars.js": { "category": "node-internals", "reason": "uses --expose-internals and require('internal/repl')" }, - "parallel/test-repl-eval.js": { "category": "wasi-impossible", "reason": "REPL requires interactive terminal, not available in WASM" }, "parallel/test-repl-function-definition-edge-case.js": { "category": "wasi-impossible", "reason": "REPL requires interactive terminal, not available in WASM" }, "parallel/test-repl-harmony.js": { "category": "wasi-impossible", "reason": "REPL requires interactive terminal, not available in WASM" }, "parallel/test-repl-history-navigation.js": { "category": "node-internals", "reason": "uses --expose-internals and require('internal/repl')" }, @@ -7779,18 +7979,7 @@ "parallel/test-repl-strict-mode-previews.js": { "category": "wasi-impossible", "reason": "REPL requires interactive terminal, not available in WASM" }, "parallel/test-repl-syntax-error-handling.js": {}, "parallel/test-repl-tab-complete-nested-repls.js": { "category": "wasi-impossible", "reason": "REPL requires interactive terminal, not available in WASM" }, - "parallel/test-repl-tab-complete.js": { - "category": "wasi-impossible", - "reason": "REPL requires interactive terminal, not available in WASM", - "split": true, - "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {}, - "block_02_test_tab_completion_for_require_relative_to_the_current_dire": {}, - "block_03_tab_completion_for_files_directories": {}, - "block_04_block_04": {} - } - }, + "parallel/test-repl-tab-complete.js": { "category": "wasi-impossible", "reason": "REPL requires interactive terminal, not available in WASM" }, "parallel/test-repl-tab.js": { "category": "wasi-impossible", "reason": "REPL requires interactive terminal, not available in WASM" }, "parallel/test-repl-throw-null-or-undefined.js": { "category": "wasi-impossible", "reason": "REPL requires interactive terminal, not available in WASM" }, "parallel/test-repl-top-level-await.js": { "category": "node-internals", "reason": "uses --expose-internals and require('internal/util/inspect')" }, @@ -7809,7 +7998,7 @@ "block_01_block_01": { "category": "runnable" } } }, - "parallel/test-require-delete-array-iterator.js": { "category": "runnable" }, + "parallel/test-require-delete-array-iterator.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: value is not iterable" }, "parallel/test-require-dot.js": { "category": "runnable" }, "parallel/test-require-exceptions.js": { "category": "runnable" }, "parallel/test-require-extensions-main.js": { "category": "runnable" }, @@ -7848,8 +8037,13 @@ "parallel/test-runner-assert.js": { "split": true, "subtests": { - "test_00_expected_methods_are_on_t_assert": {}, - "test_01_t_assert_ok_correctly_parses_the_stacktrace": { "category": "known-gap", "reason": "node:test t.assert.ok does not preserve Node-compatible assertion stack formatting" } + "test_00_expected_methods_are_on_t_assert": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "test_01_t_assert_ok_correctly_parses_the_stacktrace": { "category": "known-gap", "reason": "node:test t.assert.ok does not preserve Node-compatible assertion stack formatting" }, + "test_02_t_assert_called": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_03_t_assert_callcount": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_04_t_assert_nthcalledwith": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_05_t_assert_lastcalledwith": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_06_mock_matchers_count_towards_t_plan": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-runner-cli-concurrency.js": { @@ -7888,7 +8082,9 @@ "block_07_block_07": { "category": "wasi-impossible", "reason": "requires spawning a real Node.js CLI process with `--test`" }, "block_08_block_08": { "category": "wasi-impossible", "reason": "requires spawning a real Node.js CLI process with `--test`" }, "block_09_block_09": { "category": "wasi-impossible", "reason": "requires spawning a real Node.js CLI process with `--test`" }, - "block_10_block_10": { "category": "wasi-impossible", "reason": "requires spawning a real Node.js CLI process with `--test`" } + "block_10_block_10": { "category": "wasi-impossible", "reason": "requires spawning a real Node.js CLI process with `--test`" }, + "block_11_block_11": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_12_block_12": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-runner-concurrency.js": { @@ -7918,17 +8114,21 @@ "test_08_coverage_with_excluded_files": {}, "test_09_coverage_with_included_files": {}, "test_10_coverage_with_included_and_excluded_files": {}, - "test_11_correctly_prints_the_coverage_report_of_files_contained_in_p": {} + "test_11_coverage_does_not_include_untested_files_by_default": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_12_coverage_includes_untested_files": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_13_untested_files_honor_coverage_include_and_exclude_globs": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_14_correctly_prints_the_coverage_report_of_files_contained_in_p": {}, + "test_15_coverage_with_directory_and_file_named_file": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-runner-custom-assertions.js": { "split": true, "subtests": { - "test_00_throws_if_name_is_not_a_string": {}, - "test_01_throws_if_fn_is_not_a_function": {}, + "test_00_throws_if_name_is_not_a_string": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, + "test_01_throws_if_fn_is_not_a_function": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, "test_02_invokes_a_custom_assertion_as_part_of_the_test_plan": {}, - "test_03_can_override_existing_assertions": {}, - "test_04_this_is_set_to_the_testcontext": {} + "test_03_can_override_existing_assertions": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, + "test_04_this_is_set_to_the_testcontext": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" } } }, "parallel/test-runner-enable-source-maps-issue.js": {}, @@ -7986,7 +8186,7 @@ "test_11_spy_functions_can_be_bound": {}, "test_12_mocks_prototype_methods_on_an_instance": {}, "test_13_spies_on_async_static_class_methods": {}, - "test_14_given_null_to_a_mock_method_it_throws_a_invalid_argument_err": {}, + "test_14_given_null_to_a_mock_method_it_throws_an_invalid_argument_er": {"category": "runnable", "reason": "carries 22.14.0 subtest test_14_given_null_to_a_mock_method_it_throws_a_invalid_argument_err"}, "test_15_it_should_throw_given_an_inexistent_property_on_a_object_ins": {}, "test_16_spy_functions_can_be_used_on_classes_inheritance": {}, "test_17_spy_functions_don_t_affect_the_prototype_chain": {}, @@ -8004,7 +8204,7 @@ "test_29_method_fails_if_field_is_a_property_instead_of_a_method": {}, "test_30_mocks_can_be_auto_restored": {}, "test_31_mock_implementation_can_be_changed_dynamically": {}, - "test_32_local_mocks_are_auto_restored_after_the_test_finishes": {}, + "test_32_local_mocks_are_auto_restored_after_the_test_finishes": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, "test_33_reset_mock_calls": {}, "test_34_uses_top_level_mock": {}, "test_35_the_getter_and_setter_options_cannot_be_used_together": {}, @@ -8014,31 +8214,46 @@ "test_39_getter_fails_if_getter_options_set_to_false": {}, "test_40_setter_fails_if_setter_options_set_to_false": {}, "test_41_getter_fails_if_setter_options_is_true": {}, - "test_42_setter_fails_if_getter_options_is_true": {} + "test_42_setter_fails_if_getter_options_is_true": {}, + "test_43_spies_on_a_property": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_44_spies_on_a_property_without_providing_a_value": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_45_spies_on_a_symbol_property": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_46_changes_mocked_property_value_dynamically": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_47_mocks_property_value_to_undefined": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_48_resetaccesses_does_not_affect_property_value": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_49_restores_original_property_value": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_50_throws_if_setting_a_non_writable_property": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_51_throws_if_property_does_not_exist": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_52_throws_if_object_is_null": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_53_local_property_mocks_are_auto_restored_after_the_test_finish": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-runner-module-mocking.js": { "split": true, "subtests": { - "test_00_input_validation": { "category": "runnable" }, + "test_00_input_validation": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, "test_01_core_module_mocking_with_namedexports_option": { "category": "runnable" }, "test_02_cjs_mocking_with_namedexports_option": { "category": "runnable" }, "test_03_esm_mocking_with_namedexports_option": { "category": "runnable" }, - "test_04_modules_cannot_be_mocked_multiple_times_at_once": { "category": "runnable" }, - "test_05_mocks_are_automatically_restored": { "category": "runnable" }, - "test_06_mocks_can_be_restored_independently": { "category": "runnable" }, - "test_07_core_module_mocks_can_be_used_by_both_module_systems": { "category": "runnable" }, - "test_08_node_core_module_mocks_can_be_used_by_both_module_systems": { "category": "runnable" }, - "test_09_cjs_mocks_can_be_used_by_both_module_systems": { "category": "runnable" }, - "test_10_relative_paths_can_be_used_by_both_module_systems": { "category": "runnable" }, - "test_11_node_modules_can_be_used_by_both_module_systems": { "category": "known-gap", "reason": "WASM child emulation does not support --experimental-test-module-mocks CLI flag" }, - "test_12_file_imports_are_supported_in_esm_only": { "category": "runnable" }, - "test_13_mocked_modules_do_not_impact_unmocked_modules": { "category": "runnable" }, - "test_14_defaultexports_work_with_cjs_mocks_in_both_module_systems": { "category": "runnable" }, - "test_15_defaultexports_work_with_esm_mocks_in_both_module_systems": { "category": "runnable" }, - "test_16_wrong_import_syntax_should_throw_error_after_module_mocking": { "category": "known-gap", "reason": "WASM child emulation does not support --experimental-test-module-mocks/--experimental-default-type flags" }, - "test_17_should_throw_err_access_denied_when_permission_model_is_enab": { "category": "known-gap", "reason": "WASM child emulation does not support --permission/--experimental-test-module-mocks flags" }, - "test_18_should_work_when_allow_worker_is_passed_and_permission_model": { "category": "known-gap", "reason": "WASM child emulation does not support --permission/--allow-worker/--experimental-test-module-mocks flags" } + "test_04_json_mocking": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_05_modules_cannot_be_mocked_multiple_times_at_once": { "category": "runnable" }, + "test_06_mocks_are_automatically_restored": { "category": "runnable" }, + "test_07_mocks_can_be_restored_independently": { "category": "runnable" }, + "test_08_core_module_mocks_can_be_used_by_both_module_systems": { "category": "runnable" }, + "test_09_node_core_module_mocks_can_be_used_by_both_module_systems": { "category": "runnable" }, + "test_10_cjs_mocks_can_be_used_by_both_module_systems": { "category": "runnable" }, + "test_11_relative_paths_can_be_used_by_both_module_systems": { "category": "runnable" }, + "test_12_node_modules_can_be_used_by_both_module_systems": { "category": "known-gap", "reason": "WASM child emulation does not support --experimental-test-module-mocks CLI flag" }, + "test_13_file_imports_are_supported_in_esm_only": { "category": "runnable" }, + "test_14_mocked_modules_do_not_impact_unmocked_modules": { "category": "runnable" }, + "test_15_defaultexports_work_with_cjs_mocks_in_both_module_systems": { "category": "runnable" }, + "test_16_defaultexports_work_with_esm_mocks_in_both_module_systems": { "category": "runnable" }, + "test_17_exports_option_works_with_core_module_mocks_in_both_module_s": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_18_defaultexports_getter_works_in_both_module_systems": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_19_exports_default_getter_works_in_both_module_systems": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_20_exports_option_supports_default_for_cjs_mocks_in_both_module": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_21_exports_option_supports_default_for_esm_mocks_in_both_module": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_22_wrong_import_syntax_should_throw_error_after_module_mocking": { "category": "known-gap", "reason": "WASM child emulation does not support --experimental-test-module-mocks/--experimental-default-type flags" } } }, "parallel/test-runner-no-isolation-filtering.js": { @@ -8047,8 +8262,10 @@ "split": true, "subtests": { "test_00_works_with_test_only": { "category": "known-gap", "reason": "WASM child emulation does not support Node.js --test TAP filtering behavior" }, - "test_01_works_with_test_name_pattern": { "category": "known-gap", "reason": "WASM child emulation does not support Node.js --test TAP filtering behavior" }, - "test_02_works_with_test_skip_pattern": { "category": "known-gap", "reason": "WASM child emulation does not support Node.js --test TAP filtering behavior" } + "test_01_works_without_test_only": {}, + "test_02_works_with_test_name_pattern": { "category": "known-gap", "reason": "WASM child emulation does not support Node.js --test TAP filtering behavior" }, + "test_03_filtered_suites_with_an_async_build_do_not_leave_cancelled_t": {}, + "test_04_works_with_test_skip_pattern": { "category": "known-gap", "reason": "WASM child emulation does not support Node.js --test TAP filtering behavior" } } }, "parallel/test-runner-option-validation.js": {}, @@ -8073,7 +8290,8 @@ "test_02_setresolvesnapshotpath": {}, "test_03_setdefaultsnapshotserializers": {}, "test_04_t_assert_snapshot": {}, - "test_05_snapshots_from_multiple_files_isolation_none": {} + "test_05_special_characters_are_allowed": {}, + "test_06_snapshots_from_multiple_files_isolation_none": {} } }, "parallel/test-runner-string-to-regexp.js": { "category": "node-internals", "reason": "requires internal/test_runner/utils.convertStringToRegExp" }, @@ -8088,8 +8306,9 @@ "parallel/test-runner-test-fullname.js": { "split": true, "subtests": { - "test_00_suite": {}, - "test_01_test_01": {} + "test_00_suite": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "test_01_test_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, + "test_02_suite_with_context_checks": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-runner-typechecking.js": {}, @@ -8152,36 +8371,6 @@ "parallel/test-signal-handler.js": { "category": "wasi-impossible", "reason": "process.kill signal handling is not supported in WASI" }, "parallel/test-signal-safety.js": { "category": "node-internals", "reason": "requires internal/test/binding signal_wrap internalBinding" }, "parallel/test-signal-unregister.js": { "category": "wasi-impossible", "reason": "child process signal termination semantics are not available in WASI" }, - "parallel/test-single-executable-blob-config-errors.js": { - "category": "wasi-impossible", - "reason": "Node.js SEA packaging, not available in WASM", - "split": true, - "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {}, - "block_02_block_02": {}, - "block_03_block_03": {}, - "block_04_block_04": {}, - "block_05_block_05": {}, - "block_06_block_06": {}, - "block_07_block_07": {}, - "block_08_block_08": {}, - "block_09_block_09": {}, - "block_10_block_10": {} - } - }, - "parallel/test-single-executable-blob-config.js": { - "category": "wasi-impossible", - "reason": "Node.js SEA packaging, not available in WASM", - "split": true, - "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {}, - "block_02_block_02": {}, - "block_03_block_03": {}, - "block_04_block_04": {} - } - }, "parallel/test-snapshot-api.js": { "category": "engine-difference", "reason": "depends on V8 startup snapshot APIs and --build-snapshot behavior unavailable in QuickJS", @@ -8415,63 +8604,69 @@ }, "parallel/test-source-map-cjs-require-cache.js": { "category": "known-gap", "reason": "asserts a CJS module's source map stays findable until GC reclaims the module; QuickJS reference counting reclaims the module as soon as its require.cache and module.children references are dropped, so the pre-GC precondition cannot hold — a tracing-GC vs refcount engine difference" }, "parallel/test-spawn-cmd-named-pipe.js": { "category": "wasi-impossible", "reason": "Windows-only named pipe/cmd shell behavior is not available in WASI" }, - "parallel/test-sqlite-custom-functions.js": {}, - "parallel/test-sqlite-data-types.js": {}, - "parallel/test-sqlite-database-sync.js": { + "parallel/test-sqlite-custom-functions.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 10 test(s) failed" }, + "parallel/test-sqlite-data-types.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 7 test(s) failed" }, + "parallel/test-sqlite-named-parameters.js": { "split": true, "subtests": { - "test_00_databasesync_constructor": {}, - "test_01_databasesync_prototype_open": {}, - "test_02_databasesync_prototype_close": {}, - "test_03_databasesync_prototype_prepare": {}, - "test_04_databasesync_prototype_exec": {} + "test_00_named_parameters": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 4 test(s) failed" }, + "test_01_statement_prototype_setallowunknownnamedparameters": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 3 test(s) failed" }, + "test_02_options_allowunknownnamedparameters": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 5 test(s) failed" } } }, - "parallel/test-sqlite-named-parameters.js": {}, "parallel/test-sqlite-session.js": { "split": true, "subtests": { - "test_00_creating_and_applying_a_changeset": {}, - "test_01_database_createsession_closed_database_results_in_exception": {}, - "test_02_session_changeset_closed_database_results_in_exception": {}, - "test_03_database_applychangeset_closed_database_results_in_exception": {}, - "test_04_database_createsession_use_table_option_to_track_specific_ta": {}, - "test_05_conflict_resolution": { "category": "known-gap", "reason": "node:sqlite applyChangeset conflict-resolution behavior is incomplete" }, - "test_06_database_createsession_filter_changes": {}, - "test_07_database_createsession_specify_other_database": {}, - "test_08_database_createsession_wrong_arguments": {}, - "test_09_database_applychangeset_wrong_arguments": {}, - "test_10_session_patchset": {}, - "test_11_session_close_using_session_after_close_throws_exception": {}, - "test_12_session_close_after_closing_database_throws_exception": {}, - "test_13_session_close_closing_twice": {} - } - }, - "parallel/test-sqlite-statement-sync.js": { - "split": true, - "subtests": { - "test_00_statementsync_constructor": {}, - "test_01_statementsync_prototype_get": {}, - "test_02_statementsync_prototype_all": {}, - "test_03_statementsync_prototype_iterate": {}, - "test_04_statementsync_prototype_run": {}, - "test_05_statementsync_prototype_sourcesql": {}, - "test_06_statementsync_prototype_expandedsql": { "category": "known-gap", "reason": "node:sqlite rejects mixed named+positional parameters where Node accepts them" }, - "test_07_statementsync_prototype_setreadbigints": {}, - "test_08_statementsync_prototype_setallowbarenamedparameters": {} + "test_00_creating_and_applying_a_changeset": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "test_01_database_createsession_closed_database_results_in_exception": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "test_02_session_changeset_closed_database_results_in_exception": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "test_03_session_methods_reopened_database_results_in_exception": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_04_database_applychangeset_closed_database_results_in_exception": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "test_05_database_createsession_use_table_option_to_track_specific_ta": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "test_06_conflict_resolution": { "category": "known-gap", "reason": "node:sqlite applyChangeset conflict-resolution behavior is incomplete" }, + "test_07_filter_handler_throws": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_08_database_applychangeset_changeset_detached_by_filter": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_09_database_applychangeset_changeset_detached_by_sql_function": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_10_database_createsession_filter_changes": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "test_11_database_createsession_specify_other_database": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "test_12_database_createsession_wrong_arguments": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "test_13_database_applychangeset_wrong_arguments": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "test_14_database_applychangeset_malformed_changeset_returns_sqlite_c": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_15_session_patchset": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "test_16_session_close_using_session_after_close_throws_exception": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "test_17_session_close_after_closing_database_throws_exception": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "test_18_session_close_closing_twice": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "test_19_session_close_and_dispose_while_generating_changes_throws_ex": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_20_session_symbol_dispose_closed_session_is_a_no_op": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_21_session_symbol_dispose_after_closing_database_is_a_no_op": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_22_session_close_from_a_callback": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_23_session_keeps_its_database_alive_after_the_db_handle_is_drop": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_24_session_survives_gc_during_an_authorizer_callback": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_25_session_survives_gc_during_a_sqlite_db_query_subscriber": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_26_session_supports_erm": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_27_concurrent_applychangeset_with_workers": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } + } + }, + "parallel/test-sqlite-transactions.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 2 test(s) failed" }, + "parallel/test-sqlite-typed-array-and-data-view.js": { + "split": true, + "subtests": { + "test_00_statement_with_typedarray_dataview": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 12 test(s) failed" }, + "test_01_statement_with_arraybuffer_and_sharedarraybuffer": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 4 test(s) failed" } } }, - "parallel/test-sqlite-transactions.js": {}, - "parallel/test-sqlite-typed-array-and-data-view.js": {}, "parallel/test-sqlite.js": { "split": true, "subtests": { "test_00_accessing_the_node_sqlite_module": { "category": "known-gap", "reason": "WASM child emulation does not support --no-experimental-sqlite CLI flag" }, - "test_01_err_sqlite_error_is_thrown_for_errors_originating_from_sqlit": {}, - "test_02_in_memory_databases_are_supported": {}, + "test_01_err_sqlite_error_is_thrown_for_errors_originating_from_sqlit": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "test_02_in_memory_databases_are_supported": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, "test_03_sqlite_constants_are_defined": {}, - "test_04_pragmas_are_supported": {}, - "test_05_math_functions_are_enabled": {} + "test_04_pragmas_are_supported": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "test_05_buffer_is_supported_as_the_database_path": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_06_url_is_supported_as_the_database_path": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_07_uri_query_params": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_08_sql_apis_enabled_at_build_time": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 10 test(s) failed; carries 22.14.0 subtest test_05_math_functions_are_enabled" } } }, "parallel/test-stack-size-limit.js": { "category": "wasi-impossible", "reason": "requires a real subprocess with independent stack-size overflow handling" }, @@ -8485,15 +8680,7 @@ "block_02_block_02": { "category": "engine-difference", "reason": "QuickJS does not mirror V8's legacy RegExp static properties initialization" } } }, - "parallel/test-startup-large-pages.js": { - "category": "unevaluated", - "reason": "newly discovered, not yet evaluated", - "split": true, - "subtests": { - "block_00_block_00": { "category": "engine-difference", "reason": "--use-largepages is a V8 startup flag not applicable to QuickJS/WASM" }, - "block_01_block_01": { "category": "engine-difference", "reason": "--use-largepages is a V8 startup flag not applicable to QuickJS/WASM" } - } - }, + "parallel/test-startup-large-pages.js": { "category": "engine-difference", "reason": "--use-largepages is a V8 startup flag not applicable to QuickJS/WASM" }, "parallel/test-stdin-child-proc.js": {}, "parallel/test-stdin-from-file-spawn.js": { "category": "wasi-impossible", "reason": "test is gated to Linux/macOS/Windows shell behavior and excludes WASI" }, "parallel/test-stdin-from-file.js": {}, @@ -8522,7 +8709,6 @@ } }, "parallel/test-stream-base-prototype-accessors-enumerability.js": { "category": "node-internals", "reason": "requires internalBinding('tty_wrap').TTY" }, - "parallel/test-stream-base-typechecking.js": {}, "parallel/test-stream-catch-rejections.js": { "split": true, "subtests": { @@ -8530,19 +8716,6 @@ "block_01_block_01": {} } }, - "parallel/test-stream-compose-operator.js": { - "split": true, - "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {}, - "block_02_block_02": {}, - "block_03_block_03": {}, - "block_04_block_04": {}, - "block_05_block_05": {}, - "block_06_block_06": {}, - "block_07_block_07": {} - } - }, "parallel/test-stream-compose.js": { "split": true, "subtests": { @@ -8566,8 +8739,9 @@ "block_17_block_17": { "category": "known-gap", "reason": "stream edge case not yet handled" }, "block_18_block_18": {}, "block_19_block_19": {}, - "block_20_block_20": {}, - "block_21_block_21": {} + "block_20_block_20": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "block_21_block_21": {}, + "block_22_skipped_if_canpushmore_returns_false_on_the_final_done_true_": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-stream-duplex-readable-writable.js": { @@ -8639,12 +8813,13 @@ "block_33_block_33": {}, "block_34_block_34": { "category": "known-gap", "reason": "stream.finished hangs in destroyed-stream callback ordering path" }, "block_35_block_35": {}, - "block_36_block_36": {}, + "block_36_block_36": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "block_37_block_37": {}, "block_38_block_38": {}, "block_39_block_39": {}, - "block_40_block_40": {}, - "block_41_block_41": { "category": "known-gap", "reason": "stream edge case not yet handled" } + "block_40_block_40": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Cannot find module 'internal/streams/end-of-stream'; carries 22.14.0 subtest block_39_block_39" }, + "block_41_block_41": {}, + "block_42_block_42": { "category": "known-gap", "reason": "stream edge case not yet handled" } } }, "parallel/test-stream-pipe-unpipe-streams.js": { @@ -8661,23 +8836,23 @@ "subtests": { "block_00_block_00": {}, "block_01_block_01": {}, - "block_02_block_02": {}, + "block_02_block_02": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "block_03_block_03": {}, "block_04_block_04": {}, "block_05_block_05": {}, "block_06_block_06": {}, "block_07_block_07": {}, "block_08_block_08": { "category": "wasi-impossible", "reason": "requires full-duplex HTTP request/response streaming semantics not provided by wasi:http" }, - "block_09_block_09": {}, + "block_09_block_09": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Test timed out after 120s" }, "block_10_block_10": {}, - "block_11_block_11": {}, + "block_11_block_11": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "block_12_block_12": {}, "block_13_block_13": {}, "block_14_block_14": {}, "block_15_block_15": {}, "block_16_block_16": {}, "block_17_block_17": {}, - "block_18_block_18": {}, + "block_18_block_18": {"category": "runnable", "reason": "carries 22.14.0 subtest block_17_block_17"}, "block_19_block_19": {}, "block_20_block_20": {}, "block_21_block_21": {}, @@ -8704,21 +8879,21 @@ "block_42_block_42": {}, "block_43_block_43": {}, "block_44_block_44": {}, - "block_45_block_45": {}, + "block_45_block_45": {"category": "runnable", "reason": "carries 22.14.0 subtest block_44_block_44"}, "block_46_block_46": {}, "block_47_block_47": {}, "block_48_block_48": {}, "block_49_block_49": {}, - "block_50_block_50": {}, + "block_50_block_50": {"category": "runnable", "reason": "carries 22.14.0 subtest block_49_block_49"}, "block_51_block_51": {}, "block_52_block_52": {}, "block_53_block_53": {}, "block_54_block_54": {}, "block_55_block_55": {}, "block_56_block_56": {}, - "block_57_block_57": {}, + "block_57_block_57": { "category": "runnable", "reason": "carries 22.14.0 subtest block_56_block_56" }, "block_58_block_58": {}, - "block_59_block_59": {}, + "block_59_block_59": {"category": "runnable", "reason": "carries 22.14.0 subtest block_58_block_58"}, "block_60_block_60": {}, "block_61_block_61": {}, "block_62_block_62": {}, @@ -8734,11 +8909,15 @@ "block_72_block_72": {}, "block_73_block_73": {}, "block_74_block_74": {}, - "block_75_block_75": { "category": "known-gap", "reason": "stream edge case not yet handled" }, - "block_76_block_76": {}, + "block_75_block_75": {}, + "block_76_block_76": { "category": "known-gap", "reason": "stream edge case not yet handled" }, "block_77_block_77": {}, - "block_78_block_78": {}, - "block_79_block_79": {} + "block_78_block_78": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, + "block_79_block_79": {}, + "block_80_block_80": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_81_block_81": {"category": "runnable", "reason": "carries 22.14.0 subtest block_79_block_79"}, + "block_82_block_82": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_83_block_83": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-stream-preprocess.js": {}, @@ -8774,7 +8953,6 @@ "block_02_block_02": {} } }, - "parallel/test-stream-readable-to-web.js": { "category": "known-gap", "reason": "Readable.toWeb() with crypto randomBytes pressure can trap in web_crypto random_bytes" }, "parallel/test-stream-readable-with-unimplemented-_read.js": {}, "parallel/test-stream-transform-split-highwatermark.js": { "split": true, @@ -8789,7 +8967,7 @@ "block_00_block_00": {}, "block_01_block_01": {}, "block_02_block_02": {}, - "block_03_block_03": {}, + "block_03_block_03": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, "block_04_block_04": {} } }, @@ -8806,8 +8984,14 @@ "parallel/test-stream-wrap.js": { "category": "node-internals", "reason": "requires --expose-internals plus internal/js_stream_socket and internalBinding('stream_wrap')" }, "parallel/test-stream-writable-change-default-encoding.js": {}, "parallel/test-stream-writable-decoded-encoding.js": { + "split": true, "subtests": { - "block_02_block_02": {} + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {} } }, "parallel/test-stream-writable-destroy.js": { @@ -8902,50 +9086,31 @@ } }, "parallel/test-structuredClone-global.js": { - "split": true, "isolateBlockSubtests": true, + "split": true, "subtests": { - "block_00_statement_00": { - "category": "node-internals", - "reason": "Common test harness setup only; no public API assertion" - }, - "block_01_statement_01": { - "category": "runnable" - }, - "block_02_statement_02": { - "category": "runnable" - }, - "block_03_statement_03": { - "category": "runnable" - }, - "block_04_statement_04": { - "category": "runnable" - }, - "block_05_statement_05": { - "category": "runnable" - }, - "block_06_statement_06": { - "category": "runnable" - }, - "block_07_options_can_be_null_or_undefined": { - "category": "runnable" - }, - "block_08_statement_08": { - "category": "runnable" - }, - "block_09_transfer_can_be_null_or_undefined": { - "category": "runnable" - }, - "block_10_transferables_or_its_subclasses_should_be_received_with_its_": { - "category": "known-gap", - "reason": "Usable stream transfer is not implemented; prototype-only stream shells are not supported" - }, - "block_11_block_11": { - "category": "runnable" - }, - "block_12_statement_12": { - "category": "runnable" - } + "block_00_statement_00": { "category": "node-internals", "reason": "Common test harness setup only; no public API assertion" }, + "block_01_statement_01": { "category": "runnable" }, + "block_02_statement_02": { "category": "runnable" }, + "block_03_statement_03": { "category": "runnable" }, + "block_04_statement_04": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "block_05_statement_05": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "block_06_statement_06": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "block_07_options_can_be_null_or_undefined": { "category": "runnable" }, + "block_08_statement_08": { "category": "runnable" }, + "block_09_transfer_can_be_null_or_undefined": { "category": "runnable" }, + "block_10_primitives_clone_to_themselves": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_11_statement_11": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_12_statement_12": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_13_statement_13": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_14_statement_14": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_15_0_is_preserved": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_16_symbols_are_not_cloneable_and_must_throw": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_17_transferables_or_its_subclasses_should_be_received_with_its_": { "category": "known-gap", "reason": "Usable stream transfer is not implemented; prototype-only stream shells are not supported" }, + "block_18_statement_18": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_19_transfer_can_be_iterable": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_20_block_20": { "category": "runnable" }, + "block_21_statement_21": { "category": "runnable" } } }, "parallel/test-sync-io-option.js": { "category": "known-gap", "reason": "--trace-sync-io diagnostics are not implemented in execPath emulation" }, @@ -9079,15 +9244,7 @@ "parallel/test-tls-error-servername.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-error-stack.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-exportkeyingmaterial.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, - "parallel/test-tls-external-accessor.js": { - "category": "wasi-impossible", - "reason": "tls is not supported in WebAssembly environment", - "split": true, - "subtests": { - "block_00_ensure_accessing_external_doesn_t_hit_an_assert_in_the_acces": {}, - "block_01_block_01": {} - } - }, + "parallel/test-tls-external-accessor.js": { "category": "wasi-impossible", "reason": "tls is not supported in WebAssembly environment" }, "parallel/test-tls-fast-writing.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-finished.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-friendly-error-message.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, @@ -9097,14 +9254,12 @@ "parallel/test-tls-getprotocol.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-handshake-error.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-handshake-exception.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, - "parallel/test-tls-handshake-nohang.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-hello-parser-failure.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-honorcipherorder.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-inception.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-interleave.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-invalid-pfx.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-invoke-queued.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, - "parallel/test-tls-ip-servername-deprecation.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-js-stream.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-junk-closes-server.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-junk-server.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, @@ -9112,7 +9267,6 @@ "parallel/test-tls-keyengine-invalid-arg-type.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-keyengine-unsupported.js": { "category": "node-internals", "reason": "uses --expose-internals to monkey-patch internalBinding('crypto').SecureContext" }, "parallel/test-tls-keylog-tlsv13.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, - "parallel/test-tls-legacy-deprecated.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-legacy-pfx.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-max-send-fragment.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-min-max-version.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, @@ -9148,9 +9302,6 @@ "parallel/test-tls-root-certificates.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-secure-context-usage-order.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-secure-session.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, - "parallel/test-tls-securepair-fiftharg.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, - "parallel/test-tls-securepair-leak.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, - "parallel/test-tls-securepair-server.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-server-capture-rejection.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-server-connection-server.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-server-failed-handshake-emits-clienterror.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, @@ -9164,10 +9315,17 @@ } }, "parallel/test-tls-server-setkeycert.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, - "parallel/test-tls-server-setoptions-clientcertengine.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-server-verify.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-session-cache.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, - "parallel/test-tls-set-ciphers-error.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, + "parallel/test-tls-set-ciphers-error.js": { + "category": "wasi-impossible", + "reason": "tls/https is not supported in WebAssembly environment", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_case_insensitive_starting_with_openssl_4_0": {} + } + }, "parallel/test-tls-set-ciphers.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-set-encoding.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-set-secure-context.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, @@ -9225,40 +9383,21 @@ "parallel/test-tls-writewrap-leak.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tls-zero-clear-in.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "parallel/test-tojson-perf_hooks.js": { "category": "known-gap", "reason": "perf_hooks performance.toJSON() does not expose nodeTiming yet" }, - "parallel/test-trace-atomic-deprecation.js": { "category": "known-gap", "reason": "execPath child emulation does not support --trace-atomics-wait CLI behavior" }, - "parallel/test-trace-atomics-wait.js": { "category": "wasi-impossible", "reason": "requires Atomics.wait tracing across worker threads" }, "parallel/test-trace-env-stack.js": { "category": "known-gap", "reason": "--trace-env-{js,native}-stack diagnostics are not implemented in execPath emulation" }, "parallel/test-trace-env.js": { "category": "known-gap", "reason": "--trace-env diagnostics are not implemented in execPath emulation" }, - "parallel/test-trace-events-all.js": {}, "parallel/test-trace-events-api-worker-disabled.js": { "category": "wasi-impossible", "reason": "Requires real Worker execution; constructing an inert Worker is not supported" }, - "parallel/test-trace-events-api.js": { "category": "node-internals", "reason": "uses --expose-internals and internalBinding('trace_events')" }, "parallel/test-trace-events-async-hooks-dynamic.js": { "category": "known-gap", "reason": "trace_events dynamic file output for node.async_hooks is incomplete" }, - "parallel/test-trace-events-async-hooks-worker.js": { "category": "wasi-impossible", "reason": "requires worker_threads trace propagation" }, - "parallel/test-trace-events-async-hooks.js": {}, "parallel/test-trace-events-binding.js": { "category": "node-internals", "reason": "requires internalBinding('trace_events')" }, - "parallel/test-trace-events-bootstrap.js": {}, "parallel/test-trace-events-category-used.js": { "category": "node-internals", "reason": "uses --expose-internals and internalBinding('trace_events')" }, "parallel/test-trace-events-console.js": { "category": "known-gap", "reason": "trace_events node.console category output is incomplete" }, "parallel/test-trace-events-dynamic-enable-workers-disabled.js": { "category": "wasi-impossible", "reason": "inspector NodeTracing domain is unavailable in WASM" }, "parallel/test-trace-events-dynamic-enable.js": { "category": "wasi-impossible", "reason": "inspector NodeTracing domain is unavailable in WASM" }, - "parallel/test-trace-events-environment.js": { "category": "known-gap", "reason": "trace_events node.environment category output is incomplete" }, - "parallel/test-trace-events-file-pattern.js": {}, "parallel/test-trace-events-fs-async.js": { "category": "known-gap", "reason": "execPath child emulation does not yet support trace-events CLI arg parsing used by -e runs" }, - "parallel/test-trace-events-fs-sync.js": { "category": "known-gap", "reason": "execPath child emulation does not yet support trace-events CLI arg parsing used by -e runs" }, "parallel/test-trace-events-get-category-enabled-buffer.js": { "category": "node-internals", "reason": "uses --expose-internals and internalBinding('trace_events')" }, - "parallel/test-trace-events-http.js": {}, "parallel/test-trace-events-metadata.js": {}, - "parallel/test-trace-events-net-abstract-socket.js": { "category": "wasi-impossible", "reason": "requires Linux abstract UNIX socket tracing" }, - "parallel/test-trace-events-net.js": {}, - "parallel/test-trace-events-none.js": {}, - "parallel/test-trace-events-process-exit.js": {}, - "parallel/test-trace-events-promises.js": {}, - "parallel/test-trace-events-threadpool.js": { "category": "wasi-impossible", "reason": "requires libuv threadpool trace categories" }, - "parallel/test-trace-events-v8.js": {}, - "parallel/test-trace-events-vm.js": {}, "parallel/test-trace-events-worker-metadata-with-name.js": { "category": "wasi-impossible", "reason": "Requires real Worker execution; constructing an inert Worker is not supported" @@ -9445,8 +9584,8 @@ "block_01_statement_01": { "category": "runnable" }, "block_02_statement_02": { "category": "known-gap", "reason": "SourceTextModule evaluation timeout does not interrupt an infinite loop" }, "block_03_check_the_generated_identifier_for_each_module": { "category": "known-gap", "reason": "SourceTextModule identifiers are not incremented per VM context like Node" }, - "block_04_check_inspection_of_the_instance": { "category": "runnable" }, - "block_05_block_05": { "category": "runnable" }, + "block_04_check_inspection_of_the_instance": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "block_05_block_05": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, "block_06_check_dependencies_getter_returns_same_object_every_time": { "category": "runnable" }, "block_07_check_the_impossibility_of_creating_an_abstract_instance_of_": { "category": "runnable" }, "block_08_check_to_throws_invalid_exportnames": { "category": "runnable" }, @@ -9457,14 +9596,14 @@ } }, "parallel/test-vm-module-cached-data.js": { "category": "engine-difference", "reason": "SourceTextModule cachedData depends on V8 code cache internals unavailable in QuickJS" }, - "parallel/test-vm-module-dynamic-import.js": { "category": "runnable" }, + "parallel/test-vm-module-dynamic-import.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, "parallel/test-vm-module-dynamic-namespace.js": { "category": "runnable" }, - "parallel/test-vm-module-errors.js": { "category": "runnable" }, + "parallel/test-vm-module-errors.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception (Ty" }, "parallel/test-vm-module-import-meta.js": { "category": "runnable" }, "parallel/test-vm-module-link.js": { "category": "runnable" }, "parallel/test-vm-module-reevaluate.js": { "category": "runnable" }, "parallel/test-vm-module-referrer-realm.mjs": { "category": "engine-difference", "reason": "vm.SourceTextModule dynamic import referrer realm semantics depend on Node VM realm behavior not modeled by the QuickJS host" }, - "parallel/test-vm-module-synthetic.js": { "category": "runnable" }, + "parallel/test-vm-module-synthetic.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): Error: Module status must not be unlinked or l" }, "parallel/test-vm-new-script-new-context.js": { "split": true, "subtests": { @@ -9503,7 +9642,6 @@ "parallel/test-vm-timeout-escape-promise.js": { "category": "known-gap", "reason": "timeout enforcement with microtaskMode='afterEvaluate' is incomplete" }, "parallel/test-vm-timeout.js": { "category": "known-gap", "reason": "vm timeout interrupt is surfaced as a wasm trap instead of ERR_SCRIPT_EXECUTION_TIMEOUT" }, "parallel/test-warn-sigprof.js": { "category": "wasi-impossible", "reason": "inspector/debugger is not available in WASM" }, - "parallel/test-warn-stream-wrap.js": { "category": "node-internals", "reason": "requires deprecated private _stream_wrap module" }, "parallel/test-webcrypto-constructors.js": { "split": true, "subtests": { @@ -9525,7 +9663,9 @@ "block_15_test_subtlecrypto_prototype_exportkey": {}, "block_16_test_subtlecrypto_prototype_wrapkey": {}, "block_17_test_subtlecrypto_prototype_unwrapkey": {}, - "block_18_block_18": {} + "block_18_test_subtlecrypto_supports": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_19_test_subtlecrypto_prototype_getpublickey": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_20_block_20": { "category": "runnable", "reason": "carries 22.14.0 subtest block_18_block_18" } } }, "parallel/test-webcrypto-cryptokey-workers.js": { "category": "wasi-impossible", "reason": "requires Worker threads with structured clone of CryptoKey" }, @@ -9539,7 +9679,8 @@ "block_00_test_ecdh_bit_derivation": { "category": "known-gap", "reason": "WebCrypto ECDH P-521 deriveBits is not implemented" }, "block_01_test_hkdf_bit_derivation": {}, "block_02_test_pbkdf2_bit_derivation": {}, - "block_03_test_x25519_and_x448_bit_derivation": { "category": "known-gap", "reason": "WebCrypto X25519/X448 deriveBits is not implemented" } + "block_03_test_pbkdf2_rejects_iteration_counts_beyond_the_native_signe": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_04_test_x25519_and_x448_bit_derivation": { "category": "known-gap", "reason": "WebCrypto X25519/X448 deriveBits is not implemented" } } }, "parallel/test-webcrypto-derivekey-cfrg.js": { "category": "known-gap", "reason": "X25519/X448 deriveKey compatibility is incomplete" }, @@ -9560,9 +9701,9 @@ "parallel/test-webcrypto-encrypt-decrypt-aes.js": { "split": true, "subtests": { - "block_00_test_aes_cbc_vectors": {}, - "block_01_test_aes_ctr_vectors": {}, - "block_02_test_aes_gcm_vectors": {}, + "block_00_test_aes_cbc_vectors": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "block_01_test_aes_ctr_vectors": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "block_02_test_aes_gcm_vectors": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, "block_03_block_03": {} } }, @@ -9570,10 +9711,9 @@ "parallel/test-webcrypto-encrypt-decrypt.js": { "split": true, "subtests": { - "block_00_test_encrypt_decrypt_rsa_oaep": {}, - "block_01_test_encrypt_decrypt_aes_ctr": {}, - "block_02_test_encrypt_decrypt_aes_cbc": {}, - "block_03_test_encrypt_decrypt_aes_gcm": {} + "block_00_test_encrypt_decrypt_aes_ctr": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "block_01_test_encrypt_decrypt_aes_cbc": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "block_02_test_encrypt_decrypt_aes_gcm": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" } } }, "parallel/test-webcrypto-export-import-cfrg.js": { "category": "known-gap", "reason": "OKP (Ed/X) key import/export compatibility is incomplete" }, @@ -9590,11 +9730,13 @@ "parallel/test-webcrypto-export-import.js": { "split": true, "subtests": { - "block_00_block_00": {}, - "block_01_import_export_hmac_secret_key": {}, - "block_02_import_export_aes_secret_key": {}, - "block_03_import_export_rsa_key_pairs": {}, - "block_04_import_export_ec_key_pairs": {} + "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Da" }, + "block_01_hmac_non_byte_key_lengths": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_02_import_export_hmac_secret_key": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Da" }, + "block_03_import_export_aes_secret_key": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Da" }, + "block_04_import_export_rsa_key_pairs": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Da" }, + "block_05_import_export_ec_key_pairs": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Da" }, + "block_06_block_06": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-webcrypto-getRandomValues.js": {}, @@ -9605,21 +9747,22 @@ "subtests": { "block_00_test_invalid_algorithms": { "reason": "requires internal/crypto/util" }, "block_01_test_bad_usages": { "reason": "requires internal/crypto/util" }, - "block_02_test_rsa_key_generation": { "reason": "requires internal/crypto/util" }, - "block_03_test_ec_key_generation": { "reason": "requires internal/crypto/util" }, - "block_04_test_aes_key_generation": { "reason": "requires internal/crypto/util" }, - "block_05_test_hmac_key_generation": { "reason": "requires internal/crypto/util" }, - "block_06_block_06": { "reason": "requires internal/crypto/util" }, - "block_07_test_okp_key_generation": { "reason": "requires internal/crypto/util" } + "block_02_test_cryptokeypair_prototype": {}, + "block_03_test_rsa_key_generation": { "reason": "requires internal/crypto/util" }, + "block_04_test_ec_key_generation": { "reason": "requires internal/crypto/util" }, + "block_05_test_aes_key_generation": { "reason": "requires internal/crypto/util" }, + "block_06_test_hmac_key_generation": { "reason": "requires internal/crypto/util" }, + "block_07_block_07": { "reason": "requires internal/crypto/util" }, + "block_08_test_okp_key_generation": { "reason": "requires internal/crypto/util" } } }, "parallel/test-webcrypto-random.js": { "split": true, "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {}, - "block_02_block_02": {}, - "block_03_block_03": {} + "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The error is expected to be an instance of \"TypeError\". Received \"DOMException\"" }, + "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The error is expected to be an instance of \"TypeError\". Received \"DOMException\"" }, + "block_02_block_02": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The error is expected to be an instance of \"TypeError\". Received \"DOMException\"" }, + "block_03_block_03": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The error is expected to be an instance of \"TypeError\". Received \"DOMException\"" } } }, "parallel/test-webcrypto-sign-verify-ecdsa.js": { "category": "known-gap", "reason": "ECDSA key import/sign/verify compatibility for test vectors is incomplete" }, @@ -9633,11 +9776,21 @@ "block_01_test_sign_verify_rsa_pss": {}, "block_02_test_sign_verify_ecdsa": {}, "block_03_test_sign_verify_hmac": {}, - "block_04_test_sign_verify_ed25519": {}, - "block_05_test_sign_verify_ed448": {} + "block_04_test_sign_verify_ed25519": {} + } + }, + "parallel/test-webcrypto-util.js": { + "category": "node-internals", + "reason": "requires --expose-internals and internal/crypto/util", + "split": true, + "subtests": { + "block_00_operator_yields_a_negative_int32_for_inputs_like_0x80_0x00_0": {}, + "block_01_block_01": {}, + "block_02_refs_https_github_com_web_platform_tests_wpt_pull_57614_pull": {}, + "block_03_block_03": {}, + "block_04_block_04": {} } }, - "parallel/test-webcrypto-util.js": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/util" }, "parallel/test-webcrypto-webidl.js": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl", @@ -9646,31 +9799,34 @@ "block_00_required_arguments_length": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, "block_01_boolean": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, "block_02_https_webidl_spec_whatwg_org_abstract_opdef_converttoint": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, - "block_03_domstring": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, - "block_04_object": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, - "block_05_uint8array": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, - "block_06_buffersource": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, - "block_07_cryptokey": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, - "block_08_algorithmidentifier_union_for_object_or_domstring": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, - "block_09_jsonwebkey": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, - "block_10_keyformat": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, - "block_11_keyusage": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, - "block_12_algorithm": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, - "block_13_rsahashedkeygenparams": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, - "block_14_rsahashedimportparams": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, - "block_15_rsapssparams": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, - "block_16_rsaoaepparams": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, - "block_17_eckeyimportparams_eckeygenparams": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, - "block_18_ecdsaparams": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, - "block_19_hmackeygenparams_hmacimportparams": { "reason": "inherited: requires --expose-internals and internal/crypto/webidl" }, - "block_20_aeskeygenparams_aesderivedkeyparams": { "reason": "inherited: requires --expose-internals and internal/crypto/webidl" }, - "block_21_hkdfparams": { "reason": "inherited: requires --expose-internals and internal/crypto/webidl" }, - "block_22_pbkdf2params": { "reason": "inherited: requires --expose-internals and internal/crypto/webidl" }, - "block_23_aescbcparams": { "reason": "inherited: requires --expose-internals and internal/crypto/webidl" }, - "block_24_aesgcmparams": { "reason": "inherited: requires --expose-internals and internal/crypto/webidl" }, - "block_25_aesctrparams": { "reason": "inherited: requires --expose-internals and internal/crypto/webidl" }, - "block_26_ecdhkeyderiveparams": { "reason": "inherited: requires --expose-internals and internal/crypto/webidl" }, - "block_27_ed448params": { "reason": "inherited: requires --expose-internals and internal/crypto/webidl" } + "block_03_enforcerange_integer_dictionary_members": {}, + "block_04_domstring": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, + "block_05_object": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, + "block_06_uint8array": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, + "block_07_buffersource": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, + "block_08_cryptokey": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, + "block_09_algorithmidentifier_union_for_object_or_domstring": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, + "block_10_jsonwebkey": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, + "block_11_keyformat": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, + "block_12_keyusage": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, + "block_13_algorithm": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, + "block_14_rsahashedkeygenparams": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, + "block_15_rsahashedimportparams": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, + "block_16_rsapssparams": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, + "block_17_rsaoaepparams": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, + "block_18_eckeyimportparams_eckeygenparams": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, + "block_19_ecdsaparams": { "category": "node-internals", "reason": "requires --expose-internals and internal/crypto/webidl" }, + "block_20_hmackeygenparams_hmacimportparams": { "reason": "inherited: requires --expose-internals and internal/crypto/webidl" }, + "block_21_aeskeygenparams_aesderivedkeyparams": { "reason": "inherited: requires --expose-internals and internal/crypto/webidl" }, + "block_22_hkdfparams": { "reason": "inherited: requires --expose-internals and internal/crypto/webidl" }, + "block_23_pbkdf2params": { "reason": "inherited: requires --expose-internals and internal/crypto/webidl" }, + "block_24_argon2params": {}, + "block_25_aescbcparams": { "reason": "inherited: requires --expose-internals and internal/crypto/webidl" }, + "block_26_aeadparams": {}, + "block_27_aesctrparams": { "reason": "inherited: requires --expose-internals and internal/crypto/webidl" }, + "block_28_ecdhkeyderiveparams": { "reason": "inherited: requires --expose-internals and internal/crypto/webidl" }, + "block_29_contextparams": {}, + "block_30_argon2params": {} } }, "parallel/test-webcrypto-wrap-unwrap.js": { "category": "known-gap", "reason": "WebCrypto wrapKey()/unwrapKey usage validation and algorithm handling are incomplete" }, @@ -9678,18 +9834,21 @@ "parallel/test-webstorage.js": { "split": true, "subtests": { - "test_00_disabled_without_experimental_webstorage": { "category": "runnable" }, - "test_01_emits_a_warning_when_used": { "category": "known-gap", "reason": "common-shim spawnPromisified child emulation does not support --experimental-webstorage/--localstorage-file flags" }, - "test_02_storage_instances_cannot_be_created_in_userland": { "category": "known-gap", "reason": "common-shim spawnPromisified child emulation does not support --experimental-webstorage/--localstorage-file flags" }, - "test_03_sessionstorage_is_not_persisted": { "category": "known-gap", "reason": "common-shim spawnPromisified child emulation does not support --experimental-webstorage/--localstorage-file flags" }, - "test_04_localstorage_throws_without_localstorage_file": { "category": "known-gap", "reason": "common-shim spawnPromisified child emulation does not support --experimental-webstorage/--localstorage-file flags" }, + "test_00_storage_instances_cannot_be_created_in_userland": { "category": "known-gap", "reason": "common-shim spawnPromisified child emulation does not support --experimental-webstorage/--localstorage-file flags" }, + "test_01_calling_length_getter_on_invalid_this_throws": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_02_sessionstorage_is_not_persisted": { "category": "known-gap", "reason": "common-shim spawnPromisified child emulation does not support --experimental-webstorage/--localstorage-file flags" }, + "test_03_localstorage_returns_undefined_and_warns_without_localstorag": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_04_localstorage_is_not_enumerable_without_localstorage_file": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "test_05_localstorage_is_not_persisted_if_it_is_unused": { "category": "known-gap", "reason": "common-shim spawnPromisified child emulation does not support --experimental-webstorage/--localstorage-file flags" }, "test_06_localstorage_is_persisted_if_it_is_used": { "category": "known-gap", "reason": "common-shim spawnPromisified child emulation does not support --experimental-webstorage/--localstorage-file flags" }, - "test_07_webstorage_quota_for_localstorage_and_sessionstorage": { "category": "known-gap", "reason": "common-shim spawnPromisified child emulation does not support --experimental-webstorage/--localstorage-file flags" } + "test_07_webstorage_quota_for_localstorage_and_sessionstorage": { "category": "known-gap", "reason": "common-shim spawnPromisified child emulation does not support --experimental-webstorage/--localstorage-file flags" }, + "test_08_disabled_with_no_webstorage": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Only --eval/-e, --input-type, and script files are supported in WASM child emulation; carries 22.14.0 subtest test_00_disabled_without_experimental_webstorage" }, + "test_09_a_malformed_localstorage_file_throws_instead_of_aborting": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "test_10_a_malformed_localstorage_file_does_not_leak_connections": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-webstream-encoding-inspect.js": { "category": "runnable" }, - "parallel/test-webstream-readable-from.js": { "category": "runnable" }, + "parallel/test-webstream-readable-from.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." }, "parallel/test-webstream-readablestream-pipeto.js": { "category": "node-internals", "reason": "requires --expose-internals and internal/errors AbortError" }, "parallel/test-webstreams-abort-controller.js": { "split": true, @@ -9811,7 +9970,16 @@ "parallel/test-whatwg-events-event-constructors.js": { "category": "known-gap", "reason": "node_compat common shim is missing ../common/wpt harness" }, "parallel/test-whatwg-events-eventtarget-this-of-listener.js": { "category": "known-gap", "reason": "node_compat common shim is missing ../common/wpt harness" }, // Keep unsplit: this test has a shared pass counter and one process exit assertion spanning blocks. - "parallel/test-whatwg-readablebytestream-bad-buffers-and-views.js": { "category": "runnable" }, + "parallel/test-whatwg-readablebytestream-bad-buffers-and-views.js": { + "category": "runnable", + "split": true, + "subtests": { + "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_02_block_02": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_03_block_03": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" } + } + }, "parallel/test-whatwg-readablebytestream.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated", @@ -9906,17 +10074,18 @@ "block_68_block_68": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" }, "block_69_block_69": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" }, "block_70_block_70": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" }, - "block_71_block_71": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" }, + "block_71_block_71": {}, "block_72_block_72": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" }, - "block_73_block_73": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" }, + "block_73_block_73": {}, "block_74_block_74": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" }, "block_75_block_75": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" }, "block_76_block_76": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" }, "block_77_block_77": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" }, "block_78_block_78": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" }, "block_79_block_79": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" }, - "block_80_initial_pull_delay": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" }, - "block_81_avoiding_prototype_pollution": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" } + "block_80_block_80": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" }, + "block_81_initial_pull_delay": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" }, + "block_82_avoiding_prototype_pollution": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" } } }, "parallel/test-whatwg-transformstream.js": { @@ -9943,7 +10112,7 @@ "parallel/test-whatwg-url-custom-searchparams-constructor.js": { "split": true, "subtests": { - "block_00_block_00": { "category": "runnable" }, + "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, "block_01_block_01": { "category": "runnable" } } }, @@ -10011,7 +10180,9 @@ "block_04_block_04": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/adapters" }, "block_05_block_05": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/adapters" }, "block_06_block_06": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/adapters" }, - "block_07_block_07": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/adapters" } + "block_07_block_07": {}, + "block_08_block_08": {}, + "block_09_block_09": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/adapters" } } }, "parallel/test-whatwg-webstreams-adapters-to-readablewritablepair.js": { @@ -10030,7 +10201,8 @@ "block_08_block_08": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/adapters" }, "block_09_block_09": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/adapters" }, "block_10_block_10": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/adapters" }, - "block_11_block_11": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/adapters" } + "block_11_block_11": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/adapters" }, + "block_12_block_12": {} } }, "parallel/test-whatwg-webstreams-adapters-to-streamduplex.js": { @@ -10094,7 +10266,10 @@ "block_05_block_05": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/adapters" }, "block_06_block_06": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/adapters" }, "block_07_block_07": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/adapters" }, - "block_08_block_08": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/adapters" } + "block_08_block_08": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/adapters" }, + "block_09_block_09": {}, + "block_10_block_10": {}, + "block_11_block_11": {} } }, "parallel/test-whatwg-webstreams-compression.js": { "category": "known-gap", "reason": "stream/web compression constructor error codes are not Node-compatible yet" }, @@ -10138,8 +10313,10 @@ "block_02_block_02": { "category": "node-internals", "reason": "requires --expose-internals and internal/worker/js_transferable" }, "block_03_block_03": { "category": "node-internals", "reason": "requires --expose-internals and internal/worker/js_transferable" }, "block_04_block_04": { "category": "node-internals", "reason": "requires --expose-internals and internal/worker/js_transferable" }, - "block_05_block_05": { "category": "node-internals", "reason": "requires --expose-internals and internal/worker/js_transferable" }, - "block_06_block_06": { "category": "node-internals", "reason": "requires --expose-internals and internal/worker/js_transferable" } + "block_05_block_05": {}, + "block_06_block_06": { "category": "node-internals", "reason": "requires --expose-internals and internal/worker/js_transferable" }, + "block_07_block_07": { "category": "node-internals", "reason": "requires --expose-internals and internal/worker/js_transferable" }, + "block_08_block_08": {} } }, "parallel/test-windows-abort-exitcode.js": { "category": "wasi-impossible", "reason": "Windows-only abort/exitcode behavior is not available on WASI" }, @@ -10514,7 +10691,13 @@ "test_01_windowbits_should_be_valid": {} } }, - "parallel/test-zlib.js": {}, + "parallel/test-zlib.js": { + "split": true, + "subtests": { + "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" } + } + }, "sequential/test-async-wrap-getasyncid.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated", @@ -10564,15 +10747,22 @@ } }, "sequential/test-cpu-prof-kill.js": { "category": "wasi-impossible", "reason": "V8 profiling, not available in WASM" }, - "sequential/test-cpu-prof-name.js": { "category": "wasi-impossible", "reason": "V8 profiling, not available in WASM" }, + "sequential/test-cpu-prof-name.js": { + "category": "wasi-impossible", + "reason": "V8 profiling, not available in WASM", + "split": true, + "subtests": { + "block_00_cpu_prof_name": {}, + "block_01_cpu_prof_name_with_pid_placeholder": {} + } + }, "sequential/test-cpu-prof-worker-argv.js": { "category": "wasi-impossible", "reason": "V8 profiling, not available in WASM" }, "sequential/test-crypto-timing-safe-equal.js": { "category": "runnable", "split": true, "subtests": { "block_00_block_00": {}, - "block_01_block_01": {}, - "block_02_block_02": {} + "block_01_block_01": {} } }, "sequential/test-debug-prompt.js": { "category": "wasi-impossible", "reason": "inspector/debugger is not available in WASM" }, @@ -10664,7 +10854,8 @@ "block_00_block_00": {}, "block_01_block_01": {}, "block_02_block_02": {}, - "block_03_block_03": {} + "block_03_block_03": {}, + "block_04_block_04": {} } }, "sequential/test-init.js": { @@ -10694,7 +10885,10 @@ "subtests": { "block_00_block_00": { "category": "known-gap", "reason": "perf_hooks.monitorEventLoopDelay is not implemented" }, "block_01_block_01": { "category": "known-gap", "reason": "perf_hooks.monitorEventLoopDelay is not implemented" }, - "block_02_block_02": { "category": "known-gap", "reason": "perf_hooks.monitorEventLoopDelay is not implemented" } + "block_02_block_02": { "category": "known-gap", "reason": "perf_hooks.monitorEventLoopDelay is not implemented" }, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {} } }, "sequential/test-pipe.js": { "category": "known-gap", "reason": "isolated P2/P3 runs take about 91-97 seconds; although a per-entry timeout is configurable, enabling this case would add excessive CI wall time, and transport profiling attributes most of the delay outside the socket path" }, @@ -10702,32 +10896,6 @@ "sequential/test-process-warnings.js": {}, "sequential/test-repl-timeout-throw.js": { "category": "known-gap", "reason": "child_process.spawn emulation does not support --interactive REPL sessions" }, "sequential/test-resolution-inspect-brk.js": { "category": "wasi-impossible", "reason": "inspector/debugger is not available in WASM" }, - "sequential/test-single-executable-application-assets-raw.js": { "category": "wasi-impossible", "reason": "Node.js SEA packaging, not available in WASM" }, - "sequential/test-single-executable-application-assets.js": { - "category": "wasi-impossible", - "reason": "Node.js SEA packaging, not available in WASM", - "split": true, - "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {}, - "block_02_block_02": {} - } - }, - "sequential/test-single-executable-application-disable-experimental-sea-warning.js": { "category": "wasi-impossible", "reason": "Node.js SEA packaging, not available in WASM" }, - "sequential/test-single-executable-application-empty.js": { "category": "wasi-impossible", "reason": "Node.js SEA packaging, not available in WASM" }, - "sequential/test-single-executable-application-snapshot-and-code-cache.js": { "category": "wasi-impossible", "reason": "Node.js SEA packaging, not available in WASM" }, - "sequential/test-single-executable-application-snapshot-worker.js": { "category": "wasi-impossible", "reason": "Node.js SEA packaging, not available in WASM" }, - "sequential/test-single-executable-application-snapshot.js": { - "category": "wasi-impossible", - "reason": "Node.js SEA packaging, not available in WASM", - "split": true, - "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {} - } - }, - "sequential/test-single-executable-application-use-code-cache.js": { "category": "wasi-impossible", "reason": "Node.js SEA packaging, not available in WASM" }, - "sequential/test-single-executable-application.js": { "category": "wasi-impossible", "reason": "Node.js SEA packaging, not available in WASM" }, "sequential/test-stream2-stderr-sync.js": {}, "sequential/test-timers-block-eventloop.js": { "category": "node-internals", "reason": "requires internal/util.sleep" }, "sequential/test-timers-set-interval-excludes-callback-duration.js": { "category": "known-gap", "reason": "setInterval scheduling incorrectly includes callback execution time" }, @@ -10742,7 +10910,6 @@ }, "sequential/test-tls-lookup.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "sequential/test-tls-psk-client.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, - "sequential/test-tls-securepair-client.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "sequential/test-tls-session-timeout.js": { "category": "wasi-impossible", "reason": "tls/https is not supported in WebAssembly environment" }, "sequential/test-util-debug.js": { "category": "known-gap", "reason": "util.debuglog formatting/callback behavior is not fully Node-compatible" }, "sequential/test-vm-break-on-sigint.js": { "category": "wasi-impossible", "reason": "requires worker_threads, which are unavailable in WASM" }, @@ -10753,6 +10920,6417 @@ "sequential/test-worker-fshandles-open-close-on-termination.js": { "category": "wasi-impossible", "reason": "requires worker_threads which is not available in WASM" }, "sequential/test-worker-heapsnapshot-options.js": { "category": "wasi-impossible", "reason": "worker_threads is not supported in WASM" }, "sequential/test-worker-prof.js": { "category": "wasi-impossible", "reason": "worker_threads is not supported in WASM" }, - "sequential/test-write-heapsnapshot-options.js": { "category": "engine-difference", "reason": "v8.writeHeapSnapshot heap-introspection behavior is V8-specific and unavailable in QuickJS" } + "sequential/test-write-heapsnapshot-options.js": { "category": "engine-difference", "reason": "v8.writeHeapSnapshot heap-introspection behavior is V8-specific and unavailable in QuickJS" }, + + // === newly discovered tests (not yet evaluated) === + "es-module/test-cjs-defer-static-import-eval.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-defer-import-builtin-module.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-defer-import-eval-with-tla.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-defer-import-eval.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-defer-import-json-module.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-defer-import-text-module.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-defer-import-with-module-tree.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-defer-import-with-regular-import.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-import-attributes-identity.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-import-attributes-validation-text.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-import-meta-main-eval.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_import_meta_main_in_evaluated_scripts": {}, + "test_01_import_meta_main_in_typescript_scripts": {} + } + }, + "es-module/test-esm-import-meta-main.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-import-meta-resolve-hooks.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-import-text-disabled.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-import-text.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-in-require-cache-2.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-in-require-cache.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-loader-text-format.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-package-map-basic.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-package-map-boundaries.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-package-map-errors.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-package-map-exports.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-package-map-flag.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-package-map-paths.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-package-map-symlink.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-package-map-version-fork.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-register-deprecation.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-require-race-condition.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-tla-syntax-errors-not-recognized-as-tla-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-wasm-escape-import-names.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-wasm-globals-all-types.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-wasm-jitless.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-wasm-js-string-builtins.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-wasm-load-exports.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-wasm-module-instances-warning.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-wasm-no-code-injection.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-wasm-non-identifier-exports.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-wasm-reject-wasm-export-names.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-wasm-reject-wasm-import-names.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-wasm-reject-wasm-js-export-names.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-wasm-reject-wasm-js-import-module.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-wasm-reject-wasm-js-import-names.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-wasm-source-phase-dynamic.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-wasm-source-phase-identity.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-wasm-source-phase-no-execute-dynamic.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-wasm-source-phase-no-execute.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-wasm-source-phase-not-defined-dynamic.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-wasm-source-phase-not-defined-static.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-wasm-source-phase-static.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-wasm-top-level-execution.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-wasm-vm-source-phase-dynamic.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-esm-wasm-vm-source-phase-static.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-extensionless-esm-type-commonjs.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-import-cjs-jitless.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-import-module-retry-require-errored.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-import-preload-require-cycle.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-import-require-tla-twice.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-require-esm-from-imported-cjs.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-require-module-instantiated.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-require-module-retry-import-errored-2.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-require-module-tla-error-metadata.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-require-module-tla-error-snapshot.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-require-module-tla-execution.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: - stderr did not match expectation, checker throws:; carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" }, + "es-module/test-require-module-tla-instantiation-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "es-module/test-require-module-tla-nested.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:; carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" }, + "es-module/test-require-module-tla-print-execution.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: - stderr did not match expectation, checker throws:; carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" }, + "es-module/test-require-module-tla-rejected.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:; carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" }, + "es-module/test-require-module-tla-resolved.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:; carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" }, + "es-module/test-require-module-tla-unresolved.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:; carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" }, + "es-module/test-vm-main-context-default-loader-eval.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-abort-controller-any-timeout.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-abortsignal-any-source-gc.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-abortsignal-any.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-abortsignal-drop-settled-signals.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_when_there_is_a_long_lived_signal": {}, + "test_01_does_not_prevent_source_signal_from_being_gced_if_it_is_shor": {}, + "test_02_drops_settled_dependent_signals_when_signal_is_composite": {}, + "test_03_drops_an_observed_composite_of_a_composite_once_its_sources_": {}, + "test_04_drops_settled_signals_even_when_there_are_listeners": {} + } + }, + "parallel/test-als-defaultvalue-original.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-als-defaultvalue.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-assert-class-destructuring.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_assert_class_destructuring_behavior_diff_option": {}, + "test_01_assert_class_destructuring_behavior_strict_option": {}, + "test_02_assert_class_destructuring_behavior_comprehensive_methods": {} + } + }, + "parallel/test-assert-class.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_assert_constructor_requires_new": {}, + "test_01_assert_class_non_strict": {}, + "test_02_assert_class_strict": {}, + "test_03_assert_class_with_invalid_diff_option": {}, + "test_04_assert_class_non_strict_with_full_diff": {}, + "test_05_assert_class_non_strict_with_simple_diff": {} + } + }, + "parallel/test-assert-myers-diff.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-assert-partial-deep-equal.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 2 test(s) failed; carries 22.14.0 parallel/test-assert-objects.js (upstream 096b61131a)" }, + "parallel/test-async-hooks-enabledhooksexits.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-async-hooks-stack-overflow-nested-async.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-async-hooks-stack-overflow-try-catch.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-async-hooks-stack-overflow.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-async-local-storage-enter-with.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-async-local-storage-http-agent.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-async-local-storage-http-parser-leak.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-async-local-storage-isolation.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-async-local-storage-run-scope.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_basic_runscope_with_using": {}, + "block_01_test_runscope_restores_previous_value": {}, + "block_02_test_nested_runscope": {}, + "block_03_test_runscope_with_error_during_usage": {}, + "block_04_test_idempotent_disposal_via_named_dispose_method": {}, + "block_05_test_withscope_without_using_keyword_scope_leaks_until_manua": {}, + "block_06_test_that_dispose_undoes_enterwith_called_inside_scope": {}, + "block_07_test_runscope_with_defaultvalue": {}, + "block_08_test_deeply_nested_runscope": {}, + "block_09_test_runscope_with_multiple_storages": {} + } + }, + "parallel/test-async-local-storage-weak-asyncwrap-leak.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-bench-auto-run.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-bench-cli-ack.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-bench-cli-arguments.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-bench-cli-backpressure.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-bench-cli-lifecycle.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {}, + "block_07_block_07": {} + } + }, + "parallel/test-bench-cli-reporters.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {}, + "block_07_block_07": {} + } + }, + "parallel/test-bench-cli.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {}, + "block_07_block_07": {}, + "block_08_block_08": {}, + "block_09_block_09": {}, + "block_10_block_10": {}, + "block_11_block_11": {} + } + }, + "parallel/test-bench-clock-precision.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-bench-context-control.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-bench-context-errors.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-bench-create-runner.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-bench-custom-reporter.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-bench-default-warmup.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-bench-diagnostic-channels.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-bench-diagnostics.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-bench-errors.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-bench-filtering.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-bench-harness-errors.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-bench-hook-errors.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-bench-module.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-bench-reporters.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-bench-run-exit-code.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_code": {}, + "block_01_a_successful_run_through_the_module_level_run_keeps_the_defa": {}, + "block_02_an_exit_code_set_by_the_user_is_preserved_when_the_explicit_": {}, + "block_03_an_exit_code_set_by_the_user_is_preserved_when_an_automatic_": {}, + "block_04_runners_created_with_createrunner_leave_the_exit_code_to_the": {} + } + }, + "parallel/test-bench-run-file.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-bench-run-options.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-bench-run.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-bench-stream.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-bench-validation.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-bench-yield-between-samples.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-benchmark-compare.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-blob-stream-gc.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-blocklist-fast-api.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-buffer-alloc-alignment.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_omitting_the_alignment_keeps_the_previous_behaviour": {}, + "block_01_arraybuffer_can_be_created_without_an_explicit_length": {}, + "block_02_buffer_allocunsafeslow_is_never_pooled_even_when_aligned": {}, + "block_03_and_allocates_on_its_own_beyond_that": {}, + "block_04_and_make_sure_every_buffer_keeps_its_own_contents": {} + } + }, + "parallel/test-buffer-alloc-unsafe-is-initialized-with-zero-fill-flag.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-buffer-alloc-unsafe-is-uninitialized.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-buffer-copy-immutable.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_the_read_only_backing_store_the_copy_is_a_no_op_and_reports_": {}, + "block_01_do_not_require_a_writable_backing_store_and_reports_the_byte": {}, + "block_02_target_through_buffer_prototype_copy": {} + } + }, + "parallel/test-buffer-generic-methods.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {}, + "block_07_block_07": {}, + "block_08_block_08": {}, + "block_09_block_09": {}, + "block_10_block_10": {}, + "block_11_block_11": {}, + "block_12_block_12": {}, + "block_13_block_13": {}, + "block_14_block_14": {}, + "block_15_block_15": {}, + "block_16_block_16": {}, + "block_17_block_17": {}, + "block_18_block_18": {}, + "block_19_block_19": {}, + "block_20_block_20": {}, + "block_21_block_21": {}, + "block_22_block_22": {}, + "block_23_block_23": {}, + "block_24_block_24": {}, + "block_25_block_25": {}, + "block_26_block_26": {}, + "block_27_block_27": {}, + "block_28_block_28": {}, + "block_29_block_29": {}, + "block_30_block_30": {}, + "block_31_block_31": {}, + "block_32_block_32": {}, + "block_33_block_33": {}, + "block_34_block_34": {}, + "block_35_block_35": {}, + "block_36_block_36": {}, + "block_37_block_37": {}, + "block_38_block_38": {}, + "block_39_block_39": {}, + "block_40_block_40": {}, + "block_41_block_41": {}, + "block_42_block_42": {}, + "block_43_block_43": {}, + "block_44_block_44": {}, + "block_45_block_45": {}, + "block_46_block_46": {}, + "block_47_block_47": {}, + "block_48_block_48": {}, + "block_49_block_49": {}, + "block_50_block_50": {}, + "block_51_block_51": {}, + "block_52_block_52": {}, + "block_53_block_53": {}, + "block_54_block_54": {}, + "block_55_block_55": {}, + "block_56_block_56": {}, + "block_57_block_57": {}, + "block_58_block_58": {}, + "block_59_block_59": {} + } + }, + "parallel/test-buffer-islatin1.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_0xff_must_still_be_reported_as_latin1": {}, + "block_01_cons_strings_results_of_concatenation_with_mixed_representat": {} + } + }, + "parallel/test-buffer-isutf8-isascii-fast.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-buffer-stringlength.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_every_kind_of_input_that_tostring_like_apis_accept": {}, + "block_01_detached_arraybuffers_are_empty": {}, + "block_02_random_byte_soup_checked_against_the_real_decoder": {}, + "block_03_large_inputs_above_the_1_mib_single_pass_threshold_of_the_de": {} + } + }, + "parallel/test-buffer-swap-fast.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-buffer-tostring-4gb.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-buffer-write-utf8-two-byte.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-child-process-advanced-serialization-host-objects.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-child-process-default-env.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_a_user_supplied_env_is_still_passed_through_as_given_not_mer": {}, + "block_01_async_spawn_the_environment_is_captured_at_spawn_time": {}, + "block_02_block_02": {} + } + }, + "parallel/test-child-process-fork-advanced-header-serialization.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-child-process-kill-sigwinch.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-child-process-kill-spawn-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-child-process-send-boundsocket.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-child-process-spawn-args.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-child-process-spawn-timeout-clear-on-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-child-process-spawnsync-non-string-args.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-cli-node-cli-manpage-env-vars.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-cli-node-cli-manpage-options.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-cli-node-print-help-style.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_force_color_1_produces_styled_output": {}, + "block_01_test_no_color_1_produces_plain_output": {}, + "block_02_test_piped_non_tty_no_force_color_produces_plain_output": {}, + "block_03_test_alignment_preservation_stripped_styled_output_matches_p": {} + } + }, + "parallel/test-cli-options-as-flags.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-cli-print-promise.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-common-must-not-mutate-object-deep.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_test_that_passed_functions_keep_working_correctly": {} + } + }, + "parallel/test-common-wpt-allowed-rejections.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-common-wpt-any.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-common-wpt-backends.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-common-wpt-inspect.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-common-wpt-runner.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-common-wpt-script-modifier.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-common-wpt-webworker-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-compile-cache-api-options-portable-env.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-compile-cache-api-portable.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_first_run": {}, + "block_01_so_a_cache_generated_by_one_user_is_found_by_another": {}, + "block_02_second_run_moved_directory_but_same_relative_cache_path": {} + } + }, + "parallel/test-compile-cache-api-readonly.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-compile-cache-portable-esm.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-compile-cache-portable.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-compile-cache-typescript-commonjs.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_check_cache_for_ts_files_that_would_be_run_as_commonjs": {}, + "block_01_check_cache_for_cts_files_that_require_cts_files": {}, + "block_02_check_cache_for_cts_files_that_require_mts_files": {} + } + }, + "parallel/test-compile-cache-typescript-esm.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_check_cache_for_ts_files_that_would_be_run_as_esm": {}, + "block_01_check_cache_for_mts_files_that_import_mts_files": {}, + "block_02_check_cache_for_mts_files_that_import_cts_files": {} + } + }, + "parallel/test-compile-cache-typescript-strip-sourcemaps.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-config-file.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_should_handle_non_existing_json": {}, + "test_01_should_handle_empty_json": {}, + "test_02_should_handle_empty_object_json": {}, + "test_03_runtime_version_checks": {}, + "test_04_should_parse_boolean_flag": {}, + "test_05_should_parse_boolean_flag_defaulted_to_true": {}, + "test_06_should_throw_an_error_when_a_flag_is_declared_twice": {}, + "test_07_should_not_override_env_file": {}, + "test_08_should_not_override_node_options": {}, + "test_09_should_not_override_cli_flags": {}, + "test_10_should_parse_array_flag_correctly": {}, + "test_11_should_validate_invalid_array_flag": {}, + "test_12_should_validate_array_flag_as_string": {}, + "test_13_should_throw_at_unknown_flag": {}, + "test_14_should_throw_at_flag_not_available_in_node_options": {}, + "test_15_unsigned_flag_should_be_parsed_correctly": {}, + "test_16_numeric_flag_should_not_allow_negative_values": {}, + "test_17_v8_flag_should_not_be_allowed_in_config_file": {}, + "test_18_string_flag_should_be_parsed_correctly": {}, + "test_19_host_port_flag_should_be_parsed_correctly": {}, + "test_20_inspect_true_should_be_parsed_correctly": {}, + "test_21_inspect_false_should_be_parsed_correctly": {}, + "test_22_no_op_flag_should_throw": {}, + "test_23_should_not_allow_users_to_sneak_in_a_flag": {}, + "test_24_non_object_root": {}, + "test_25_non_object_node_options": {}, + "test_26_should_throw_correct_error_when_a_json_is_broken": {}, + "test_27_broken_value_in_node_options": {}, + "test_28_should_use_node_config_json_as_default": {}, + "test_29_should_use_node_config_json_when_config_file_has_no_argument": {}, + "test_30_should_not_treat_the_script_path_as_a_config_file_argument": {}, + "test_31_should_treat_a_space_separated_config_file_path_as_the_scrip": {}, + "test_32_config_file_flags_that_are_not_node_js_options": {}, + "test_33_should_read_the_config_file_after_an_option_that_takes_a_sep": {}, + "test_34_should_error_when_config_file_has_empty_argument": {}, + "test_35_should_error_when_experimental_default_config_file_has_an_ex": {}, + "test_36_should_override_node_config_json_when_specified": {}, + "test_37_should_work_with_config_file_path": {}, + "test_38_should_support_the_experimental_config_file_alias": {}, + "test_39_should_use_last_config_file_when_multiple_are_specified": {}, + "test_40_should_use_default_when_next_argument_starts_with_dash": {}, + "test_41_should_throw_an_error_when_the_file_is_non_readable": {}, + "test_42_namespace_scoped_options": {} + } + }, + "parallel/test-config-json-schema.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-console-tty-colors-per-stream.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-cppheap-stats.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-argon2-job.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-argon2-unsupported.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-argon2.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-crypto-boringssl-evp-list.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-cipherbase-options-fast-path.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-cipheriv-cbc-cts.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-cipheriv-xts.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-default-shake-lengths-oneshot.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-default-shake-lengths.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-dep0203.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-dep0204.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-ec-jwk-coordinates.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-ecdh-setpublickey-deprecation.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-eddsa-variants.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-encap-decap.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-fips-indicator-strict.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-hash-stream-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-job-error-parity.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_sign_ed25519_with_explicit_digest_openssl_error_at_signinit": {}, + "block_01_sign_context_on_key_that_does_not_support_it_context_unsuppo": {}, + "block_02_sign_rsa_key_too_small_for_digest_openssl_error": {}, + "block_03_sign_illegal_rsa_padding_mode_openssl_error": {}, + "block_04_verify_x25519_key_not_a_signing_key_openssl_error": {}, + "block_05_dh_mismatched_ec_curves_openssl_error": {}, + "block_06_dh_x25519_with_all_zero_public_key_openssl_error": {}, + "block_07_dh_mismatched_dh_group_params_openssl_error": {}, + "block_08_hkdf_invalid_digest_additionalconfig_error_should_throw_in_b": {}, + "block_09_hkdf_keylen_too_large_additionalconfig_error": {}, + "block_10_pbkdf2_invalid_digest_additionalconfig_error": {}, + "block_11_scrypt_invalid_params_additionalconfig_error_sent_to_openssl": {}, + "block_12_block_12": {} + } + }, + "parallel/test-crypto-jwk-raw-validation.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-kem-shared-key.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-key-encoding-provider-cipher.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-key-objects-ec-jwk-private.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-key-objects-raw.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_ec_nist_and_openssl_curve_names_are_both_recognized_for_raw_": {}, + "block_01_raw_key_imports_do_not_support_strings": {}, + "block_02_raw_public_keys_cannot_be_imported_as_private_keys": {}, + "block_03_key_types_that_don_t_support_raw_formats": {}, + "block_04_ec_p_256_and_p_384_keys_cannot_be_imported_as_private_public": {}, + "block_05_passphrase_cannot_be_used_with_raw_formats": {}, + "block_06_raw_seed_export_is_rejected_for_key_types_that_do_not_suppor": {}, + "block_07_ec_defaults_to_uncompressed_can_be_switched_to_compressed_bo": {}, + "block_08_compressed_and_uncompressed_are_the_only_recognized_options": {}, + "block_09_none_of_the_raw_types_can_be_used_with_symmetric_key_objects": {}, + "block_10_private_key_objects_created_from_raw_seed_or_raw_private_can": {}, + "block_11_raw_public_ec_keys_that_are_garbage_not_on_curve_are_rejecte": {}, + "block_12_unrecognized_namedcurve_values_are_rejected": {}, + "block_13_x25519_ed25519_x448_and_ed448_cannot_be_used_as_ec_namedcurv": {}, + "block_14_missing_asymmetrickeytype_option": {}, + "block_15_unknown_asymmetrickeytype_value": {}, + "block_16_non_buffer_key_data": {}, + "block_17_missing_namedcurve_for_ec": {} + } + }, + "parallel/test-crypto-key-reuse-concurrent.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-key-store-pkcs11.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-key-store.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {}, + "block_07_block_07": {}, + "block_08_block_08": {}, + "block_09_block_09": {} + } + }, + "parallel/test-crypto-keygen-ec-group-names.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-keygen-raw.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_generatekeypairsync_with_raw_encoding_for_eddsa_ecdh_ke": {}, + "block_01_test_async_generatekeypair_with_raw_encoding_for_eddsa_ecdh_": {}, + "block_02_test_generatekeypairsync_with_raw_encoding_for_ec_keys": {}, + "block_03_test_ec_raw_public_with_compressed_and_uncompressed_point_fo": {}, + "block_04_test_mixed_one_side_raw_other_side_pem": {}, + "block_05_block_05": {}, + "block_06_test_mixed_one_side_raw_other_side_keyobject_no_encoding": {}, + "block_07_test_error_raw_with_rsa": {}, + "block_08_test_error_raw_private_in_publickeyencoding": {}, + "block_09_test_error_raw_seed_in_publickeyencoding": {}, + "block_10_test_error_raw_public_in_privatekeyencoding": {}, + "block_11_test_error_passphrase_with_raw_private_key_encoding": {} + } + }, + "parallel/test-crypto-keyobject-brand-check.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-keyobject-clone-transfer.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-keyobject-hidden-slots.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {} + } + }, + "parallel/test-crypto-keyobject-no-own-symbols.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-mac-errors.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-mac-unsupported.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-mac-vectors.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-mac.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-negative-zero.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {} + } + }, + "parallel/test-crypto-oaep-zero-length.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-oneshot-hash-xof.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-pkcs12.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {}, + "block_07_block_07": {}, + "block_08_block_08": {} + } + }, + "parallel/test-crypto-pqc-encrypted-pkcs8.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-pqc-key-objects-ml-dsa.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-pqc-key-objects-ml-kem.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-pqc-key-objects-slh-dsa.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-pqc-keygen-ml-dsa.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-pqc-keygen-ml-kem.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-pqc-keygen-slh-dsa.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-pqc-sign-verify-ml-dsa.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-prepare-asymmetric-cryptokey.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-prepare-asymmetric-key.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {} + } + }, + "parallel/test-crypto-provider-cache-snapshot.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-provider-cache.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-provider-hash-options.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-provider-hashes.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-random-cache-snapshot.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-randomfill-properties.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-randomfillsync-trace-sync-io.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-randomuuidv7.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_timestamp_the_embedded_timestamp_should_approximate_date_now": {}, + "block_04_block_04": {}, + "block_05_ensure_randomuuidv7_takes_no_arguments_or_ignores_them_grace": {}, + "block_06_block_06": {}, + "block_07_block_07": {} + } + }, + "parallel/test-crypto-raw-key-type-validation.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-rsa-multiprime-jwk.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-rsa-oaep-mgf1.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_sides_agree_on_the_digests": {}, + "block_01_oaep_digest_sha256_which_is_the_pre_existing_behavior": {}, + "block_02_oaephash_is_equivalent_to_omitting_it": {}, + "block_03_mgf1hash_sha1": {} + } + }, + "parallel/test-crypto-rsa-pkcs1-public-key.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-rsa-pss-default-salt-length.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-rsa-pss-parameters.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-sec-level.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-subtle-cross-realm.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_with_same_realm_arraybuffer": {}, + "block_01_test_with_cross_realm_arraybuffer": {}, + "block_02_cross_realm_sharedarraybuffer_should_be_handled_like_any_sha": {}, + "block_03_test_with_both_typedarray_buffer_methods": {}, + "block_04_test_with_aes_gcm_encryption_decryption_using_cross_realm_ar": {}, + "block_05_test_with_aes_gcm_using_typedarray_view_of_cross_realm_array": {} + } + }, + "parallel/test-crypto-x509-brand-check.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-x509-clone-transfer.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-x509-hidden-slots.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-crypto-x509-name-non-string.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-cwd-enoent-improved-message.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-address.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-auto-resume.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-exec-scope.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-extract-function-name.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-help.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-inspect-help-forwarding.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-inspect-help.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-invalid-json.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-debugger-no-inspect-brk.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-activation.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-bound-never-hit.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-child-inspect-port-zero.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-cond-invalid.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-cond-max-hit.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-cond-shared.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-cond-throws.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-cond.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-explicit-column.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-expression-throws.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-failure-hang-during-evaluate.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-failure-process-exit.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-failure-resume.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-global-option-order.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-json-preview.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-json-special-values.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-json.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-late-resolution.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-launch.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-max-hit-invalid.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-max-hit-miss.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-max-hit-partial.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-max-hit-shared.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-max-hit-text.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-max-hit.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-miss.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-missing-expr.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-multi-location.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-narrow-suffix.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-no-column-indent.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-requires-separator.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-script-throws.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-startup-disconnect.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-startup-pause.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-target-syntax-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-text-special-values.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-text.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-timeout.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-probe-typescript.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-run-restart-init.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-set-context-line-number.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-wait-for-debugger.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-debugger-watchers.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dgram-bind-error-callback.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dgram-bind-sync.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_the_os_assigned_ephemeral_port_when_port_is_0": {}, + "block_01_closing_synchronously_after_bindsync_suppresses_the_deferred": {}, + "block_02_defaults_the_address_to_the_udp4_wildcard_when_omitted": {}, + "block_03_message_events_still_flow_asynchronously_after_a_synchronous": {}, + "block_04_throws_synchronously_on_eaddrinuse": {}, + "block_05_throws_synchronously_on_a_non_numeric_address_no_dns_resolut": {}, + "block_06_rejects_a_non_string_address": {}, + "block_07_a_rejected_argument_leaves_the_socket_unbound_and_reusable": {}, + "block_08_throws_when_already_bound": {}, + "block_09_rejects_a_non_object_options_argument": {} + } + }, + "parallel/test-dgram-connect-sync.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_and_remoteaddress_is_valid_immediately": {}, + "block_01_closing_synchronously_after_connectsync_suppresses_the_defer": {}, + "block_02_defaults_the_address_to_the_udp4_loopback_when_omitted": {}, + "block_03_works_on_a_socket_already_bound_with_bindsync": {}, + "block_04_datagrams_flow_to_the_connected_peer_after_a_synchronous_con": {}, + "block_05_disconnect_works_after_a_synchronous_connect_allowing_a_reco": {}, + "block_06_throws_synchronously_on_a_non_numeric_address_no_dns_resolut": {}, + "block_07_rejects_a_non_string_address": {}, + "block_08_a_rejected_argument_leaves_the_socket_unbound_and_reusable": {}, + "block_09_throws_when_already_connected": {}, + "block_10_throws_synchronously_for_a_blocked_address_leaving_the_socke": {}, + "block_11_throws_when_an_asynchronous_bind_is_still_in_progress": {} + } + }, + "parallel/test-dgram-default-lookup-ip.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-bounded-channel-run-transform-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-bounded-channel-run.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_basic_run_functionality": {}, + "block_01_test_run_with_error": {}, + "block_02_test_run_with_thisarg_and_args": {}, + "block_03_test_run_with_asynclocalstorage": {}, + "block_04_test_run_without_subscribers": {} + } + }, + "parallel/test-diagnostics-channel-bounded-channel-scope-error.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_scope_with_thrown_error": {}, + "block_01_test_store_restoration_on_error": {}, + "block_02_test_dispose_during_exception_handling": {} + } + }, + "parallel/test-diagnostics-channel-bounded-channel-scope-nested.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_nested_scopes": {}, + "block_01_test_nested_scopes_with_stores": {}, + "block_02_test_nested_scopes_with_different_channels": {}, + "block_03_test_nested_scopes_with_shared_store": {}, + "block_04_test_deeply_nested_scopes": {}, + "block_05_test_nested_scopes_with_errors": {} + } + }, + "parallel/test-diagnostics-channel-bounded-channel-scope-transform-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-bounded-channel-scope.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_basic_scope_with_using": {}, + "block_01_test_scope_with_result_setter": {}, + "block_02_test_scope_with_error_setter": {}, + "block_03_test_scope_with_asynclocalstorage": {}, + "block_04_test_scope_without_subscribers_no_op": {}, + "block_05_test_manual_dispose_via_symbol_dispose": {}, + "block_06_test_scope_with_store_restore_to_previous_value": {} + } + }, + "parallel/test-diagnostics-channel-bounded-channel.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_boundedchannel_exports": {}, + "block_01_test_basic_boundedchannel_creation_and_properties": {}, + "block_02_test_boundedchannel_with_channel_objects": {}, + "block_03_test_subscribe_unsubscribe": {}, + "block_04_test_partial_subscription": {} + } + }, + "parallel/test-diagnostics-channel-child-process.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-crypto-fips-indicator.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-gc-maintains-subcriptions.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-gc-race-condition.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-http2-client-stream-body-multiple-buffers-and-strings.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-http2-client-stream-body-multiple-buffers.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-http2-client-stream-body-no-chunks.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-http2-client-stream-body-single-buffer.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-http2-client-stream-body-single-string.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-http2-client-stream-close-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-http2-client-stream-close.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-http2-client-stream-created.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-http2-client-stream-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-http2-client-stream-finish.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-http2-client-stream-start.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-http2-server-stream-close-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-http2-server-stream-close.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-http2-server-stream-created-start-timing.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-http2-server-stream-created.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-http2-server-stream-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-http2-server-stream-finish.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-http2-server-stream-start.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-many-channels.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-net-client-socket-tls.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-run-stores-scope-transform-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-run-stores-scope.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_basic_runstoresscope_with_active_channel": {}, + "block_01_test_runstoresscope_with_inactive_channel_no_op": {}, + "block_02_test_runstoresscope_restores_previous_store_value": {}, + "block_03_test_runstoresscope_with_multiple_stores": {}, + "block_04_test_manual_dispose_via_symbol_dispose": {}, + "block_05_test_nested_runstoresscope": {}, + "block_06_test_runstoresscope_with_error_during_usage": {}, + "block_07_test_runstoresscope_with_inactive_channel_no_stores_or_subsc": {}, + "block_08_test_runstoresscope_with_symbol_dispose": {} + } + }, + "parallel/test-diagnostics-channel-tracing-channel-callback-default-context.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-tracing-channel-context.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-tracing-channel-promise-non-thenable.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-tracing-channel-promise-spoofed-constructor.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-tracing-channel-promise-thenable.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-tracing-channel-promise-unhandled.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diagnostics-channel-web-locks.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-diff.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dlopen-binary-image-cleanup.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dlopen-binary.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dns-negative-zero.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dns-resolve-null-bytes.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dns-resolveany-ttl-overflow.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dns-resolver-max-timeout.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dns-resolvesrv-econnrefused.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_1_basic_srv_resolution_should_succeed_not_return_econnr": {}, + "block_01_test_2_multiple_srv_records_common_for_mongodb_atlas_cluster": {}, + "block_02_test_3_callback_based_api_should_also_work": {} + } + }, + "parallel/test-dns-resolvesrv.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-domexception-subclass.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dtls-accessors.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dtls-alpn-validation.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_255_is_the_largest_representable_name_and_must_still_be_acce": {}, + "block_01_a_well_formed_buffer_still_works_so_the_walk_is_not_rejectin": {} + } + }, + "parallel/test-dtls-alpn.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_now_returns_ssl_tlsext_err_alert_fatal_matching_node_tls": {}, + "block_01_finds_no_overlap_declining_the_extension_entirely_is_not_a_f": {}, + "block_02_selection_callback_only_runs_when_the_client_sent_the_extens": {} + } + }, + "parallel/test-dtls-async-dispose.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dtls-authorized-before-handshake.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_server_side_read_both_accessors_at_the_earliest_moment_they_": {}, + "block_01_client_side_readable_between_connect_and_the_handshake_compl": {}, + "block_02_not_simply_pinned_them_to_a_constant": {}, + "block_03_and_after_close_when_the_handle_is_gone": {} + } + }, + "parallel/test-dtls-authorized.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_authorized_even_though_openssl_has_nothing_to_find_fault_wit": {}, + "block_01_a_peer_that_sent_a_chain_the_server_trusts_is_authorized": {} + } + }, + "parallel/test-dtls-basic.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dtls-ciphers.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_case_1_a_specific_cipher_is_negotiated_and_reported_on_both_": {}, + "block_01_case_3_a_valid_ecdh_curve_completes_a_handshake": {} + } + }, + "parallel/test-dtls-client-cert.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_case_1_the_client_presents_a_certificate_the_server_can_veri": {}, + "block_01_rejects_the_handshake": {} + } + }, + "parallel/test-dtls-close.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_1_graceful_close_from_client_side": {}, + "block_01_test_2_forced_destroy": {}, + "block_02_test_3_endpoint_close_closes_all_sessions": {} + } + }, + "parallel/test-dtls-connect-error-cleanup.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dtls-default-ca.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dtls-destroy-in-callback.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_frees_the_session_s_map_entry_while_clearout_is_still_loopin": {}, + "block_01_there_must_not_free_the_session_before_the_pump_finishes_unw": {} + } + }, + "parallel/test-dtls-error-queue.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dtls-errors.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dtls-export-keying-material-validation.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dtls-handshake-timeout.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_the_deadline_is_honoured_and_close_to_exactly": {}, + "block_01_endpoint_closes": {}, + "block_02_linger_to_fire_at_an_established_session": {}, + "block_03_limit": {}, + "block_04_mean_waiting_60s_so_this_only_pins_that_it_is_not_something_": {}, + "block_05_through_the_state_machine_but_the_same_session_lifecycle": {}, + "block_06_validation": {} + } + }, + "parallel/test-dtls-ipv6.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_a_full_handshake_and_round_trip_over_ipv6_loopback": {}, + "block_01_ipv4_wildcard_here_is_what_used_to_break_the_send": {}, + "block_02_an_explicit_bindhost_is_still_honoured": {}, + "block_03_ipv4_is_unaffected_the_default_must_not_become_ipv6_for_v4_p": {} + } + }, + "parallel/test-dtls-ipv6only.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_everywhere_else_in_node_js": {}, + "block_01_ipv6only_true_asks_for_the_old_behaviour_back": {}, + "block_02_it_is_a_boolean_checked_like_the_rest": {} + } + }, + "parallel/test-dtls-keylog.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_normally_regardless": {}, + "block_01_returns": {} + } + }, + "parallel/test-dtls-max-sessions.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_though_the_overall_cap_is_far_higher": {} + } + }, + "parallel/test-dtls-message-listener-gate.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dtls-mtu-record-framing.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dtls-mtu.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_a_valid_boundary_mtu_is_accepted": {}, + "block_01_fragmented_across_records_and_the_exchange_still_succeeds": {} + } + }, + "parallel/test-dtls-multiple-clients.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dtls-opened-settles.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_close_before_the_handshake_completes": {}, + "block_01_destroy_with_no_error_before_the_handshake_completes": {}, + "block_02_awaiting_opened_learns_the_same_thing_as_one_awaiting_closed": {}, + "block_03_that_with_a_rejection": {}, + "block_04_not_replace_it_with_the_generic_teardown_error": {}, + "block_05_documentation_says_the_promise_always_settles_and_awaiting_i": {}, + "block_06_endpoint_while_the_sessions_resolve_as_though_nothing_went_w": {}, + "block_07_the_one_the_peer_s_departure_would_settle": {} + } + }, + "parallel/test-dtls-options.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_option_is_a_way_for_a_caller_to_bring_the_process_down_with_": {}, + "block_01_neither_failed_open_so_nothing_was_unsafe_both_were_silent": {}, + "block_02_them_has_misunderstood_the_option_and_now_hears_so": {}, + "block_03_mentioning_the_option_that_had_been_set": {} + } + }, + "parallel/test-dtls-passphrase.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_the_correct_passphrase_decrypts_the_key_and_the_endpoint_ser": {}, + "block_01_a_passphrase_supplied_for_a_key_that_is_not_encrypted_is_ign": {}, + "block_02_connect_takes_it_too_for_client_certificates": {} + } + }, + "parallel/test-dtls-peer-x509-certificate.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_the_client_sees_the_chain_the_server_presented": {}, + "block_01_on_the_server_so_the_wrong_flag_here_silently_drops_or_repea": {}, + "block_02_once_and_keep_the_result": {}, + "block_03_a_peer_that_sent_no_certificate_reports_undefined_rather_tha": {} + } + }, + "parallel/test-dtls-psk.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_a_map_on_the_server_an_identity_on_the_client_no_certificate": {}, + "block_01_than_known_up_front": {}, + "block_02_handshake_at_all": {}, + "block_03_with_an_empty_key": {}, + "block_04_wait_below_is_only_to_observe_the_stall_not_to_wait_one_out": {}, + "block_05_a_callback_returning_nothing_is_a_refusal_not_an_error": {}, + "block_06_validation_the_endpoint_s_dos_protection_depends_on": {}, + "block_07_this_so_it_is_pinned_here": {}, + "block_08_the_key_can_decrypt_recorded_traffic": {}, + "block_09_of_the_implicit_cipher_list": {}, + "block_10_reaches_the_client_s_callback": {}, + "block_11_callback_should_not_take_a_server_down": {}, + "block_12_validation": {}, + "block_13_error_rather_than_a_server_that_can_never_complete_a_handsha": {}, + "block_14_caught_on_the_way_back_into_openssl": {}, + "block_15_at_a_context_with_no_psk_configuration_and_every_psk_handsha": {}, + "block_16_endpoint_s_and_a_psk_configured_on_an_sni_identity_is_never_": {}, + "block_17_for_all_of_them_naming_nothing_the_caller_had_done": {} + } + }, + "parallel/test-dtls-reject-unauthorized.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_this_test_s_ca": {}, + "block_01_case_2_the_same_untrusted_certificate_is_accepted_when_verif": {} + } + }, + "parallel/test-dtls-request-cert.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dtls-resumption-reject-unauthorized.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_connection_through": {}, + "block_01_resumed_handshake_inherits_it": {}, + "block_02_either_way": {} + } + }, + "parallel/test-dtls-robustness.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dtls-secure-context.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_the_context_reports_which_side_it_was_built_for": {}, + "block_01_serves_connections_to_all_of_them": {}, + "block_02_against_different_peer_names_and_still_rejects_the_wrong_one": {}, + "block_03_listen_does_not_demand_cert_and_key_when_the_context_already": {}, + "block_04_picks_the_openssl_method_when_the_context_is_built": {}, + "block_05_being_silently_ignored": {} + } + }, + "parallel/test-dtls-send-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dtls-send.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_the_number_of_bytes_written_and_the_message_is_delivered_who": {}, + "block_01_names_both_the_size_given_and_the_limit_rather_than_just_fai": {}, + "block_02_fragments_it_getting_this_wrong_would_make_send_reject_valid": {}, + "block_03_or_handshake_errors_above": {}, + "block_04_bytes_they_cover_not_the_bytes_of_the_buffer_behind_them": {} + } + }, + "parallel/test-dtls-server-handshake-error.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_session_and_the_session_is_handed_over_in_time_for_a_listene": {}, + "block_01_to": {}, + "block_02_the_handshake_proceed_on_a_session_that_is_already_gone": {}, + "block_03_a_handshake_that_succeeds_is_unaffected": {} + } + }, + "parallel/test-dtls-servername-invalid.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dtls-servername-validation.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_non_string_used_to_skip": {}, + "block_01_the_right_name_is_accepted_so_the_check_is_not_simply_refusi": {}, + "block_02_identity_falls_back_to_the_host": {}, + "block_03_omitting_it_entirely_also_falls_back_to_the_host": {} + } + }, + "parallel/test-dtls-session-id-context.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_an_explicit_context_is_accepted_and_does_not_disturb_the_han": {}, + "block_01_the_default_is_applied_when_none_is_given_and_handshakes_sti": {}, + "block_02_arrived_as_failed_to_set_session_id_context_which_does_not_s": {} + } + }, + "parallel/test-dtls-session-properties.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dtls-session-resumption.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_a_session_can_be_carried_from_one_connection_to_the_next": {}, + "block_01_resumption_skips_the_certificate_flight_which_is_the_point_o": {}, + "block_02_protection_depends_on": {}, + "block_03_between_connections": {}, + "block_04_an_unusable_session_falls_back_to_a_full_handshake_rather_th": {}, + "block_05_them_survive_a_restart_or_work_across_a_cluster": {}, + "block_06_error_reports_what_it_asked_for": {}, + "block_07_a_server_session_has_no_identity_to_bind_a_blob_to_so_it_off": {}, + "block_08_means_the_type_was_right_and_the_contents_were_wrong": {} + } + }, + "parallel/test-dtls-session-table-cleanup.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_case_1_the_server_closes_its_own_session_removed_from_the_ta": {}, + "block_01_removes_the_session_from_the_table": {} + } + }, + "parallel/test-dtls-sni-binding.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_fails_by_aborting_not_by_asserting_if_the_holding_goes_back_": {}, + "block_01_only_the_names_in_it_are_served_and_a_leftover_callback_answ": {} + } + }, + "parallel/test-dtls-sni.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_or_a_dtlssecurecontext": {}, + "block_01_to_the_endpoint_s_own_certificate": {}, + "block_02_refused_when_there_is_none": {}, + "block_03_the_endpoint_itself_trusts_ca1": {}, + "block_04_validation": {}, + "block_05_rather_than_enumerated_it_returns_the_same_two_things_a_map_": {}, + "block_06_tell_apart_from_one": {}, + "block_07_exercise_callback_built_contexts_not_as_proof_of_the_retenti": {}, + "block_08_an_uncaught_exception": {}, + "block_09_entry_is": {}, + "block_10_reinterpreted_as_a_context_and_its_ssl_ctx_read_out_of_whate": {}, + "block_11_refused_rather_than_silently_reconfiguring_a_shared_context": {} + } + }, + "parallel/test-dtls-socket-options.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_is_spread_over_several_processes": {}, + "block_01_loosened_on_the_way_past": {}, + "block_02_does_not_have": {}, + "block_03_ranges": {} + } + }, + "parallel/test-dtls-srtp.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dtls-stats.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_and_stopped_moving_and_isconnected_went_on_saying_they_were_": {}, + "block_01_destroy_reaches_them_too_not_only_the_graceful_path": {} + } + }, + "parallel/test-dtls-unhandled-rejection.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-dtls-verify-identity.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_server_observes_the_sni_the_client_sent_proving_it_is_in_the": {}, + "block_01_the_handshake_even_though_the_certificate_chain_is_otherwise": {} + } + }, + "parallel/test-duplex-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-error-value-type-detection.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-eslint-func-name-matching.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-eslint-iterator-result-done-first.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-eslint-must-call-assert.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-eslint-no-crypto-class-instanceof.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-eslint-no-cryptokey-public-accessors.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-eslint-no-keyobject-public-accessors.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-eslint-prefer-abort-signal-abort.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-eventtarget-custom-inspect-does-not-throw.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-external-memory-reasonable-size.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fastutf8stream-destroy.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {} + } + }, + "parallel/test-fastutf8stream-end.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fastutf8stream-flush-mocks.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fastutf8stream-flush-sync.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_which_stays_open_until_the_new_file_is_ready": {}, + "block_02_block_02": {} + } + }, + "parallel/test-fastutf8stream-flush.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_still_opening_async_mode_only_sync_mode_writes_synchronously": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {}, + "block_07_block_07": {}, + "block_08_block_08": {} + } + }, + "parallel/test-fastutf8stream-fsync.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-fastutf8stream-full-write-utf8.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fastutf8stream-minlength.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-fastutf8stream-mode.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fastutf8stream-partial-write-utf8.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fastutf8stream-periodicflush.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fastutf8stream-reopen.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fastutf8stream-retry.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {} + } + }, + "parallel/test-fastutf8stream-sync.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {}, + "block_07_block_07": {} + } + }, + "parallel/test-fastutf8stream-write-arraybufferview.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fastutf8stream-write-buffer.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fastutf8stream-write.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_never_write_the_overflowing_chunk_see_sonicboom_write_tests": {}, + "block_04_block_04": {} + } + }, + "parallel/test-ffi-missing-build.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {} + } + }, + "parallel/test-filehandle-autoclose.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-fileurltopathbuffer.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-chown-negative-one.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_1_for_uid_and_gid_means_don_t_change_the_value": {}, + "block_01_block_01": {} + } + }, + "parallel/test-fs-cp-async-async-filter-function.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-copy-non-directory-symlink.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-dereference-force-false-silent-fail.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-dereference-symlink.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-dest-symlink-points-to-src-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-destination-appears-late.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-dir-exists-error-on-exist.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-dir-to-file.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-error-on-exist.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-file-modes.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-file-to-dir.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-file-to-file.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-file-url.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-filter-child-folder.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-filter-function.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-identical-src-dest.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-invalid-mode-range.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-invalid-options-type.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-nested-files-folders.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-no-errors-force-false.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-no-recursive.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-overwrites-force-true.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-preserve-timestamps-dir.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-preserve-timestamps-readonly-file.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-preserve-timestamps.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-same-dir-twice.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-skip-validation-when-filtered.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-socket.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-special-files-in-tree.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-fs-cp-async-subdirectory-of-self.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-symlink-dest-points-to-src.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-symlink-over-file.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-symlink-points-to-dest.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-symlink-targets.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-verbatim-dir-symlinks-with-filter.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-async-with-mode-flags.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-promises-async-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-promises-file-url.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-promises-invalid-mode.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-promises-mode-flags.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-promises-nested-folder-recursive.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-promises-options-validation.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-apply-filter-function.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-async-filter-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-copy-directory-to-file-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-copy-directory-without-recursive-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-copy-file-to-directory-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-copy-file-to-file-path.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-copy-socket-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-copy-symlink-not-pointing-to-folder.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-copy-symlink-over-file-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-copy-symlinks-to-existing-symlinks.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-copy-to-subdirectory-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-dereference-directory.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-dereference-file.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-dereference-nested-symlink.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_the_copy_out_of_the_native_walker": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_file_is_left_as_it_was": {}, + "block_05_block_05": {}, + "block_06_block_06": {}, + "block_07_block_07": {}, + "block_08_block_08": {} + } + }, + "parallel/test-fs-cp-sync-dereference-twice.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-dereference.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-dest-name-prefix-match.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-dest-parent-name-prefix-match.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-dir-exists-error-on-exist.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-directory-mode.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-directory-not-exist-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-error-on-exist.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-file-url.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-filename-too-long-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-incompatible-options-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-mode-flags.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-mode-invalid.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-nested-files-folders.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-no-overwrite-force-false.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-options-invalid-type-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-overwrite-force-true.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-parent-symlink-dest-points-to-src-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-preserve-timestamps-dir.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-preserve-timestamps-force-false.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-preserve-timestamps-readonly.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-preserve-timestamps.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-resolve-relative-symlinks-default.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-resolve-relative-symlinks-false.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-src-dest-identical-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-src-parent-of-dest-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-symlink-dest-points-to-src-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-symlink-points-to-dest-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-unicode-dest.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-unicode-folder-names.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-verbatim-dir-symlinks-with-filter.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-verbatim-symlinks-invalid.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-sync-verbatim-symlinks-true.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-cp-unreadable-directory.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-existssync-memleak-longpath.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-fs-fchown-negative-one.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_test_sync_fchown_with_1_values": {} + } + }, + "parallel/test-fs-glob-no-follow-symlink-globstar.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-glob-throw.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-glob.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_glob": {}, + "test_01_globsync": {}, + "test_02_fspromises_glob": {}, + "test_03_glob_with_file_url_as_cwd": {}, + "test_04_globsync_with_file_url_as_cwd": {}, + "test_05_fspromises_glob_with_file_url_as_cwd": {}, + "test_06_glob_withfiletypes": {}, + "test_07_globsync_withfiletypes": {}, + "test_08_fspromises_glob_withfiletypes": {}, + "test_09_globsync_exclude": {}, + "test_10_glob_exclude": {}, + "test_11_fspromises_glob_exclude": {}, + "test_12_glob_forwards_maxdepth": {}, + "test_13_async_glob_does_not_use_synchronous_path_identity_calls": {}, + "test_14_globsync_maxdepth_traversal": {}, + "test_15_globsync_validates_maxdepth": {}, + "test_16_glob_followsymlinks": {}, + "test_17_globsync_followsymlinks": {}, + "test_18_fspromises_glob_followsymlinks": {}, + "test_19_glob_with_restricted_directory": {}, + "test_20_globsync_enotdir": {}, + "test_21_glob_seen_cache": {}, + "test_22_glob_exclude_case_insensitive_consistency": {} + } + }, + "parallel/test-fs-internal-assertencoding.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-lchown-negative-one.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_1_for_uid_and_gid_means_don_t_change_the_value": {}, + "block_01_block_01": {} + } + }, + "parallel/test-fs-mkdir-recursive-enoent.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-mkdtempDisposableSync.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_basic_usage": {}, + "block_01_usage_with_symbol_dispose": {} + } + }, + "parallel/test-fs-negative-zero.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-openAsBlobSync.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-promises-appendfile.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Ab; carries 22.14.0 parallel/test-fs-promises-writefile-typedarray.js (upstream 3ac95f2d0c); parallel/test-fs-promises-writefile-with-fd.js (upstream 3ac95f2d0c)" }, + "parallel/test-fs-promises-file-handle-pull.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-promises-file-handle-pullsync.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-promises-file-handle-readLines.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-promises-file-handle-writer.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-promises-mkdtempDisposable.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-promises-readfile-buffer-option.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-promises-statfs-validate-path.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-promises-watch-ignore-function.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-promises-watch-ignore-glob.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-promises-watch-ignore-invalid.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-promises-watch-ignore-mixed.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-promises-watch-ignore-regexp.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-promises-watch-iterator.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-read-position-validation.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-fs-read-promises-position-validation.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-fs-readSync-position-validation.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-fs-readdir-promise-recursive-with-buffer.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-readdir-recursive-permission.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-readdir-recursive-tree.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_mutating_the_options_object_after_the_call_must_not_affect_t": {}, + "block_01_path_as_given_for_the_top_level_and_a_joined_path_below_it": {}, + "block_02_buffer_encodings_and_buffer_paths": {}, + "block_03_errors_carry_the_directory_that_failed_for_the_root_and_belo": {} + } + }, + "parallel/test-fs-readdir-recursive-with-buffer.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-readdir-sync-recursive-with-buffer.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-readfile-buffer-option.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-readfile-one-roundtrip.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-readfile-utf8-fast-path.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-readfilesync-utf8-sizes.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-realpath-async-stale-stat-values.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-realpath-namespaced-drive-win.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_fs_realpathsync_resolves_a_namespaced_drive_path": {}, + "test_01_fs_realpathsync_reports_enoent_for_a_missing_namespaced_driv": {}, + "test_02_fs_realpathsync_resolves_a_namespaced_path_through_a_junctio": {}, + "test_03_fs_realpath_resolves_a_namespaced_drive_path": {}, + "test_04_fs_realpath_resolves_a_namespaced_path_through_a_junction": {} + } + }, + "parallel/test-fs-realpath-stale-stat-values.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-rmSync-eperm-retries.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-rmSync-special-char-additional-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-rmSync-special-char.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-rmdir-recursive-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-rmdir-throws-not-found.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {} + } + }, + "parallel/test-fs-rmdir-throws-on-file.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {} + } + }, + "parallel/test-fs-stat-abort-test.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_fs_stat_aborts_when_signal_is_already_aborted": {}, + "test_01_fs_stat_aborts_in_flight_when_signal_aborts_after_the_call": {}, + "test_02_fs_stat_throws_err_invalid_arg_type_for_invalid_signal": {}, + "test_03_fs_lstat_aborts_in_flight_when_signal_aborts_after_the_call": {}, + "test_04_fs_fstat_aborts_in_flight_when_signal_aborts_after_the_call": {}, + "test_05_fspromises_stat_rejects_when_signal_is_already_aborted": {}, + "test_06_fspromises_stat_rejects_in_flight_when_signal_aborts_after_t": {}, + "test_07_fspromises_stat_rejects_with_err_invalid_arg_type_for_invali": {}, + "test_08_fspromises_lstat_rejects_in_flight_when_signal_aborts_after_": {}, + "test_09_filehandle_stat_rejects_in_flight_when_signal_aborts_after_t": {} + } + }, + "parallel/test-fs-stat-cancel-inflight.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-stat-date.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-stat-temporal.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-stream-windows-handle.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-watch-ignore-function.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-watch-ignore-glob.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-watch-ignore-invalid.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-watch-ignore-mixed.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-watch-ignore-recursive-glob-subdirectories.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-watch-ignore-recursive-glob.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-watch-ignore-recursive-mixed.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-watch-ignore-recursive-regexp.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-watch-ignore-regexp.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-watch-recursive-aix-preserve-watch-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-watch-recursive-delete-race.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-watch-recursive-linux-directory-watchers.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-watch-recursive-prefix-sibling.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-watch-recursive-retry-directory-disappears-before-read.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-watch-recursive-retry-directory-disappears-before-watch.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-watch-recursive-root-disappears-before-read.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-watch-recursive-root-disappears-before-watch-no-throw.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-watch-recursive-root-disappears-before-watch.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-watch-recursive-watch-before-read.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-write-stream-eagain.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-writefile-one-roundtrip.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-fs-writesync-crash.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-hash-seed.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-heap-embedder-graph.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-heapdump-fs-mkdir-recursive.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-http-agent-free-socket-data-guard.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-agent-free-socket-pending-read.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_a_socket_taken_from_the_free_pool": {}, + "block_01_a_released_socket_handed_directly_to_a_queued_request": {} + } + }, + "parallel/test-http-agent-highwatermark-reuse.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-agent-keep-alive-timeout-buffer.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_ensure_agentkeepalivetimeoutbuffer_option_sets_the_correct_v": {}, + "block_01_integration_test_with_server_sending_keep_alive_timeout_head": {} + } + }, + "parallel/test-http-agent-keylog-existing-sockets.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-client-abort-completed-keepalive.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-client-highwatermark.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-client-leaky-with-double-response.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-client-null-prototype-options.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-client-path-toctou.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-client-request-listeners-leak.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-connect-default-host-header.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-expect-continue-reuse-race.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-get-raw-header-names.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-header-value-relaxed.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {}, + "block_07_block_07": {}, + "block_08_block_08": {}, + "block_09_test_10b_same_inbound_header_without_insecurehttpparser_pars": {}, + "block_10_block_10": {}, + "block_11_block_11": {}, + "block_12_block_12": {}, + "block_13_block_13": {}, + "block_14_block_14": {}, + "block_15_block_15": {}, + "block_16_block_16": {}, + "block_17_block_17": {} + } + }, + "parallel/test-http-headers-distinct-proto.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-is-valid-header.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_isvalidheadername": {}, + "block_01_isvalidheadervalue": {} + } + }, + "parallel/test-http-keep-alive-empty-line.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-keep-alive-timeout-buffer.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-max-headers-count-overflow.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-odd-hex-write.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_1_has_no_complete_bytes_in_hex_encoding_so_the_request_body_": {}, + "block_01_dropped_1_1_hex_char_decodes_to_0_bytes": {}, + "block_02_exercises_the_writev_path_directly_at_the_net_layer": {} + } + }, + "parallel/test-http-outgoing-drain-writable-length.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-outgoing-flush-drain.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-parser-cached-callbacks.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-parser-freed-during-execute.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-parser-max-header-pairs-cache.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_observe_a_fresh_value": {}, + "block_01_preserve_the_existing_exception_behavior_for_the_first_prope": {} + } + }, + "parallel/test-http-pipeline-outgoing-destroy.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-request-connect-path.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-http-request-lookup-error-catchable.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-request-signal.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_1_req_signal_is_an_abortsignal_and_aborts_on_socket_clo": {}, + "block_01_test_2_req_signal_is_not_aborted_when_a_request_body_complet": {}, + "block_02_test_3_req_signal_is_aborted_if_accessed_after_destroy": {}, + "block_03_test_4_multiple_accesses_return_the_same_signal": {}, + "block_04_test_5_res_signal_on_a_client_side_http_request_response_inc": {}, + "block_05_test_6_res_signal_is_not_aborted_when_a_response_body_comple": {}, + "block_06_test_7_client_cancels_a_pending_request": {} + } + }, + "parallel/test-http-response-drain-cork.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-response-socket-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-server-close-idle-connections-pre-request.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-server-connection-list-when-close-deferred.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-server-drop-connections-in-cluster.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-server-invalid-headers-timeout-no-abort.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-server-optimize-empty-requests.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-server-raw-header-lookup.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-upgrade-server-callback.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-upgrade-server-with-body-and-extras.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-upgrade-server-with-body-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-upgrade-server-with-body.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-upgrade-server-with-large-body-unread.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-upgrade-server-with-large-body.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-websocket-mask-fast.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http-websocket-mask-immutable.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_to_the_read_only_backing_store_whatever_the_view_type_offset": {}, + "block_01_do_not_require_a_writable_backing_store": {}, + "block_02_the_mask_itself_may_be_backed_by_an_immutable_arraybuffer": {}, + "block_03_the_optimized_fast_api_path_also_rejects_immutable_targets": {} + } + }, + "parallel/test-http-websocket-mask.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_masking_twice_with_the_same_key_is_the_identity_websocketmas": {}, + "block_01_the_offset_and_length_arguments": {}, + "block_02_the_mask_may_alias_the_output": {}, + "block_03_any_arraybufferview_works_and_is_treated_as_bytes": {}, + "block_04_views_backed_by_a_sharedarraybuffer": {}, + "block_05_empty_and_detached_inputs": {}, + "block_06_argument_validation": {} + } + }, + "parallel/test-http-write-information.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_client_s_information_event": {}, + "block_01_headers_argument_is_optional_nullable": {}, + "block_02_error_cases": {} + } + }, + "parallel/test-http2-allow-http1-upgrade-ws.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-bidirectional-write-deadlock.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-client-session-close-before-stream-close.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-compat-get-headers.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-compat-write-early-hints-invalid-header.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-compat-write-head-after-close.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-compat-write-information.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_error_cases": {} + } + }, + "parallel/test-http2-connection-window-size-option.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-file-reset-pending-write.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-graceful-close.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-max-session-memory-stalled-data.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-max-session-memory-stalled-headers.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-origin-set-max-size.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-raw-headers-defaults.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-raw-headers.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-removed-stream-headers-outlive-session.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-reset-buffered-read.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-reset-pending-write.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-respond-file-fd-leak.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-respond-with-file-cancelled-crash.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-rst-stream-reentrancy.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-server-close-idle-connection.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-server-rfc-9113-client.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-server-rfc-9113-server.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-session-cleanup-on-nghttp2-goaway-after-peer-goaway.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-session-cleanup-on-nghttp2-goaway.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-session-destroy-stream-handler.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-session-graceful-close.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-session-reuse-different-authority.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-single-headers-validation-disabled.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-single-headers-validation.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-socket-proxy-destroy.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-stream-backpressure-unread-peer.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-http2-window-update-overflow.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-https-agent-checkserveridentity-reuse.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-https-agent-pfx-object-array-reuse.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-https-agent-tls-policy-reuse.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-https-empty-write-nested-parser-execute.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-https-expect-continue-reuse-race.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-https-response-tls-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-https-session-reuse-different-servername.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-https-snicallback-override.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-inspector-close-terminate-connections.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-inspector-debug-async-hook.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-inspector-dom-storage-malformed.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-inspector-dom-storage.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-inspector-emit-protocol-event-errors.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-inspector-host-warning.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-inspector-invalid-protocol.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-inspector-network-arbitrary-data.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-inspector-network-content-type.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-inspector-network-data-received.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_should_stream_network_datareceived_with_data_chunks": {}, + "test_01_network_streamresourcecontent_should_send_all_buffered_chunk": {}, + "test_02_network_streamresourcecontent_should_reject_if_request_id_no": {}, + "test_03_network_getresponsebody_should_send_all_buffered_binary_data": {}, + "test_04_network_getresponsebody_should_send_all_buffered_text_data": {} + } + }, + "parallel/test-inspector-network-data-sent.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_network_getrequestpostdata_should_send_all_buffered_text_dat": {}, + "test_01_network_getrequestpostdata_does_not_support_binary_data": {}, + "test_02_network_getrequestpostdata_should_reject_if_request_id_not_f": {} + } + }, + "parallel/test-inspector-network-http2.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-inspector-network-websocket.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-inspector-wait.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-inspector-worker-target.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-internal-async-context-frame-disable.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-internal-async-context-frame-enabled.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-internal-net-isLoopback.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-internal-util-construct-sab.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-internal-util-getCIDR.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-internal-util-isinsidenodemodules.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-internal-webidl-buffer-source.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_buffersource_accepts_arraybuffer": {}, + "test_01_buffersource_accepts_all_typedarray_kinds": {}, + "test_02_buffersource_accepts_buffer": {}, + "test_03_buffersource_accepts_dataview": {}, + "test_04_buffersource_accepts_cross_realm_buffer_sources": {}, + "test_05_buffersource_accepts_arraybuffer_subclass_instance": {}, + "test_06_buffersource_accepts_typedarray_with_null_prototype": {}, + "test_07_buffersource_accepts_dataview_with_null_prototype": {}, + "test_08_buffersource_accepts_arraybuffer_with_null_prototype": {}, + "test_09_buffersource_rejects_sharedarraybuffer": {}, + "test_10_buffersource_rejects_sab_backed_typedarray": {}, + "test_11_buffersource_rejects_sab_backed_dataview": {}, + "test_12_buffersource_rejects_sab_view_whose_buffer_prototype_was_rea": {}, + "test_13_buffersource_accepts_a_detached_arraybuffer": {}, + "test_14_buffersource_rejects_resizable_arraybuffer_by_default": {}, + "test_15_buffersource_handles_resizable_backed_views_with_explicit_op": {}, + "test_16_buffersource_rejects_sab_backed_views_with_explicit_options": {}, + "test_17_allowsharedbuffersource_accepts_arraybuffer_and_sharedarrayb": {}, + "test_18_allowsharedbuffersource_accepts_cross_realm_buffers": {}, + "test_19_allowsharedbuffersource_accepts_arraybuffer_and_sharedarrayb": {}, + "test_20_allowsharedbuffersource_handles_resizable_buffers_with_expli": {}, + "test_21_test_21": {}, + "test_22_shared_buffer_growability_checks_do_not_read_javascript_prop": {}, + "test_23_shared_webassembly_buffer_growability_is_checked_per_buffer": {}, + "test_24_buffersource_rejects_objects_with_a_forged_tostringtag": {} + } + }, + "parallel/test-internal-webidl-dictionary.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-internal-webidl.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {}, + "block_07_block_07": {}, + "block_08_block_08": {}, + "block_09_block_09": {}, + "block_10_block_10": {}, + "block_11_block_11": {}, + "block_12_block_12": {}, + "block_13_block_13": {}, + "block_14_block_14": {}, + "block_15_block_15": {}, + "block_16_block_16": {}, + "block_17_block_17": {}, + "block_18_block_18": {}, + "block_19_block_19": {}, + "block_20_block_20": {}, + "block_21_block_21": {}, + "block_22_block_22": {}, + "block_23_block_23": {} + } + }, + "parallel/test-is-internal-thread.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-mark-promise-handled.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-max-old-space-size-percentage.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-messaging-string-tag.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-mock-timers-abortsignal-timeout.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-module-builtin-experimental.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-module-builtin-policies.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_validate_every_declared_policy_before_testing_its_behavior": {}, + "block_01_callers_must_not_be_able_to_change_the_loader_s_policy_throu": {}, + "block_02_test_option_gated_builtins_in_workers_without_changing_the_p": {} + } + }, + "parallel/test-module-nearest-parent-package-json-cache.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-module-relative-resolve-cache.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_same_for_resolutions_that_throw": {}, + "block_01_a_successful_load_populates_the_cache_and_the_second_load_hi": {} + } + }, + "parallel/test-module-subpath-import-long-path.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-module-unreadable-package-json.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-net-allow-half-open-async-iter-destroy.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-net-allow-half-open-async-iter.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-net-boundsocket-transfer-worker.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-net-boundsocket.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_resolved_address_including_the_os_assigned_ephemeral_port_wh": {}, + "block_01_defaults_the_host_to_the_ipv4_wildcard_when_omitted": {}, + "block_02_no_arguments_reserves_an_os_assigned_ephemeral_port_on_the_i": {}, + "block_03_binds_to_the_same_port_instead_coexist_since_libuv_sets_so_r": {}, + "block_04_throws_synchronously_on_a_non_numeric_host_no_dns_resolution": {}, + "block_05_rejects_a_non_string_host_and_a_non_object_options_argument": {}, + "block_06_test_net_1_rfc_5737_and_is_never_assigned_to_a_local_interfa": {}, + "block_07_immediately_re_bindable": {}, + "block_08_server_adoption_server_listen_boundsocket_then_a_client_roun": {}, + "block_09_the_bound_source_port_and_round_trips": {}, + "block_10_handle_already_owns_the_local_endpoint": {}, + "block_11_resolve_to_the_concrete_source_in_tick_before_the_connect_ev": {}, + "block_12_address_family_mismatch": {}, + "block_13_is_platform_dependent_so_probe_first": {}, + "block_14_block_14": {}, + "block_15_bind_to_the_same_path_throws_eaddrinuse_in_the_constructor": {}, + "block_16_net_connect_path_round_trips_and_the_connection_is_a_pipe": {} + } + }, + "parallel/test-net-connect-custom-lookup-non-string-address.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_when_family_is_ipv4": {}, + "test_01_when_family_is_ipv6": {} + } + }, + "parallel/test-net-keepalive-interval-count.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_four_values_converting_milliseconds_to_seconds_for_the_delay": {}, + "block_01_libuv_defaults_1s_interval_10_probes": {}, + "block_02_form_forwarding_enable_initialdelay_interval_count_to_the_ha": {}, + "block_03_omitted_options_properties_behave_like_omitted_positional_ar": {} + } + }, + "parallel/test-net-negative-zero.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-net-pipe-with-long-path.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-net-server-transfer-worker.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-net-socket-tos.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-net-socket-transfer-worker-http.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-net-socket-transfer-worker.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-net-socket-unref-timer-parent-chain.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-net-transfer-guards.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_event_loops": {}, + "block_01_a_server_that_is_not_listening_no_handle_cannot_be_transferr": {}, + "block_02_a_closed_boundsocket_no_longer_owns_a_handle_and_cannot_be_t": {}, + "block_03_an_adopted_boundsocket_no_longer_owns_a_handle_and_cannot_be": {}, + "block_04_buffered_data_would_be_lost_on_the_sending_side": {} + } + }, + "parallel/test-net-unref-timer-parent-undefined.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-node-output-console.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-node-output-errors.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-node-output-eval.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-node-output-sourcemaps.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-node-output-vm.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-openssl-unreadable-config.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-os-constants-signals.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-os-fast.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-package-map-cli.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-parse-args.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_when_short_option_used_as_flag_then_stored_as_flag": {}, + "test_01_when_short_option_used_as_flag_before_positional_then_stored": {}, + "test_02_when_short_option_type_string_used_with_value_then_stored_as": {}, + "test_03_when_short_option_listed_in_short_used_as_flag_then_long_opt": {}, + "test_04_test_04": {}, + "test_05_when_short_option_type_string_used_without_value_then_stored": {}, + "test_06_short_option_group_behaves_like_multiple_short_options": {}, + "test_07_short_option_group_does_not_consume_subsequent_positional": {}, + "test_08_if_terminal_of_short_option_group_configured_type_string_sub": {}, + "test_09_handles_short_option_groups_in_conjunction_with_long_options": {}, + "test_10_handles_short_option_groups_with_short_alias_configured": {}, + "test_11_handles_short_option_followed_by_its_value": {}, + "test_12_everything_after_a_bare_is_considered_a_positional_argument": {}, + "test_13_args_are_true": {}, + "test_14_arg_is_true_and_positional_is_identified": {}, + "test_15_args_equals_are_passed_type_string": {}, + "test_16_when_args_include_single_dash_then_result_stores_dash_as_pos": {}, + "test_17_zero_config_args_equals_are_parsed_as_if_type_string": {}, + "test_18_same_arg_is_passed_twice_type_string_and_last_value_is_recor": {}, + "test_19_args_equals_pass_string_including_more_equals": {}, + "test_20_first_arg_passed_for_type_string_and_multiple_is_in_array": {}, + "test_21_args_are_passed_type_string_and_multiple": {}, + "test_22_test_22": {}, + "test_23_order_of_option_and_positional_does_not_matter_per_readme": {}, + "test_24_correct_default_args": {}, + "test_25_excess_leading_dashes_on_options_are_retained": {}, + "test_26_positional_arguments_are_allowed_by_default_in_strict_false": {}, + "test_27_positional_arguments_may_be_explicitly_disallowed_in_strict_": {}, + "test_28_invalid_argument_passed_for_options": {}, + "test_29_type_property_missing_for_option_then_throw": {}, + "test_30_boolean_passed_to_type_option": {}, + "test_31_invalid_union_value_passed_to_type_option": {}, + "test_32_unknown_long_option_bar": {}, + "test_33_unknown_short_option_b": {}, + "test_34_unknown_option_r_in_short_option_group_bar": {}, + "test_35_unknown_option_with_explicit_value": {}, + "test_36_unexpected_positional": {}, + "test_37_unexpected_positional_after": {}, + "test_38_by_itself_is_not_a_positional": {}, + "test_39_string_option_used_as_boolean": {}, + "test_40_boolean_option_used_with_value": {}, + "test_41_invalid_short_option_length": {}, + "test_42_null_prototype_when_no_options_then_values_tostring_is_undef": {}, + "test_43_null_prototype_when_tostring_then_values_tostring_is_true": {}, + "test_44_strict_when_candidate_option_value_is_plain_text_then_does_n": {}, + "test_45_strict_when_candidate_option_value_is_then_does_not_throw": {}, + "test_46_strict_when_candidate_option_value_is_then_throws": {}, + "test_47_strict_when_candidate_option_value_is_short_option_then_thro": {}, + "test_48_strict_when_candidate_option_value_is_short_option_digit_the": {}, + "test_49_strict_when_candidate_option_value_is_long_option_then_throw": {}, + "test_50_strict_when_short_option_and_suspect_value_then_throws_with_": {}, + "test_51_strict_when_long_option_and_suspect_value_then_throws_with_l": {}, + "test_52_strict_when_short_option_and_suspect_value_then_throws_with_": {}, + "test_53_strict_when_long_option_and_suspect_value_then_throws_with_w": {}, + "test_54_tokens_positional": {}, + "test_55_tokens_followed_by_option_like": {}, + "test_56_tokens_strict_true_boolean_short": {}, + "test_57_tokens_strict_true_boolean_long": {}, + "test_58_tokens_strict_false_boolean_short": {}, + "test_59_tokens_strict_false_boolean_long": {}, + "test_60_tokens_strict_false_boolean_option_group": {}, + "test_61_tokens_strict_false_boolean_option_group_with_repeated_optio": {}, + "test_62_tokens_strict_true_string_short_with_value_after_space": {}, + "test_63_tokens_strict_true_string_short_with_value_inline": {}, + "test_64_tokens_strict_false_string_short_missing_value": {}, + "test_65_tokens_strict_true_string_long_with_value_after_space": {}, + "test_66_tokens_strict_true_string_long_with_value_inline": {}, + "test_67_tokens_strict_false_string_long_with_value_inline": {}, + "test_68_tokens_strict_false_string_long_missing_value": {}, + "test_69_tokens_strict_true_complex_option_group_with_value_after_spa": {}, + "test_70_tokens_strict_true_complex_option_group_with_inline_value": {}, + "test_71_tokens_strict_false_with_single_dashes": {}, + "test_72_tokens_strict_false_with": {}, + "test_73_default_must_be_a_boolean_when_option_type_is_boolean": {}, + "test_74_default_must_accept_undefined_value": {}, + "test_75_default_must_be_a_boolean_array_when_option_type_is_boolean_": {}, + "test_76_default_must_be_a_boolean_array_when_option_type_is_string_a": {}, + "test_77_default_must_be_a_string_when_option_type_is_string": {}, + "test_78_default_must_be_an_array_when_option_type_is_string_and_mult": {}, + "test_79_default_must_be_a_string_array_when_option_type_is_string_an": {}, + "test_80_default_accepted_input_when_multiple_is_true": {}, + "test_81_when_default_is_set_the_option_must_be_added_as_result": {}, + "test_82_when_default_is_set_the_args_value_takes_precedence": {}, + "test_83_tokens_should_not_include_the_default_options": {}, + "test_84_tokens_true_should_not_include_the_default_options_after_the": {}, + "test_85_proto_as_default_value_must_be_ignored": {}, + "test_86_multiple_as_false_should_expect_a_string": {}, + "test_87_disable_negative_options_and_args_are_started_with_no_prefix": {}, + "test_88_args_are_passed_type_string_and_allow_negative_options": {}, + "test_89_args_are_passed_type_boolean_and_allow_negative_options": {}, + "test_90_args_are_passed_default_true_and_allow_negative_options": {}, + "test_91_args_are_passed_default_false_and_allow_negative_options": {}, + "test_92_allow_negative_options_and_multiple_as_true": {}, + "test_93_allow_negative_options_and_passed_multiple_arguments": {}, + "test_94_auto_detect_no_foo_as_negated_when_strict_false_and_allowneg": {} + } + }, + "parallel/test-parse-test-envs.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-parse-test-only-envs.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-path-win32-normalize-device-names.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-perf-hooks-eventlooputilization.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-perf-hooks-histogram-analysis.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {}, + "block_07_block_07": {}, + "block_08_block_08": {}, + "block_09_block_09": {}, + "block_10_block_10": {}, + "block_11_block_11": {}, + "block_12_block_12": {}, + "block_13_block_13": {}, + "block_14_block_14": {} + } + }, + "parallel/test-perf-hooks-histogram-diff.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {} + } + }, + "parallel/test-perf-hooks-histogram-external-memory.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-perf-hooks-histogram-fast-calls.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-perf-hooks-histogram-import.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {}, + "block_07_block_07": {}, + "block_08_block_08": {} + } + }, + "parallel/test-perf-hooks-histogram-qrde-oracle.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-perf-hooks-histogram-qrde-worker.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-perf-hooks-histogram-qrde.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-perf-hooks-histogram-record-zero.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {} + } + }, + "parallel/test-perf-hooks-histogram-snapshot.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {} + } + }, + "parallel/test-perf-hooks-histogram-stats.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {}, + "block_07_block_07": {}, + "block_08_block_08": {}, + "block_09_block_09": {}, + "block_10_block_10": {}, + "block_11_block_11": {}, + "block_12_block_12": {} + } + }, + "parallel/test-perf-hooks-monitor-event-loop-delay-fast-calls.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-perf-hooks-monitor-event-loop-delay-options.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {} + } + }, + "parallel/test-perf-hooks-monitor-event-loop-delay-resolution.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-perf-hooks-resourcetiming-attributes.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_default_values_when_no_optional_timing_or_body_metadata_is_p": {}, + "block_01_responsestart_falls_back_to_the_final_response_when_no_inter": {}, + "block_02_values_reflected_from_timing_info_and_body_info": {} + } + }, + "parallel/test-perf-hooks-resourcetiming-fetch.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-perf-hooks-sliding-window-histogram-fast-calls.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-perf-hooks-sliding-window-histogram.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {} + } + }, + "parallel/test-perf-hooks-timerify-basic.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-perf-hooks-timerify-constructor.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-perf-hooks-timerify-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-perf-hooks-timerify-histogram-async.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-perf-hooks-timerify-histogram-sync.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-perf-hooks-timerify-invalid-args.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-perf-hooks-timerify-multiple-wrapping.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-perf-hooks-timerify-return-value.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-performance-gc-minor-ms.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-performance-many-marks.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-performance-nodetiming-uvmetricsinfo-buffer.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-performance-nodetiming-uvmetricsinfo-worker.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-performance-timeline.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-performanceobserver-observer-counts.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {} + } + }, + "parallel/test-permission-allow-fs-vfs-flags.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-allow-inspector.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-audit-addons-does-not-deny.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_audit_mode_reaches_the_real_dlopen_and_logs_the_denial": {}, + "test_01_enforce_mode_still_disables_dlopen_upfront": {} + } + }, + "parallel/test-permission-audit-child-process-inherit-flags.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_child_should_inherit_permission_audit_and_the_allow_flags_vi": {}, + "block_02_child_spawned_with_explicit_permission_should_use_its_own_fl": {}, + "block_03_child_spawned_with_explicit_permission_audit_should_use_its_": {}, + "block_04_block_04": {} + } + }, + "parallel/test-permission-audit-fs-does-not-deny.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_permission_audit_logs_fs_denial_without_throwing": {}, + "test_01_permission_audit_logs_fs_denial_without_throwing_eval": {} + } + }, + "parallel/test-permission-audit-fs-lstat-symlink-does-not-deny.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-audit-fs-realpath.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-audit-net-does-not-deny.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_permission_audit_logs_net_denial_without_blocking_connect": {}, + "test_01_permission_audit_logs_net_denial_without_blocking_connect_ev": {} + } + }, + "parallel/test-permission-child-process-inherit-flags-substring.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_still_gets_its_own_flags_honored_regression_test_for_existin": {}, + "block_01_block_01": {} + } + }, + "parallel/test-permission-child-process-inherit-flags.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_it_should_not_override_when_permission_is_passed": {}, + "block_04_it_should_not_override_when_node_options_with_permission_is_": {}, + "block_05_block_05": {} + } + }, + "parallel/test-permission-config-file.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-diagnostics-channel.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-dlopen-binary.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_both_permissions_granted_the_addon_loads": {}, + "block_01_bytes_are_never_materialized": {}, + "block_02_the_same_as_any_other_dlopen_under_the_permission_model": {}, + "block_03_without_the_permission_model_neither_check_applies": {}, + "block_04_mounted_vfs_mounting_one_under_the_permission_model_needs_al": {} + } + }, + "parallel/test-permission-drop-addons.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-drop-child-process.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-permission-drop-diagnostics-channel.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-drop-errors.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {} + } + }, + "parallel/test-permission-drop-fs-all.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {} + } + }, + "parallel/test-permission-drop-fs-granted-path.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_grant_a_directory_try_to_drop_a_file_inside_it_should_be_a_n": {}, + "block_01_grant_a_directory_drop_the_same_directory_should_revoke_all_": {}, + "block_02_grant_two_directories_drop_one_the_other_remains_accessible": {}, + "block_03_the_directory_grant_still_covers_everything_including_that_f": {}, + "block_04_drop_entire_scope_without_reference_revokes_everything": {} + } + }, + "parallel/test-permission-drop-fs-read.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {} + } + }, + "parallel/test-permission-drop-fs-scope.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {} + } + }, + "parallel/test-permission-drop-fs-specific-path.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-drop-fs-write.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {} + } + }, + "parallel/test-permission-drop-net.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-permission-drop-not-enabled.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-drop-worker.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-permission-fs-filehandle-sync.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-fs-filehandle-utimes.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-fs-read-entrypoint.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-fs-watch-recursive.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-fs-write-trace-events.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-has-fast-api.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-has-reference-types.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-linked-binding-drop.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-linked-binding.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-net-allowed.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-net-cluster.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-net-dns.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {}, + "block_07_block_07": {} + } + }, + "parallel/test-permission-net-dtls.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_connect_should_throw_err_access_denied": {}, + "block_01_test_listen_should_throw_err_access_denied": {}, + "block_02_time_but_bind_requires_net_permission": {} + } + }, + "parallel/test-permission-net-fetch.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-net-http.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-net-https.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-net-quic.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_connect_should_reject_with_err_access_denied": {}, + "block_01_test_listen_should_throw_err_access_denied": {}, + "block_02_since_no_network_i_o_occurs_at_construction_time": {} + } + }, + "parallel/test-permission-net-socket-fd.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_a_listening_tcp_socket": {}, + "block_01_the_standard_streams_are_adopted_without_allow_net": {}, + "block_02_child_with_an_ipc_channel_still_require_it": {} + } + }, + "parallel/test-permission-net-tcp.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-net-udp-handle.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-net-udp.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-net-uds.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {} + } + }, + "parallel/test-permission-net-warning.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-net-websocket.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-permission-openssl-store.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_denied_by_default_when_the_flag_is_not_provided": {}, + "block_01_fs_read_is_not_granted": {}, + "block_02_openssl_tries_the_file_loader_before_the_loader_identified_b": {} + } + }, + "parallel/test-process-execve-no-args.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-process-execve-on-exit.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-process-execve-permission-fail.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-process-execve-permission-granted.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-process-execve-socket.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-process-execve-throws.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-process-execve-validation.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-process-execve-worker-threads.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-process-execve.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-process-exit-after-fetch-throw.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-process-finalization.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_register_is_different_per_thread": {}, + "test_01_should_throw_when_register_undefined_value": {} + } + }, + "parallel/test-process-threadCpuUsage-main-thread.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-process-threadCpuUsage-worker-threads.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-process-timeout-blocked.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {} + } + }, + "parallel/test-process-timeout-coverage.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-process-timeout-inspector.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-process-timeout-options.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-process-timeout.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {}, + "block_07_block_07": {} + } + }, + "parallel/test-process-warnings.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-promise-race-memory-leak.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-promise-unhandled-error-with-reading-file.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-address-validation.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-alpn-h3.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-alpn-mismatch.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-alpn.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-blocklist.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_deny_mode_block_127_0_0_1": {}, + "block_01_allow_mode_only_allow_127_0_0_1": {} + } + }, + "parallel/test-quic-callback-error-onblocked.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-callback-error-ondatagram-async.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-callback-error-ondatagram.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-callback-error-ondatagramstatus.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-callback-error-onerror-option.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-callback-error-onerror-validation.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-callback-error-onerror.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_first_client_destroy_with_error_onerror_fires": {}, + "block_01_second_client_destroy_without_error_onerror_should_not_fire": {} + } + }, + "parallel/test-quic-callback-error-onhandshake.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-callback-error-onnewtoken.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-callback-error-onpathvalidation.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-callback-error-onreset.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-callback-error-onsessionticket.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-callback-error-onstream-async.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-callback-error-onstream.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-callback-error-stream-onerror.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_it_and_can_close_cleanly": {} + } + }, + "parallel/test-quic-callback-error-suppressed-async.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-callback-error-suppressed.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-cc-algorithm.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-certificate-compression.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-connection-concurrent.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-connection-limits.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-datagram-abandoned.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-datagram-drop-newest.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-datagram-drop-oldest.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-datagram-echo.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-datagram-edge-cases.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_dgram_08_dgimp_08_zero_length_datagram_returns_0n": {}, + "block_01_dgc_01_dgimp_09_maxdatagramframesize_0_disables_datagrams": {}, + "block_02_dgram_11_no_ondatagram_callback_no_crash": {} + } + }, + "parallel/test-quic-datagram-frame-size-validation.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-datagram-multiple.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-datagram-no-detach.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-datagram-size-limits.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-datagram-sources.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_dgimp_01_string_with_custom_encoding": {}, + "block_01_dgimp_02_promise_input": {}, + "block_02_dgimp_03_promise_input_session_closes_during_await": {}, + "block_03_dgimp_04_sharedarraybuffer": {}, + "block_04_dgimp_05_pooled_buffer_partial_view": {}, + "block_05_dgimp_06_dataview": {} + } + }, + "parallel/test-quic-datagram-status.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-datagram-utf8.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-datagram.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-default-stream-limits.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-diagnostics-channel-busy.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-diagnostics-channel-datagram-status.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-diagnostics-channel-datagram.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-diagnostics-channel-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-diagnostics-channel-path.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-diagnostics-channel-session.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-diagnostics-channel-stream.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-diagnostics-channel-token.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-diagnostics-channel.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-draining-period.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_after_server_closes_not_after_the_full_idle_timeout": {}, + "block_01_test_2_custom_drainingperiodmultiplier_is_accepted": {}, + "block_02_test_3_values_below_3_are_rejected_by_js_validation": {}, + "block_03_test_4_invalid_types_are_rejected": {} + } + }, + "parallel/test-quic-early-selection-order.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_delivered_already_in_the_first_flight_delivery_must_be_defer": {}, + "block_01_key_share_for_x25519_the_so_an_automatic_hrr_is_required": {} + } + }, + "parallel/test-quic-edge-closing-ops.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-edge-concurrent-close.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-edge-destroyed-ops.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-edge-endpoint-destroy-active.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-edge-idempotent.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-edge-session-close-immediate.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-edge-session-destroy-immediate.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-enable-early-data.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-endpoint-async-dispose.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-endpoint-bind-failure.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-endpoint-bind.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-endpoint-busy.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-endpoint-close-destroy.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-endpoint-destroy-after-close.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-endpoint-destroy-cascade-close-frame.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-endpoint-idle-timeout.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_udp_handle_is_unref_d_so_it_won_t_block_process_exit": {}, + "block_01_test_2_idletimeout_0_endpoint_stays_alive_briefly": {} + } + }, + "parallel/test-quic-endpoint-onsession-throws.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-quic-endpoint-reuse.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_1_connect_reuses_endpoints_by_default": {}, + "block_01_test_2_reuseendpoint_false_creates_separate_endpoints": {}, + "block_02_test_3_connect_to_a_listening_endpoint_s_address_is_not_reus": {} + } + }, + "parallel/test-quic-endpoint-state-transitions.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_binding_to_0_0_0_0": {} + } + }, + "parallel/test-quic-error-class.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_1_bigint_errorcode_default_type_default_node_code": {}, + "block_01_2_number_errorcode_coerced_to_bigint": {}, + "block_02_3_boundary_0n_is_allowed": {}, + "block_03_4_boundary_2_62_1_is_allowed_largest_valid_62_bit_varint": {}, + "block_04_5_explicit_type_transport": {}, + "block_05_6_explicit_type_application_default": {}, + "block_06_7_custom_node_js_error_code_string_via_options_code": {}, + "block_07_prototype": {} + } + }, + "parallel/test-quic-error-destroy-rejects-promises.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_first_client_destroy_before_the_handshake_completes": {}, + "block_01_second_client_destroy_after_the_handshake_completes": {} + } + }, + "parallel/test-quic-exports-constants.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-exports.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-flow-control-bidi-simultaneous-volume.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-flow-control-blob.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-flow-control-block-resume.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-flow-control-concurrent-volume.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-flow-control-credit-reclaim.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-flow-control-large-constrained.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_bidirectional_client_sends_a_large_body_server_verifies_it": {}, + "block_01_different_transport_parameters_and_a_different_stream_type": {} + } + }, + "parallel/test-quic-flow-control-params.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-flow-control-slow-consumer-volume.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-flow-control-uni.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-h3-callback-errors.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_sync_throw_in_onheaders_callback_destroys_the_stream": {}, + "block_01_async_rejection_in_onheaders_callback_destroys_the_stream": {}, + "block_02_sync_throw_in_ontrailers_callback_destroys_the_stream": {}, + "block_03_sync_throw_in_onorigin_callback_destroys_the_session": {}, + "block_04_the_thrown_error": {} + } + }, + "parallel/test-quic-h3-close-behavior.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-h3-concurrent-requests.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-h3-datagram.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_datagrams_work_alongside_h3_request_response": {}, + "block_01_h3_datagrams": {} + } + }, + "parallel/test-quic-h3-error-codes.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_client_s_session_closed_rejects_with_the_error": {}, + "block_01_which_is_treated_as_a_clean_shutdown_not_an_error": {} + } + }, + "parallel/test-quic-h3-flow-control-volume.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-h3-goaway-non-h3.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-h3-goaway.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-h3-handshake-failure.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-h3-header-interest.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-h3-header-validation.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_lowercased_buildngheaderstring_lowercases_before_passing_to_": {}, + "block_01_verify_multiple_pseudo_header_combinations_work_correctly": {} + } + }, + "parallel/test-quic-h3-headers-support.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-h3-informational-headers.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-h3-maxstreamdata-external-buffer-failure.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-h3-origin.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_wildcard_entries_are_excluded": {}, + "block_01_authoritative_true_default_included_in_origin_frame": {} + } + }, + "parallel/test-quic-h3-pending-stream.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-h3-post-filehandle.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-h3-post-request.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-h3-priority.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_on_the_control_stream_has_been_processed_by_nghttp3_internal": {} + } + }, + "parallel/test-quic-h3-qpack-settings.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_table_is_not_used_verifies_the_option_is_passed_through_to_n": {}, + "block_01_verifies_large_dynamic_table_capacity_is_accepted": {} + } + }, + "parallel/test-quic-h3-request-rejected.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-h3-request-response.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-h3-settings.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_2_custom_headers_6_pairs_the_6th_pair_is_silently_dropped": {}, + "block_01_pushes_the_total_over_the_limit": {}, + "block_02_verify_these_options_are_accepted_and_h3_sessions_work_with_": {} + } + }, + "parallel/test-quic-h3-status-code-type.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-h3-stream-credit.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-h3-stream-destroy-no-resurrect.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-h3-stream-destroy-with-headers.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-h3-stream-idle-timeout.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_h3_stream_destroyed_after_idle_timeout": {}, + "block_01_h3_stream_with_ongoing_data_is_not_destroyed": {}, + "block_02_disabled_when_set_to_0": {} + } + }, + "parallel/test-quic-h3-stream-without-onstream.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_an_h3_request_completes_with_only_session_level_stream_callb": {}, + "block_01_warning_the_h3_block_above_must_not_trigger_that_warning": {}, + "block_02_consumer_accepts_it_in_quicsession_hasstreamconsumer": {} + } + }, + "parallel/test-quic-h3-trailing-headers.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-h3-uni-stream-limit-start-failure.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-h3-uni-stream-teardown.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-h3-zero-rtt-bogus-ticket.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-h3-zero-rtt-rejected-settings.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_enable_connect_protocol_disabled": {}, + "block_01_enable_datagrams_disabled": {}, + "block_02_max_field_section_size_decreased": {} + } + }, + "parallel/test-quic-h3-zero-rtt.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-handshake-ipv6-only.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-handshake-timeout.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-handshake.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-internal-endpoint-listen-defaults.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-internal-endpoint-options.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-internal-endpoint-stats-state.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {} + } + }, + "parallel/test-quic-internal-setcallbacks.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-keepalive.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_pingrecv_stat_should_be_0": {}, + "block_01_without_keepalive_default_no_additional_pings_after_handshak": {} + } + }, + "parallel/test-quic-key-update-peer.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-key-update.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-list-endpoints.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_created_endpoints_appear_in_the_list": {}, + "block_01_destroyed_endpoints_are_excluded_by_active_filter": {}, + "block_02_busy_endpoints_are_excluded_by_the_active_filter": {} + } + }, + "parallel/test-quic-max-payload-size.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-max-window.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_maxstreamwindow_limits_per_stream_window": {}, + "block_01_maxwindow_limits_session_level_window": {} + } + }, + "parallel/test-quic-maxstreamdata-external-buffer-failure.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-module-exports.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-multipacket-clienthello.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-new-token.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-perf-hooks.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-preferred-address-ignore.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-qlog.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-reject-unauthorized.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_the_validation_error_is_available_in_the_info_object": {}, + "block_01_the_session_opened_promise_rejects_when_the_cert_is_invalid": {}, + "block_02_the_tls_handshake_itself_fails_the_session_opened_promise_re": {} + } + }, + "parallel/test-quic-session-application-options.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-session-close-error-code.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_err_quic_application_error_with_the_exact_code_and_reason": {}, + "block_01_err_quic_transport_error_with_the_exact_code": {}, + "block_02_the_peer_receives_the_quic_application_error": {}, + "block_03_verify_the_default_close_sends_no_error_and_the_peer_closes_": {} + } + }, + "parallel/test-quic-session-close-graceful.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-quic-session-close-sends-frame.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-session-close.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {} + } + }, + "parallel/test-quic-session-destroy-reentrant.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {} + } + }, + "parallel/test-quic-session-destroy-validate-options.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-session-destroy.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {} + } + }, + "parallel/test-quic-session-emit-ordering.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-session-idle-timeout.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-session-initial-rtt.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-session-opened-early-destroy.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {} + } + }, + "parallel/test-quic-session-opened-info.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-session-opened-validation.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-session-preferred-address-ignore.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-session-preferred-address-ipv6.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-session-preferred-address.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-session-properties.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-session-stats-datagram.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-session-stats-detailed.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-session-stats.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-session-stream-lifecycle.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-session-transport-params.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-session-unobserved-error-close.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-shared-endpoint-stream-close.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-sni-mismatch.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-sni-multi-entry.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_client_1_connects_with_servername_host1_example_com": {}, + "block_01_client_2_connects_with_servername_host2_example_com": {}, + "block_02_client_3_connects_with_servername_unknown_example_com_wildca": {} + } + }, + "parallel/test-quic-sni-setcontexts.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_first_connection_uses_agent1_cert": {}, + "block_01_second_connection_should_use_agent2_cert": {} + } + }, + "parallel/test-quic-sni.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stateless-reset.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_stateless_reset_received_closes_session": {}, + "block_01_disablestatelessreset_prevents_the_server_from_sending_reset": {}, + "block_02_with_burst_1_and_rate_0_only_one_reset_can_be_sent": {} + } + }, + "parallel/test-quic-stats-tojson-inspect.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-bidi-basic.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-bidi-concurrent.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-bidi-echo.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-bidi-halfclose.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-bidi-large.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-bidi-server-initiated.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-bidi-setbody.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-bidi-varchunklen.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-bidi-writer.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-body-async-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-body-async-iterable.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-body-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-body-filehandle.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_filehandle_as_body_in_createbidirectionalstream": {}, + "block_01_filehandle_as_body_in_setbody": {}, + "block_02_locked_filehandle_rejects_on_second_use": {} + } + }, + "parallel/test-quic-stream-body-pooled-buffer.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-body-promise-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-body-promise-invalid.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-body-promise-reject.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-body-promise.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_promise_string": {}, + "block_01_promise_null": {} + } + }, + "parallel/test-quic-stream-body-readable-stream.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_web_readablestream_as_body_source": {}, + "block_01_node_js_stream_readable_as_body_source": {} + } + }, + "parallel/test-quic-stream-body-sources.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_1_arraybuffer_body": {}, + "block_01_test_2_arraybufferview_with_non_zero_byteoffset": {}, + "block_02_test_3_sharedarraybuffer_body": {}, + "block_03_test_4_blob_body": {} + } + }, + "parallel/test-quic-stream-body-state.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_setbody_after_writer_accessed_throws": {}, + "block_01_writer_after_setbody_throws": {}, + "block_02_setbody_on_destroyed_stream_throws": {} + } + }, + "parallel/test-quic-stream-body-string-shorthand.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_string_body_in_createbidirectionalstream_options": {}, + "block_01_string_body_with_setbody": {}, + "block_02_utf_8_multi_byte_characters_preserved_correctly": {} + } + }, + "parallel/test-quic-stream-body-string.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-body-sync-iterable.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-closed-promise.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-closed-rejects.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-destroy-emits-reset.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-destroy-emits-stop-sending.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-destroy-no-resurrect.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-destroy-options-code.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-destroy-options-validate.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-error-graceful-close.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-id-ordering.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-idle-timeout.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_stream_destroyed_after_idle_timeout": {}, + "block_01_stream_with_data_is_not_destroyed": {}, + "block_02_disabled_when_set_to_0": {} + } + }, + "parallel/test-quic-stream-iteration-batching.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-iteration-break.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-iteration-double.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-iteration-nonreadable.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-iteration-pipeto.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-iteration-pull.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-iteration.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-limits-pending.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-limits-uni.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-many-rapid.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-onblocked.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-pending.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-priority.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_setpriority_throws_because_the_session_doesn_t_support_prior": {}, + "block_01_test_2_validation_of_createstream_priority_incremental_optio": {}, + "block_02_test_3_setpriority_throws_on_non_h3_sessions_regardless_of_a": {} + } + }, + "parallel/test-quic-stream-read-after-blocked.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-read-after-fin.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-recv-coalescing.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-reset-after-data.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-reset-before-data.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-reset-mid-transfer.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-reset-stop.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-setbody-errors.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_1_setbody_after_setbody_throws": {}, + "block_01_test_2_setbody_after_writer_accessed_throws": {} + } + }, + "parallel/test-quic-stream-slow-consumer.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-stats.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-stop-sending-buffered.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-stop-sending-callback.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-stop-sending-interaction.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-truncated-reads-destroy.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_object": {}, + "block_01_truncation_reported_as_aborted_under_the_default_policy": {}, + "block_02_end": {}, + "block_03_reports_the_truncation_the_same_way_with_closed_resolving_cl": {} + } + }, + "parallel/test-quic-stream-truncated-reads-timeout.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-quic-stream-truncated-reads.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_rule_3_the_default_reports_it_ignore_treats_it_as_a_clean_en": {}, + "block_01_block_01": {}, + "block_02_carrying_the_peer_s_code_it_also_rejects_the_closed_promise_": {}, + "block_03_block_03": {}, + "block_04_default_policy_reports_it_and_ignore_does_not": {}, + "block_05_block_05": {}, + "block_06_policy_s_promise_the_incomplete_stream_never_looks_complete": {}, + "block_07_check_the_option_in_the_server_case_as_well": {} + } + }, + "parallel/test-quic-stream-uni-basic.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-uni-no-onstream.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-uni-server-initiated.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-write-partial-view.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-writer-api.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_write_async": {}, + "block_01_writevsync_vectored_write": {}, + "block_02_writev_async_vectored_write": {}, + "block_03_end_async_close": {}, + "block_04_web_idl_writer_argument_conversion": {}, + "block_05_block_05": {}, + "block_06_return_null_when_errored": {} + } + }, + "parallel/test-quic-stream-writer-dispose.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-writer-drain-unhandled-rejection.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-stream-writer-fail-error-code.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_1_plain_error_session_internalerrorcode_0x1n_for_non_h3": {}, + "block_01_2_quicerror_with_explicit_code_peer_sees_that_exact_code": {} + } + }, + "parallel/test-quic-stream-zero-length.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-test-client.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-test-server.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-tls-ca.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-tls-crl.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_non_revoked_agent3_with_original_crl_doesn_t_list_agent3": {}, + "block_01_revoked_agent3_with_crl_that_revokes_agent3": {} + } + }, + "parallel/test-quic-tls-keylog.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-tls-options.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_custom_ciphers_use_a_specific_tls_1_3_cipher_suite": {}, + "block_01_custom_groups_use_a_specific_key_exchange_group": {}, + "block_02_default_ciphers_groups_are_non_empty_strings_from_constants": {} + } + }, + "parallel/test-quic-tls-trace.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-tls-verify-client.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_tls_03_client_provides_a_certificate_handshake_succeeds": {}, + "block_01_closes_both_sides_with_a_transport_error": {} + } + }, + "parallel/test-quic-token-distinct.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-token-expired.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-token-reuse.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-token-secret.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-transport-params-validation.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-version-negotiation-oversized-cid.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-version-negotiation.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-version.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-worker-terminate.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-writer-abort-signal.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-writer-async-dispose-ended.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-writer-backpressure.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-writer-write-rejects.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-zero-rtt-datagram.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-zero-rtt-disabled-client.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-zero-rtt-disabled-server.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-zero-rtt-rejected-settings.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quic-zero-rtt.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-quotaexceedederror.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_prototype_chain": {}, + "block_01_default_properties": {}, + "block_02_custom_message": {}, + "block_03_options_with_quota_and_requested": {}, + "block_04_options_with_only_quota": {}, + "block_05_options_with_only_requested": {}, + "block_06_options_with_zero_values": {}, + "block_07_equal_quota_and_requested_is_valid": {}, + "block_08_numeric_string_coercion": {}, + "block_09_null_undefined_options_are_allowed": {}, + "block_10_still_works_and_returns_code_22_but_is_not_instanceof_quotae": {}, + "block_11_symboltostringtag": {}, + "block_12_property_descriptors_for_quota_requested_are_enumerable_and_": {}, + "block_13_getter_throws_on_invalid_this": {}, + "block_14_structuredclone_preserves_properties": {}, + "block_15_structuredclone_with_null_quota_requested": {} + } + }, + "parallel/test-readline-line-separators.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-readline-promises-csi.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {} + } + }, + "parallel/test-repl-async-iife.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-close.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-completion-on-getters-disabled.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-custom-eval-previews.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-custom-eval.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-eval-error-after-close.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-highlight.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-history-dedup-multiline.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-history-init-fail-leak.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-history-load-preserves-pending-entries.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-load-multiline-from-history.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-multiline-navigation-while-adding.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {} + } + }, + "parallel/test-repl-multiline-navigation.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {} + } + }, + "parallel/test-repl-multiple-instances-async-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-no-terminal-restore-process-listeners.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-preview-timeout.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-programmatic-history-setup-history.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-save-load-editor-mode.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-save-load-invalid-save.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-save-load-load-dir.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-save-load-load-non-existent.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-save-load-load-without-name.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-save-load-save-without-name.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-tab-complete-buffer.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-tab-complete-computed-props.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-tab-complete-custom-completer.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_sync_mode": {}, + "block_01_async_mode": {} + } + }, + "parallel/test-repl-tab-complete-files.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-tab-complete-new-expression.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-tab-complete-nosideeffects.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-tab-complete-require.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_tab_completion_on_require_on_builtin_modules_works": {}, + "block_01_tab_completion_on_require_on_builtin_modules_works_with_extr": {}, + "block_02_tab_completion_on_require_on_external_modules_works": {}, + "block_03_block_03": {}, + "block_04_test_tab_completion_for_require_relative_to_the_current_dire": {} + } + }, + "parallel/test-repl-tab-complete-unary-expressions.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-uncaught-exception-after-input-ended.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-repl-user-error-handler.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-require-package-map.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-require-resolve-invalid-paths.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-aftereach-runtime-skip.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_normal_test": {}, + "test_01_runtime_skip": {}, + "test_02_static_skip": {} + } + }, + "parallel/test-runner-cli-randomize.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-complex-dependencies.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-coverage-default-exclusion.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-coverage-isolation-none-api.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-diagnostics-channel.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_suite_end_ordering": {}, + "test_01_passing_test_fires_start_and_end": {}, + "test_02_test_02": {}, + "test_03_bindstore_value_is_isolated_between_tests": {}, + "test_04_nested_tests_fire_events_with_correct_names": {}, + "test_05_describe_block_with_tests": {}, + "test_06_context_is_available_in_async_operations_within_test": {}, + "test_07_bindstore_propagates_store_to_end_and_error_subscribers": {}, + "test_08_error_events_fire_for_failing_tests_in_fixture": {} + } + }, + "parallel/test-runner-enqueue-file-syntax-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-entry-file.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-execution-ordered-bypass.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-expect-error-but-pass.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-expect-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-flag-propagation.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-get-test-context.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_gettestcontext_returns_current_context_inside_test": {}, + "test_01_gettestcontext_works_in_nested_test": {}, + "test_02_gettestcontext_works_in_describe_it": {}, + "test_03_gettestcontext_returns_suitecontext_in_suite": {}, + "test_04_gettestcontext_inside_hooks": {}, + "test_05_gettestcontext_inside_test_level_hooks_returns_the_parent_te": {}, + "test_06_gettestcontext_works_in_test_body_during_async_operations": {} + } + }, + "parallel/test-runner-global-setup-teardown.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-global-setup-watch-mode.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-inspect.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_outputs_coverage_when_event_loop_is_drained_with_no_async_lo": {} + } + }, + "parallel/test-runner-log.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_t_log_validates_its_arguments": {}, + "test_01_built_in_reporters_render_test_log_like_diagnostics": {}, + "test_02_test_log_is_emitted_immediately_with_the_expected_payload": {} + } + }, + "parallel/test-runner-mock-dual-package.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-mock-timers-with-timeout.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-no-isolation-different-cwd.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-no-isolation-hooks.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_use_import_cjs_to_define_global_hooks": {}, + "test_01_use_import_esm_to_define_global_hooks": {}, + "test_02_use_require_to_define_global_hooks": {} + } + }, + "parallel/test-runner-no-isolation-load-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-no-isolation.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-option-precedence.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-plan.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_input_validation": {}, + "test_01_test_planning": {} + } + }, + "parallel/test-runner-randomize-first-draw.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-run-coverage.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-run-files-undefined.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-run-global-hooks.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-run.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_require_node_test_run": {}, + "test_01_env": {}, + "test_02_forceexit": {}, + "test_03_with_isolation_none": {} + } + }, + "parallel/test-runner-seeded-generator.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-tag-filter-cli.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_no_filter_every_test_runs": {}, + "test_01_single_filter_db": {}, + "test_02_filter_is_case_insensitive": {}, + "test_03_untagged_parent_runs_only_the_matching_tagged_child": {}, + "test_04_not_x_also_includes_untagged_tests": {}, + "test_05_repeated_experimental_test_tag_filter_ands_together": {}, + "test_06_bare_matches_any_tagged_test_excludes_untagged": {}, + "test_07_wildcard_prefix_db_matches_db_db_postgres_etc": {}, + "test_08_boolean_composition_unit_slow": {}, + "test_09_isolation_none_produces_identical_filtered_set": {}, + "test_10_combined_with_test_skip_pattern_pure_and": {}, + "test_11_malformed_expression_unbalanced_parenthesis_errors_at_startu": {}, + "test_12_malformed_expression_dangling_operator_errors_at_startup": {}, + "test_13_empty_experimental_test_tag_filter_is_rejected_by_argv_parse": {}, + "test_14_reserved_word_as_tag_value_errors_at_registration": {} + } + }, + "parallel/test-runner-tag-filter-parser.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_single_identifier": {}, + "test_01_case_insensitive_match": {}, + "test_02_and_have_higher_precedence_than_or": {}, + "test_03_not_has_higher_precedence_than_and": {}, + "test_04_not_has_higher_precedence_than_or": {}, + "test_05_parentheses_override_precedence": {}, + "test_06_double_negation": {}, + "test_07_mixing_word_and_punctuation_forms_in_one_expression": {}, + "test_08_mixed_forms_inside_parentheses_word_and_punct_equivalence": {}, + "test_09_nested_parentheses_and_wildcards_mixed_with_word_forms": {}, + "test_10_notslow_is_one_identifier_not_slow_is_two_tokens": {}, + "test_11_punctuation_does_not_need_whitespace_separation": {}, + "test_12_wildcard_expands_across_allowed_alphabet": {}, + "test_13_bare_matches_any_tagged_test": {}, + "test_14_wildcard_in_middle_and_at_start": {}, + "test_15_regex_metacharacters_in_tags_are_escaped": {}, + "test_16_wildcard_case_folding_matches_literal_tag_case_folding_for_n": {}, + "test_17_untagged_test_fails_any_include_expression": {}, + "test_18_not_x_against_an_untagged_test_is_true": {}, + "test_19_multiple_filters_and_together": {}, + "test_20_empty_filter_list_always_passes": {}, + "test_21_rejects_empty_whitespace_only_expressions": {}, + "test_22_rejects_unbalanced_parentheses": {}, + "test_23_rejects_dangling_operators": {}, + "test_24_rejects_two_adjacent_identifiers": {}, + "test_25_rejects_single_and_single": {}, + "test_26_rejects_empty_parentheses": {}, + "test_27_rejects_non_string_expressions": {} + } + }, + "parallel/test-runner-tags-events.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-tags-experimental-warning.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_the_warning_fires_once_per_process_for_tag_registration": {}, + "test_01_experimental_test_tag_filter_fires_the_warning": {}, + "test_02_programmatic_testtagfilters_fires_the_warning": {}, + "test_03_tags_does_not_fire_the_warning": {}, + "test_04_multiple_triggers_in_one_process_emit_the_warning_once": {} + } + }, + "parallel/test-runner-tags-inheritance.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_child_inherits_parent_suite_tags": {}, + "test_01_child_unions_own_tags_with_parent": {}, + "test_02_parent_tags_appear_before_child_tags_parent_first_order": {}, + "test_03_union_dedupes_across_parent_and_child": {}, + "test_04_multi_level_nesting_flattens_by_union": {}, + "test_05_child_without_own_tags_inherits_parent_set_unchanged": {}, + "test_06_tagged_child_under_untagged_parent_shows_only_own_tags": {}, + "test_07_untagged_child_under_untagged_parent_has_empty_tags": {}, + "test_08_tags_yields_an_empty_array_not_undefined": {}, + "test_09_tags_on_a_child_still_inherits_parent_tags_not_an_opt_out": {}, + "test_10_t_tags_returns_a_frozen_view": {}, + "test_11_successive_t_tags_reads_return_equivalent_arrays": {}, + "test_12_beforeeach_and_aftereach_see_the_flattened_tags_of_the_curre": {}, + "test_13_context_test_accepts_and_inherits_tags": {} + } + }, + "parallel/test-runner-tags-validation.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_non_array_tags_throws_err_invalid_arg_type": {}, + "test_01_non_string_element_throws_err_invalid_arg_type": {}, + "test_02_empty_string_tag_throws_err_invalid_arg_value": {}, + "test_03_forbidden_characters_throw_err_invalid_arg_value": {}, + "test_04_reserved_words_throw_err_invalid_arg_value_in_any_casing": {}, + "test_05_unicode_and_most_punctuation_are_allowed": {}, + "test_06_tags_is_a_no_op_does_not_throw": {}, + "test_07_case_dedup_db_db_db_collapses_to_single_canonical_entry": {}, + "test_08_declaration_order_is_preserved_on_dedup": {}, + "test_09_hooks_silently_ignore_the_tags_option": {}, + "test_10_suite_and_describe_validate_tags_identically": {}, + "test_11_it_validates_tags_identically_to_test": {}, + "test_12_it_validates_tags_identically_to_test": {}, + "test_13_run_rejects_non_string_testtagfilters_values": {}, + "test_14_run_accepts_a_bare_string_testtagfilters_and_normalizes_it": {}, + "test_15_run_treats_an_empty_testtagfilters_array_as_a_no_op": {} + } + }, + "parallel/test-runner-test-id.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-test-rerun-failures.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_test_should_pass_on_third_rerun": {}, + "test_01_test_should_pass_on_third_rerun_with_test": {}, + "test_02_failing_test_is_not_swallowed_when_siblings_share_its_source": {}, + "test_03_rerun_preserves_the_original_duration_on_the_replayed_pass": {}, + "test_04_using_run_api": {}, + "test_05_failing_todo_test_is_rerun_even_when_its_parent_suite_passed": {} + } + }, + "parallel/test-runner-todo-suite-hook-failure.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-v8-deserializer.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-watch-mode-complex.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-runner-worker-id.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_node_test_worker_id_is_set_for_concurrent_test_files": {}, + "test_01_node_test_worker_id_is_set_with_explicit_concurrency": {}, + "test_02_node_test_worker_id_is_1_with_concurrency_1": {}, + "test_03_node_test_worker_id_with_explicit_isolation_process": {}, + "test_04_node_test_worker_id_is_1_with_isolation_none": {}, + "test_05_context_workerid_matches_node_test_worker_id": {}, + "test_06_worker_ids_are_reused_when_more_tests_than_concurrency": {}, + "test_07_worker_ids_are_exclusive_to_concurrently_running_test_files": {} + } + }, + "parallel/test-runner-xfail.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-sea-assets-not-in-sea.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-sea-get-asset-keys.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-snapshot-invalid-blob.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {} + } + }, + "parallel/test-snapshot-perf-hooks-gc-observer.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-source-map-invalid-url.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-sqlite-aggregate-function.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_database_prototype_aggregate": {}, + "test_01_varargs": {}, + "test_02_directonly": {}, + "test_03_start": {}, + "test_04_step": {}, + "test_05_result": {}, + "test_06_throws_an_error_when_trying_to_use_as_windown_function_but_d": {} + } + }, + "parallel/test-sqlite-authz.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_database_prototype_setauthorizer": {}, + "test_01_authorizer_callback_reentrancy": {} + } + }, + "parallel/test-sqlite-backup.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_backup": {}, + "test_01_database_backup": {}, + "test_02_backup_database_using_location_as_url": {}, + "test_03_backup_database_using_location_as_buffer": {}, + "test_04_database_backup_in_a_single_call": {}, + "test_05_throws_exception_when_trying_to_start_backup_from_a_closed_d": {}, + "test_06_throws_if_url_is_not_file_scheme": {}, + "test_07_throws_if_the_url_like_path_has_an_unparsable_href": {}, + "test_08_database_backup_fails_when_dest_file_is_not_writable": {}, + "test_09_backup_fails_when_progress_function_throws": {}, + "test_10_backup_fails_when_source_db_is_invalid": {}, + "test_11_backup_fails_when_path_cannot_be_opened": {}, + "test_12_backup_has_correct_name_and_length": {}, + "test_13_source_database_is_kept_alive_while_a_backup_is_in_flight": {}, + "test_14_backup_promise_settles_when_the_backup_is_the_last_active_re": {} + } + }, + "parallel/test-sqlite-config.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_by_default_defensive_mode_is_on": {}, + "test_01_when_passing_defensive_true_as_config_defensive_mode_is_on": {}, + "test_02_when_passing_defensive_false_as_config_defensive_mode_is_off": {}, + "test_03_defensive_mode_on_after_calling_db_enabledefensive_true": {}, + "test_04_defensive_mode_off_after_calling_db_enabledefensive_false": {}, + "test_05_db_enabledefensive_true_persists_across_close_and_open": {}, + "test_06_db_enabledefensive_false_persists_across_close_and_open": {}, + "test_07_throws_if_options_defensive_is_provided_but_is_not_a_boolean": {}, + "test_08_enableloadextension_throws_if_database_is_not_open": {} + } + }, + "parallel/test-sqlite-database.js": { + "category": "runnable", + "reason": "carries 22.14.0 parallel/test-sqlite-database-sync.js (upstream f2b698f1cf); parallel/test-sqlite-statement-sync.js (upstream f2b698f1cf)", + "split": true, + "subtests": { + "test_00_database_constructor": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 26 test(s) failed" }, + "test_01_database_prototype_open": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 3 test(s) failed" }, + "test_02_database_prototype_close": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 2 test(s) failed" }, + "test_03_database_prototype_prepare": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 5 test(s) failed" }, + "test_04_database_prototype_exec": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 5 test(s) failed" }, + "test_05_database_prototype_istransaction": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 3 test(s) failed" }, + "test_06_database_prototype_location": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 5 test(s) failed" }, + "test_07_database_prototype_symbol_dispose": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 2 test(s) failed" } + } + }, + "parallel/test-sqlite-diagnostic-channel.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-sqlite-limits.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-sqlite-options-getter-reentry.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_closing_the_database_from_an_options_getter": {}, + "test_01_options_getters_do_not_run_on_an_already_closed_database": {}, + "test_02_resizing_a_deserialize_buffer_from_an_options_getter": {} + } + }, + "parallel/test-sqlite-serialize.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_database_prototype_serialize": {}, + "test_01_database_prototype_deserialize": {} + } + }, + "parallel/test-sqlite-statement-binding-reentry.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-sqlite-statement-columns.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 7 test(s) failed; carries 22.14.0 parallel/test-sqlite-database-sync.js (upstream f2b698f1cf); parallel/test-sqlite-statement-sync.js (upstream f2b698f1cf)" }, + "parallel/test-sqlite-statement.js": { + "category": "runnable", + "reason": "carries 22.14.0 parallel/test-sqlite-database-sync.js (upstream f2b698f1cf); parallel/test-sqlite-statement-sync.js (upstream f2b698f1cf)", + "split": true, + "subtests": { + "test_00_statement_constructor": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "test_01_statement_prototype_get": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 7 test(s) failed" }, + "test_02_statement_prototype_all": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 6 test(s) failed" }, + "test_03_statement_prototype_iterate": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 10 test(s) failed" }, + "test_04_statement_prototype_run": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 7 test(s) failed" }, + "test_05_statement_prototype_sourcesql": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 2 test(s) failed" }, + "test_06_statement_prototype_expandedsql": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 2 test(s) failed" }, + "test_07_statement_prototype_stat": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 7 test(s) failed" }, + "test_08_statement_prototype_resetstats": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 8 test(s) failed" }, + "test_09_statement_prototype_setreadbigints": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 5 test(s) failed" }, + "test_10_statement_prototype_setreturnarrays": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 2 test(s) failed" }, + "test_11_statement_prototype_get_with_array_output": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 2 test(s) failed" }, + "test_12_statement_prototype_all_with_array_output": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 2 test(s) failed" }, + "test_13_statement_prototype_iterate_with_array_output": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 2 test(s) failed" }, + "test_14_statement_prototype_setallowbarenamedparameters": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 3 test(s) failed" }, + "test_15_options_readbigints": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 4 test(s) failed" }, + "test_16_options_returnarrays": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 6 test(s) failed" }, + "test_17_options_allowbarenamedparameters": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 4 test(s) failed" }, + "test_18_statement_prototype_close": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 2 test(s) failed" }, + "test_19_statement_prototype_symbol_dispose": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 4 test(s) failed" }, + "test_20_options_persistent": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 4 test(s) failed" }, + "test_21_values_larger_than_the_maximum_string_length": {} + } + }, + "parallel/test-sqlite-template-tag.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_throws_error_if_database_is_not_open": {}, + "test_01_sql_run_inserts_data": {}, + "test_02_sql_get_retrieves_a_single_row": {}, + "test_03_sql_all_retrieves_all_rows": {}, + "test_04_sql_iterate_retrieves_rows_via_iterator": {}, + "test_05_queries_with_no_results": {}, + "test_06_rejects_parameters_outside_of_template_expressions": {}, + "test_07_tagstore_capacity_size_and_clear": {}, + "test_08_iterator_is_invalidated_when_the_cached_statement_is_reset": {}, + "test_09_a_stale_iterator_cannot_replay_a_victim_bound_write": {}, + "test_10_a_finished_iterator_stays_done_and_does_not_restart": {}, + "test_11_createtagstore_throws_on_invalid_maxsize": {}, + "test_12_sql_db_returns_the_associated_database_instance": {}, + "test_13_sql_error_messages_are_descriptive": {}, + "test_14_rejects_sql_that_contains_no_statements": {}, + "test_15_a_tag_store_keeps_the_database_alive_by_itself": {}, + "test_16_tag_store_prevents_circular_reference_leaks": {}, + "test_17_cached_statements_are_finalized_when_the_database_is_closed": {} + } + }, + "parallel/test-sqlite-timeout.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_waits_to_acquire_lock": {}, + "test_01_throws_if_the_lock_cannot_be_acquired_before_timeout": {} + } + }, + "parallel/test-sqlite-udf-close.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-sqlite-virtual-table.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-startup-empty-regexp-statics.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-finished-async-local-storage.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-finished-bindAsyncResource-path.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-finished-default-path.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-broadcast-backpressure.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-broadcast-basic.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-broadcast-coverage.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-broadcast-from.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-broadcast-waiter-cleanup.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-consumers-bytes.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-consumers-dump.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-consumers-merge.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-consumers-tap.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-consumers-text.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-cross-realm.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-disabled.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-duplex.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-factory-signal.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-from-async.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-from-coverage.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-from-sync.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-from-writable-cache-options.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-from-writable-lifecycle.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-namespace.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-pipeto-edge.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-pipeto-signal.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-pipeto-writev.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-pipeto.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-property-access.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-pull-async.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-pull-sync.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-push-backpressure.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-push-basic.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-push-writer.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-readable-interop-disabled.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-readable-interop.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-reason-propagation.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-resizable-buffers.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-share-async.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-share-coverage.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-share-from.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-share-sync.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-sharedarraybuffer.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-to-readable.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-transform-buffering.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-transform-compat.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-transform-coverage.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-transform-errors.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-transform-output.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-transform-params.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-transform-roundtrip.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-transform-sync.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-validation.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_writer_options_signal_must_be_abortsignal": {}, + "block_01_writer_writev_requires_array": {}, + "block_02_writer_chunks_use_the_web_idl_uint8array_or_usvstring_conver": {}, + "block_03_max_safe_integer_is_accepted": {}, + "block_04_per_direction_overrides": {}, + "block_05_small_explicit_budgets_are_accepted": {}, + "block_06_max_safe_integer_is_accepted": {}, + "block_07_not_leave_a_consumer_registered": {}, + "block_08_broadcastwriter_options_signal_must_be_abortsignal": {}, + "block_09_broadcastwriter_writev_requires_array": {}, + "block_10_duck_typed_readables_must_provide_each_of_the_required_metho": {}, + "block_11_fromwritable_writer_options_signal_must_be_abortsignal": {}, + "block_12_leave_a_consumer_registered": {}, + "block_13_push_with_valid_options": {}, + "block_14_duplex_with_valid_options": {}, + "block_15_broadcast_with_valid_options": {}, + "block_16_share_with_valid_options": {}, + "block_17_compression_with_valid_options": {}, + "block_18_brotli_with_valid_params": {} + } + }, + "parallel/test-stream-iter-webidl.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-writable-from.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-writable-interop.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-iter-writer-reentrancy.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-pipe-multiple-destinations-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-pipe-objectmode-to-non-objectmode.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_an_error_and_catch_by_the_consumer": {}, + "block_01_the_writable_stream_is_in_non_object_mode_and_the_data_is_st": {}, + "block_02_the_writable_stream_is_in_non_object_mode_and_the_data_is_bu": {} + } + }, + "parallel/test-stream-readable-async-iter-half-open-duplex.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-readable-compose.js": { + "category": "runnable", + "reason": "carries 22.14.0 parallel/test-stream-compose-operator.js (upstream 5e677d6e7e)", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, + "block_07_block_07": {}, + "block_08_block_08": {}, + "block_09_block_09": {} + } + }, + "parallel/test-stream-readable-readable-one.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-readable-to-web-byob.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-readable-to-web-termination-byob.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-readable-to-web.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream-readable-unobserved-eof-readable.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {} + } + }, + "parallel/test-stream-some-find-every.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {}, + "block_07_block_07": {}, + "block_08_block_08": {} + } + }, + "parallel/test-stream2-read-correct-num-bytes-in-utf8.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-stream2-readable-wrap-proxy-methods.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-string-decoder-utf8-large.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_end_is_buffered_by_the_decoder_and_flushed_as_u_fffd_by_end": {}, + "block_01_block_01": {} + } + }, + "parallel/test-structuredClone-domexception.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {} + } + }, + "parallel/test-temporal-with-zoneinfo.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-temporal.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-testpy-env-var-via-comment.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-throw-error-with-getter-throw-traced.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-throw-undefined-or-null-traced.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-timers-async-store-leak.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_refresh_can_reactivate_the_timer": {}, + "block_01_firing": {}, + "block_02_callback_or_arguments_after_it_is_cleared": {}, + "block_03_callback_or_arguments_after_firing": {}, + "block_04_firing": {}, + "block_05_test_that_the_async_store_reference_is_cleaned_up_and_can_be": {} + } + }, + "parallel/test-timers-fast-calls.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-timers-invalid-clear.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-timers-nan-duration-emit-once-per-process.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {} + } + }, + "parallel/test-timers-nan-duration-warning-promises.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-timers-nan-duration-warning.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-timers-negative-duration-warning-emit-once-per-process.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {} + } + }, + "parallel/test-timers-negative-duration-warning.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-timers-not-emit-duration-zero.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {} + } + }, + "parallel/test-tls-alpn-callback-sync-end-newsession.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-alpn-callback-sync-end.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-alpn-callback-sync-write.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-alpn-protocols-validation.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_empty_array_means_skip_alpn_allowed": {}, + "block_01_empty_buffer_means_skip_alpn_allowed_same_as": {}, + "block_02_empty_uint8array_means_skip_alpn": {}, + "block_03_valid_inputs_should_not_throw": {}, + "block_04_block_04": {} + } + }, + "parallel/test-tls-certcb-sync-write.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-certificate-compression.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-client-cert-resumption.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-client-hello-fragmented.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-clienthello-sync-write.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-connect-keepalive-nodelay.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_keepalive_keepaliveinitialdelay_and_nodelay": {}, + "block_01_test_defaults_options_not_set": {} + } + }, + "parallel/test-tls-connect-non-canonical-ip.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-connect-single-use-context.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-connect-sync-lookup.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-crl-bundle.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-dhparam-auto-boringssl.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-get-ca-certificates-bundled-subset.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-get-ca-certificates-bundled.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-get-ca-certificates-default.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-get-ca-certificates-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-get-ca-certificates-extra-empty.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-get-ca-certificates-extra-subset.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-get-ca-certificates-extra.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-get-ca-certificates-node-use-system-ca.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-get-ca-certificates-system-without-flag.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-get-ca-certificates-system.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-get-ca-certificates-worker-no-use-system-ca.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-get-ca-certificates-worker-use-system-ca.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-ip-servername-forbidden.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-keylog-sync-write.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-name-constraints-cn.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-off-thread-cert-loading-disabled.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-off-thread-cert-loading-system.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-off-thread-cert-loading.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-peer-certificate-repeated-reads.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-psk-alpn-callback-exception-handling.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-renegotiate-servername.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-resume-no-session-id-context.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-resume-servername.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-server-destroyed-before-deferred-callbacks.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-session-reuse-different-servername.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-session-timeout-errors.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-set-default-ca-certificates-append-fetch.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-set-default-ca-certificates-append-https-request.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-set-default-ca-certificates-array-buffer.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-set-default-ca-certificates-basic.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-set-default-ca-certificates-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-set-default-ca-certificates-extra-override.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-set-default-ca-certificates-mixed-types.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_mixed_array_with_string_and_buffer": {}, + "block_01_test_mixed_array_with_string_and_uint8array": {}, + "block_02_test_mixed_array_with_string_and_dataview": {}, + "block_03_test_mixed_array_with_buffer_and_uint8array": {} + } + }, + "parallel/test-tls-set-default-ca-certificates-precedence-bundled.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-set-default-ca-certificates-precedence-empty.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-set-default-ca-certificates-recovery.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-set-default-ca-certificates-reset-fetch.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-set-default-ca-certificates-reset-https-request.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-sni-case-insensitive.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-sni-context-ca-only.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-sni-context-renegotiate.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-tls-spki-blocklist.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_spki_blocklist_on_the_server_certificate": {}, + "test_01_spki_blocklist_on_certificates_outside_the_verified_chain": {}, + "test_02_spki_blocklist_on_the_client_certificate": {} + } + }, + "parallel/test-trace-events-perfetto-pftrace.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-trace-sigint-in-worker.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-uncaught-exception-handler-stack-overflow-on-stack-overflow.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-uncaught-exception-handler-stack-overflow.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-url-invalid-file-url-path-input.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: ERR_INVALID_FILE_URL_PATH has no err.input URL; the historical code assertion passes; carries 22.14.0 parallel/test-url-fileurltopath.js subtest test_03_fileurltopath_with_invalid_path" }, + "parallel/test-url-parse-deprecation.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-urlpattern-invalidthis.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-urlpattern-types.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_per_webidl_ignorecase_is_coerced_to_boolean_not_type_checked": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_constructor_undefined_input_should_be_treated_as_empty_init": {}, + "block_04_constructor_null_input_should_be_treated_as_empty_init_union": {}, + "block_05_constructor_2_arg_with_undefined_null_uses_overload_2_option": {}, + "block_06_constructor_valid_input_with_undefined_null_options": {}, + "block_07_constructor_3_arg_with_valid_baseurl_and_null_options_uses_d": {}, + "block_08_exec_and_test_undefined_input_should_be_treated_as_empty_ini": {}, + "block_09_exec_and_test_null_input_should_be_treated_as_empty_init": {}, + "block_10_with_dict_input_providing_baseurl_with_a_dict_throws_per_spe": {}, + "block_11_exec_and_test_valid_input_with_undefined_baseurl": {} + } + }, + "parallel/test-urlpattern.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {} + } + }, + "parallel/test-util-convert-signal-to-exit-code.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {} + } + }, + "parallel/test-util-debounce.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-util-exception-with-host-port.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_address_and_port_are_included_in_the_message": {}, + "block_01_port_0_omits_host_port_detail_port_property_is_not_set": {}, + "block_02_additional_is_appended_as_local": {}, + "block_03_no_address_or_port": {}, + "block_04_different_syscall_and_error_code": {}, + "block_05_stack_trace_should_not_include_exceptionwithhostport_itself": {} + } + }, + "parallel/test-util-getcallsites-preparestacktrace.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-util-getcallsites-sourcemap.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_registered_for_the_current_file": {}, + "block_01_enable_source_maps_is_active_and_a_source_map_is_found": {}, + "block_02_a_source_map_may_omit_names_so_preserve_the_function_name_fr": {}, + "block_03_without_enable_source_maps_the_generated_file_path_is_preser": {} + } + }, + "parallel/test-util-inspect-regexp.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-util-isPartialDeepStrictEqual.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_util_ispartialdeepstrictequal_returns_true_with_expected_pro": {}, + "test_01_util_ispartialdeepstrictequal_returns_false_with_unexpected_": {} + } + }, + "parallel/test-util-promisify-custom-names.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-util-styletext-hex.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-util-throttle-timing.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-util-throttle.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-v8-collect-gc-profile-minor-ms.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-v8-collect-gc-profile-using.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-v8-cpu-profile.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-v8-heap-profile.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_default_params": {}, + "block_01_custom_params_with_all_flags": {}, + "block_02_block_02": {}, + "block_03_second_stop_returns_undefined": {}, + "block_04_profile_and_snapshot_near_heap_limit_callbacks_coexist": {} + } + }, + "parallel/test-v8-string-is-one-byte-representation.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-vfs-access-modes.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-addon.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-append-write.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-bigint-position.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-callback-api.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-composable-provider.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-copyfile-mode.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_copyfilesync_with_copyfile_excl_throws_when_destination_exis": {}, + "block_01_copyfilesync_without_copyfile_excl_succeeds_and_overwrites": {} + } + }, + "parallel/test-vfs-create.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_vfs_create_with_no_arguments_uses_the_default_memoryprovider": {}, + "block_01_vfs_create_with_first_arg_as_options_object_no_provider": {}, + "block_02_vfs_create_with_explicit_provider": {}, + "block_03_new_virtualfilesystem_options_directly": {}, + "block_04_emitexperimentalwarning_option_must_be_a_boolean": {}, + "block_05_existssync_swallows_all_errors_from_the_provider_not_just_en": {}, + "block_06_walking_a_path_through_a_regular_file_parent_throws_enotdir": {}, + "block_07_statsync_returns_the_root_directory": {} + } + }, + "parallel/test-vfs-ctime-update.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_that_writefilesync_updates_both_mtime_and_ctime": {}, + "block_01_test_that_writesync_via_file_handle_updates_ctime": {}, + "block_02_test_that_truncatesync_updates_ctime": {} + } + }, + "parallel/test-vfs-destructuring.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {} + } + }, + "parallel/test-vfs-dir-handle.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_readsync_iteration": {}, + "block_01_using_explicit_resource_management": {}, + "block_02_read_callback_on_a_closed_dir_delivers_err_dir_closed": {}, + "block_03_opendirsync_without_options_object": {} + } + }, + "parallel/test-vfs-fd.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_opensync_and_closesync": {}, + "block_01_test_opensync_with_non_existent_file": {}, + "block_02_test_opensync_with_directory": {}, + "block_03_test_closesync_with_invalid_fd": {}, + "block_04_test_readsync": {}, + "block_05_test_readsync_with_position_tracking": {}, + "block_06_test_readsync_with_node_s_current_position_sentinel": {}, + "block_07_test_readsync_with_explicit_position": {}, + "block_08_test_readsync_at_end_of_file": {}, + "block_09_test_readsync_with_invalid_fd": {}, + "block_10_test_fstatsync": {}, + "block_11_test_fstatsync_with_invalid_fd": {}, + "block_12_test_async_open_and_close": {}, + "block_13_test_async_open_with_error": {}, + "block_14_test_async_close_with_invalid_fd": {}, + "block_15_test_async_read": {}, + "block_16_test_async_read_with_position_tracking": {}, + "block_17_test_async_read_with_invalid_fd": {}, + "block_18_test_async_fstat": {}, + "block_19_test_async_fstat_with_invalid_fd": {}, + "block_20_test_that_separate_vfs_instances_have_separate_fd_spaces": {}, + "block_21_test_multiple_opens_of_same_file": {} + } + }, + "parallel/test-vfs-file-handle.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-flag.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_without_the_flag_requiring_node_vfs_throws_err_unknown_built": {}, + "block_01_without_the_flag_importing_node_vfs_throws_err_unknown_built": {}, + "block_02_with_the_flag_node_vfs_loads_and_works": {}, + "block_03_bare_vfs_no_node_scheme_is_always_blocked": {} + } + }, + "parallel/test-vfs-fs-accessSync.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-fs-callback-error-paths.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_fs_access_on_missing_file_inside_a_mount": {}, + "block_01_lstat_passes_err_only_on_the_error_path_so_expectserror_work": {}, + "block_02_fs_open_on_a_path_whose_parent_directory_does_not_exist": {}, + "block_03_single_argument_expectserror_contract_does_not_match_use_mus": {}, + "block_04_rationale_as_fs_read_above": {}, + "block_05_fs_fstat_on_a_vfs_fd_that_has_been_closed_ebadf_through_call": {} + } + }, + "parallel/test-vfs-fs-chmod-callback.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-fs-chmodSync.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-fs-copyFileSync.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-fs-createReadStream.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_whole_file_read": {}, + "block_01_slice_with_start_end_inclusive": {}, + "block_02_open_event_fires_with_a_vfs_fd": {} + } + }, + "parallel/test-vfs-fs-createWriteStream.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_basic_write": {}, + "block_01_path_getter_open_event_with_a_vfs_fd": {} + } + }, + "parallel/test-vfs-fs-existsSync.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-fs-fchmod-callback.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-fs-linkSync.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-fs-matches-real-fs.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_watchfile_on_a_mounted_path_installs_a_stat_watcher": {}, + "test_01_fs_promises_watch_on_a_mounted_directory_yields_events": {}, + "test_02_watch_on_a_missing_mounted_path_throws_enoent": {}, + "test_03_utimessync_accepts_numeric_strings_as_seconds": {}, + "test_04_utimessync_rejects_an_invalid_time_argument": {}, + "test_05_readdirsync_rejects_an_invalid_encoding": {}, + "test_06_futimessync_updates_the_timestamps_through_a_descriptor": {}, + "test_07_fchmodsync_changes_the_mode_through_a_descriptor": {}, + "test_08_mkdtempsync_with_a_trailing_separator_creates_the_directory_": {}, + "test_09_mkdirsync_recursive_true_returns_the_first_directory_created": {}, + "test_10_a_closed_dir_can_be_disposed_asynchronously": {} + } + }, + "parallel/test-vfs-fs-mkdir-callback.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_mkdir_cb": {}, + "block_01_rmdir_cb": {}, + "block_02_rm_cb": {}, + "block_03_unlink_cb": {} + } + }, + "parallel/test-vfs-fs-mkdirSync.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-fs-mkdtempSync.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_string_result": {}, + "block_01_buffer_result": {} + } + }, + "parallel/test-vfs-fs-open-callback.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_open_fstat_read_close": {}, + "block_01_open_write_close": {}, + "block_02_ftruncate_cb": {} + } + }, + "parallel/test-vfs-fs-openAsBlob.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-fs-openSync.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_opensync_fstatsync_readsync_closesync": {}, + "block_01_readsync_with_position_null_uses_and_advances_the_current_fi": {}, + "block_02_opensync_writesync_buffer_closesync": {}, + "block_03_writesync_with_string_encoding": {}, + "block_04_ftruncatesync": {}, + "block_05_fchmodsync_fchownsync_futimessync_fdatasyncsync_fsyncsync_ar": {}, + "block_06_readvsync_writevsync": {} + } + }, + "parallel/test-vfs-fs-opendir-callback.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_readsync_iteration": {}, + "block_01_for_await_of_iteration": {} + } + }, + "parallel/test-vfs-fs-opendirSync.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-fs-promises-buffer-encoding.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-fs-promises-stat-no-throw.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-fs-promises.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-fs-readFile-callback.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_readfile_cb": {}, + "block_01_readdir_cb": {}, + "block_02_realpath_cb": {}, + "block_03_access_cb": {}, + "block_04_exists_cb_signature_is_exists_not_err_exists_use_mustcall": {} + } + }, + "parallel/test-vfs-fs-readFileSync.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_default_buffer_result": {}, + "block_01_readfilesync_via_a_vfs_fd": {}, + "block_02_is_renamed": {} + } + }, + "parallel/test-vfs-fs-readdirSync.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_default_utf8_string_array": {}, + "block_01_withfiletypes_true_dirent_array": {}, + "block_02_encoding_buffer_buffer_entries": {} + } + }, + "parallel/test-vfs-fs-realpathSync.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-fs-rename-callback.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_rename_cb": {}, + "block_01_copyfile_cb": {} + } + }, + "parallel/test-vfs-fs-renameSync.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-fs-rmSync.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-fs-stat-callback.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_stat_cb": {}, + "block_01_lstat_cb": {} + } + }, + "parallel/test-vfs-fs-statSync.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_statsync_on_a_regular_file": {}, + "block_01_lstatsync_on_a_regular_file": {}, + "block_02_statfssync_returns_number_typed_values_by_default": {}, + "block_03_statfssync_with_bigint_true_returns_bigint_fields": {} + } + }, + "parallel/test-vfs-fs-symlink-callback.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-fs-symlinkSync.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-fs-truncate-callback.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-fs-truncateSync.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-fs-watch-dispatch.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-fs-writeFile-callback.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_writefile_cb": {}, + "block_01_appendfile_cb": {} + } + }, + "parallel/test-vfs-fs-writeFileSync.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_writefilesync_via_a_vfs_fd_writes_through_the_open_descripto": {}, + "block_01_appendfilesync_via_a_vfs_fd_follows_normal_fd_write_semantic": {}, + "block_02_after_the_backing_path_is_renamed": {} + } + }, + "parallel/test-vfs-handle-semantics.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-hardlink-nlink.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-import.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_importing_a_simple_virtual_es_module": {}, + "block_01_test_importing_a_virtual_module_with_default_export": {}, + "block_02_mount_first_so_the_embedded_absolute_specifier_can_use_the_m": {}, + "block_03_test_importing_with_relative_paths": {}, + "block_04_test_importing_json_from_vfs_with_import_assertion": {}, + "block_05_test_that_real_modules_still_work_when_vfs_is_mounted": {}, + "block_06_test_mixed_cjs_and_esm_esm_importing_from_vfs_while_cjs_also": {}, + "block_07_test_esm_bare_specifier_resolution_from_vfs_node_modules": {} + } + }, + "parallel/test-vfs-invalid-package-json.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_matches_native_cjs_behavior_after_nodejs_node_48606": {}, + "block_01_valid_package_json_still_works": {}, + "block_02_missing_package_json_enoent_still_falls_through_to_index_js": {}, + "block_03_err_invalid_package_config_for_both_cjs_and_esm": {} + } + }, + "parallel/test-vfs-layer-tag-prefix.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-lchown-symlink.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-link.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_linking_to_a_directory_throws_einval": {}, + "block_01_linking_to_an_existing_target_throws_eexist": {} + } + }, + "parallel/test-vfs-load.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_a_directory_source_the_entry_point_runs_and_require_resolves": {}, + "block_01_a_provider_registered_by_a_r_commonjs_preload_backs_a_custom": {}, + "block_02_because_mounting_is_deferred_until_after_the_import_loop_has": {}, + "block_03_not_by_extension": {}, + "block_04_addressed_here_via_the_entry_s_own_dirname_resolves_and_runs": {}, + "block_05_the_real_file_system_above_the_reserved_mount_point": {}, + "block_06_point_in_both_threads_and_a_worker_path_the_parent_built_sti": {}, + "block_07_mount_cannot_be_its_entry_point": {}, + "block_08_vfs_load_names_the_source_it_loads_so_it_always_takes_a_valu": {}, + "block_09_the_value_may_also_be_given_as_a_separate_argument": {}, + "block_10_there": {}, + "block_11_replace_the_first": {}, + "block_12_from_argv_2_onward_and_argv_1_reports_the_mounted_source": {} + } + }, + "parallel/test-vfs-memory-file-handle.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-memory-provider-dynamic.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_lazy_populated_directory": {}, + "block_01_dynamic_content_provider_returning_a_buffer": {}, + "block_02_async_only_content_provider_sync_api_throws_err_invalid_stat": {}, + "block_03_renaming_over_a_lazy_directory_does_not_discard_its_entries": {} + } + }, + "parallel/test-vfs-memory-provider-flags.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-memory-provider.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_memoryprovider_can_be_instantiated_directly": {}, + "block_01_test_creating_vfs_with_memoryprovider_default": {}, + "block_02_test_creating_vfs_with_explicit_memoryprovider": {}, + "block_03_test_reading_and_writing_files": {}, + "block_04_test_appendfile": {}, + "block_05_test_stat_operations": {}, + "block_06_test_lstatsync_same_as_statsync_for_memory_provider_since_no": {}, + "block_07_test_readdirsync": {}, + "block_08_test_mkdir_and_rmdir": {}, + "block_09_test_recursive_mkdir": {}, + "block_10_test_unlink": {}, + "block_11_test_rename": {}, + "block_12_test_copyfile": {}, + "block_13_test_realpathsync": {}, + "block_14_test_existssync": {}, + "block_15_test_accesssync": {}, + "block_16_test_file_handle_operations_via_opensync": {}, + "block_17_test_file_handle_write_operations": {}, + "block_18_test_file_handle_readfile_and_writefile": {}, + "block_19_test_symlink_operations": {}, + "block_20_test_reading_directory_as_file_should_fail": {}, + "block_21_test_that_readfilesync_returns_independent_buffer_copies": {}, + "block_22_test_memoryprovider_readonly_mode": {} + } + }, + "parallel/test-vfs-mkdir.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_created_directory_when_some_parents_already_exist": {}, + "block_01_path_of_the_first_created_directory_as_requested_by_the_call": {}, + "block_02_resolved_parent_directory": {}, + "block_03_intermediate_targets": {}, + "block_04_block_04": {}, + "block_05_mkdirsync_with_explicit_mode_non_recursive": {}, + "block_06_mkdirsync_with_explicit_mode_recursive": {}, + "block_07_recursive_mkdir_through_a_regular_file_blocker_throws_enotdi": {}, + "block_08_rmdir_on_a_non_empty_directory_throws_enotempty": {} + } + }, + "parallel/test-vfs-mkdtemp.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_mkdtempsync_returns_the_created_directory_path_with_random_s": {}, + "block_01_mkdtemp_callback_variant_success": {}, + "block_02_mkdtemp_callback_variant_with_options_object": {}, + "block_03_mkdtemp_callback_variant_error_path_parent_doesn_t_exist": {} + } + }, + "parallel/test-vfs-module-hooks-cleanup.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_after_a_full_deregister_a_fresh_register_re_installs_hooks_c": {}, + "block_01_after_the_last_vfs_is_removed_real_fs_require_still_works": {}, + "block_02_matches_the_native_binding_s_throw_invalid_package_config_pa": {}, + "block_03_use_value_get_string_in_src_node_modules_cc": {}, + "block_04_vfs_fully_functional": {}, + "block_05_reuses_the_same_mount_point_so_a_stale_entry_would_be_revive": {} + } + }, + "parallel/test-vfs-module-hooks.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_cjs_bare_specifier_resolution_with_exports_string_short": {}, + "block_01_test_conditional_exports_with_import_require_default_conditi": {}, + "block_02_test_subpath_exports_map": {}, + "block_03_test_subpath_exports_with_conditional_object_target": {}, + "block_04_test_nested_conditional_exports_e_g_node_import_require": {}, + "block_05_test_package_without_exports_using_main_field": {}, + "block_06_test_package_without_exports_main_fallback_to_index_js": {}, + "block_07_test_extension_resolution_require_without_file_extension": {}, + "block_08_test_extension_resolution_with_json": {}, + "block_09_test_scoped_package_resolution_scope_pkg": {}, + "block_10_test_scoped_package_with_subpath": {}, + "block_11_test_js_file_with_type_module_in_package_json_esm_format": {}, + "block_12_test_cjs_always_treated_as_commonjs_regardless_of_package_ty": {}, + "block_13_test_file_url_specifier": {}, + "block_14_test_package_with_main_field_requiring_extension_resolution": {}, + "block_15_test_bare_specifier_with_package_subpath_no_exports_direct_f": {}, + "block_16_test_bare_specifier_subpath_with_extension_resolution": {}, + "block_17_test_bare_specifier_main_field_with_extension_resolution": {}, + "block_18_test_exports_with_array_value_fallback_array": {}, + "block_19_test_exports_with_default_condition": {}, + "block_20_test_package_json_type_commonjs_explicitly_set_for_js": {}, + "block_21_test_js_file_with_no_package_json_defaults_to_commonjs": {}, + "block_22_test_package_json_type_walk_stops_at_node_modules_boundary": {}, + "block_23_test_invalid_package_json_in_directory_resolution": {}, + "block_24_test_invalid_package_json_in_type_walk_up": {}, + "block_25_test_scoped_package_without_slash_just_scope_name": {}, + "block_26_test_node_builtin_passthrough": {}, + "block_27_test_json_import_with_type_assertion": {}, + "block_28_test_file_with_unknown_extension_defaults_to_commonjs": {} + } + }, + "parallel/test-vfs-module-paths.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_mount_root": {}, + "block_01_system_root": {}, + "block_02_the_vfs_for_both_require_and_import": {}, + "block_03_test_a_bare_specifier_that_exists_nowhere_fails_for_both_loa": {}, + "block_04_inside_a_vfs_a_node_path_directory_provides_the_fallback": {} + } + }, + "parallel/test-vfs-mount-errors.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_exdev_rename_across_two_different_vfs_instances": {}, + "block_01_exdev_copyfilesync_across_two_different_vfs_instances": {}, + "block_02_exdev_linksync_across_two_different_vfs_instances": {}, + "block_03_exdev_rename_from_vfs_to_a_real_fs_path": {}, + "block_04_handler_cleanup_after_last_unmount_vfsstate_handlers_returns": {}, + "block_05_two_parallel_mounts_both_register_last_out_clears_handlers": {}, + "block_06_namespace_is_not_served_by_other_active_layers": {}, + "block_07_double_mount_of_same_instance_rejected": {} + } + }, + "parallel/test-vfs-mount-point-url.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_null_while_not_mounted": {}, + "block_01_after_unmounting": {}, + "block_02_test_the_url_is_usable_to_address_files_in_the_mounted_vfs": {} + } + }, + "parallel/test-vfs-mount.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_mounted_mountpoint_getters_mount_returns_a_path_under_o": {}, + "block_01_test_double_mount_throws": {}, + "block_02_test_two_instances_get_distinct_mount_points_in_their_own_la": {}, + "block_03_test_fs_readfilesync_intercepted": {}, + "block_04_test_fs_existssync_intercepted": {}, + "block_05_test_fs_statsync_intercepted": {}, + "block_06_test_fs_readdirsync_intercepted": {}, + "block_07_test_fs_writefilesync_intercepted": {}, + "block_08_test_fs_callback_api": {}, + "block_09_test_fs_promises_api": {}, + "block_10_test_streams": {}, + "block_11_test_opensync_readsync_closesync_via_public_fs": {}, + "block_12_test_enoent_thrown_for_missing_path_under_mount": {}, + "block_13_test_paths_outside_the_mount_point_go_to_the_real_fs_no_inte": {}, + "block_14_test_symbol_dispose_unmounts": {} + } + }, + "parallel/test-vfs-multi-mount.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-package-json-cache.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-package-json.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_read_reads_package_json_from_vfs": {}, + "block_01_getnearestparentpackagejson_walks_up_vfs_directories": {}, + "block_02_getpackagescopeconfig_returns_correct_scope_from_vfs": {}, + "block_03_getpackagetype_returns_correct_type_from_vfs": {}, + "block_04_end_to_end_cjs_require_with_package_json_type_detection": {}, + "block_05_end_to_end_esm_import_with_vfs_package_type": {} + } + }, + "parallel/test-vfs-parent-timestamps.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-promises-open.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-promises.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_callback_based_readfile": {}, + "block_01_test_callback_based_readfile_with_non_existent_file": {}, + "block_02_test_callback_based_readfile_with_directory": {}, + "block_03_test_callback_based_stat": {}, + "block_04_test_callback_based_lstat_same_as_stat_for_vfs": {}, + "block_05_test_callback_based_readdir": {}, + "block_06_test_callback_based_realpath": {}, + "block_07_test_callback_based_access": {}, + "block_08_test_callback_based_writefile": {}, + "block_09_test_callback_based_readlink": {}, + "block_10_test_callback_based_open_read_fstat_close": {} + } + }, + "parallel/test-vfs-readdir-symlink-recursive.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_recursive_readdir_avoids_following_symlink_cycles_indefinite": {}, + "block_01_recursive_readdir_avoids_cycles_through_multiple_symlinks": {}, + "block_02_stringified_relative_path": {}, + "block_03_non_recursive_readdir_with_withfiletypes_returns_mixed_entry": {}, + "block_04_without_recursion_so_this_should_complete_without_a_rangeerr": {} + } + }, + "parallel/test-vfs-readfile-async.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-readfile-encoding.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-readfile-flag.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_readfilesync_with_flag_w_truncates_existing_file": {}, + "block_01_test_readfilesync_with_flag_a_on_new_file": {}, + "block_02_test_async_readfile_with_flag_w_truncates_existing_file": {} + } + }, + "parallel/test-vfs-real-provider-handle.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-real-provider-promises.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-real-provider-symlinks.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-real-provider-watch.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_fs_watch_wrapper": {}, + "block_01_watchfile_unwatchfile": {} + } + }, + "parallel/test-vfs-real-provider.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_capability_flags_construction": {}, + "block_01_invalid_rootpath": {}, + "block_02_vfs_create_provider_wires_it_up": {}, + "block_03_readfile_writefile_sync": {}, + "block_04_statsync_lstatsync": {}, + "block_05_readdirsync": {}, + "block_06_mkdir_rmdir_recursive_mkdir": {}, + "block_07_unlink": {}, + "block_08_rename": {}, + "block_09_copyfile": {}, + "block_10_realpathsync_non_symlink": {} + } + }, + "parallel/test-vfs-rename-symlink-descendant.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-rename.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_renaming_a_file_onto_a_directory_throws_eisdir": {}, + "block_01_renaming_a_directory_onto_a_file_throws_enotdir": {}, + "block_02_renaming_a_file_onto_another_file_overwrites": {}, + "block_03_renaming_within_the_same_parent_directory": {}, + "block_04_renaming_a_directory_into_its_own_descendant_throws_einval": {}, + "block_05_renaming_a_directory_onto_a_non_empty_directory_throws_enote": {}, + "block_06_renaming_a_directory_onto_an_empty_directory_succeeds": {}, + "block_07_overwriting_a_file_drops_one_of_its_links": {}, + "block_08_renaming_a_path_onto_itself_is_a_no_op": {}, + "block_09_renaming_a_hard_link_onto_another_link_to_the_same_file_is_a": {} + } + }, + "parallel/test-vfs-require.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_requiring_a_simple_virtual_module": {}, + "block_01_test_requiring_a_virtual_module_that_exports_an_object": {}, + "block_02_mount_first_so_the_embedded_absolute_specifier_can_use_the_m": {}, + "block_03_test_requiring_a_json_file_from_vfs": {}, + "block_04_test_virtual_package_json_resolution": {}, + "block_05_test_that_real_modules_still_work_when_vfs_is_mounted": {}, + "block_06_test_require_with_relative_paths_inside_vfs_module": {}, + "block_07_test_fs_readfilesync_interception_when_vfs_is_active": {}, + "block_08_test_requiring_an_esm_mjs_module_from_vfs": {}, + "block_09_test_requiring_an_esm_mjs_module_with_default_export_from_vf": {}, + "block_10_test_require_esm_js_file_detected_as_esm_via_vfs_package_jso": {}, + "block_11_test_require_esm_nested_js_walks_up_to_parent_package_json_i": {}, + "block_12_test_require_esm_js_without_type_field_stays_cjs": {}, + "block_13_test_require_esm_esm_js_that_imports_another_esm_js_in_vfs": {}, + "block_14_test_require_esm_mjs_without_any_package_json_loads_as_esm": {}, + "block_15_test_require_esm_mjs_with_package_json_that_has_no_type_fiel": {}, + "block_16_test_require_esm_mjs_in_type_commonjs_package_still_loads_as": {}, + "block_17_test_cjs_package_with_main_field_resolves_through_vfs": {}, + "block_18_test_cjs_package_with_no_main_field_resolves_index_js": {}, + "block_19_test_esm_legacymainresolve_import_a_vfs_package_with_main_no": {}, + "block_20_test_esm_legacymainresolve_import_a_vfs_package_with_no_main": {}, + "block_21_test_getformatofextensionlessfile_extensionless_js_file_in_t": {}, + "block_22_test_that_unmounting_stops_interception": {} + } + }, + "parallel/test-vfs-reserved-root-unowned.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-reserved-root.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_the_root_lists_every_layer_by_id": {}, + "block_01_a_recursive_listing_descends_into_the_layers": {}, + "block_02_the_root_is_a_directory_and_so_is_each_mount_point_in_it": {}, + "block_03_anything_else_under_the_root_does_not_exist": {}, + "block_04_the_root_is_read_only_the_file_systems_in_it_are_not": {}, + "block_05_a_mount_point_cannot_be_removed_or_renamed_nor_replaced_by_a": {} + } + }, + "parallel/test-vfs-rm-edge-cases.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_rmsync_on_a_directory_without_recursive_true_must_throw_eisd": {}, + "block_01_into_the_target_directory": {}, + "block_02_rmsync_with_force_true_ignores_enoent": {}, + "block_03_rmsync_without_force_on_missing_path_throws_enoent": {} + } + }, + "parallel/test-vfs-rmdir-symlink.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-router.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-scoped-cache-purge.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-stats-bigint.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_bigint_stats_for_directories": {}, + "block_01_bigint_stats_for_symlinks_via_lstat": {} + } + }, + "parallel/test-vfs-stats-helpers.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_all_defaults_no_options_object_at_all": {}, + "block_01_empty_options_object_exercises_the_default_right_hand_side": {}, + "block_02_bigint_variant_of_zero_stats": {}, + "block_03_non_bigint_zero_stats_with_no_options": {}, + "block_04_we_stub_the_optional_methods_to_simulate_their_absence": {} + } + }, + "parallel/test-vfs-stats-ino-dev.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-stream-errors.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_read_of_a_nonexistent_file_emits_error": {}, + "block_01_read_on_a_stream_whose_fd_has_been_pre_closed_ebadf_on_first": {}, + "block_02_close_error_swallow_path_inside_the_stream_s_close": {}, + "block_03_writestream_synchronously_failing_to_open_destroys_on_next_t": {}, + "block_04_in_write": {}, + "block_05_write_errors_when_writesync_throws_closed_fd": {} + } + }, + "parallel/test-vfs-stream-explicit-fd.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-stream-properties.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_readstream_bytesread_and_pending": {}, + "block_01_writestream_byteswritten_and_pending": {} + } + }, + "parallel/test-vfs-stream-validation.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-streams.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_basic_createreadstream": {}, + "block_01_test_createreadstream_with_encoding": {}, + "block_02_test_createreadstream_with_start_and_end": {}, + "block_03_test_createreadstream_with_start_only": {}, + "block_04_test_createreadstream_with_non_existent_file": {}, + "block_05_test_createreadstream_path_property": {}, + "block_06_test_createreadstream_with_small_highwatermark": {}, + "block_07_test_createreadstream_destroy": {}, + "block_08_test_createreadstream_with_large_file": {}, + "block_09_test_createreadstream_pipe_to_another_stream": {}, + "block_10_test_autoclose_false": {}, + "block_11_slicing_read_stream_with_start_end": {}, + "block_12_start_beyond_file_size_empty_stream": {}, + "block_13_empty_file_end_immediately": {}, + "block_14_path_getter": {}, + "block_15_destroy_before_any_data_triggers_destroy_close_cleanup": {} + } + }, + "parallel/test-vfs-symlinks.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_direct_symlink_loop_a_b_a": {}, + "block_01_symlink_loop_in_an_intermediate_path_component": {}, + "block_02_absolute_symlink_target_inside_the_vfs": {}, + "block_03_symlinked_parent_directory_transparently_follows_on_read_wri": {}, + "block_04_symlink_onto_an_existing_path_throws_eexist": {} + } + }, + "parallel/test-vfs-truncate-negative.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-utimes.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-virtual-file-handle.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_close_closesync_dispose": {}, + "block_01_truncatesync_default_len_0_path_requires_close_check_too": {} + } + }, + "parallel/test-vfs-virtual-provider.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_bare_base_provider_every_primitive_throws_err_method_not_imp": {}, + "block_01_read_only_provider_write_primitives_throw_erofs_instead_of_n": {}, + "block_02_default_access_realpath_copyfile_delegate_to_stat_read_write": {} + } + }, + "parallel/test-vfs-watch-abort-signal.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-watch-directory.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-watch-encoding.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-watch-promises.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-watch-recursive.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-watch.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-watchfile.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_if_the_timer_leaks_the_process_would_hang": {}, + "block_01_default_options_no_interval_option_provided": {}, + "block_02_double_unwatch_is_a_no_op": {}, + "block_03_zero_stats_for_a_missing_file_prev_isfile_is_false_and_prev_": {}, + "block_04_bigint_true_on_a_missing_file_emits_bigint_prev_size_0n": {} + } + }, + "parallel/test-vfs-write-options.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_writefilesync_promises_writefile_with_explicit_flag_and_mode": {}, + "block_01_appendfilesync_promises_appendfile_with_explicit_flag_and_mo": {} + } + }, + "parallel/test-vfs-zip-provider-commit.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_opening_an_existing_file_with_w_truncates_it_even_without_a_": {}, + "test_01_opening_a_new_file_with_w_creates_it_even_without_a_write": {}, + "test_02_opening_a_new_file_with_a_creates_it_even_without_a_write": {}, + "test_03_appending_keeps_the_entry_mode": {}, + "test_04_an_in_place_write_keeps_the_entry_mode": {}, + "test_05_a_new_file_gets_the_mode_passed_to_open": {}, + "test_06_fstat_reports_the_entry_mode_not_the_open_mode_argument": {}, + "test_07_fstat_reports_the_entry_modification_time": {}, + "test_08_renaming_a_file_onto_an_existing_directory_fails_with_eisdir": {} + } + }, + "parallel/test-vfs-zip-provider-dispose.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-zip-provider-handle.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-zip-provider-readdir-recursive.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vfs-zip-provider.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vm-global-contextual-store.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vm-global-restricted-property.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vm-module-after-evaluate.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vm-module-dynamic-import-promise.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vm-module-evaluate-source-text-module.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_synchronous_error_during_evaluation_results_in_a_synchronous": {}, + "block_01_promise_synchronously_resolved_to_undefined": {}, + "block_02_block_02": {}, + "block_03_that_is_fulfilled_asynchronously_with_undefined": {}, + "block_04_rejected_asynchronously_with_the_same_reason": {} + } + }, + "parallel/test-vm-module-evaluate-synthethic-module-rejection.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vm-module-evaluate-synthethic-module.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_resolved_to_undefined": {}, + "block_01_synchronously_resolved_to_undefined": {}, + "block_02_in_a_synchronously_rejected_promise": {} + } + }, + "parallel/test-vm-module-evaluate-while-evaluating.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-vm-module-hasasyncgraph.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_module_is_not_instantiated_yet": {}, + "test_01_simple_module_with_top_level_await": {}, + "test_02_simple_module_with_non_top_level_await": {}, + "test_03_module_with_a_dependency_containing_top_level_await": {} + } + }, + "parallel/test-vm-module-hastoplevelawait.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_simple_module": {}, + "test_01_simple_module_with_top_level_await": {}, + "test_02_simple_module_with_non_top_level_await": {}, + "test_03_module_with_a_dependency_containing_top_level_await": {} + } + }, + "parallel/test-vm-module-instantiate.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_simple_module": {}, + "test_01_linkrequests_can_not_be_skipped": {}, + "test_02_re_export_simple_name": {}, + "test_03_re_export_star": {}, + "test_04_deep_re_export_star": {}, + "test_05_should_throw_if_the_module_is_not_linked": {} + } + }, + "parallel/test-vm-module-link-shared-deps.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vm-module-linkmodulerequests-circular.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_basic_circular_linking": {}, + "test_01_circular_linking_graph": {} + } + }, + "parallel/test-vm-module-linkmodulerequests-deep.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vm-module-linkmodulerequests.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_simple_graph": {}, + "test_01_invalid_link_values": {}, + "test_02_mismatch_linkage": {}, + "test_03_instantiate_error_should_hint_about_module_identifier": {} + } + }, + "parallel/test-vm-module-modulerequests.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_sourcetextmodule_modulerequests_should_return_module_request": {}, + "test_01_sourcetextmodule_modulerequests_items_are_frozen": {} + } + }, + "parallel/test-vm-property-definer-interception.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vm-property-definer-partial-update.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vm-proxy-sandbox-property-query.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vm-script-after-evaluate.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-vm-util-lazy-properties.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-warn-tls-common-deprecation.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-warn-tls-wrap-deprecation.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-wasm.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-watch-file-shared-dependency.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-watch-mode-files_watcher-clear.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-watch-mode-files_watcher.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-watch-mode-kill-signal-default.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-watch-mode-kill-signal-invalid.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-watch-mode-kill-signal-override.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-web-locks-no-livelock.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-web-locks-query.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-web-locks.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webapi-sharedarraybuffer-rejection.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_readablestreambyobreader_read_rejects_sab_backed_uint8array": {}, + "test_01_readablestreambyobreader_read_rejects_sab_backed_dataview": {}, + "test_02_readablestreambyobreader_read_accepts_regular_view": {}, + "test_03_readablebytestreamcontroller_enqueue_rejects_sab_backed_uint": {}, + "test_04_readablebytestreamcontroller_enqueue_rejects_sab_backed_data": {}, + "test_05_webidl_converters_buffersource_rejects_sharedarraybuffer": {}, + "test_06_webidl_converters_buffersource_rejects_sab_backed_uint8array": {}, + "test_07_webidl_converters_buffersource_rejects_sab_backed_dataview": {}, + "test_08_webidl_converters_buffersource_accepts_arraybuffer": {}, + "test_09_webidl_converters_buffersource_accepts_regular_typedarray": {}, + "test_10_webidl_converters_uint8array_rejects_sab_backed_uint8array": {}, + "test_11_webidl_converters_uint8array_rejects_dataview": {}, + "test_12_webidl_converters_uint8array_rejects_non_view": {}, + "test_13_webidl_converters_uint8array_accepts_regular_uint8array": {} + } + }, + "parallel/test-webcrypto-aead-decrypt-detached-buffer.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-aes-gcm-iv-length.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-aes-kw-short-input.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-algorithm-name-ascii.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-cipher-unrelated-errors.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-crypto-job-mode.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-cryptokey-brand-check.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-cryptokey-clone-transfer.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-cryptokey-hidden-slots.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-cryptokey-no-own-symbols.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-deduplicate-usages.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_exported_jwk_key_ops_must_also_be_de_duplicated": {} + } + }, + "parallel/test-webcrypto-derivebits-argon2.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-derived-bits-species.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-detached-parameters.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-digest-turboshake-rfc.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-digest-turboshake.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-ec-pkcs8-public-key.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-encap-decap-ml-kem.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-encrypt-decrypt-chacha20-poly1305.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {} + } + }, + "parallel/test-webcrypto-enforce-range.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-export-import-ml-dsa.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-export-import-ml-kem.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-fips-exceptions.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-fips-refresh.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-get-public-key.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-getrandomvalues-properties.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-hash-normalization.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-hybrid-kem-species.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-import-union.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-internal-slots.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-keccak-byte-alignment.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-kem-hybrids.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-key-ops-duplicates.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-key-prototype.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-keygen-kmac.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-kmac-empty-output.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-methods-not-async.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-normalization-boundary.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-parameter-species.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-pbkdf2-iteration-limits.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-promise-prototype-pollution.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-prototype-pollution.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_fails_with_operationerror_hence_the_message_assertion": {}, + "block_01_validatemaxbufferlength": {}, + "block_02_ecdhderivebits_bounds_the_request_by_the_native_job_s_arrayb": {}, + "block_03_simplealgorithmdictionaries_relies_on_a_miss_returning_undef": {}, + "block_04_createdictionaryconverter_reads_optional_member_descriptor_k": {}, + "block_05_conversion_options_are_read_by_key_by_the_web_idl_converters": {}, + "block_06_enforcerangeoptions_enforcerange_uses_integerpart_not_round_": {}, + "block_07_keydetail_is_filled_in_by_c_with_an_ordinary_set": {}, + "block_08_block_08": {}, + "block_09_webcrypto_s_own_re_iteration_of_that_array_sees_the_poison": {}, + "block_10_block_10": {} + } + }, + "parallel/test-webcrypto-random-backing-buffer.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-raw-format-aliases.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-rsa-exponent-length.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-rsa-jwk-sha3-alg.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-rsa-modulus-length.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-rsa-shared-key.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-seedless-jwk-export.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-sign-verify-kmac.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-sign-verify-ml-dsa.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-supports-fips.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-supports-overloads.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-supports-receiver.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-supports.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-usages-species.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webcrypto-webidl-brand.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webstorage-without-sqlite.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webstream-structured-clone-no-leftovers.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webstreams-adapters-sync-write-error.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_writablestream_from_node_js_stream_handles_sync_write_throw": {}, + "test_01_duplex_backed_pair_does_not_destroy_on_sync_write_throw": {}, + "test_02_writablestream_from_node_js_stream_valid_writes_still_work": {} + } + }, + "parallel/test-webstreams-adapters-writable-buffer-sources.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_underlying_writable": {}, + "test_01_underlying_duplex": {} + } + }, + "parallel/test-webstreams-compression-bad-chunks.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webstreams-compression-buffer-source.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_decompressionstream_accepts_arraybuffer_chunks": {}, + "test_01_compressionstream_round_trip_with_arraybuffer_input": {} + } + }, + "parallel/test-webstreams-decompression-reject-trailing.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webstreams-duplex-fromweb-writev-unhandled-rejection.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_after_the_fix_stream_closes_cleanly_with_no_unhandled_reject": {}, + "block_01_same_bug_in_writable_fromweb_newstreamwritablefromwritablest": {}, + "block_02_verifies_that_done_correctly_signals_success_via_callback": {} + } + }, + "parallel/test-webstreams-pipeto-write-request.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {} + } + }, + "parallel/test-webstreams-queue-wraparound.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webstreams-writer-closed-abort-pending.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webworker-blob-module-url.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webworker-importscripts-conversion.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webworker-postmessage-lifecycle.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_a_failed_script_fetch_still_leaves_an_outside_port_that_seri": {}, + "block_01_serialization_is_required_even_after_the_backing_thread_has_": {}, + "block_02_queue_messages_before_terminating_so_the_test_does_not_depen": {} + } + }, + "parallel/test-webworker-postmessage-overloads.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webworker-ref-unref.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webworker-typescript-disabled.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-webworker-typescript.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-whatwg-encoding-singlebyte.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_single_byte_encodings_are_supersets_of_ascii": {}, + "test_01_single_byte_encodings_index": {}, + "test_02_x_user_defined": {} + } + }, + "parallel/test-whatwg-headers.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {}, + "block_07_block_07": {}, + "block_08_block_08": {}, + "block_09_block_09": {}, + "block_10_block_10": {}, + "block_11_block_11": {}, + "block_12_block_12": {}, + "block_13_block_13": {}, + "block_14_block_14": {}, + "block_15_block_15": {}, + "block_16_block_16": {}, + "block_17_block_17": {}, + "block_18_block_18": {} + } + }, + "parallel/test-whatwg-readablestream-async-iterator-shape.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-whatwg-readablestream-byob-read-min.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-whatwg-readablestream-tee-cancel-settle.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-whatwg-readablestream.mjs": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "parallel/test-whatwg-transformstream-cancel-write-race.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-whatwg-transformstream-parked-write-error.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_readable_cancel_rejects_a_parked_write_with_the_cancel_reaso": {}, + "test_01_controller_error_rejects_a_parked_write_with_the_stored_erro": {}, + "test_02_controller_terminate_rejects_a_parked_write": {} + } + }, + "parallel/test-whatwg-url-parse-fast-path.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_special_scheme_urls_with_an_empty_path_gain_a_trailing_slash": {}, + "block_01_dot_segment_normalization_must_still_rewrite_the_path": {}, + "block_02_relative_resolution_against_a_base_url": {}, + "block_03_non_string_input_is_still_stringified": {}, + "block_04_invalid_input_still_throws_from_the_constructor_and_is_null_": {}, + "block_05_unpaired_surrogates_must_not_be_returned_as_is_from_href": {}, + "block_06_setters_re_parse_the_existing_href_keep_component_updates_co": {} + } + }, + "parallel/test-whatwg-url-searchparams-fast-path.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {}, + "block_07_block_07": {}, + "block_08_block_08": {}, + "block_09_block_09": {}, + "block_10_block_10": {}, + "block_11_block_11": {}, + "block_12_block_12": {}, + "block_13_block_13": {} + } + }, + "parallel/test-whatwg-webstreams-transform-stream-members.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-whatwg-writablestream-close.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-worker-cpu-profile.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-worker-cpu-usage.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-worker-cwd-race-condition.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-worker-dispose.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-worker-error-primitive.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-worker-heap-profile.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-worker-heap-statistics.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-worker-internal-modules.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-worker-message-port-transfer-filehandle-fd0.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-worker-messageerror-listener-cleanup.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-worker-spec-differences.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {} + } + }, + "parallel/test-worker-thread-name.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-worker-unsupported-eval-on-url.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-worker.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-zlib-brotli-dictionary.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_test_with_streaming_api": {}, + "block_01_test_that_dictionary_improves_compression_ratio": {}, + "block_02_test_that_decompression_without_matching_dictionary_fails": {}, + "block_03_test_that_decompression_with_wrong_dictionary_fails": {}, + "block_04_test_that_dictionary_works_with_arraybuffer_converted_to_buf": {}, + "block_05_test_that_dictionary_works_with_typedarray_uint8array": {}, + "block_06_test_with_streaming_api_and_wrong_dictionary_emits_error_eve": {} + } + }, + "parallel/test-zlib-brotli-flush-invalid-kind.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-zlib-brotli-reset.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_brotlicompress_reset_preserves_its_initial_options": {}, + "test_01_brotlidecompress_reset_preserves_its_dictionary": {} + } + }, + "parallel/test-zlib-decode-strings.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-zlib-negative-zero.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-zlib-reject-garbage-after-end.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_zstd_decompresses_concatenated_frames_regardless_of_chunking": {}, + "test_01_zstd_trailing_junk_handling_is_independent_of_chunking": {}, + "test_02_zstd_handles_incomplete_trailing_frame_identifiers_as_junk": {}, + "test_03_zstd_reports_errors_in_subsequent_frames": {}, + "test_04_zstd_decompresses_multiple_frames_across_output_buffers": {}, + "test_05_rejectgarbageafterend_must_be_a_boolean": {} + } + }, + "parallel/test-zlib-reset-during-write.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-zlib-reset-incomplete-output.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_gzip_reset_throws_when_write_has_emitted_wrapper_output": {}, + "test_01_gzip_reset_throws_when_flush_has_emitted_incomplete_output": {}, + "test_02_gzip_flush_followed_by_end_still_produces_a_valid_stream": {}, + "test_03_gzip_reset_before_any_write_still_works": {}, + "test_04_deflate_reset_after_flush_still_works_when_first_output_is_d": {}, + "test_05_deflateraw_reset_after_write_without_emitted_output_still_wo": {}, + "test_06_deflateraw_flush_followed_by_reset_still_concatenates": {} + } + }, + "parallel/test-zlib-type-error.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_decompressionstream_deflate_emits_typeerror_on_trailing_data": {}, + "test_01_decompressionstream_gzip_emits_typeerror_on_trailing_data": {}, + "test_02_decompressionstream_brotli_emits_typeerror_on_trailing_data": {}, + "test_03_zlib_sync_decompression_honors_rejectgarbageafterend": {} + } + }, + "parallel/test-zlib-zip-coverage.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_a_zeroed_dos_date_time_field_decodes_to_the_1980_01_01_epoch": {}, + "test_01_serializing_an_entry_with_an_invalid_modified_date_is_reject": {}, + "test_02_a_well_formed_minimal_zip64_archive_round_trips_its_comment": {}, + "test_03_a_zip64_locator_declaring_more_than_one_disk_is_rejected": {}, + "test_04_a_zip64_locator_pointing_at_another_disk_is_rejected": {}, + "test_05_a_zip64_record_on_another_disk_is_rejected": {}, + "test_06_a_zip64_record_with_inconsistent_disk_record_counts_is_rejec": {}, + "test_07_a_zip64_record_is_found_by_scanning_backward_when_data_was_p": {}, + "test_08_a_required_zip64_record_that_cannot_be_found_anywhere_is_rej": {}, + "test_09_a_missing_zip64_record_falls_back_to_valid_classic_eocd_fiel": {}, + "test_10_a_foreign_zip64_extra_field_naming_only_the_fields_it_needs_": {}, + "test_11_a_foreign_zip64_extra_field_carrying_every_field_regardless_": {}, + "test_12_a_zip64_extra_field_value_beyond_number_max_safe_integer_is_": {}, + "test_13_a_zip64_extra_field_tlv_whose_declared_size_overflows_the_ex": {}, + "test_14_a_zip64_extra_field_tlv_too_short_for_the_field_it_claims_to": {}, + "test_15_create_accepts_a_dataview_a_non_uint8array_typedarray_and_an": {}, + "test_16_create_validates_comment_length_modified_type_and_method_val": {}, + "test_17_a_directory_entry_must_have_empty_content_for_create_creates": {}, + "test_18_createziparchive_createziparchivesync_validate_the_archive_c": {}, + "test_19_a_pending_streaming_entry_rejects_size_crc32_compressedsize_": {}, + "test_20_a_spent_serialized_but_unpromoted_streaming_entry_rejects_re": {}, + "test_21_a_streaming_entry_can_only_be_serialized_once": {}, + "test_22_a_streaming_entry_rejects_a_non_uint8array_chunk_from_its_so": {}, + "test_23_a_streaming_entry_can_use_zstd_compression_end_to_end": {}, + "test_24_an_error_from_a_streaming_entry_s_source_propagates_and_clea": {}, + "test_25_contentiterator_enforces_the_same_guards_as_content_and_cont": {}, + "test_26_content_and_contentsync_enforce_maxsize_and_detect_corruptio": {}, + "test_27_zipfile_getsync_contentsync_enforces_the_same_guards_via_dec": {}, + "test_28_contentiterator_rejects_an_entry_that_inflates_to_less_than_": {}, + "test_29_zipbuffer_exposes_map_like_foreach_values_entries_iteration_": {}, + "test_30_zipfile_exposes_the_same_iteration_protocol_plus_its_sync_co": {}, + "test_31_zipfile_open_opensync_reject_a_file_with_no_end_of_central_d": {}, + "test_32_zipfile_get_getsync_stream_reject_a_missing_entry_name": {}, + "test_33_a_local_file_header_offset_pointing_into_the_central_directo": {}, + "test_34_a_declared_compressed_size_reaching_past_the_end_of_the_file": {}, + "test_35_a_zip64_declared_compressed_size_of_kmaxlength_is_rejected_a": {}, + "test_36_createziparchivesync_also_switches_to_zip64_structures_at_0x": {}, + "test_37_createziparchive_returns_a_pipeable_async_iterable_non_objec": {}, + "test_38_createziparchive_createziparchivesync_take_a_plain_string_as": {}, + "test_39_createziparchive_createziparchivesync_take_an_comment_baseof": {}, + "test_40_createziparchive_createziparchivesync_reject_a_non_string_no": {}, + "test_41_createziparchive_createziparchivesync_validate_options_baseo": {}, + "test_42_test_42": {}, + "test_43_zipbuffer_tobuffer_tobuffersync_forward_the_same_string_opti": {}, + "test_44_a_non_unix_version_made_by_host_survives_re_serialization": {}, + "test_45_content_contentsync_of_a_stored_in_memory_entry_return_calle": {}, + "test_46_a_plain_uint8array_is_accepted_anywhere_binary_input_is_and_": {}, + "test_47_foreach_passes_thisarg_through_on_zipbuffer_and_zipfile": {}, + "test_48_freshly_created_entries_expose_their_metadata_before_seriali": {}, + "test_49_a_unicode_path_extra_field_with_an_unknown_version_is_ignore": {}, + "test_50_malformed_or_empty_timestamp_extra_fields_fall_back_to_the_d": {}, + "test_51_a_preserved_timestamp_extra_survives_re_serialization_withou": {}, + "test_52_modified_falls_back_to_the_central_directory_when_the_local_": {}, + "test_53_a_file_that_shrinks_after_open_is_rejected_as_unexpected_eof": {}, + "test_54_a_failed_streaming_addentry_restores_the_archive_and_the_que": {}, + "test_55_opening_a_missing_archive_surfaces_the_file_system_error": {}, + "test_56_using_a_zipfile_after_close_is_rejected_cleanly": {}, + "test_57_an_entry_starting_beyond_4_gib_records_its_offset_in_a_zip64": {}, + "test_58_extra_fields_that_no_longer_fit_their_16_bit_length_field_ar": {}, + "test_59_a_zip64_eocd_record_pushed_out_of_the_tail_by_its_data_secto": {}, + "test_60_a_locator_offset_beyond_the_safe_integer_range_falls_back_to": {}, + "test_61_zipfile_rejects_a_central_header_on_another_disk": {}, + "test_62_zipfiles_keeps_a_directory_mapping_name_that_already_ends_in": {}, + "test_63_a_streamed_entry_with_the_store_method_round_trips": {}, + "test_64_createsync_honors_an_explicit_store_method": {} + } + }, + "parallel/test-zlib-zip-edgecases.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_the_central_directory_is_authoritative_when_the_local_header": {}, + "test_01_duplicate_central_directory_names_read_yields_all_get_takes_": {}, + "test_02_path_unsafe_names_are_surfaced_verbatim_never_normalized_or_": {}, + "test_03_data_prepended_before_the_archive_sfx_stub_is_tolerated_via_": {}, + "test_04_an_empty_archive_eocd_only_reads_as_zero_entries": {}, + "test_05_directory_entries_and_zero_byte_file_entries_round_trip": {}, + "test_06_an_archive_comment_at_the_maximum_length_65535_bytes_round_t": {}, + "test_07_a_traditional_encrypted_entry_bit_0_is_rejected": {}, + "test_08_a_winzip_aes_entry_method_99_bit_0_0x9901_extra_is_rejected_": {}, + "test_09_a_zip64_sentinel_size_with_no_zip64_extra_field_is_rejected": {} + } + }, + "parallel/test-zlib-zip-encoding.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_a_bit_11_clear_name_is_decoded_as_cp437_not_mangled_as_utf_8": {}, + "test_01_a_bit_11_set_name_is_decoded_as_utf_8_with_raw_bytes_on_name": {}, + "test_02_a_valid_unicode_path_extra_field_0x7075_overrides_the_cp437_": {}, + "test_03_a_unicode_path_extra_field_with_a_stale_crc_is_ignored_falls": {}, + "test_04_zipbuffer_get_keys_by_the_decoded_cp437_name": {}, + "test_05_setuid_setgid_sticky_bits_round_trip_through_a_read": {}, + "test_06_a_symlink_entry_is_reported_as_a_symlink_not_a_file": {}, + "test_07_external_attributes_from_a_non_unix_host_expose_no_mode_and_": {}, + "test_08_the_extended_timestamp_extra_field_0x5455_sets_the_modificat": {}, + "test_09_the_ntfs_extra_field_0x000a_sets_a_high_resolution_modificat": {}, + "test_10_the_info_zip_unix_extra_field_0x5855_sets_the_modification_t": {}, + "test_11_ntfs_time_is_preferred_over_the_extended_timestamp_when_both": {}, + "test_12_with_no_timestamp_extra_field_the_dos_date_time_is_used": {} + } + }, + "parallel/test-zlib-zip-experimental-warning.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_importing_node_zlib_esm_does_not_emit_the_zip_experimental_w": {}, + "test_01_requiring_node_zlib_and_only_reading_zip_exports_does_not_wa": {}, + "test_02_using_a_zip_export_emits_the_experimental_warning_cjs": {}, + "test_03_using_a_zip_export_emits_the_experimental_warning_esm": {}, + "test_04_instanceof_against_the_public_zip_classes_still_matches_real": {} + } + }, + "parallel/test-zlib-zip-file-lifecycle.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_close_waits_for_an_in_flight_read_instead_of_closing_under_i": {}, + "test_01_close_resolves_with_a_paused_contentiterator": {}, + "test_02_a_failed_directory_rewrite_during_addentrysync_is_rolled_bac": {} + } + }, + "parallel/test-zlib-zip-files.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_zipfiles_archives_files_directories_contents_and_unix_mode_f": {}, + "test_01_zipfiles_accepts_any_iterable_of_path_name_array_map_object_": {}, + "test_02_zipfiles_preserves_a_sub_second_modification_time_via_an_ext": {}, + "test_03_zipfiles_follows_symlinks_by_default_or_stores_them_when_dis": {}, + "test_04_zipfiles_rejects_when_a_listed_path_does_not_exist": {}, + "test_05_an_abandoned_createziparchive_destroys_the_sources_of_entrie": {}, + "test_06_a_fully_consumed_archive_leaves_a_valid_result_and_ends_ever": {}, + "test_07_zipentry_disposal_destroys_a_streaming_source_sync_and_async": {}, + "test_08_disposing_an_in_memory_or_file_backed_entry_is_a_harmless_no": {}, + "test_09_createziparchivesync_throws_on_a_streaming_entry_and_dispose": {} + } + }, + "parallel/test-zlib-zip-fuzz.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-zlib-zip-hardening.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_an_empty_or_tiny_buffer_is_rejected_as_an_invalid_archive": {}, + "test_01_garbage_or_truncated_data_is_rejected": {}, + "test_02_an_eocd_looking_signature_inside_a_trailing_comment_is_not_m": {}, + "test_03_multiple_plausible_eocd_records_describing_different_archive": {}, + "test_04_an_exact_eocd_embedded_in_a_genuine_comment_is_rejected_as_a": {}, + "test_05_multiple_padded_eocd_records_are_rejected_as_ambiguous": {}, + "test_06_a_declared_size_mismatch_is_rejected_as_corrupt": {}, + "test_07_crc_32_verification_catches_a_single_flipped_byte_and_can_be": {}, + "test_08_content_enforces_maxsize_before_allocating": {}, + "test_09_a_forged_small_header_whose_content_inflates_past_its_declar": {}, + "test_10_getmaxzipcontentsize_setmaxzipcontentsize_control_the_defaul": {}, + "test_11_streaming_a_partially_consumed_entry_does_not_hang_or_leak": {}, + "test_12_an_overlong_file_name_is_rejected": {}, + "test_13_an_empty_file_name_is_rejected": {}, + "test_14_a_multi_disk_archive_is_rejected": {}, + "test_15_an_encrypted_entry_is_rejected": {}, + "test_16_an_entry_using_an_unsupported_compression_method_is_rejected": {}, + "test_17_every_possible_truncation_of_an_archive_is_rejected_determin": {}, + "test_18_trailing_padding_after_the_eocd_is_tolerated": {}, + "test_19_a_maximum_length_comment_followed_by_block_padding_is_tolera": {}, + "test_20_junk_appended_past_a_declared_comment_is_tolerated_and_the_c": {}, + "test_21_an_eocd_comment_length_overrunning_the_end_of_the_file_is_re": {}, + "test_22_a_central_directory_that_cannot_fit_before_the_eocd_is_rejec": {}, + "test_23_a_record_count_inconsistent_with_the_directory_size_is_rejec": {}, + "test_24_a_corrupted_or_overrunning_central_directory_header_is_rejec": {}, + "test_25_short_or_overrunning_extra_field_records_do_not_make_an_entr": {}, + "test_26_two_central_records_quoting_the_same_data_are_rejected_as_a_": {}, + "test_27_a_member_whose_data_crosses_into_the_central_directory_is_re": {}, + "test_28_a_zip64_eocd_record_size_field_lie_is_tolerated_when_the_loc": {}, + "test_29_a_nul_byte_inside_an_entry_name_is_preserved_verbatim": {} + } + }, + "parallel/test-zlib-zip-internals.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_readsafeuint64_rejects_a_field_extending_past_the_buffer": {}, + "test_01_parsezip64extra_returns_nothing_when_no_field_is_wanted": {}, + "test_02_localfileheader_length_reports_0_when_the_fixed_part_does_no": {}, + "test_03_decodemembersync_bounds_output_by_the_declared_size_without_": {} + } + }, + "parallel/test-zlib-zip-interop.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_an_archive_written_by_createziparchive_is_readable_by_unzip_": {}, + "test_01_an_archive_written_by_python_s_zipfile_module_is_readable_by": {} + } + }, + "parallel/test-zlib-zip-metadata.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_modification_time_round_trips_at_2_second_resolution": {}, + "test_01_a_sub_second_modification_time_is_preserved_to_the_second_vi": {}, + "test_02_an_odd_whole_second_modification_time_is_preserved_via_an_ex": {}, + "test_03_a_date_before_1980_is_clamped_to_the_dos_epoch": {}, + "test_04_a_date_after_2107_is_clamped_to_the_dos_ceiling": {}, + "test_05_unix_mode_round_trips_for_files_and_directories": {}, + "test_06_default_modes_are_applied_when_none_is_given": {}, + "test_07_an_entry_comment_round_trips": {}, + "test_08_zipentry_compressed_reports_compressed_storage_for_any_metho": {} + } + }, + "parallel/test-zlib-zip-property.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_random_archives_round_trip_through_zipentry_read_zipbuffer_a": {}, + "test_01_a_streamed_write_round_trips_through_a_streamed_read": {} + } + }, + "parallel/test-zlib-zip-security-hardening.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_a_local_central_size_disagreement_is_rejected": {}, + "test_01_a_local_central_method_disagreement_is_rejected": {}, + "test_02_a_local_central_encryption_flag_disagreement_is_rejected": {}, + "test_03_failed_local_header_validation_does_not_poison_file_backed_e": {}, + "test_04_zipfiles_rejects_a_fifo_source_instead_of_hanging": {}, + "test_05_contentiterator_rejects_a_member_that_inflates_past_its_decl": {} + } + }, + "parallel/test-zlib-zip-security.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_post_close_operations_are_rejected_cleanly_not_via_a_raw_fd": {}, + "test_01_post_close_operations_are_rejected_cleanly_sync": {}, + "test_02_closesync_while_an_async_add_is_outstanding_is_rejected": {}, + "test_03_an_earlier_add_completes_before_a_later_close": {}, + "test_04_zipfiles_rejects_a_non_regular_special_file": {}, + "test_05_the_default_ceiling_bounds_content_but_not_streaming": {}, + "test_06_open_rejects_contradictory_classic_eocd_vs_zip64_metadata": {}, + "test_07_central_directory_record_count_must_account_for_its_full_dec": {}, + "test_08_zipfile_open_enforces_the_same_member_overlap_check_as_zipbu": {} + } + }, + "parallel/test-zlib-zip-sync.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_zipentry_createsync_contentsync_round_trip_deflate_and_store": {}, + "test_01_zipentry_createsync_contentsync_round_trip_zstd": {}, + "test_02_zipentry_contentsync_enforces_maxsize_and_crc_verification_l": {}, + "test_03_createziparchivesync_throws_for_a_streaming_pending_entry": {}, + "test_04_zipbuffer_addsync_tobuffersync_round_trip": {}, + "test_05_zipfile_opensync_reads_the_same_entries_as_open": {}, + "test_06_zipfile_opened_via_opensync_supports_using_symbol_dispose": {}, + "test_07_zipfile_addentrysync_addsync_deletesync_alter_the_file_synch": {}, + "test_08_zipfile_addentrysync_rejects_a_pending_streaming_entry": {}, + "test_09_zipfile_sync_mutators_throw_err_zip_not_writable_when_not_op": {}, + "test_10_zipfile_compactsync_matches_compact_and_does_not_touch_the_o": {}, + "test_11_a_sync_zipfile_method_throws_while_an_async_mutation_has_not": {} + } + }, + "parallel/test-zlib-zip-vfs.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_zipfile_open_reads_a_vfs_backed_archive_through_an_async_vir": {}, + "test_01_zipfile_opensync_reads_a_vfs_backed_archive_through_a_synchr": {}, + "test_02_zipfile_writable_mutations_run_against_an_async_virtual_fd": {}, + "test_03_zipfile_sync_mutations_addentrysync_run_against_a_synchronou": {}, + "test_04_addentry_promotes_a_streaming_entry_to_file_backed_on_a_virt": {} + } + }, + "parallel/test-zlib-zip-writable.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_zipbuffer_is_always_writable": {}, + "test_01_zipbuffer_preserves_the_archive_comment_across_tobuffer": {}, + "test_02_zipbuffer_add_addentry_delete_clear_mutate_the_in_memory_ind": {}, + "test_03_zipbuffer_tobuffer_serializes_the_current_live_set_replacing": {}, + "test_04_zipbuffer_addentry_rejects_a_non_zipentry_value": {}, + "test_05_zipfile_defaults_to_read_only_and_rejects_mutation": {}, + "test_06_zipfile_opened_writable_addentry_appends_where_the_old_cd_us": {}, + "test_07_zipfile_addentry_promotes_a_spent_streaming_entry_into_a_rea": {}, + "test_08_an_in_place_rewrite_keeps_central_and_local_data_descriptor_": {}, + "test_09_zipfile_opened_writable_delete_rewrites_the_cd_without_growi": {}, + "test_10_zipfile_compact_streams_a_fresh_archive_with_no_dead_entries": {}, + "test_11_zipfile_preserves_the_archive_comment_across_writes": {}, + "test_12_zipfile_serializes_concurrent_add_delete_calls_instead_of_ra": {} + } + }, + "parallel/test-zlib-zip-zip64.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_an_entry_count_at_or_above_0xffff_forces_zip64_structures": {}, + "test_01_an_archive_below_the_zip64_thresholds_contains_no_zip64_stru": {} + } + }, + "parallel/test-zlib-zip.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_round_trips_a_small_archive_through_zipentry_read": {}, + "test_01_zipbuffer_indexes_entries_by_name": {}, + "test_02_an_incompressible_or_empty_entry_falls_back_to_store": {}, + "test_03_explicit_store_option_is_honored_even_for_compressible_data": {}, + "test_04_the_zstd_method_compresses_and_round_trips_through_an_archiv": {}, + "test_05_an_incompressible_entry_with_method_zstd_falls_back_to_store": {}, + "test_06_crc32_chains_the_same_way_as_zlib_crc32": {}, + "test_07_createziparchive_rejects_an_overlong_comment": {}, + "test_08_directory_entries_cannot_carry_content": {}, + "test_09_zipentry_createsymlink_round_trips_as_a_symlink_entry": {}, + "test_10_a_deflate_and_a_zstd_member_each_stream_back_through_content": {} + } + }, + "parallel/test-zlib-zstd-dictionary.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-zlib-zstd-flush.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-zlib-zstd-from-string.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-zlib-zstd-from-zstd.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-zlib-zstd-kmaxlength-rangeerror.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-zlib-zstd-pledged-src-size.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "parallel/test-zlib-zstd-reset-incomplete-frame.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_zstdcompress_reset_throws_when_an_incomplete_frame_has_emitt": {}, + "test_01_zstdcompress_reset_throws_when_write_itself_emitted_frame_ou": {}, + "test_02_zstdcompress_reset_after_write_without_emitted_output_still_": {}, + "test_03_zstdcompress_flush_followed_by_end_still_produces_a_valid_st": {}, + "test_04_zstdcompress_reset_before_any_write_still_works": {} + } + }, + "parallel/test-zlib-zstd-reset.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_zstdcompress_reset_preserves_its_initial_options": {}, + "test_01_zstddecompress_reset_preserves_its_dictionary": {}, + "test_02_zstddecompress_reset_preserves_its_parameters": {} + } + }, + "parallel/test-zlib-zstd.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {} + } + }, + "sequential/test-benchmark-node-bench-tools.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {}, + "block_07_block_07": {}, + "block_08_block_08": {}, + "block_09_block_09": {}, + "block_10_block_10": {}, + "block_11_block_11": {}, + "block_12_block_12": {}, + "block_13_block_13": {}, + "block_14_block_14": {}, + "block_15_block_15": {} + } + }, + "sequential/test-cluster-port-reuse-between-workers.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "sequential/test-crypto-timing-safe-equal-fast.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "sequential/test-debugger-launch.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "sequential/test-debugger-quit-after-exit.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "sequential/test-dtls-interop-openssl-client.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "sequential/test-dtls-interop-openssl-server.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "sequential/test-http2-retain-write-buffers-on-reset.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "sequential/test-inspector-network-resource.js": { + "category": "unevaluated", + "reason": "newly discovered, not yet evaluated", + "split": true, + "subtests": { + "test_00_should_load_and_stream_a_static_network_resource_using_loadn": {}, + "test_01_should_return_success_false_for_missing_resource": {}, + "test_02_should_error_or_return_empty_for_wrong_stream_id": {}, + "test_03_should_support_io_read_with_size_and_offset": {}, + "test_04_should_load_resource_put_from_another_thread": {} + } + }, + "sequential/test-inspector-open-dispose.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "sequential/test-net-listen-ipv6only.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "sequential/test-perf-hooks-histogram-heapdump.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "sequential/test-runner-run-inspect.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "sequential/test-watch-mode-inspect.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "sequential/test-watch-mode-process-timeout.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "sequential/test-watch-mode-restart-esm-loading-error.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "sequential/test-watch-mode-watch-flags.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "sequential/test-watch-mode-worker.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "sequential/test-watch-mode.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "sequential/test-without-async-context-frame.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "sequential/test-zlib-crc32-fast-api.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" } } } diff --git a/tests/node_compat/mapping-22.14.0-to-26.13.1.json b/tests/node_compat/mapping-22.14.0-to-26.13.1.json new file mode 100644 index 000000000..15e6abd01 --- /dev/null +++ b/tests/node_compat/mapping-22.14.0-to-26.13.1.json @@ -0,0 +1,6842 @@ +{ + "from": "22.14.0", + "to": "26.13.1", + "baselineCases": 3260, + "note": "Disposition of every 22.14.0 config entry and subtest that the 26.13.1 migration could not carry over unchanged. 'baseline' means the case passed in the 22.14.0 lane. Moves keep the historical assertions by classifying the replacement as runnable; 'moved-to-top-level' subtests are now top-level code that runs in every case of the file; EOL and upstream removals are target-semantics changes, not lost coverage. Removed subtests without a name or position match were mapped by reading both versions.", + "summary": { + "baselineCases": 3260, + "byDisposition": { + "same": 2835, + "newly-split": 16, + "renamed": 299, + "target-change-eol": 48, + "moved": 26, + "target-change-removed-upstream": 7, + "moved-to-top-level": 10, + "unsplit": 8, + "unmapped-moved-to-unvendored-dir": 11 + }, + "byDispositionAndStatus": { + "moved / failed": 5, + "moved / failed,passed": 21, + "moved-to-top-level / failed": 1, + "moved-to-top-level / failed,skipped": 4, + "moved-to-top-level / passed": 3, + "moved-to-top-level / passed,skipped": 2, + "newly-split / failed": 7, + "newly-split / failed,passed": 5, + "newly-split / passed": 4, + "renamed / failed": 106, + "renamed / passed": 189, + "renamed / skipped": 4, + "same / failed": 168, + "same / passed": 2632, + "same / skipped": 35, + "target-change-eol / -": 38, + "target-change-eol / skipped": 10, + "target-change-removed-upstream / -": 7, + "unmapped-moved-to-unvendored-dir / -": 11, + "unsplit / failed": 2, + "unsplit / skipped": 6 + }, + "baselineGapCases": 344, + "nowNodeInternalsCases": 45 + }, + "missingSources": [ + { + "file": "es-module/test-esm-loader-hooks.mjs", + "entry": { + "category": "known-gap", + "reason": "loader hooks in this vendored file are exercised through spawned process.execPath CLI loader flags/eval, deferred to simulated Node CLI mode support" + }, + "baselineCases": 0, + "commit": [ + "3da4dce29658f1371fc943bc6141159260582a28", + "2026-01-16", + "test: split test-esm-loader-hooks" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "module-hooks" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "es-module/test-esm-type-flag-cli-entry.mjs", + "entry": { + "category": "known-gap", + "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" + }, + "baselineCases": 0, + "commit": [ + "94c327c753b386f8aef9754b18b6714396d1d718", + "2024-12-02", + "module: remove --experimental-default-type" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "es-module/test-esm-type-flag-errors.mjs", + "entry": { + "category": "known-gap", + "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" + }, + "baselineCases": 0, + "commit": [ + "94c327c753b386f8aef9754b18b6714396d1d718", + "2024-12-02", + "module: remove --experimental-default-type" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "es-module/test-esm-type-flag-loose-files.mjs", + "entry": { + "nestedNodeTest": true, + "split": true, + "subtests": { + "test_00_should_run_as_esm_a_js_file_that_is_outside_of_any_package_s": { + "category": "known-gap", + "reason": "requires spawned process.execPath entry-point execution with --experimental-default-type=module" + }, + "test_01_should_run_as_esm_an_extensionless_javascript_file_that_is_o": { + "category": "known-gap", + "reason": "requires spawned process.execPath entry-point execution with --experimental-default-type=module" + }, + "test_02_should_run_as_wasm_an_extensionless_wasm_file_that_is_outsid": { + "category": "known-gap", + "reason": "requires spawned process.execPath entry-point execution plus WebAssembly module loading support" + }, + "test_03_should_import_as_esm_a_js_file_that_is_outside_of_any_packag": { + "category": "runnable" + }, + "test_04_should_import_as_esm_an_extensionless_javascript_file_that_i": { + "category": "runnable" + }, + "test_05_should_import_as_wasm_an_extensionless_wasm_file_that_is_out": { + "category": "known-gap", + "reason": "WebAssembly module loading for .wasm files is not implemented; binary input is currently treated as JS source" + }, + "test_06_should_check_as_esm_input_passed_via_check": { + "category": "known-gap", + "reason": "requires spawned process.execPath --check execution with --experimental-default-type=module" + } + } + }, + "baselineCases": 2, + "commit": [ + "94c327c753b386f8aef9754b18b6714396d1d718", + "2024-12-02", + "module: remove --experimental-default-type" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "es-module/test-esm-type-flag-package-scopes.mjs", + "entry": { + "nestedNodeTest": true, + "split": true, + "subtests": { + "test_00_should_run_as_esm_an_extensionless_javascript_file_within_a_": { + "category": "known-gap", + "reason": "requires spawned process.execPath entry-point execution with --experimental-default-type=module" + }, + "test_01_should_import_an_extensionless_javascript_file_within_a_type": { + "category": "runnable" + }, + "test_02_should_import_an_extensionless_javascript_file_within_a_type": { + "category": "runnable" + }, + "test_03_should_run_as_wasm_an_extensionless_wasm_file_within_a_type_": { + "category": "known-gap", + "reason": "requires spawned process.execPath entry-point execution plus WebAssembly module loading support" + }, + "test_04_should_import_as_wasm_an_extensionless_wasm_file_within_a_ty": { + "category": "known-gap", + "reason": "WebAssembly module loading for .wasm files is not implemented; binary input is currently treated as JS source" + }, + "test_05_should_import_an_extensionless_wasm_file_within_a_type_modul": { + "category": "known-gap", + "reason": "WebAssembly module loading for .wasm files is not implemented; binary input is currently treated as JS source" + }, + "test_06_should_run_as_esm_a_js_file_within_package_scope_that_has_no": { + "category": "known-gap", + "reason": "requires spawned process.execPath entry-point execution with --experimental-default-type=module" + }, + "test_07_should_run_as_esm_an_extensionless_javascript_file_within_a_": { + "category": "known-gap", + "reason": "requires spawned process.execPath entry-point execution with --experimental-default-type=module" + }, + "test_08_should_run_as_wasm_an_extensionless_wasm_file_within_a_packa": { + "category": "known-gap", + "reason": "requires spawned process.execPath entry-point execution plus WebAssembly module loading support" + }, + "test_09_should_import_as_esm_a_js_file_within_package_scope_that_has": { + "category": "runnable" + }, + "test_10_should_import_as_esm_an_extensionless_javascript_file_within": { + "category": "runnable" + }, + "test_11_should_import_as_wasm_an_extensionless_wasm_file_within_a_pa": { + "category": "known-gap", + "reason": "WebAssembly module loading for .wasm files is not implemented; binary input is currently treated as JS source" + }, + "test_12_should_run_as_commonjs_a_js_file_within_package_scope_that_h": { + "category": "known-gap", + "reason": "requires spawned process.execPath entry-point execution with --experimental-default-type=module" + }, + "test_13_should_import_as_commonjs_a_js_file_within_a_package_scope_t": { + "category": "runnable" + }, + "test_14_should_run_as_commonjs_an_extensionless_javascript_file_with": { + "category": "known-gap", + "reason": "requires spawned process.execPath entry-point execution with --experimental-default-type=module" + }, + "test_15_should_import_as_commonjs_an_extensionless_javascript_file_w": { + "category": "runnable" + } + } + }, + "baselineCases": 6, + "commit": [ + "94c327c753b386f8aef9754b18b6714396d1d718", + "2024-12-02", + "module: remove --experimental-default-type" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "es-module/test-esm-type-flag-string-input.mjs", + "entry": { + "category": "known-gap", + "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" + }, + "baselineCases": 0, + "commit": [ + "94c327c753b386f8aef9754b18b6714396d1d718", + "2024-12-02", + "module: remove --experimental-default-type" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "es-module/test-esm-wasm.mjs", + "entry": { + "category": "known-gap", + "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" + }, + "baselineCases": 0, + "commit": [ + "76027d83e975c2d66d15ed2575b3718f45319ab2", + "2025-11-05", + "test: split test-esm-wasm.js" + ], + "replacements": [ + "es-module/test-esm-wasm-escape-import-names.mjs", + "es-module/test-esm-wasm-globals-all-types.mjs", + "es-module/test-esm-wasm-js-string-builtins.mjs", + "es-module/test-esm-wasm-load-exports.mjs", + "es-module/test-esm-wasm-module-instances-warning.mjs", + "es-module/test-esm-wasm-no-code-injection.mjs", + "es-module/test-esm-wasm-non-identifier-exports.mjs", + "es-module/test-esm-wasm-reject-wasm-export-names.mjs", + "es-module/test-esm-wasm-reject-wasm-import-names.mjs", + "es-module/test-esm-wasm-reject-wasm-js-export-names.mjs", + "es-module/test-esm-wasm-reject-wasm-js-import-module.mjs", + "es-module/test-esm-wasm-reject-wasm-js-import-names.mjs", + "es-module/test-esm-wasm-source-phase-dynamic.mjs", + "es-module/test-esm-wasm-source-phase-no-execute-dynamic.mjs", + "es-module/test-esm-wasm-source-phase-no-execute.mjs", + "es-module/test-esm-wasm-source-phase-not-defined-dynamic.mjs", + "es-module/test-esm-wasm-source-phase-not-defined-static.mjs", + "es-module/test-esm-wasm-source-phase-static.mjs", + "es-module/test-esm-wasm-top-level-execution.mjs", + "es-module/test-esm-wasm-vm-source-phase-dynamic.mjs", + "es-module/test-esm-wasm-vm-source-phase-static.mjs" + ], + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "es-module/test-require-module-tla.js", + "entry": { + "split": true, + "subtests": { + "block_00_block_00": { + "category": "runnable" + }, + "block_01_block_01": { + "category": "known-gap", + "reason": "child_process execPath emulation does not implement --experimental-print-required-tla diagnostics output" + } + } + }, + "baselineCases": 1, + "commit": [ + "8d10bc7b09efa49e17df17afabfd75462c231058", + "2025-02-20", + "module: improve error message from asynchronicity in require(esm)" + ], + "replacements": [ + "es-module/test-require-module-tla-execution.js", + "es-module/test-require-module-tla-nested.js", + "es-module/test-require-module-tla-print-execution.js", + "es-module/test-require-module-tla-rejected.js", + "es-module/test-require-module-tla-resolved.js", + "es-module/test-require-module-tla-unresolved.js" + ], + "unvendoredReplacementDirs": null, + "disposition": "moved" + }, + { + "file": "es-module/test-typescript-transform.mjs", + "entry": { + "category": "known-gap", + "reason": "requires isolated process.execPath --experimental-transform-types execution and CLI source-map configuration" + }, + "baselineCases": 0, + "commit": [ + "89f4b6cddbba1ef990ac366ba512498e948ed864", + "2026-02-27", + "module: remove --experimental-transform-types" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-assert-builtins-not-read-from-filesystem.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "d35bd2088e2daa001edabeb030de59f20ec6d8e9", + "2025-09-11", + "lib,src: refactor assert to load error source from memory" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "target-change-removed-upstream" + }, + { + "file": "parallel/test-assert-calltracker-calls.js", + "entry": { + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {} + } + }, + "baselineCases": 6, + "commit": [ + "b21574d63bc22802c14b520389d0df39614f739e", + "2025-05-06", + "assert: move CallTracker to EOL" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "parallel/test-assert-calltracker-getCalls.js", + "entry": { + "split": true, + "subtests": { + "test_00_assert_calltracker_getcalls": {}, + "test_01_assert_calltracker_reset": {} + } + }, + "baselineCases": 2, + "commit": [ + "b21574d63bc22802c14b520389d0df39614f739e", + "2025-05-06", + "assert: move CallTracker to EOL" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "parallel/test-assert-calltracker-report.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "b21574d63bc22802c14b520389d0df39614f739e", + "2025-05-06", + "assert: move CallTracker to EOL" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "parallel/test-assert-calltracker-verify.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "b21574d63bc22802c14b520389d0df39614f739e", + "2025-05-06", + "assert: move CallTracker to EOL" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "parallel/test-assert-fail-deprecation.js", + "entry": { + "split": true, + "subtests": { + "test_00_two_args_only_operator_defaults_to": {}, + "test_01_three_args": {}, + "test_02_three_args_with_custom_error": {}, + "test_03_no_third_arg_but_a_fourth_arg": {}, + "test_04_the_stackframefunction_should_exclude_the_foo_frame": {} + } + }, + "baselineCases": 5, + "commit": [ + "d33f4b539a9a0203a47c5c8d4b8ca855d1a4274d", + "2025-06-02", + "assert: move assert.fail with multiple arguments to eol" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "parallel/test-assert-objects.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "096b61131a82aecc95d2224a5f8ecd7460ec99a8", + "2025-03-12", + "benchmark: skip running some assert benchmarks by default" + ], + "replacements": [ + "parallel/test-assert-partial-deep-equal.js" + ], + "unvendoredReplacementDirs": null, + "disposition": "moved" + }, + { + "file": "parallel/test-child-process-spawn-args.js", + "entry": { + "category": "wasi-impossible", + "reason": "requires child_process which is not available in WASM" + }, + "baselineCases": 0, + "commit": [ + "6d4e27060736520939cd8fb967cbb8b1ed047d25", + "2025-06-03", + "test: rewrite test-child-process-spawn-args" + ], + "replacements": [ + "parallel/test-child-process-spawn-args.mjs" + ], + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-crypto-keygen-deprecation.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "c3b986853c07bf4583bd679748f3ce03682491c1", + "2025-06-20", + "crypto: move deprecated hash and mgf1Hash options to EOL" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "parallel/test-crypto-keygen-duplicate-deprecated-option.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "c3b986853c07bf4583bd679748f3ce03682491c1", + "2025-06-20", + "crypto: move deprecated hash and mgf1Hash options to EOL" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "parallel/test-dgram-deprecation-error.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "968e2f47c89d42205640f13342ab8b89ff312fe0", + "2025-05-31", + "dgram: move deprecated APIs to EOL" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "parallel/test-fs-promises-file-handle-close.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "2bb7667475e9aad2fe95d60c0d24b1688d6c8f61", + "2025-06-25", + "fs: move FileHandle close on GC to EOL" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "parallel/test-fs-promises-writefile-typedarray.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "3ac95f2d0ca18650a5a53ad9254ef01fd9673de2", + "2026-07-14", + "doc,test: widen fsPromises.appendFile()'s data type, add missing tests" + ], + "replacements": [ + "parallel/test-fs-promises-appendfile.js" + ], + "unvendoredReplacementDirs": null, + "disposition": "moved" + }, + { + "file": "parallel/test-fs-promises-writefile-with-fd.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "3ac95f2d0ca18650a5a53ad9254ef01fd9673de2", + "2026-07-14", + "doc,test: widen fsPromises.appendFile()'s data type, add missing tests" + ], + "replacements": [ + "parallel/test-fs-promises-appendfile.js" + ], + "unvendoredReplacementDirs": null, + "disposition": "moved" + }, + { + "file": "parallel/test-fs-rmdir-recursive-sync-warns-not-found.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "eec03020880cf83d20e827d9067bdbeb4e0adf64", + "2025-06-21", + "fs: move rmdir recursive option to end-of-life" + ], + "replacements": [ + "parallel/test-fs-rmdir-recursive-error.js", + "parallel/test-fs-rmdir-throws-not-found.js", + "parallel/test-fs-rmdir-throws-on-file.js" + ], + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "parallel/test-fs-rmdir-recursive-sync-warns-on-file.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "eec03020880cf83d20e827d9067bdbeb4e0adf64", + "2025-06-21", + "fs: move rmdir recursive option to end-of-life" + ], + "replacements": [ + "parallel/test-fs-rmdir-recursive-error.js", + "parallel/test-fs-rmdir-throws-not-found.js", + "parallel/test-fs-rmdir-throws-on-file.js" + ], + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "parallel/test-fs-rmdir-recursive-throws-not-found.js", + "entry": { + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {} + } + }, + "baselineCases": 3, + "commit": [ + "eec03020880cf83d20e827d9067bdbeb4e0adf64", + "2025-06-21", + "fs: move rmdir recursive option to end-of-life" + ], + "replacements": [ + "parallel/test-fs-rmdir-recursive-error.js", + "parallel/test-fs-rmdir-throws-not-found.js", + "parallel/test-fs-rmdir-throws-on-file.js" + ], + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "parallel/test-fs-rmdir-recursive-throws-on-file.js", + "entry": { + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {} + } + }, + "baselineCases": 3, + "commit": [ + "eec03020880cf83d20e827d9067bdbeb4e0adf64", + "2025-06-21", + "fs: move rmdir recursive option to end-of-life" + ], + "replacements": [ + "parallel/test-fs-rmdir-recursive-error.js", + "parallel/test-fs-rmdir-throws-not-found.js", + "parallel/test-fs-rmdir-throws-on-file.js" + ], + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "parallel/test-fs-rmdir-recursive-warns-not-found.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "eec03020880cf83d20e827d9067bdbeb4e0adf64", + "2025-06-21", + "fs: move rmdir recursive option to end-of-life" + ], + "replacements": [ + "parallel/test-fs-rmdir-recursive-error.js", + "parallel/test-fs-rmdir-throws-not-found.js", + "parallel/test-fs-rmdir-throws-on-file.js" + ], + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "parallel/test-fs-rmdir-recursive-warns-on-file.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "eec03020880cf83d20e827d9067bdbeb4e0adf64", + "2025-06-21", + "fs: move rmdir recursive option to end-of-life" + ], + "replacements": [ + "parallel/test-fs-rmdir-recursive-error.js", + "parallel/test-fs-rmdir-throws-not-found.js", + "parallel/test-fs-rmdir-throws-on-file.js" + ], + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "parallel/test-fs-rmdir-recursive.js", + "entry": { + "category": "node-internals", + "reason": "imports internal/fs/utils validateRmdirOptions", + "split": true, + "subtests": { + "block_00_test_the_asynchronous_version": {}, + "block_01_test_the_synchronous_version": {}, + "block_02_test_input_validation": {}, + "block_03_rimraf_see_35566": {} + } + }, + "baselineCases": 0, + "commit": [ + "eec03020880cf83d20e827d9067bdbeb4e0adf64", + "2025-06-21", + "fs: move rmdir recursive option to end-of-life" + ], + "replacements": [ + "parallel/test-fs-rmdir-recursive-error.js", + "parallel/test-fs-rmdir-throws-not-found.js", + "parallel/test-fs-rmdir-throws-on-file.js" + ], + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-fs-truncate-fd.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "a4f556fc368f42e830e914a635cc0604b1188eed", + "2025-03-22", + "fs: remove ability to call truncate with fd" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "parallel/test-global-customevent-disabled.js", + "entry": { + "category": "known-gap", + "reason": "--no-experimental-global-customevent flag is not honored" + }, + "baselineCases": 0, + "commit": [ + "f7e73cd1f2", + "2024-04-29", + "cli: remove --no-experimental-global-customevent flag" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-global-webcrypto-disbled.js", + "entry": { + "category": "known-gap", + "reason": "--no-experimental-global-webcrypto flag is not honored" + }, + "baselineCases": 0, + "commit": [ + "a30ae50860", + "2024-04-19", + "cli: remove --no-experimental-global-webcrypto flag" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-http-outgoing-internal-headernames-getter.js", + "entry": { + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "baselineCases": 2, + "commit": [ + "e1fabe4f58722af265d11081b91ce287f90738f4", + "2025-04-02", + "http: remove outgoingmessage _headers and _headersList" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "parallel/test-http-outgoing-internal-headernames-setter.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "e1fabe4f58722af265d11081b91ce287f90738f4", + "2025-04-02", + "http: remove outgoingmessage _headers and _headersList" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "parallel/test-http-outgoing-internal-headers.js", + "entry": { + "category": "node-internals", + "reason": "requires internal/http kOutHeaders symbol", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {} + } + }, + "baselineCases": 0, + "commit": [ + "e1fabe4f58722af265d11081b91ce287f90738f4", + "2025-04-02", + "http: remove outgoingmessage _headers and _headersList" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-http2-single-headers.js", + "entry": { + "category": "known-gap", + "reason": "node:http2 public API is a stub in WebAssembly runtime" + }, + "baselineCases": 0, + "commit": [ + "0fccfa421ba25754f109ef58f7d64eca89c93180", + "2026-02-21", + "http2: add strictSingleValueFields option to relax header validation" + ], + "replacements": [ + "parallel/test-http2-single-headers-validation-disabled.js", + "parallel/test-http2-single-headers-validation.js" + ], + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-internal-util-classwrapper.js", + "entry": { + "category": "node-internals", + "reason": "requires --expose-internals and internal/util" + }, + "baselineCases": 0, + "commit": [ + "79def6d897b09cc3bfc9dd0f870fed3498ccf323", + "2026-05-30", + "util: remove unused functions" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-net-deprecated-setsimultaneousaccepts.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "ace5548ff0b82c08704f2bf812295aabf5748f30", + "2025-03-22", + "net: make _setSimultaneousAccepts() end-of-life deprecated" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "parallel/test-net-listen-ipv6only.js", + "entry": { + "category": "known-gap", + "reason": "IPv6 sockets are not available in this runtime (common.hasIPv6=false)" + }, + "baselineCases": 0, + "commit": [ + "280c85c1d270a45c2b624683dc1222fbdb3aed28", + "2026-08-22", + "test: deflake test-net-listen-ipv6only" + ], + "replacements": [ + "sequential/test-net-listen-ipv6only.js" + ], + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-net-server-drop-connections-in-cluster.js", + "entry": { + "category": "wasi-impossible", + "reason": "cluster requires process forking, not available in WASM" + }, + "baselineCases": 0, + "commit": [ + "553f236865a999318bba3820e3abeebe62aaee29", + "2025-08-21", + "test: rename test-net-server-drop-connections-in-cluster.js to -http-" + ], + "replacements": [ + "parallel/test-http-server-drop-connections-in-cluster.js" + ], + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-net-server-simultaneous-accepts-produce-warning-once.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "ace5548ff0b82c08704f2bf812295aabf5748f30", + "2025-03-22", + "net: make _setSimultaneousAccepts() end-of-life deprecated" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "parallel/test-performance-eventlooputil.js", + "entry": { + "category": "wasi-impossible", + "reason": "depends on worker_threads-based event loop utilization behavior" + }, + "baselineCases": 0, + "commit": [ + "51a57f2b3629e733773f1b9ade70c8abcee5eb8c", + "2025-10-28", + "perf_hooks: move non-standard performance properties to perf_hooks" + ], + "replacements": [ + "parallel/test-perf-hooks-eventlooputilization.js" + ], + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-performance-function.js", + "entry": { + "category": "known-gap", + "reason": "performance.timerify function entries are not implemented", + "split": true, + "subtests": { + "block_00_block_00": { + "reason": "inherited: performance.timerify function entries are not implemented" + }, + "block_01_block_01": { + "reason": "inherited: performance.timerify function entries are not implemented" + }, + "block_02_block_02": { + "reason": "inherited: performance.timerify function entries are not implemented" + }, + "block_03_block_03": { + "reason": "inherited: performance.timerify function entries are not implemented" + }, + "block_04_function_can_be_wrapped_many_times_also_check_length_and_nam": { + "reason": "inherited: performance.timerify function entries are not implemented" + }, + "block_05_regression_tests_for_https_github_com_nodejs_node_issues_406": { + "reason": "inherited: performance.timerify function entries are not implemented" + } + } + }, + "baselineCases": 0, + "commit": [ + "51a57f2b3629e733773f1b9ade70c8abcee5eb8c", + "2025-10-28", + "perf_hooks: move non-standard performance properties to perf_hooks" + ], + "replacements": [ + "parallel/test-perf-hooks-eventlooputilization.js" + ], + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-permission-dc-worker-threads.js", + "entry": { + "category": "known-gap", + "reason": "process.permission worker-thread restrictions are incomplete" + }, + "baselineCases": 0, + "commit": [ + "f46d501b7f4c6a8b838f472693596044d14a566f", + "2025-10-22", + "test_runner: use module.registerHooks in module mocks" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-process-assert.js", + "entry": { + "category": "known-gap", + "reason": "process.assert() is not implemented" + }, + "baselineCases": 0, + "commit": [ + "c237eabf4c", + "2024-09-23", + "process: remove `process.assert`" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-promise-swallowed-event.js", + "entry": { + "category": "known-gap", + "reason": "process 'multipleResolves' event semantics are not implemented" + }, + "baselineCases": 0, + "commit": [ + "a3dfca90d1faa0fbc4900c2c816c035e4ae2a0a9", + "2025-06-29", + "process: move multipleResolves event to EOL" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-quic-internal-endpoint-listen-defaults.js", + "entry": { + "category": "node-internals", + "reason": "requires internal/quic/quic classes (non-public API)" + }, + "baselineCases": 0, + "commit": [ + "36256230b4cab235f4e8248b4289839771661521", + "2025-09-20", + "src: cleanup quic TransportParams class" + ], + "replacements": [ + "parallel/test-quic-handshake.mjs", + "parallel/test-quic-internal-endpoint-listen-defaults.mjs", + "parallel/test-quic-internal-endpoint-options.mjs", + "parallel/test-quic-internal-endpoint-stats-state.mjs", + "parallel/test-quic-internal-setcallbacks.mjs" + ], + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-quic-internal-endpoint-options.js", + "entry": { + "category": "node-internals", + "reason": "requires internal/quic/quic classes (non-public API)" + }, + "baselineCases": 0, + "commit": [ + "36256230b4cab235f4e8248b4289839771661521", + "2025-09-20", + "src: cleanup quic TransportParams class" + ], + "replacements": [ + "parallel/test-quic-handshake.mjs", + "parallel/test-quic-internal-endpoint-listen-defaults.mjs", + "parallel/test-quic-internal-endpoint-options.mjs", + "parallel/test-quic-internal-endpoint-stats-state.mjs", + "parallel/test-quic-internal-setcallbacks.mjs" + ], + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-quic-internal-endpoint-stats-state.js", + "entry": { + "category": "node-internals", + "reason": "requires internal/quic/quic and internal/quic/symbols" + }, + "baselineCases": 0, + "commit": [ + "36256230b4cab235f4e8248b4289839771661521", + "2025-09-20", + "src: cleanup quic TransportParams class" + ], + "replacements": [ + "parallel/test-quic-handshake.mjs", + "parallel/test-quic-internal-endpoint-listen-defaults.mjs", + "parallel/test-quic-internal-endpoint-options.mjs", + "parallel/test-quic-internal-endpoint-stats-state.mjs", + "parallel/test-quic-internal-setcallbacks.mjs" + ], + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-quic-internal-setcallbacks.js", + "entry": { + "category": "node-internals", + "reason": "requires internalBinding('quic').setCallbacks" + }, + "baselineCases": 0, + "commit": [ + "36256230b4cab235f4e8248b4289839771661521", + "2025-09-20", + "src: cleanup quic TransportParams class" + ], + "replacements": [ + "parallel/test-quic-handshake.mjs", + "parallel/test-quic-internal-endpoint-listen-defaults.mjs", + "parallel/test-quic-internal-endpoint-options.mjs", + "parallel/test-quic-internal-endpoint-stats-state.mjs", + "parallel/test-quic-internal-setcallbacks.mjs" + ], + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-repl-eval.js", + "entry": { + "category": "wasi-impossible", + "reason": "REPL requires interactive terminal, not available in WASM" + }, + "baselineCases": 0, + "commit": [ + "d6dade5bc5faf32c8efce69cbc385ca3383beef7", + "2025-06-15", + "test: add tests for REPL custom evals" + ], + "replacements": [ + "parallel/test-repl-custom-eval-previews.js", + "parallel/test-repl-custom-eval.js" + ], + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-single-executable-blob-config-errors.js", + "entry": { + "category": "wasi-impossible", + "reason": "Node.js SEA packaging, not available in WASM", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {}, + "block_07_block_07": {}, + "block_08_block_08": {}, + "block_09_block_09": {}, + "block_10_block_10": {} + } + }, + "baselineCases": 0, + "commit": [ + "64bbb979decdbfffc3d88b26c1e2045a8e2ed6d8", + "2025-10-17", + "test: move sea tests into test/sea" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "sea" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-single-executable-blob-config.js", + "entry": { + "category": "wasi-impossible", + "reason": "Node.js SEA packaging, not available in WASM", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {} + } + }, + "baselineCases": 0, + "commit": [ + "64bbb979decdbfffc3d88b26c1e2045a8e2ed6d8", + "2025-10-17", + "test: move sea tests into test/sea" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "sea" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-sqlite-database-sync.js", + "entry": { + "split": true, + "subtests": { + "test_00_databasesync_constructor": {}, + "test_01_databasesync_prototype_open": {}, + "test_02_databasesync_prototype_close": {}, + "test_03_databasesync_prototype_prepare": {}, + "test_04_databasesync_prototype_exec": {} + } + }, + "baselineCases": 5, + "commit": [ + "f2b698f1cf7e03581e9a4a36e66424cecb153520", + "2026-09-26", + "sqlite: rename DatabaseSync and StatementSync" + ], + "replacements": [ + "parallel/test-sqlite-database.js", + "parallel/test-sqlite-statement-columns.js", + "parallel/test-sqlite-statement.js" + ], + "unvendoredReplacementDirs": null, + "disposition": "moved" + }, + { + "file": "parallel/test-sqlite-statement-sync.js", + "entry": { + "split": true, + "subtests": { + "test_00_statementsync_constructor": {}, + "test_01_statementsync_prototype_get": {}, + "test_02_statementsync_prototype_all": {}, + "test_03_statementsync_prototype_iterate": {}, + "test_04_statementsync_prototype_run": {}, + "test_05_statementsync_prototype_sourcesql": {}, + "test_06_statementsync_prototype_expandedsql": { + "category": "known-gap", + "reason": "node:sqlite rejects mixed named+positional parameters where Node accepts them" + }, + "test_07_statementsync_prototype_setreadbigints": {}, + "test_08_statementsync_prototype_setallowbarenamedparameters": {} + } + }, + "baselineCases": 8, + "commit": [ + "f2b698f1cf7e03581e9a4a36e66424cecb153520", + "2026-09-26", + "sqlite: rename DatabaseSync and StatementSync" + ], + "replacements": [ + "parallel/test-sqlite-database.js", + "parallel/test-sqlite-statement-columns.js", + "parallel/test-sqlite-statement.js" + ], + "unvendoredReplacementDirs": null, + "disposition": "moved" + }, + { + "file": "parallel/test-stream-aliases-legacy.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "c755b0113ce0cb6d83baf2cf070ba381a5673db2", + "2026-01-22", + "stream: move _stream_* to end-of-life" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "parallel/test-stream-base-typechecking.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "f352556da863c3ad8c32acbe853f3018946b623b", + "2026-05-19", + "stream: disallow writing string chunk with 'buffer' encoding" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "target-change-removed-upstream" + }, + { + "file": "parallel/test-stream-compose-operator.js", + "entry": { + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {}, + "block_07_block_07": {} + } + }, + "baselineCases": 8, + "commit": [ + "5e677d6e7e4a04f217ffb79fcbcdadadb02e6fa0", + "2025-12-23", + "stream: do not pass `readable.compose()` output via `Readable.from()`" + ], + "replacements": [ + "parallel/test-stream-readable-compose.js" + ], + "unvendoredReplacementDirs": null, + "disposition": "moved" + }, + { + "file": "parallel/test-stream-readable-to-web.js", + "entry": { + "category": "known-gap", + "reason": "Readable.toWeb() with crypto randomBytes pressure can trap in web_crypto random_bytes" + }, + "baselineCases": 0, + "commit": [ + "fa458d2feec2e3510f10b77b936ac0acd7ab1672", + "2025-08-02", + "test: deflake stream-readable-to-web test" + ], + "replacements": [ + "parallel/test-stream-readable-to-web.mjs" + ], + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-timers-active.js", + "entry": { + "category": "node-internals", + "reason": "asserts deprecated timers.active() behavior and private _idle* timer fields" + }, + "baselineCases": 0, + "commit": [ + "5d7091f1bc0454e9ea80a0ea49ff7469cc7f2d7c", + "2025-02-10", + "timers: set several methods EOL" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-timers-enroll-invalid-msecs.js", + "entry": { + "category": "node-internals", + "reason": "tests deprecated internal timers.enroll() validation/error paths" + }, + "baselineCases": 0, + "commit": [ + "5d7091f1bc0454e9ea80a0ea49ff7469cc7f2d7c", + "2025-02-10", + "timers: set several methods EOL" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-timers-enroll-second-time.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "5d7091f1bc0454e9ea80a0ea49ff7469cc7f2d7c", + "2025-02-10", + "timers: set several methods EOL" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "parallel/test-timers-unref-active.js", + "entry": { + "category": "node-internals", + "reason": "explicitly tests private timers._unrefActive()/enroll()/unenroll() behavior" + }, + "baselineCases": 0, + "commit": [ + "5d7091f1bc0454e9ea80a0ea49ff7469cc7f2d7c", + "2025-02-10", + "timers: set several methods EOL" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-timers-unref-remove-other-unref-timers-only-one-fires.js", + "entry": { + "category": "node-internals", + "reason": "explicitly tests private timers._unrefActive()/enroll()/unenroll() behavior" + }, + "baselineCases": 0, + "commit": [ + "5d7091f1bc0454e9ea80a0ea49ff7469cc7f2d7c", + "2025-02-10", + "timers: set several methods EOL" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-timers-unref-remove-other-unref-timers.js", + "entry": { + "category": "node-internals", + "reason": "explicitly tests private timers._unrefActive()/enroll()/unenroll() behavior" + }, + "baselineCases": 0, + "commit": [ + "5d7091f1bc0454e9ea80a0ea49ff7469cc7f2d7c", + "2025-02-10", + "timers: set several methods EOL" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-tls-handshake-nohang.js", + "entry": { + "category": "wasi-impossible", + "reason": "tls/https is not supported in WebAssembly environment" + }, + "baselineCases": 0, + "commit": [ + "a2a53cb728ec5f776ac16879ce0f480a8e838320", + "2025-03-11", + "tls: remove deprecated tls.createSecurePair" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-tls-ip-servername-deprecation.js", + "entry": { + "category": "wasi-impossible", + "reason": "tls/https is not supported in WebAssembly environment" + }, + "baselineCases": 0, + "commit": [ + "790acc8689d731381e2e14e764ed2952e8ddc9e5", + "2025-06-02", + "tls: move IP-address servername deprecation to eol" + ], + "replacements": [ + "parallel/test-tls-ip-servername-forbidden.js" + ], + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-tls-legacy-deprecated.js", + "entry": { + "category": "wasi-impossible", + "reason": "tls/https is not supported in WebAssembly environment" + }, + "baselineCases": 0, + "commit": [ + "a2a53cb728ec5f776ac16879ce0f480a8e838320", + "2025-03-11", + "tls: remove deprecated tls.createSecurePair" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-tls-securepair-fiftharg.js", + "entry": { + "category": "wasi-impossible", + "reason": "tls/https is not supported in WebAssembly environment" + }, + "baselineCases": 0, + "commit": [ + "a2a53cb728ec5f776ac16879ce0f480a8e838320", + "2025-03-11", + "tls: remove deprecated tls.createSecurePair" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-tls-securepair-leak.js", + "entry": { + "category": "wasi-impossible", + "reason": "tls/https is not supported in WebAssembly environment" + }, + "baselineCases": 0, + "commit": [ + "a2a53cb728ec5f776ac16879ce0f480a8e838320", + "2025-03-11", + "tls: remove deprecated tls.createSecurePair" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-tls-securepair-server.js", + "entry": { + "category": "wasi-impossible", + "reason": "tls/https is not supported in WebAssembly environment" + }, + "baselineCases": 0, + "commit": [ + "a2a53cb728ec5f776ac16879ce0f480a8e838320", + "2025-03-11", + "tls: remove deprecated tls.createSecurePair" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-tls-server-setoptions-clientcertengine.js", + "entry": { + "category": "wasi-impossible", + "reason": "tls/https is not supported in WebAssembly environment" + }, + "baselineCases": 0, + "commit": [ + "388d67033dff68e218960247428f495253bc4a26", + "2025-03-07", + "tls: make server.prototype.setOptions end-of-life" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-trace-atomic-deprecation.js", + "entry": { + "category": "known-gap", + "reason": "execPath child emulation does not support --trace-atomics-wait CLI behavior" + }, + "baselineCases": 0, + "commit": [ + "8f37492b65", + "2024-05-01", + "cli: move --trace-atomics-wait to eol" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-trace-atomics-wait.js", + "entry": { + "category": "wasi-impossible", + "reason": "requires Atomics.wait tracing across worker threads" + }, + "baselineCases": 0, + "commit": [ + "8f37492b65", + "2024-05-01", + "cli: move --trace-atomics-wait to eol" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-trace-events-all.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", + "2026-09-24", + "test: enable trace_events tests with perfetto" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "trace_events" + ], + "disposition": "unmapped-moved-to-unvendored-dir" + }, + { + "file": "parallel/test-trace-events-api.js", + "entry": { + "category": "node-internals", + "reason": "uses --expose-internals and internalBinding('trace_events')" + }, + "baselineCases": 0, + "commit": [ + "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", + "2026-09-24", + "test: enable trace_events tests with perfetto" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "trace_events" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-trace-events-async-hooks-worker.js", + "entry": { + "category": "wasi-impossible", + "reason": "requires worker_threads trace propagation" + }, + "baselineCases": 0, + "commit": [ + "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", + "2026-09-24", + "test: enable trace_events tests with perfetto" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "trace_events" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-trace-events-async-hooks.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", + "2026-09-24", + "test: enable trace_events tests with perfetto" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "trace_events" + ], + "disposition": "unmapped-moved-to-unvendored-dir" + }, + { + "file": "parallel/test-trace-events-bootstrap.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", + "2026-09-24", + "test: enable trace_events tests with perfetto" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "trace_events" + ], + "disposition": "unmapped-moved-to-unvendored-dir" + }, + { + "file": "parallel/test-trace-events-environment.js", + "entry": { + "category": "known-gap", + "reason": "trace_events node.environment category output is incomplete" + }, + "baselineCases": 0, + "commit": [ + "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", + "2026-09-24", + "test: enable trace_events tests with perfetto" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "trace_events" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-trace-events-file-pattern.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", + "2026-09-24", + "test: enable trace_events tests with perfetto" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "trace_events" + ], + "disposition": "unmapped-moved-to-unvendored-dir" + }, + { + "file": "parallel/test-trace-events-fs-sync.js", + "entry": { + "category": "known-gap", + "reason": "execPath child emulation does not yet support trace-events CLI arg parsing used by -e runs" + }, + "baselineCases": 0, + "commit": [ + "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", + "2026-09-24", + "test: enable trace_events tests with perfetto" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "trace_events" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-trace-events-http.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", + "2026-09-24", + "test: enable trace_events tests with perfetto" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "trace_events" + ], + "disposition": "unmapped-moved-to-unvendored-dir" + }, + { + "file": "parallel/test-trace-events-net-abstract-socket.js", + "entry": { + "category": "wasi-impossible", + "reason": "requires Linux abstract UNIX socket tracing" + }, + "baselineCases": 0, + "commit": [ + "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", + "2026-09-24", + "test: enable trace_events tests with perfetto" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "trace_events" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-trace-events-net.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", + "2026-09-24", + "test: enable trace_events tests with perfetto" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "trace_events" + ], + "disposition": "unmapped-moved-to-unvendored-dir" + }, + { + "file": "parallel/test-trace-events-none.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", + "2026-09-24", + "test: enable trace_events tests with perfetto" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "trace_events" + ], + "disposition": "unmapped-moved-to-unvendored-dir" + }, + { + "file": "parallel/test-trace-events-process-exit.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", + "2026-09-24", + "test: enable trace_events tests with perfetto" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "trace_events" + ], + "disposition": "unmapped-moved-to-unvendored-dir" + }, + { + "file": "parallel/test-trace-events-promises.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", + "2026-09-24", + "test: enable trace_events tests with perfetto" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "trace_events" + ], + "disposition": "unmapped-moved-to-unvendored-dir" + }, + { + "file": "parallel/test-trace-events-threadpool.js", + "entry": { + "category": "wasi-impossible", + "reason": "requires libuv threadpool trace categories" + }, + "baselineCases": 0, + "commit": [ + "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", + "2026-09-24", + "test: enable trace_events tests with perfetto" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "trace_events" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-trace-events-v8.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", + "2026-09-24", + "test: enable trace_events tests with perfetto" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "trace_events" + ], + "disposition": "unmapped-moved-to-unvendored-dir" + }, + { + "file": "parallel/test-trace-events-vm.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", + "2026-09-24", + "test: enable trace_events tests with perfetto" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "trace_events" + ], + "disposition": "unmapped-moved-to-unvendored-dir" + }, + { + "file": "parallel/test-util-getcallsite.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "b757a8f2b4fc201e4aef9411d48e2b22d8b29b68", + "2025-10-06", + "lib: remove util.getCallSite" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "parallel/test-util-log.js", + "entry": {}, + "baselineCases": 1, + "commit": [ + "982f6ad516", + "2024-05-06", + "util: move util.log to eol" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "target-change-eol" + }, + { + "file": "parallel/test-warn-stream-wrap.js", + "entry": { + "category": "node-internals", + "reason": "requires deprecated private _stream_wrap module" + }, + "baselineCases": 0, + "commit": [ + "cd68e35704ea2fcf277248fd7b952a7b9e484b74", + "2025-05-23", + "lib: deprecate `_stream_*` modules" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-zlib-bytes-read.js", + "entry": { + "category": "known-gap", + "reason": "zlib stream bytesWritten/bytesRead accounting and end/data callbacks differ from Node" + }, + "baselineCases": 0, + "commit": [ + "e225f00034", + "2024-09-28", + "zlib: remove `zlib.bytesRead`" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + }, + { + "file": "sequential/test-single-executable-application-assets-raw.js", + "entry": { + "category": "wasi-impossible", + "reason": "Node.js SEA packaging, not available in WASM" + }, + "baselineCases": 0, + "commit": [ + "64bbb979decdbfffc3d88b26c1e2045a8e2ed6d8", + "2025-10-17", + "test: move sea tests into test/sea" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "sea" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "sequential/test-single-executable-application-assets.js", + "entry": { + "category": "wasi-impossible", + "reason": "Node.js SEA packaging, not available in WASM", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {} + } + }, + "baselineCases": 0, + "commit": [ + "64bbb979decdbfffc3d88b26c1e2045a8e2ed6d8", + "2025-10-17", + "test: move sea tests into test/sea" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "sea" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "sequential/test-single-executable-application-disable-experimental-sea-warning.js", + "entry": { + "category": "wasi-impossible", + "reason": "Node.js SEA packaging, not available in WASM" + }, + "baselineCases": 0, + "commit": [ + "64bbb979decdbfffc3d88b26c1e2045a8e2ed6d8", + "2025-10-17", + "test: move sea tests into test/sea" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "sea" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "sequential/test-single-executable-application-empty.js", + "entry": { + "category": "wasi-impossible", + "reason": "Node.js SEA packaging, not available in WASM" + }, + "baselineCases": 0, + "commit": [ + "64bbb979decdbfffc3d88b26c1e2045a8e2ed6d8", + "2025-10-17", + "test: move sea tests into test/sea" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "sea" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "sequential/test-single-executable-application-snapshot-and-code-cache.js", + "entry": { + "category": "wasi-impossible", + "reason": "Node.js SEA packaging, not available in WASM" + }, + "baselineCases": 0, + "commit": [ + "64bbb979decdbfffc3d88b26c1e2045a8e2ed6d8", + "2025-10-17", + "test: move sea tests into test/sea" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "sea" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "sequential/test-single-executable-application-snapshot-worker.js", + "entry": { + "category": "wasi-impossible", + "reason": "Node.js SEA packaging, not available in WASM" + }, + "baselineCases": 0, + "commit": [ + "64bbb979decdbfffc3d88b26c1e2045a8e2ed6d8", + "2025-10-17", + "test: move sea tests into test/sea" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "sea" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "sequential/test-single-executable-application-snapshot.js", + "entry": { + "category": "wasi-impossible", + "reason": "Node.js SEA packaging, not available in WASM", + "split": true, + "subtests": { + "block_00_block_00": {}, + "block_01_block_01": {} + } + }, + "baselineCases": 0, + "commit": [ + "64bbb979decdbfffc3d88b26c1e2045a8e2ed6d8", + "2025-10-17", + "test: move sea tests into test/sea" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "sea" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "sequential/test-single-executable-application-use-code-cache.js", + "entry": { + "category": "wasi-impossible", + "reason": "Node.js SEA packaging, not available in WASM" + }, + "baselineCases": 0, + "commit": [ + "64bbb979decdbfffc3d88b26c1e2045a8e2ed6d8", + "2025-10-17", + "test: move sea tests into test/sea" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "sea" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "sequential/test-single-executable-application.js", + "entry": { + "category": "wasi-impossible", + "reason": "Node.js SEA packaging, not available in WASM" + }, + "baselineCases": 0, + "commit": [ + "64bbb979decdbfffc3d88b26c1e2045a8e2ed6d8", + "2025-10-17", + "test: move sea tests into test/sea" + ], + "replacements": null, + "unvendoredReplacementDirs": [ + "sea" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "sequential/test-tls-securepair-client.js", + "entry": { + "category": "wasi-impossible", + "reason": "tls/https is not supported in WebAssembly environment" + }, + "baselineCases": 0, + "commit": [ + "a2a53cb728ec5f776ac16879ce0f480a8e838320", + "2025-03-11", + "tls: remove deprecated tls.createSecurePair" + ], + "replacements": null, + "unvendoredReplacementDirs": null, + "disposition": "dropped-no-baseline-case" + } + ], + "removedSubtests": [ + { + "file": "parallel/test-abortcontroller.js", + "subtest": "test_06_abortcontroller_properties_and_methods_valiate_the_receiver", + "entry": {}, + "baseline": true, + "bestMatch": "test_06_abortcontroller_properties_and_methods_validate_the_receiver", + "ratio": 0.984, + "bestIsNew": true, + "assertionLines": 0, + "assertionLinesFoundIn": {}, + "assertionLinesMissing": [], + "disposition": "renamed", + "replacedValue": { + "category": "unevaluated", + "reason": "newly discovered subtest, not yet evaluated" + } + }, + { + "file": "parallel/test-blob.js", + "subtest": "block_28_statement_28", + "entry": { + "category": "node-internals", + "reason": "Asserts internal webstreams kState" + }, + "baseline": false, + "bestMatch": "block_32_statement_32", + "ratio": 0.937, + "bestIsNew": true, + "assertionLines": 5, + "assertionLinesFoundIn": { + "block_29_statement_29": 3, + "block_22_statement_22": 1 + }, + "assertionLinesMissing": [ + "assert.strictEqual(stream[kState].controller.desiredSize, -5);" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-blob.js", + "subtest": "block_30_statement_30", + "entry": { + "category": "node-internals", + "reason": "Asserts internal webstreams kState" + }, + "baseline": false, + "bestMatch": "block_32_statement_32", + "ratio": 0.972, + "bestIsNew": true, + "assertionLines": 5, + "assertionLinesFoundIn": { + "block_29_statement_29": 3, + "block_22_statement_22": 1 + }, + "assertionLinesMissing": [ + "assert.strictEqual(stream[kState].controller.desiredSize, -5);" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-blob.js", + "subtest": "block_32_block_32", + "entry": { + "category": "runnable" + }, + "baseline": true, + "bestMatch": "block_33_block_33", + "ratio": 0.555, + "bestIsNew": true, + "assertionLines": 2, + "assertionLinesFoundIn": { + "block_33_block_33": 2 + }, + "assertionLinesMissing": [], + "disposition": "renamed" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_04_authentication_tag_length_has_been_specified", + "entry": {}, + "baseline": true, + "bestMatch": "block_05_authentication_tag_length_has_been_specified", + "ratio": 0.952, + "bestIsNew": true, + "assertionLines": 4, + "assertionLinesFoundIn": { + "block_01_throw": 4 + }, + "assertionLinesMissing": [], + "disposition": "renamed", + "replacedValue": { + "category": "unevaluated", + "reason": "newly discovered subtest, not yet evaluated" + } + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_05_authentication_tag_has_been_specified", + "entry": {}, + "baseline": true, + "bestMatch": "block_06_authentication_tag_length_has_been_specified", + "ratio": 0.864, + "bestIsNew": true, + "assertionLines": 2, + "assertionLinesFoundIn": { + "block_01_throw": 2 + }, + "assertionLinesMissing": [], + "disposition": "renamed", + "replacedValue": { + "category": "unevaluated", + "reason": "newly discovered subtest, not yet evaluated" + } + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_12_final_in_gcm_or_ocb_mode", + "entry": {}, + "baseline": true, + "bestMatch": "block_13_final_in_gcm_mode_ocb_mode_and_for_chacha20_poly1305", + "ratio": 0.315, + "bestIsNew": false, + "assertionLines": 1, + "assertionLinesFoundIn": {}, + "assertionLinesMissing": [ + "assert(result.equals(plain));" + ], + "disposition": "renamed", + "note": "rewritten as a superset: testAllOrders also covers ChaCha20-Poly1305 and AAD ordering" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_15_block_15", + "entry": {}, + "baseline": true, + "bestMatch": "block_16_block_16", + "ratio": 0.375, + "bestIsNew": false, + "assertionLines": 1, + "assertionLinesFoundIn": { + "block_01_throw": 1 + }, + "assertionLinesMissing": [], + "disposition": "renamed", + "note": "same issue 38035 check, now skipped when aes-128-ccm is unavailable and compared with a control tag" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_17_require_the_authentication_tag_before_calls_to_update_during", + "entry": {}, + "baseline": true, + "bestMatch": "block_10_test_that_final_throws_in_ccm_mode_when_no_authentication_ta", + "ratio": 0.151, + "bestIsNew": false, + "assertionLines": 3, + "assertionLinesFoundIn": { + "block_01_throw": 1 + }, + "assertionLinesMissing": [ + "assert.strictEqual(authTag.length, authTagLength);", + "assert.strictEqual(plaintext.toString(), 'foo');" + ], + "disposition": "moved-to-top-level", + "movedTo": "top-level code of the same file, run in every case" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_18_no_recommended_or_approved_authentication_tag_lengths_below_", + "entry": {}, + "baseline": true, + "bestMatch": "block_03_test_that_gcm_can_produce_shorter_authentication_tags_than_1", + "ratio": 0.128, + "bestIsNew": false, + "assertionLines": 4, + "assertionLinesFoundIn": {}, + "assertionLinesMissing": [ + "assert.strictEqual(rfcTestCases.length, 1);", + "assert.strictEqual(ciphertext.toString('hex'), testCase.ct);", + "assert.strictEqual(authTag.toString('hex'), testCase.tag);", + "assert.strictEqual(plaintext.toString('hex'), testCase.plain);" + ], + "disposition": "moved-to-top-level", + "movedTo": "top-level code of the same file, run in every case" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_19_https_github_com_nodejs_node_issues_45874", + "entry": {}, + "baseline": true, + "bestMatch": "block_03_test_that_gcm_can_produce_shorter_authentication_tags_than_1", + "ratio": 0.137, + "bestIsNew": false, + "assertionLines": 4, + "assertionLinesFoundIn": { + "block_01_throw": 1 + }, + "assertionLinesMissing": [ + "assert.strictEqual(rfcTestCases.length, 1);", + "assert.strictEqual(ciphertext.toString('hex'), testCase.ct);", + "assert.strictEqual(authTag.toString('hex'), testCase.tag);" + ], + "disposition": "moved-to-top-level", + "movedTo": "top-level code of the same file, run in every case" + }, + { + "file": "parallel/test-crypto-hash.js", + "subtest": "block_01_test_xof_hash_functions_and_the_outputlength_option", + "entry": {}, + "baseline": true, + "bestMatch": "block_01_block_01", + "ratio": 0.113, + "bestIsNew": false, + "assertionLines": 18, + "assertionLinesFoundIn": {}, + "assertionLinesMissing": [ + "assert.strictEqual(crypto.createHash('shake128').digest('hex'),", + "assert.strictEqual(crypto.createHash('shake128', null).digest('hex'),", + "assert.strictEqual(crypto.createHash('shake256').digest('hex'),", + "assert.strictEqual(crypto.createHash('shake256', { outputLength: 0 })", + "assert.strictEqual(crypto.createHash('shake128', { outputLength: 0 })", + "assert.strictEqual(crypto.createHash('shake128', { outputLength: 5 })", + "assert.strictEqual(crypto.createHash('shake128', { outputLength: 5 })", + "assert.strictEqual(crypto.createHash('shake128', { outputLength: 0 })", + "assert.strictEqual(crypto.createHash('shake128', { outputLength: 15 })", + "assert.strictEqual(crypto.createHash('shake256', { outputLength: 16 })", + "assert.strictEqual(crypto.createHash('shake128', { outputLength: 128 })", + "assert.strictEqual(superLongHash.length, 2 * 1024 * 1024);", + "assert.ok(superLongHash.endsWith('193414035ddba77bf7bba97981e656ec'));", + "assert.ok(superLongHash.startsWith('a2a28dbc49cfd6e5d6ceea3d03e77748'));", + "assert.strictEqual(crypto.createHash('sha224', { outputLength: 28 })", + "assert.throws(() => {", + "assert.throws(() => crypto.createHash('sha256', { outputLength }),", + "assert.throws(() => crypto.createHash('sha256', { outputLength })," + ], + "disposition": "moved-to-top-level", + "movedTo": "top-level code of the same file, run in every case" + }, + { + "file": "parallel/test-crypto-hash.js", + "subtest": "block_04_block_04", + "entry": {}, + "baseline": true, + "bestMatch": "block_00_block_00", + "ratio": 0.334, + "bestIsNew": false, + "assertionLines": 0, + "assertionLinesFoundIn": {}, + "assertionLinesMissing": [], + "disposition": "moved-to-top-level", + "note": "the top-level expectWarning now also expects DEP0198 for SHAKE digests without outputLength", + "movedTo": "top-level code of the same file, run in every case" + }, + { + "file": "parallel/test-crypto-key-objects.js", + "subtest": "block_07_block_07", + "entry": {}, + "baseline": true, + "bestMatch": "block_09_block_09", + "ratio": 0.84, + "bestIsNew": false, + "assertionLines": 11, + "assertionLinesFoundIn": { + "block_09_block_09": 4, + "block_05_block_05": 4, + "block_00_block_00": 2 + }, + "assertionLinesMissing": [ + "assert.throws(() => createPrivateKey(privateDsa), hasOpenSSL3 ? {" + ], + "disposition": "renamed" + }, + { + "file": "parallel/test-crypto-key-objects.js", + "subtest": "block_08_block_08", + "entry": {}, + "baseline": true, + "bestMatch": "block_05_block_05", + "ratio": 0.09, + "bestIsNew": false, + "assertionLines": 31, + "assertionLinesFoundIn": { + "block_05_block_05": 12, + "block_00_block_00": 2 + }, + "assertionLinesMissing": [ + "assert.strictEqual(publicKey.asymmetricKeyType, 'rsa-pss');", + "assert.deepStrictEqual(publicKey.asymmetricKeyDetails, expectedKeyDetails);", + "assert.strictEqual(privateKey.asymmetricKeyType, 'rsa-pss');", + "assert.deepStrictEqual(privateKey.asymmetricKeyDetails, expectedKeyDetails);", + "assert.ok(okay);", + "assert.strictEqual(publicKey.asymmetricKeyType, 'rsa-pss');", + "assert.deepStrictEqual(publicKey.asymmetricKeyDetails, expectedKeyDetails);", + "assert.strictEqual(privateKey.asymmetricKeyType, 'rsa-pss');", + "assert.deepStrictEqual(privateKey.asymmetricKeyDetails, expectedKeyDetails);", + "assert.strictEqual(publicKey.asymmetricKeyType, 'rsa-pss');", + "assert.strictEqual(privateKey.asymmetricKeyType, 'rsa-pss');", + "assert.ok(okay);", + "assert.strictEqual(publicKey.asymmetricKeyType, 'rsa-pss');", + "assert.deepStrictEqual(publicKey.asymmetricKeyDetails, expectedKeyDetails);", + "assert.strictEqual(privateKey.asymmetricKeyType, 'rsa-pss');", + "assert.deepStrictEqual(privateKey.asymmetricKeyDetails, expectedKeyDetails);", + "assert.ok(okay);" + ], + "disposition": "moved-to-top-level", + "movedTo": "top-level code of the same file, run in every case" + }, + { + "file": "parallel/test-crypto-key-objects.js", + "subtest": "block_12_block_12", + "entry": {}, + "baseline": true, + "bestMatch": "block_13_block_13", + "ratio": 0.887, + "bestIsNew": true, + "assertionLines": 3, + "assertionLinesFoundIn": { + "block_13_block_13": 1, + "block_00_block_00": 2 + }, + "assertionLinesMissing": [], + "disposition": "renamed", + "replacedValue": { + "category": "unevaluated", + "reason": "newly discovered subtest, not yet evaluated" + } + }, + { + "file": "parallel/test-crypto-key-objects.js", + "subtest": "block_15_block_15", + "entry": {}, + "baseline": true, + "bestMatch": "block_16_block_16", + "ratio": 0.785, + "bestIsNew": true, + "assertionLines": 4, + "assertionLinesFoundIn": { + "block_15_block_15": 4 + }, + "assertionLinesMissing": [], + "disposition": "renamed", + "replacedValue": { + "category": "unevaluated", + "reason": "newly discovered subtest, not yet evaluated" + } + }, + { + "file": "parallel/test-crypto-keygen.js", + "subtest": "block_10_block_10", + "entry": {}, + "baseline": true, + "bestMatch": "block_09_block_09", + "ratio": 0.428, + "bestIsNew": false, + "assertionLines": 2, + "assertionLinesFoundIn": { + "block_09_block_09": 2 + }, + "assertionLinesMissing": [], + "disposition": "target-change-eol", + "commit": [ + "c3b986853c07bf4583bd679748f3ce03682491c1", + "2025-06-20", + "crypto: move deprecated hash and mgf1Hash options to EOL" + ], + "note": "checked that deprecated hash/mgf1Hash RSA-PSS options match the new ones; DEP0154 is end-of-life" + }, + { + "file": "parallel/test-crypto-rsa-dsa.js", + "subtest": "block_04_block_04", + "entry": {}, + "baseline": true, + "bestMatch": "block_02_block_02", + "ratio": 0.432, + "bestIsNew": false, + "assertionLines": 1, + "assertionLinesFoundIn": {}, + "assertionLinesMissing": [ + "assert.strictEqual(verify.verify(dsaPubPem, signature, 'hex'), true);" + ], + "disposition": "moved-to-top-level", + "movedTo": "top-level code of the same file, run in every case" + }, + { + "file": "parallel/test-crypto-rsa-dsa.js", + "subtest": "block_05_block_05", + "entry": {}, + "baseline": true, + "bestMatch": "block_03_block_03", + "ratio": 0.92, + "bestIsNew": false, + "assertionLines": 1, + "assertionLinesFoundIn": { + "block_00_test_rsa_encryption_decryption": 1 + }, + "assertionLinesMissing": [], + "disposition": "renamed" + }, + { + "file": "parallel/test-crypto-rsa-dsa.js", + "subtest": "block_06_block_06", + "entry": {}, + "baseline": true, + "bestMatch": "block_03_block_03", + "ratio": 0.461, + "bestIsNew": false, + "assertionLines": 1, + "assertionLinesFoundIn": {}, + "assertionLinesMissing": [ + "assert.strictEqual(verify.verify(dsaPubPem, signature, 'hex'), true);" + ], + "disposition": "moved-to-top-level", + "movedTo": "top-level code of the same file, run in every case" + }, + { + "file": "parallel/test-crypto-scrypt.js", + "subtest": "block_00_block_00", + "entry": {}, + "baseline": false, + "bestMatch": "block_01_block_01", + "ratio": 0.199, + "bestIsNew": true, + "assertionLines": 2, + "assertionLinesFoundIn": {}, + "assertionLinesMissing": [ + "assert.deepStrictEqual(actual.toString('hex'), expected.toString('hex'));", + "assert.deepStrictEqual(actual.toString('hex'), expected.toString('hex'));" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-crypto-scrypt.js", + "subtest": "block_02_block_02", + "entry": {}, + "baseline": false, + "bestMatch": "block_01_block_01", + "ratio": 0.926, + "bestIsNew": true, + "assertionLines": 2, + "assertionLinesFoundIn": { + "block_01_block_01": 1 + }, + "assertionLinesMissing": [ + "assert.strictEqual(actual.toString('hex'), 'd72c87d0');" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-crypto-scrypt.js", + "subtest": "block_03_block_03", + "entry": {}, + "baseline": false, + "bestMatch": "block_00_block_00", + "ratio": 0.126, + "bestIsNew": false, + "assertionLines": 1, + "assertionLinesFoundIn": {}, + "assertionLinesMissing": [ + "assert.throws(() => {" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-crypto-sign-verify.js", + "subtest": "block_13_early_if_no_openssl_binary_is_found", + "entry": { + "category": "wasi-impossible", + "reason": "requires external OpenSSL CLI via child_process.exec" + }, + "baseline": false, + "bestMatch": "block_07_https_www_emc_com_emc_plus_rsa_labs_standards_initiatives_pk", + "ratio": 0.174, + "bestIsNew": false, + "assertionLines": 2, + "assertionLinesFoundIn": {}, + "assertionLinesMissing": [ + "}\"`, common.mustCall((err, stdout, stderr) => {", + "assert(stdout.includes('Verified OK'));" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-crypto-sign-verify.js", + "subtest": "block_16_block_16", + "entry": {}, + "baseline": true, + "bestMatch": "block_14_block_14", + "ratio": 0.994, + "bestIsNew": false, + "assertionLines": 4, + "assertionLinesFoundIn": { + "block_02_test_handling_of_exceptional_conditions": 4 + }, + "assertionLinesMissing": [], + "disposition": "renamed" + }, + { + "file": "parallel/test-crypto-sign-verify.js", + "subtest": "block_17_block_17", + "entry": {}, + "baseline": true, + "bestMatch": "block_15_block_15", + "ratio": 0.939, + "bestIsNew": true, + "assertionLines": 3, + "assertionLinesFoundIn": { + "block_02_test_handling_of_exceptional_conditions": 3 + }, + "assertionLinesMissing": [], + "disposition": "renamed", + "replacedValue": { + "category": "unevaluated", + "reason": "newly discovered subtest, not yet evaluated" + } + }, + { + "file": "parallel/test-crypto-sign-verify.js", + "subtest": "block_18_block_18", + "entry": { + "category": "known-gap", + "reason": "verify() returns non-Node error code/message for unsupported key types" + }, + "baseline": false, + "bestMatch": "block_15_block_15", + "ratio": 0.534, + "bestIsNew": true, + "assertionLines": 3, + "assertionLinesFoundIn": { + "block_02_test_handling_of_exceptional_conditions": 3 + }, + "assertionLinesMissing": [], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-dns.js", + "subtest": "block_10_block_10", + "entry": { + "reason": "inherited: dns.getServers()/setServers default-server behavior and validation are not Node-compatible" + }, + "baseline": false, + "bestMatch": "block_12_block_12", + "ratio": 0.925, + "bestIsNew": true, + "assertionLines": 4, + "assertionLinesFoundIn": { + "block_12_block_12": 4 + }, + "assertionLinesMissing": [], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_33_block_33", + "entry": { + "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" + }, + "baseline": false, + "bestMatch": "block_34_block_34", + "ratio": 0.968, + "bestIsNew": false, + "assertionLines": 1, + "assertionLinesFoundIn": { + "block_34_block_34": 1 + }, + "assertionLinesMissing": [], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_45_block_45", + "entry": { + "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" + }, + "baseline": false, + "bestMatch": "block_46_block_46", + "ratio": 0.974, + "bestIsNew": false, + "assertionLines": 4, + "assertionLinesFoundIn": { + "block_46_block_46": 4 + }, + "assertionLinesMissing": [], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_50_block_50", + "entry": { + "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" + }, + "baseline": false, + "bestMatch": "block_51_block_51", + "ratio": 0.969, + "bestIsNew": false, + "assertionLines": 1, + "assertionLinesFoundIn": { + "block_51_block_51": 1 + }, + "assertionLinesMissing": [], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_56_block_56", + "entry": { + "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" + }, + "baseline": false, + "bestMatch": "block_58_block_58", + "ratio": 0.965, + "bestIsNew": true, + "assertionLines": 5, + "assertionLinesFoundIn": { + "block_58_block_58": 5 + }, + "assertionLinesMissing": [], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-http-outgoing-destroyed.js", + "subtest": "block_01_block_01", + "entry": { + "category": "known-gap", + "reason": "wasi:http request body is not finalized/sent until end(), so write()-only request flow diverges from Node" + }, + "baseline": false, + "bestMatch": "block_03_block_03", + "ratio": 0.867, + "bestIsNew": true, + "assertionLines": 6, + "assertionLinesFoundIn": { + "block_02_block_02": 4, + "block_03_block_03": 2 + }, + "assertionLinesMissing": [], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-http-outgoing-destroyed.js", + "subtest": "block_02_block_02", + "entry": {}, + "baseline": true, + "bestMatch": "block_04_block_04", + "ratio": 0.972, + "bestIsNew": true, + "assertionLines": 5, + "assertionLinesFoundIn": { + "block_02_block_02": 2, + "block_04_block_04": 3 + }, + "assertionLinesMissing": [], + "disposition": "renamed", + "replacedValue": { + "category": "unevaluated", + "reason": "newly discovered subtest, not yet evaluated" + } + }, + { + "file": "parallel/test-module-strip-types.js", + "subtest": "test_06_striptypescripttypes_source_map_when_mode_is_transform", + "entry": {}, + "baseline": true, + "bestMatch": "test_01_striptypescripttypes_explicit", + "ratio": 0.399, + "bestIsNew": false, + "assertionLines": 1, + "assertionLinesFoundIn": {}, + "assertionLinesMissing": [ + "assert.strictEqual(script.sourceMapURL, `data:application/json;base64,${inlinedSourceMap}`);" + ], + "disposition": "target-change-removed-upstream", + "commit": [ + "89f4b6cddbba1ef990ac366ba512498e948ed864", + "2026-02-27", + "module: remove --experimental-transform-types" + ] + }, + { + "file": "parallel/test-module-strip-types.js", + "subtest": "test_07_striptypescripttypes_source_map_when_mode_is_transform_and_s", + "entry": {}, + "baseline": true, + "bestMatch": "test_01_striptypescripttypes_explicit", + "ratio": 0.376, + "bestIsNew": false, + "assertionLines": 1, + "assertionLinesFoundIn": {}, + "assertionLinesMissing": [ + "assert.strictEqual(script.sourceMapURL, `data:application/json;base64,${inlinedSourceMap}`);" + ], + "disposition": "target-change-removed-upstream", + "commit": [ + "89f4b6cddbba1ef990ac366ba512498e948ed864", + "2026-02-27", + "module: remove --experimental-transform-types" + ] + }, + { + "file": "parallel/test-module-strip-types.js", + "subtest": "test_08_striptypescripttypes_source_map_when_mode_is_transform_and_s", + "entry": {}, + "baseline": true, + "bestMatch": "test_01_striptypescripttypes_explicit", + "ratio": 0.4, + "bestIsNew": false, + "assertionLines": 1, + "assertionLinesFoundIn": {}, + "assertionLinesMissing": [ + "assert.strictEqual(script.sourceMapURL, `data:application/json;base64,${inlinedSourceMap}`);" + ], + "disposition": "target-change-removed-upstream", + "commit": [ + "89f4b6cddbba1ef990ac366ba512498e948ed864", + "2026-02-27", + "module: remove --experimental-transform-types" + ] + }, + { + "file": "parallel/test-runner-mocking.js", + "subtest": "test_14_given_null_to_a_mock_method_it_throws_a_invalid_argument_err", + "entry": {}, + "baseline": true, + "bestMatch": "test_14_given_null_to_a_mock_method_it_throws_an_invalid_argument_er", + "ratio": 0.997, + "bestIsNew": true, + "assertionLines": 2, + "assertionLinesFoundIn": { + "test_14_given_null_to_a_mock_method_it_throws_an_invalid_argument_er": 1 + }, + "assertionLinesMissing": [ + "test('given null to a mock.method it throws a invalid argument error', (t) => {" + ], + "disposition": "renamed", + "replacedValue": { + "category": "unevaluated", + "reason": "newly discovered subtest, not yet evaluated" + } + }, + { + "file": "parallel/test-runner-module-mocking.js", + "subtest": "test_17_should_throw_err_access_denied_when_permission_model_is_enab", + "entry": { + "category": "known-gap", + "reason": "WASM child emulation does not support --permission/--experimental-test-module-mocks flags" + }, + "baseline": false, + "bestMatch": "test_12_node_modules_can_be_used_by_both_module_systems", + "ratio": 0.593, + "bestIsNew": false, + "assertionLines": 2, + "assertionLinesFoundIn": { + "test_22_wrong_import_syntax_should_throw_error_after_module_mocking": 1 + }, + "assertionLinesMissing": [ + "assert.match(stdout, /Access to this API has been restricted/);" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-runner-module-mocking.js", + "subtest": "test_18_should_work_when_allow_worker_is_passed_and_permission_model", + "entry": { + "category": "known-gap", + "reason": "WASM child emulation does not support --permission/--allow-worker/--experimental-test-module-mocks flags" + }, + "baseline": false, + "bestMatch": "test_12_node_modules_can_be_used_by_both_module_systems", + "ratio": 0.706, + "bestIsNew": false, + "assertionLines": 3, + "assertionLinesFoundIn": { + "test_12_node_modules_can_be_used_by_both_module_systems": 1 + }, + "assertionLinesMissing": [ + "assert.strictEqual(code, 0, stderr);", + "assert.match(stdout, /pass 1/, stderr);" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-sqlite.js", + "subtest": "test_05_math_functions_are_enabled", + "entry": {}, + "baseline": true, + "bestMatch": "test_08_sql_apis_enabled_at_build_time", + "ratio": 0.492, + "bestIsNew": true, + "assertionLines": 1, + "assertionLinesFoundIn": { + "test_01_err_sqlite_error_is_thrown_for_errors_originating_from_sqlit": 1 + }, + "assertionLinesMissing": [], + "disposition": "renamed", + "note": "the math-functions check is now one case of the build-time SQL API suite" + }, + { + "file": "parallel/test-stream-finished.js", + "subtest": "block_39_block_39", + "entry": {}, + "baseline": true, + "bestMatch": "block_40_block_40", + "ratio": 0.973, + "bestIsNew": true, + "assertionLines": 5, + "assertionLinesFoundIn": { + "block_40_block_40": 4, + "block_33_block_33": 1 + }, + "assertionLinesMissing": [], + "disposition": "renamed", + "replacedValue": { + "category": "unevaluated", + "reason": "newly discovered subtest, not yet evaluated" + } + }, + { + "file": "parallel/test-stream-pipeline.js", + "subtest": "block_05_block_05", + "entry": {}, + "baseline": true, + "bestMatch": "block_06_block_06", + "ratio": 0.951, + "bestIsNew": false, + "assertionLines": 2, + "assertionLinesFoundIn": { + "block_06_block_06": 1, + "block_00_block_00": 1 + }, + "assertionLinesMissing": [], + "disposition": "renamed" + }, + { + "file": "parallel/test-stream-pipeline.js", + "subtest": "block_17_block_17", + "entry": {}, + "baseline": true, + "bestMatch": "block_18_block_18", + "ratio": 0.954, + "bestIsNew": true, + "assertionLines": 3, + "assertionLinesFoundIn": { + "block_18_block_18": 2, + "block_03_block_03": 1 + }, + "assertionLinesMissing": [], + "disposition": "renamed", + "replacedValue": { + "category": "unevaluated", + "reason": "newly discovered subtest, not yet evaluated" + } + }, + { + "file": "parallel/test-stream-pipeline.js", + "subtest": "block_44_block_44", + "entry": {}, + "baseline": true, + "bestMatch": "block_45_block_45", + "ratio": 0.961, + "bestIsNew": true, + "assertionLines": 1, + "assertionLinesFoundIn": { + "block_25_block_25": 1 + }, + "assertionLinesMissing": [], + "disposition": "renamed", + "replacedValue": { + "category": "unevaluated", + "reason": "newly discovered subtest, not yet evaluated" + } + }, + { + "file": "parallel/test-stream-pipeline.js", + "subtest": "block_49_block_49", + "entry": {}, + "baseline": true, + "bestMatch": "block_50_block_50", + "ratio": 0.816, + "bestIsNew": true, + "assertionLines": 2, + "assertionLinesFoundIn": { + "block_50_block_50": 1 + }, + "assertionLinesMissing": [ + "assert.ifError(err);" + ], + "disposition": "renamed", + "replacedValue": { + "category": "unevaluated", + "reason": "newly discovered subtest, not yet evaluated" + } + }, + { + "file": "parallel/test-stream-pipeline.js", + "subtest": "block_56_block_56", + "entry": {}, + "baseline": true, + "bestMatch": "block_57_block_57", + "ratio": 0.985, + "bestIsNew": true, + "assertionLines": 5, + "assertionLinesFoundIn": { + "block_57_block_57": 5 + }, + "assertionLinesMissing": [], + "disposition": "renamed", + "replacedValue": { + "category": "unevaluated", + "reason": "newly discovered subtest, not yet evaluated" + }, + "note": "source-read correction: block_59 is the counterpart of 22.14.0 block_58" + }, + { + "file": "parallel/test-stream-pipeline.js", + "subtest": "block_58_block_58", + "entry": {}, + "baseline": true, + "bestMatch": "block_59_block_59", + "ratio": 0.982, + "bestIsNew": true, + "assertionLines": 5, + "assertionLinesFoundIn": { + "block_57_block_57": 5 + }, + "assertionLinesMissing": [], + "disposition": "renamed", + "replacedValue": { + "category": "runnable", + "reason": "carries 22.14.0 subtest block_56_block_56" + } + }, + { + "file": "parallel/test-stream-pipeline.js", + "subtest": "block_79_block_79", + "entry": {}, + "baseline": true, + "bestMatch": "block_81_block_81", + "ratio": 0.983, + "bestIsNew": true, + "assertionLines": 4, + "assertionLinesFoundIn": { + "block_80_block_80": 3, + "block_81_block_81": 1 + }, + "assertionLinesMissing": [], + "disposition": "renamed", + "replacedValue": { + "category": "unevaluated", + "reason": "newly discovered subtest, not yet evaluated" + } + }, + { + "file": "parallel/test-url-fileurltopath.js", + "subtest": "test_03_fileurltopath_with_invalid_path", + "entry": {}, + "baseline": true, + "bestMatch": "test_02_fileurltopath_with_host", + "ratio": 0.39, + "bestIsNew": false, + "assertionLines": 4, + "assertionLinesFoundIn": {}, + "assertionLinesMissing": [ + "assert.throws(() => url.fileURLToPath('file:///C:/a%2F/'), {", + "assert.throws(() => url.fileURLToPath('file:///C:/a%5C/'), {", + "assert.throws(() => url.fileURLToPath('file:///?:/'), {", + "assert.throws(() => url.fileURLToPath('file:///a%2F/'), {" + ], + "disposition": "moved", + "commit": [ + "8e2b093c07", + "2025-09-05", + "url: add err.input to ERR_INVALID_FILE_URL_PATH" + ], + "note": "the historical ERR_INVALID_FILE_URL_PATH code assertion passes; the new err.input assertion fails", + "movedTo": "parallel/test-url-invalid-file-url-path-input.js" + }, + { + "file": "parallel/test-util-getcallsites.js", + "subtest": "block_02_guarantee_dot_left_numbers_are_ignored", + "entry": {}, + "baseline": true, + "bestMatch": "block_02_framecount_must_be_an_integer", + "ratio": 0.7, + "bestIsNew": false, + "assertionLines": 1, + "assertionLinesFoundIn": { + "block_01_block_01": 1 + }, + "assertionLinesMissing": [], + "disposition": "renamed" + }, + { + "file": "parallel/test-util-getcallsites.js", + "subtest": "block_04_block_04", + "entry": {}, + "baseline": true, + "bestMatch": "block_03_block_03", + "ratio": 0.909, + "bestIsNew": false, + "assertionLines": 10, + "assertionLinesFoundIn": { + "block_02_framecount_must_be_an_integer": 10 + }, + "assertionLinesMissing": [], + "disposition": "renamed" + }, + { + "file": "parallel/test-util-getcallsites.js", + "subtest": "block_10_block_10", + "entry": { + "category": "known-gap", + "reason": "simulated child_process TypeScript CLI execution does not publish its transform map to util.getCallSites" + }, + "baseline": false, + "bestMatch": "block_07_guarantee_the_stacktrace_0_is_the_filename", + "ratio": 0.335, + "bestIsNew": false, + "assertionLines": 6, + "assertionLinesFoundIn": {}, + "assertionLinesMissing": [ + "assert.strictEqual(stderr.toString(), '');", + "assert.match(output, /lineNumber: 8/);", + "assert.match(output, /column: 18/);", + "assert.match(output, /columnNumber: 18/);", + "assert.match(output, /test-get-callsite\\.ts/);", + "assert.strictEqual(status, 0);" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-util-getcallsites.js", + "subtest": "block_11_block_11", + "entry": {}, + "baseline": true, + "bestMatch": "block_07_guarantee_the_stacktrace_0_is_the_filename", + "ratio": 0.321, + "bestIsNew": false, + "assertionLines": 6, + "assertionLinesFoundIn": {}, + "assertionLinesMissing": [ + "assert.strictEqual(stderr.toString(), '');", + "assert.match(output, /lineNumber: 2/);", + "assert.match(output, /column: 18/);", + "assert.match(output, /columnNumber: 18/);", + "assert.match(output, /test-get-callsite\\.ts/);", + "assert.strictEqual(status, 0);" + ], + "disposition": "target-change-removed-upstream", + "commit": [ + "89f4b6cddbba1ef990ac366ba512498e948ed864", + "2026-02-27", + "module: remove --experimental-transform-types" + ] + }, + { + "file": "parallel/test-util-getcallsites.js", + "subtest": "block_12_block_12", + "entry": {}, + "baseline": true, + "bestMatch": "block_07_guarantee_the_stacktrace_0_is_the_filename", + "ratio": 0.326, + "bestIsNew": false, + "assertionLines": 6, + "assertionLinesFoundIn": {}, + "assertionLinesMissing": [ + "assert.strictEqual(stderr.toString(), '');", + "assert.match(output, /lineNumber: 2/);", + "assert.match(output, /column: 18/);", + "assert.match(output, /columnNumber: 18/);", + "assert.match(output, /test-get-callsite-explicit\\.ts/);", + "assert.strictEqual(status, 0);" + ], + "disposition": "target-change-removed-upstream", + "commit": [ + "89f4b6cddbba1ef990ac366ba512498e948ed864", + "2026-02-27", + "module: remove --experimental-transform-types" + ] + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_34_block_34", + "entry": {}, + "baseline": false, + "bestMatch": "block_36_block_36", + "ratio": 0.995, + "bestIsNew": false, + "assertionLines": 18, + "assertionLinesFoundIn": { + "block_00_special_function_inspection": 4, + "block_36_block_36": 13, + "block_23_block_23": 1 + }, + "assertionLinesMissing": [], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_63_block_63", + "entry": { + "category": "runnable" + }, + "baseline": true, + "bestMatch": "block_65_block_65", + "ratio": 0.858, + "bestIsNew": true, + "assertionLines": 10, + "assertionLinesFoundIn": { + "block_00_special_function_inspection": 4, + "block_65_block_65": 3, + "block_01_block_01": 1 + }, + "assertionLinesMissing": [ + "assert.throws(() => util.inspect(new ThrowingClass()), /toStringTag error/);", + "assert.throws(() => util.inspect(x), /TypeError: Converting circular structure to JSON/);" + ], + "disposition": "renamed", + "replacedValue": {} + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_77_block_77", + "entry": { + "category": "runnable" + }, + "baseline": true, + "bestMatch": "block_85_block_85", + "ratio": 0.965, + "bestIsNew": true, + "assertionLines": 4, + "assertionLinesFoundIn": { + "block_85_block_85": 3, + "block_51_assumes_that_the_first_numeric_character_is_the_start_of_an_": 1 + }, + "assertionLinesMissing": [], + "disposition": "renamed", + "replacedValue": {} + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_78_block_78", + "entry": { + "category": "node-internals", + "reason": "inherits top-level internal/test/binding dependency" + }, + "baseline": false, + "bestMatch": "block_88_block_88", + "ratio": 0.929, + "bestIsNew": true, + "assertionLines": 1, + "assertionLinesFoundIn": { + "block_88_block_88": 1 + }, + "assertionLinesMissing": [], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_90_block_90", + "entry": { + "category": "runnable" + }, + "baseline": true, + "bestMatch": "block_100_block_100", + "ratio": 0.622, + "bestIsNew": false, + "assertionLines": 1, + "assertionLinesFoundIn": { + "block_00_special_function_inspection": 1 + }, + "assertionLinesMissing": [], + "disposition": "renamed", + "note": "the file is node-internals in 26.13.1; this case does not import internals, so it is classified on its own" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_91_block_91", + "entry": { + "category": "runnable" + }, + "baseline": true, + "bestMatch": "block_101_block_101", + "ratio": 0.775, + "bestIsNew": true, + "assertionLines": 17, + "assertionLinesFoundIn": { + "block_00_special_function_inspection": 8, + "block_101_block_101": 9 + }, + "assertionLinesMissing": [], + "disposition": "renamed", + "replacedValue": {} + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_95_block_95", + "entry": { + "category": "runnable" + }, + "baseline": true, + "bestMatch": "block_106_block_106", + "ratio": 0.999, + "bestIsNew": true, + "assertionLines": 1, + "assertionLinesFoundIn": { + "block_00_special_function_inspection": 1 + }, + "assertionLinesMissing": [], + "disposition": "renamed", + "replacedValue": {} + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_98_block_98", + "entry": { + "category": "runnable" + }, + "baseline": true, + "bestMatch": "block_109_block_109", + "ratio": 0.965, + "bestIsNew": true, + "assertionLines": 1, + "assertionLinesFoundIn": { + "block_00_special_function_inspection": 1 + }, + "assertionLinesMissing": [], + "disposition": "renamed", + "replacedValue": {} + }, + { + "file": "parallel/test-webcrypto-constructors.js", + "subtest": "block_18_block_18", + "entry": {}, + "baseline": true, + "bestMatch": "block_20_block_20", + "ratio": 0.433, + "bestIsNew": true, + "assertionLines": 1, + "assertionLinesFoundIn": { + "block_06_test_subtlecrypto_prototype_encrypt": 1 + }, + "assertionLinesMissing": [], + "disposition": "renamed" + }, + { + "file": "parallel/test-webcrypto-encrypt-decrypt.js", + "subtest": "block_00_test_encrypt_decrypt_rsa_oaep", + "entry": {}, + "baseline": true, + "bestMatch": "block_00_test_encrypt_decrypt_aes_ctr", + "ratio": 0.454, + "bestIsNew": false, + "assertionLines": 2, + "assertionLinesFoundIn": { + "block_00_test_encrypt_decrypt_aes_ctr": 2 + }, + "assertionLinesMissing": [], + "disposition": "moved-to-top-level", + "note": "now the top-level testRSAOaep function and async IIFE", + "movedTo": "top-level code of the same file, run in every case" + }, + { + "file": "parallel/test-webcrypto-sign-verify.js", + "subtest": "block_05_test_sign_verify_ed448", + "entry": {}, + "baseline": true, + "bestMatch": "block_04_test_sign_verify_ed25519", + "ratio": 0.969, + "bestIsNew": false, + "assertionLines": 2, + "assertionLinesFoundIn": { + "block_00_test_sign_verify_rsassa_pkcs1_v1_5": 2 + }, + "assertionLinesMissing": [], + "disposition": "moved-to-top-level", + "movedTo": "top-level code of the same file, run in every case" + }, + { + "file": "parallel/test-webcrypto-webidl.js", + "subtest": "block_24_aesgcmparams", + "entry": { + "reason": "inherited: requires --expose-internals and internal/crypto/webidl" + }, + "baseline": false, + "bestMatch": "block_26_aeadparams", + "ratio": 0.922, + "bestIsNew": true, + "assertionLines": 2, + "assertionLinesFoundIn": {}, + "assertionLinesMissing": [ + "assert.deepStrictEqual(converters.AesGcmParams({ ...good, filtered: 'out' }, opts), good);", + "assert.throws(() => converters.AesGcmParams({ ...good, iv: undefined }, opts), {" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-webcrypto-webidl.js", + "subtest": "block_27_ed448params", + "entry": { + "reason": "inherited: requires --expose-internals and internal/crypto/webidl" + }, + "baseline": false, + "bestMatch": "block_29_contextparams", + "ratio": 0.916, + "bestIsNew": true, + "assertionLines": 1, + "assertionLinesFoundIn": {}, + "assertionLinesMissing": [ + "assert.deepStrictEqual(converters.Ed448Params({ ...good, filtered: 'out' }, opts), good);" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-webstorage.js", + "subtest": "test_00_disabled_without_experimental_webstorage", + "entry": { + "category": "runnable" + }, + "baseline": true, + "bestMatch": "test_08_disabled_with_no_webstorage", + "ratio": 0.839, + "bestIsNew": true, + "assertionLines": 4, + "assertionLinesFoundIn": { + "test_00_storage_instances_cannot_be_created_in_userland": 3, + "test_08_disabled_with_no_webstorage": 1 + }, + "assertionLinesMissing": [], + "disposition": "renamed", + "replacedValue": { + "category": "unevaluated", + "reason": "newly discovered subtest, not yet evaluated" + } + }, + { + "file": "parallel/test-webstorage.js", + "subtest": "test_01_emits_a_warning_when_used", + "entry": { + "category": "known-gap", + "reason": "common-shim spawnPromisified child emulation does not support --experimental-webstorage/--localstorage-file flags" + }, + "baseline": false, + "bestMatch": "test_08_disabled_with_no_webstorage", + "ratio": 0.644, + "bestIsNew": true, + "assertionLines": 4, + "assertionLinesFoundIn": { + "test_02_sessionstorage_is_not_persisted": 1, + "test_00_storage_instances_cannot_be_created_in_userland": 2 + }, + "assertionLinesMissing": [ + "assert.match(cp.stderr, /ExperimentalWarning: Web Storage/);" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-webstorage.js", + "subtest": "test_04_localstorage_throws_without_localstorage_file", + "entry": { + "category": "known-gap", + "reason": "common-shim spawnPromisified child emulation does not support --experimental-webstorage/--localstorage-file flags" + }, + "baseline": false, + "bestMatch": "test_00_storage_instances_cannot_be_created_in_userland", + "ratio": 0.677, + "bestIsNew": false, + "assertionLines": 5, + "assertionLinesFoundIn": { + "test_00_storage_instances_cannot_be_created_in_userland": 3 + }, + "assertionLinesMissing": [ + "test('localStorage throws without --localstorage-file ', async () => {", + "assert.match(cp.stderr, /The argument '--localstorage-file' is an invalid localStorage location/);" + ], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "parallel/test-whatwg-readablestream.js", + "subtest": "block_72_block_72", + "entry": { + "category": "node-internals", + "reason": "requires --expose-internals and internal/webstreams/readablestream" + }, + "baseline": false, + "bestMatch": "block_73_block_73", + "ratio": 0.937, + "bestIsNew": true, + "assertionLines": 4, + "assertionLinesFoundIn": { + "block_73_block_73": 4 + }, + "assertionLinesMissing": [], + "disposition": "dropped-no-baseline-case" + }, + { + "file": "sequential/test-crypto-timing-safe-equal.js", + "subtest": "block_02_block_02", + "entry": {}, + "baseline": false, + "bestMatch": "block_01_block_01", + "ratio": 0.171, + "bestIsNew": false, + "assertionLines": 6, + "assertionLinesFoundIn": {}, + "assertionLinesMissing": [ + "assert.strictEqual(testFastPath(foo, bar), false);", + "assert.strictEqual(testFastPath(foo, bar), false);", + "assert.strictEqual(testFastPath(foo, foo), true);", + "assert.throws(() => testFastPath(foo, longer), {", + "assert.strictEqual(getV8FastApiCallCount('crypto.timingSafeEqual.ok'), 2);", + "assert.strictEqual(getV8FastApiCallCount('crypto.timingSafeEqual.error'), 1);" + ], + "disposition": "dropped-no-baseline-case" + } + ], + "nowNodeInternals": { + "note": "22.14.0 baseline cases whose 26.13.1 file imports Node internals at top level, so the loader classifies them as node-internals and every case of the file is unreachable without --expose-internals. The upstream test changed; the runtime did not regress.", + "files": { + "parallel/test-crypto-key-objects-to-crypto-key.js": "const { kSupportedAlgorithms } = require('internal/crypto/util');", + "parallel/test-process-hrtime-bigint.js": "const { internalBinding } = require('internal/test/binding');", + "parallel/test-process-hrtime.js": "const { internalBinding } = require('internal/test/binding');", + "parallel/test-stream-finished.js": "const { kEosNodeSynchronousCallback } = require('internal/streams/end-of-stream');", + "parallel/test-util-deprecate.js": "const internalUtil = require('internal/util');" + }, + "cases": [ + { + "case": "parallel__test_crypto_key_objects_to_crypto_key_js__block_00_block_00", + "now": "parallel__test_crypto_key_objects_to_crypto_key_js", + "how": "unsplit" + }, + { + "case": "parallel__test_crypto_key_objects_to_crypto_key_js__block_01_block_01", + "now": "parallel__test_crypto_key_objects_to_crypto_key_js", + "how": "unsplit" + }, + { + "case": "parallel__test_crypto_key_objects_to_crypto_key_js__block_02_block_02", + "now": "parallel__test_crypto_key_objects_to_crypto_key_js", + "how": "unsplit" + }, + { + "case": "parallel__test_crypto_key_objects_to_crypto_key_js__block_03_block_03", + "now": "parallel__test_crypto_key_objects_to_crypto_key_js", + "how": "unsplit" + }, + { + "case": "parallel__test_crypto_key_objects_to_crypto_key_js__block_04_block_04", + "now": "parallel__test_crypto_key_objects_to_crypto_key_js", + "how": "unsplit" + }, + { + "case": "parallel__test_crypto_key_objects_to_crypto_key_js__block_05_block_05", + "now": "parallel__test_crypto_key_objects_to_crypto_key_js", + "how": "unsplit" + }, + { + "case": "parallel__test_process_hrtime_bigint_js", + "now": "parallel__test_process_hrtime_bigint_js", + "how": "same" + }, + { + "case": "parallel__test_process_hrtime_js", + "now": "parallel__test_process_hrtime_js", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_00_block_00", + "now": "parallel__test_stream_finished_js__block_00_block_00", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_01_block_01", + "now": "parallel__test_stream_finished_js__block_01_block_01", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_02_block_02", + "now": "parallel__test_stream_finished_js__block_02_block_02", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_03_block_03", + "now": "parallel__test_stream_finished_js__block_03_block_03", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_04_block_04", + "now": "parallel__test_stream_finished_js__block_04_block_04", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_05_block_05", + "now": "parallel__test_stream_finished_js__block_05_block_05", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_06_block_06", + "now": "parallel__test_stream_finished_js__block_06_block_06", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_07_block_07", + "now": "parallel__test_stream_finished_js__block_07_block_07", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_09_block_09", + "now": "parallel__test_stream_finished_js__block_09_block_09", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_10_block_10", + "now": "parallel__test_stream_finished_js__block_10_block_10", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_11_block_11", + "now": "parallel__test_stream_finished_js__block_11_block_11", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_12_block_12", + "now": "parallel__test_stream_finished_js__block_12_block_12", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_13_block_13", + "now": "parallel__test_stream_finished_js__block_13_block_13", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_14_test_faulty_input_values_and_options", + "now": "parallel__test_stream_finished_js__block_14_test_faulty_input_values_and_options", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_15_test_that_calling_returned_function_removes_listeners", + "now": "parallel__test_stream_finished_js__block_15_test_that_calling_returned_function_removes_listeners", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_16_block_16", + "now": "parallel__test_stream_finished_js__block_16_block_16", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_17_block_17", + "now": "parallel__test_stream_finished_js__block_17_block_17", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_18_block_18", + "now": "parallel__test_stream_finished_js__block_18_block_18", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_19_block_19", + "now": "parallel__test_stream_finished_js__block_19_block_19", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_20_block_20", + "now": "parallel__test_stream_finished_js__block_20_block_20", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_25_block_25", + "now": "parallel__test_stream_finished_js__block_25_block_25", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_26_block_26", + "now": "parallel__test_stream_finished_js__block_26_block_26", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_27_block_27", + "now": "parallel__test_stream_finished_js__block_27_block_27", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_28_block_28", + "now": "parallel__test_stream_finished_js__block_28_block_28", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_29_block_29", + "now": "parallel__test_stream_finished_js__block_29_block_29", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_30_block_30", + "now": "parallel__test_stream_finished_js__block_30_block_30", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_31_block_31", + "now": "parallel__test_stream_finished_js__block_31_block_31", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_32_block_32", + "now": "parallel__test_stream_finished_js__block_32_block_32", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_33_block_33", + "now": "parallel__test_stream_finished_js__block_33_block_33", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_35_block_35", + "now": "parallel__test_stream_finished_js__block_35_block_35", + "how": "same" + }, + { + "case": "parallel__test_stream_finished_js__block_36_block_36", + "now": "parallel__test_stream_finished_js__block_37_block_37", + "how": "renamed" + }, + { + "case": "parallel__test_stream_finished_js__block_37_block_37", + "now": "parallel__test_stream_finished_js__block_38_block_38", + "how": "renamed" + }, + { + "case": "parallel__test_stream_finished_js__block_38_block_38", + "now": "parallel__test_stream_finished_js__block_39_block_39", + "how": "renamed" + }, + { + "case": "parallel__test_stream_finished_js__block_40_block_40", + "now": "parallel__test_stream_finished_js__block_41_block_41", + "how": "renamed" + }, + { + "case": "parallel__test_util_deprecate_js__block_00_emits_deprecation_only_once_if_same_function_is_called", + "now": "parallel__test_util_deprecate_js__block_00_emits_deprecation_only_once_if_same_function_is_called", + "how": "same" + }, + { + "case": "parallel__test_util_deprecate_js__block_01_emits_deprecation_twice_for_different_functions", + "now": "parallel__test_util_deprecate_js__block_01_emits_deprecation_twice_for_different_functions", + "how": "same" + }, + { + "case": "parallel__test_util_deprecate_js__block_02_functions", + "now": "parallel__test_util_deprecate_js__block_02_functions", + "how": "same" + } + ] + }, + "baselineGaps": { + "note": "Cases that failed in two 26.13.1 runs, classified as known-gap with a 'Node 26.13.1 baseline gap' reason. They are outstanding repairs for the per-module drafts, not accepted gaps.", + "cases": [ + { + "file": "es-module/test-esm-exports-deprecations.mjs", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Unhandled promise rejection: AssertionError: Expected values to be strictly deep-equal:" + }, + { + "file": "es-module/test-esm-exports.mjs", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Unhandled promise rejection: AssertionError: Expected values to be strictly deep-equal:" + }, + { + "file": "es-module/test-esm-import-attributes-errors.js", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "es-module/test-esm-import-attributes-errors.mjs", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "es-module/test-esm-import-meta.mjs", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "es-module/test-esm-imports-deprecations.mjs", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Unhandled promise rejection (likely cause of mustCall failure): TypeError: Invalid module \"#/foo\" is not a val" + }, + { + "file": "es-module/test-esm-imports.mjs", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Unhandled promise rejection (likely cause of mustCall failure): TypeError: Invalid module \"#/foo\" is not a val" + }, + { + "file": "es-module/test-require-module-cached-tla.js", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "es-module/test-require-module-dynamic-import-1.js", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "es-module/test-require-module-dynamic-import-2.js", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "es-module/test-require-module-error-catching.js", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "es-module/test-require-module.js", + "subtest": "block_02_test_esm_that_import_cjs", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "es-module/test-require-module-tla-execution.js", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable", + "reason": "carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" + }, + "error": "- stderr did not match expectation, checker throws:" + }, + { + "file": "es-module/test-require-module-tla-nested.js", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable", + "reason": "carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" + }, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "es-module/test-require-module-tla-print-execution.js", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable", + "reason": "carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" + }, + "error": "- stderr did not match expectation, checker throws:" + }, + { + "file": "es-module/test-require-module-tla-rejected.js", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable", + "reason": "carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" + }, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "es-module/test-require-module-tla-resolved.js", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable", + "reason": "carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" + }, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "es-module/test-require-module-tla-unresolved.js", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable", + "reason": "carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" + }, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "es-module/test-require-module-twice.js", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-assert-deep.js", + "subtest": "test_02_date", + "baseline": true, + "previous": {}, + "error": "Missing expected exception." + }, + { + "file": "parallel/test-assert-deep.js", + "subtest": "test_03_regexp", + "baseline": true, + "previous": {}, + "error": "Missing expected exception." + }, + { + "file": "parallel/test-assert-deep.js", + "subtest": "test_05_es6_maps_and_sets", + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "parallel/test-assert-deep.js", + "subtest": "test_07_gh_14441_circular_structures_should_be_consistent", + "baseline": true, + "previous": {}, + "error": "Missing expected exception." + }, + { + "file": "parallel/test-assert-deep.js", + "subtest": "test_12_handle_sparse_arrays", + "baseline": true, + "previous": {}, + "error": "Missing expected exception." + }, + { + "file": "parallel/test-assert-deep.js", + "subtest": "test_19_additional_tests", + "baseline": true, + "previous": {}, + "error": "Expected values to be loosely deep-equal:" + }, + { + "file": "parallel/test-assert-deep.js", + "subtest": "test_27_check_proxies", + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "parallel/test-assert-deep.js", + "subtest": "test_31_test_31", + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "parallel/test-assert-deep.js", + "subtest": "test_40_verify_object_types_being_identical_on_both_sides", + "baseline": true, + "previous": {}, + "error": "Missing expected exception." + }, + { + "file": "parallel/test-assert.js", + "subtest": "test_13_test_strict_assert", + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "parallel/test-assert.js", + "subtest": "test_14_additional_asserts", + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "parallel/test-assert-partial-deep-equal.js", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable", + "reason": "carries 22.14.0 parallel/test-assert-objects.js (upstream 096b61131a)" + }, + "error": "2 test(s) failed" + }, + { + "file": "parallel/test-assert-typedarray-deepequal.js", + "subtest": "test_01_looseequalarraypairs", + "baseline": true, + "previous": {}, + "error": "Expected values to be loosely deep-equal:" + }, + { + "file": "parallel/test-buffer-bytelength.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Conversion from string failed: invalid utf-8 sequence of 1 bytes from index 300" + }, + { + "file": "parallel/test-buffer-concat.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Missing expected exception." + }, + { + "file": "parallel/test-buffer-isascii.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Cannot perform operation on a detached ArrayBuffer" + }, + { + "file": "parallel/test-buffer-isutf8.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Cannot perform operation on a detached ArrayBuffer" + }, + { + "file": "parallel/test-buffer-pool-untransferable.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Missing expected exception (TypeError)." + }, + { + "file": "parallel/test-c-ares.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Missing expected exception." + }, + { + "file": "parallel/test-console.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-crypto-async-sign-verify.js", + "subtest": "block_01_block_01", + "baseline": true, + "previous": {}, + "error": "error:06000068:public key routines::operation not supported for this keytype" + }, + { + "file": "parallel/test-crypto-async-sign-verify.js", + "subtest": "block_02_block_02", + "baseline": true, + "previous": {}, + "error": "error:0408006C:rsa routines::digest too big for rsa key" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_00_non_authenticating_mode", + "baseline": true, + "previous": {}, + "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_01_throw", + "baseline": true, + "previous": {}, + "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_03_test_that_gcm_can_produce_shorter_authentication_tags_than_1", + "baseline": true, + "previous": {}, + "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_04_test_that_users_can_manually_restrict_the_gcm_tag_length_to_", + "baseline": true, + "previous": {}, + "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_05_authentication_tag_length_has_been_specified", + "baseline": true, + "previous": { + "category": "runnable", + "reason": "carries 22.14.0 subtest block_04_authentication_tag_length_has_been_specified" + }, + "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_06_authentication_tag_length_has_been_specified", + "baseline": true, + "previous": { + "category": "runnable", + "reason": "carries 22.14.0 subtest block_05_authentication_tag_has_been_specified" + }, + "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_07_test_that_setaad_throws_if_an_invalid_plaintext_length_has_b", + "baseline": true, + "previous": {}, + "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_08_test_that_setaad_and_update_throw_if_the_plaintext_is_too_lo", + "baseline": true, + "previous": {}, + "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_09_been_specified", + "baseline": true, + "previous": {}, + "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_10_test_that_final_throws_in_ccm_mode_when_no_authentication_ta", + "baseline": true, + "previous": {}, + "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_11_test_that_setauthtag_does_not_throw_in_gcm_mode_when_called_", + "baseline": true, + "previous": {}, + "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_12_test_that_an_iv_length_of_11_does_not_overflow_max_message_s", + "baseline": true, + "previous": {}, + "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_14_test_that_setauthtag_can_only_be_called_once", + "baseline": true, + "previous": {}, + "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_15_https_www_openssl_org_news_secadv_20190306_txt", + "baseline": true, + "previous": {}, + "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_16_block_16", + "baseline": true, + "previous": {}, + "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" + }, + { + "file": "parallel/test-crypto-cipheriv-decipheriv.js", + "subtest": "block_00_block_00", + "baseline": true, + "previous": {}, + "error": "Missing expected exception." + }, + { + "file": "parallel/test-crypto-cipheriv-decipheriv.js", + "subtest": "block_01_block_01", + "baseline": true, + "previous": {}, + "error": "Missing expected exception." + }, + { + "file": "parallel/test-crypto-cipheriv-decipheriv.js", + "subtest": "block_02_block_02", + "baseline": true, + "previous": {}, + "error": "Missing expected exception." + }, + { + "file": "parallel/test-crypto-cipheriv-decipheriv.js", + "subtest": "block_03_block_03", + "baseline": true, + "previous": {}, + "error": "Missing expected exception." + }, + { + "file": "parallel/test-crypto-dh-curves.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-crypto-dh-stateless.js", + "subtest": "block_00_block_00", + "baseline": true, + "previous": {}, + "error": "Missing expected exception (TypeError)." + }, + { + "file": "parallel/test-crypto-dh-stateless.js", + "subtest": "block_01_block_01", + "baseline": true, + "previous": {}, + "error": "Missing expected exception (TypeError)." + }, + { + "file": "parallel/test-crypto-dh-stateless.js", + "subtest": "block_02_block_02", + "baseline": true, + "previous": {}, + "error": "Missing expected exception (TypeError)." + }, + { + "file": "parallel/test-crypto-dh-stateless.js", + "subtest": "block_03_block_03", + "baseline": true, + "previous": {}, + "error": "Missing expected exception (TypeError)." + }, + { + "file": "parallel/test-crypto-dh-stateless.js", + "subtest": "block_04_test_that_error_messages_include_the_correct_property_path", + "baseline": true, + "previous": {}, + "error": "Missing expected exception (TypeError)." + }, + { + "file": "parallel/test-crypto-dh-stateless.js", + "subtest": "block_05_block_05", + "baseline": true, + "previous": {}, + "error": "Missing expected exception (TypeError)." + }, + { + "file": "parallel/test-crypto-dh-stateless.js", + "subtest": "block_06_block_06", + "baseline": true, + "previous": {}, + "error": "Missing expected exception (TypeError)." + }, + { + "file": "parallel/test-crypto-dh-stateless.js", + "subtest": "block_07_test_c_error_conditions_both_sync_throws_and_async_callback", + "baseline": true, + "previous": {}, + "error": "Missing expected exception (TypeError)." + }, + { + "file": "parallel/test-crypto-encoding-validation-error.js", + "subtest": "block_00_block_00", + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "parallel/test-crypto-encoding-validation-error.js", + "subtest": "block_01_block_01", + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "parallel/test-crypto-gcm-implicit-short-tag.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Missing expected exception." + }, + { + "file": "parallel/test-crypto-hkdf.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Missing expected exception." + }, + { + "file": "parallel/test-crypto-key-objects.js", + "subtest": "block_00_block_00", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-key-objects.js", + "subtest": "block_01_block_01", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-key-objects.js", + "subtest": "block_02_block_02", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-key-objects.js", + "subtest": "block_03_block_03", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-key-objects.js", + "subtest": "block_04_block_04", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-key-objects.js", + "subtest": "block_06_block_06", + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "parallel/test-crypto-key-objects.js", + "subtest": "block_09_block_09", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-key-objects.js", + "subtest": "block_11_block_11", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-key-objects.js", + "subtest": "block_12_block_12", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-key-objects.js", + "subtest": "block_13_block_13", + "baseline": true, + "previous": { + "category": "runnable", + "reason": "carries 22.14.0 subtest block_12_block_12" + }, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-key-objects.js", + "subtest": "block_14_block_14", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-key-objects.js", + "subtest": "block_15_block_15", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-key-objects.js", + "subtest": "block_16_block_16", + "baseline": true, + "previous": { + "category": "runnable", + "reason": "carries 22.14.0 subtest block_15_block_15" + }, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-key-objects.js", + "subtest": "block_17_block_17", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-key-objects.js", + "subtest": "block_18_block_18", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-keygen-eddsa.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Missing expected exception (TypeError)." + }, + { + "file": "parallel/test-crypto-keygen.js", + "subtest": "block_01_block_01", + "baseline": true, + "previous": {}, + "error": "Missing expected exception (TypeError)." + }, + { + "file": "parallel/test-crypto-sign-verify.js", + "subtest": "block_00_block_00", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-sign-verify.js", + "subtest": "block_01_block_01", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-sign-verify.js", + "subtest": "block_02_test_handling_of_exceptional_conditions", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-sign-verify.js", + "subtest": "block_03_test_signing_and_verifying", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-sign-verify.js", + "subtest": "block_04_block_04", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-sign-verify.js", + "subtest": "block_05_block_05", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-sign-verify.js", + "subtest": "block_06_special_tests_for_rsa_pkcs1_pss_padding", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-sign-verify.js", + "subtest": "block_07_https_www_emc_com_emc_plus_rsa_labs_standards_initiatives_pk", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-sign-verify.js", + "subtest": "block_08_test_exceptions_for_invalid_padding_and_saltlength_values", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-sign-verify.js", + "subtest": "block_09_test_throws_exception_when_key_options_is_null", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-sign-verify.js", + "subtest": "block_10_block_10", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-sign-verify.js", + "subtest": "block_11_block_11", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-sign-verify.js", + "subtest": "block_13_regression_test_for_https_github_com_nodejs_node_issues_4079", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-sign-verify.js", + "subtest": "block_14_block_14", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, + { + "file": "parallel/test-crypto-sign-verify.js", + "subtest": "block_15_block_15", + "baseline": true, + "previous": { + "category": "runnable", + "reason": "carries 22.14.0 subtest block_17_block_17" + }, + "error": "Failed to export key" + }, + { + "file": "parallel/test-diagnostics-channel-symbol-named.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-domain-with-abort-on-uncaught-exception.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "mustCall verification failed:" + }, + { + "file": "parallel/test-file.js", + "subtest": "block_00_block_00", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "parallel/test-file.js", + "subtest": "block_01_block_01", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "parallel/test-file.js", + "subtest": "block_02_block_02", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "parallel/test-file.js", + "subtest": "block_03_block_03", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "parallel/test-file.js", + "subtest": "block_04_block_04", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "parallel/test-file.js", + "subtest": "block_05_block_05", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "parallel/test-file.js", + "subtest": "block_06_block_06", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "parallel/test-file.js", + "subtest": "block_07_block_07", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "parallel/test-file.js", + "subtest": "block_08_block_08", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "parallel/test-file.js", + "subtest": "block_09_block_09", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "parallel/test-file.js", + "subtest": "block_10_block_10", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "parallel/test-file.js", + "subtest": "block_11_block_11", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "parallel/test-file.js", + "subtest": "block_12_block_12", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "parallel/test-file.js", + "subtest": "block_13_block_13", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "parallel/test-file.js", + "subtest": "block_14_block_14", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "parallel/test-file.js", + "subtest": "block_15_block_15", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "parallel/test-fs-constants.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-fs-opendir.js", + "subtest": "block_00_check_the_opendir_sync_version", + "baseline": true, + "previous": {}, + "error": "Missing expected exception." + }, + { + "file": "parallel/test-fs-opendir.js", + "subtest": "block_01_check_that_passing_a_positive_integer_as_buffersize_works", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception." + }, + { + "file": "parallel/test-fs-opendir.js", + "subtest": "block_02_check_read_throw_exceptions_on_invalid_callback", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception." + }, + { + "file": "parallel/test-fs-opendir.js", + "subtest": "block_03_check_if_directory_already_closed_the_callback_should_pass_a", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception." + }, + { + "file": "parallel/test-fs-opendir.js", + "subtest": "block_04_check_if_directory_already_closed_throw_an_promise_exception", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception." + }, + { + "file": "parallel/test-fs-promises-appendfile.js", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable", + "reason": "carries 22.14.0 parallel/test-fs-promises-writefile-typedarray.js (upstream 3ac95f2d0c); parallel/test-fs-promises-writefile-with-fd.js (upstream 3ac95f2d0c)" + }, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Ab" + }, + { + "file": "parallel/test-fs-promises-file-handle-append-file.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Ab" + }, + { + "file": "parallel/test-fs-promises-file-handle-dispose.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): TypeError: not a function" + }, + { + "file": "parallel/test-fs-promises-file-handle-read.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): TypeError: Error converting from js 'string' i" + }, + { + "file": "parallel/test-fs-promises.js", + "subtest": "block_00_block_00", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "parallel/test-fs-promises-watch.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Test timed out after 120s" + }, + { + "file": "parallel/test-fs-statfs.js", + "subtest": "block_00_synchronous", + "baseline": true, + "previous": {}, + "error": "The expression evaluated to a falsy value:" + }, + { + "file": "parallel/test-fs-statfs.js", + "subtest": "block_01_synchronous_bigint", + "baseline": true, + "previous": {}, + "error": "The expression evaluated to a falsy value:" + }, + { + "file": "parallel/test-fs-watch-recursive-watch-file.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "mustCall verification failed:" + }, + { + "file": "parallel/test-fs-write-stream-autoclose-option.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Missing expected exception." + }, + { + "file": "parallel/test-http-client-abort-destroy.js", + "subtest": "block_03_block_03", + "baseline": true, + "previous": {}, + "error": "Test timed out after 120s" + }, + { + "file": "parallel/test-http-client-abort-destroy.js", + "subtest": "block_04_block_04", + "baseline": true, + "previous": {}, + "error": "Test timed out after 120s" + }, + { + "file": "parallel/test-http-early-hints-invalid-argument.js", + "subtest": "block_01_block_01", + "baseline": true, + "previous": {}, + "error": "Test timed out after 120s" + }, + { + "file": "parallel/test-http-incoming-matchKnownFields.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "parallel/test-http-invalidheaderfield2.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "_checkInvalidHeaderChar('\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\b', true) unexpectedly failed in lenient mode" + }, + { + "file": "parallel/test-http-outgoing-end-multiple.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Test timed out after 120s" + }, + { + "file": "parallel/test-http-outgoing-writableFinished.js", + "subtest": "block_01_finish_the_end_callback_receives_the_write_error_instead", + "baseline": true, + "previous": {}, + "error": "mustCall verification failed:" + }, + { + "file": "parallel/test-http-outgoing-writableFinished.js", + "subtest": "block_02_surfaces_through_the_socket_write_callbacks", + "baseline": true, + "previous": {}, + "error": "mustCall verification failed:" + }, + { + "file": "parallel/test-http-outgoing-writableFinished.js", + "subtest": "block_03_has_nothing_to_send", + "baseline": true, + "previous": {}, + "error": "mustCall verification failed:" + }, + { + "file": "parallel/test-http-server-response-standalone.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "mustCall verification failed:" + }, + { + "file": "parallel/test-net-autoselectfamily-attempt-timeout-cli-option.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-net-connect-abort-controller.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Test timed out after 120s" + }, + { + "file": "parallel/test-net-connect-options-invalid.js", + "subtest": "block_02_block_02", + "baseline": true, + "previous": {}, + "error": "Missing expected exception (TypeError)." + }, + { + "file": "parallel/test-npm-install.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "- process terminated with status 1, expected 0" + }, + { + "file": "parallel/test-path-join.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "path.win32.join resolves .. through a CON: device-name segment" + }, + { + "file": "parallel/test-path-makelong.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-path-normalize.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-path-resolve.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "path.win32.resolve(\"\\\\\\\\.\\\\PHYSICALDRIVE0\")" + }, + { + "file": "parallel/test-permission-fs-read.js", + "subtest": "block_02_block_02", + "baseline": true, + "previous": {}, + "error": "AssertionError: Missing expected exception." + }, + { + "file": "parallel/test-process-getgroups.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "mustCall verification failed:" + }, + { + "file": "parallel/test-process-release.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-require-delete-array-iterator.js", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "value is not iterable" + }, + { + "file": "parallel/test-runner-assert.js", + "subtest": "test_00_expected_methods_are_on_t_assert", + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "parallel/test-runner-custom-assertions.js", + "subtest": "test_00_throws_if_name_is_not_a_string", + "baseline": true, + "previous": {}, + "error": "mustCall verification failed:" + }, + { + "file": "parallel/test-runner-custom-assertions.js", + "subtest": "test_01_throws_if_fn_is_not_a_function", + "baseline": true, + "previous": {}, + "error": "mustCall verification failed:" + }, + { + "file": "parallel/test-runner-custom-assertions.js", + "subtest": "test_03_can_override_existing_assertions", + "baseline": true, + "previous": {}, + "error": "mustCall verification failed:" + }, + { + "file": "parallel/test-runner-custom-assertions.js", + "subtest": "test_04_this_is_set_to_the_testcontext", + "baseline": true, + "previous": {}, + "error": "mustCall verification failed:" + }, + { + "file": "parallel/test-runner-mocking.js", + "subtest": "test_32_local_mocks_are_auto_restored_after_the_test_finishes", + "baseline": true, + "previous": {}, + "error": "mustCall verification failed:" + }, + { + "file": "parallel/test-runner-module-mocking.js", + "subtest": "test_00_input_validation", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Missing expected exception." + }, + { + "file": "parallel/test-runner-test-fullname.js", + "subtest": "test_00_suite", + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-runner-test-fullname.js", + "subtest": "test_01_test_01", + "baseline": true, + "previous": {}, + "error": "mustCall verification failed:" + }, + { + "file": "parallel/test-sqlite-custom-functions.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "10 test(s) failed" + }, + { + "file": "parallel/test-sqlite-data-types.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "7 test(s) failed" + }, + { + "file": "parallel/test-sqlite-database.js", + "subtest": "test_00_database_constructor", + "baseline": true, + "previous": {}, + "error": "26 test(s) failed" + }, + { + "file": "parallel/test-sqlite-database.js", + "subtest": "test_01_database_prototype_open", + "baseline": true, + "previous": {}, + "error": "3 test(s) failed" + }, + { + "file": "parallel/test-sqlite-database.js", + "subtest": "test_02_database_prototype_close", + "baseline": true, + "previous": {}, + "error": "2 test(s) failed" + }, + { + "file": "parallel/test-sqlite-database.js", + "subtest": "test_03_database_prototype_prepare", + "baseline": true, + "previous": {}, + "error": "5 test(s) failed" + }, + { + "file": "parallel/test-sqlite-database.js", + "subtest": "test_04_database_prototype_exec", + "baseline": true, + "previous": {}, + "error": "5 test(s) failed" + }, + { + "file": "parallel/test-sqlite-database.js", + "subtest": "test_05_database_prototype_istransaction", + "baseline": true, + "previous": {}, + "error": "3 test(s) failed" + }, + { + "file": "parallel/test-sqlite-database.js", + "subtest": "test_06_database_prototype_location", + "baseline": true, + "previous": {}, + "error": "5 test(s) failed" + }, + { + "file": "parallel/test-sqlite-database.js", + "subtest": "test_07_database_prototype_symbol_dispose", + "baseline": true, + "previous": {}, + "error": "2 test(s) failed" + }, + { + "file": "parallel/test-sqlite.js", + "subtest": "test_01_err_sqlite_error_is_thrown_for_errors_originating_from_sqlit", + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-sqlite.js", + "subtest": "test_02_in_memory_databases_are_supported", + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-sqlite.js", + "subtest": "test_04_pragmas_are_supported", + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-sqlite-named-parameters.js", + "subtest": "test_00_named_parameters", + "baseline": true, + "previous": {}, + "error": "4 test(s) failed" + }, + { + "file": "parallel/test-sqlite-named-parameters.js", + "subtest": "test_01_statement_prototype_setallowunknownnamedparameters", + "baseline": true, + "previous": {}, + "error": "3 test(s) failed" + }, + { + "file": "parallel/test-sqlite-named-parameters.js", + "subtest": "test_02_options_allowunknownnamedparameters", + "baseline": true, + "previous": {}, + "error": "5 test(s) failed" + }, + { + "file": "parallel/test-sqlite-session.js", + "subtest": "test_00_creating_and_applying_a_changeset", + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-sqlite-session.js", + "subtest": "test_01_database_createsession_closed_database_results_in_exception", + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-sqlite-session.js", + "subtest": "test_02_session_changeset_closed_database_results_in_exception", + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-sqlite-session.js", + "subtest": "test_04_database_applychangeset_closed_database_results_in_exception", + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-sqlite-session.js", + "subtest": "test_05_database_createsession_use_table_option_to_track_specific_ta", + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-sqlite-session.js", + "subtest": "test_10_database_createsession_filter_changes", + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-sqlite-session.js", + "subtest": "test_11_database_createsession_specify_other_database", + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-sqlite-session.js", + "subtest": "test_12_database_createsession_wrong_arguments", + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-sqlite-session.js", + "subtest": "test_13_database_applychangeset_wrong_arguments", + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-sqlite-session.js", + "subtest": "test_15_session_patchset", + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-sqlite-session.js", + "subtest": "test_16_session_close_using_session_after_close_throws_exception", + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-sqlite-session.js", + "subtest": "test_17_session_close_after_closing_database_throws_exception", + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-sqlite-session.js", + "subtest": "test_18_session_close_closing_twice", + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-sqlite-statement-columns.js", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable", + "reason": "carries 22.14.0 parallel/test-sqlite-database-sync.js (upstream f2b698f1cf); parallel/test-sqlite-statement-sync.js (upstream f2b698f1cf)" + }, + "error": "7 test(s) failed" + }, + { + "file": "parallel/test-sqlite-statement.js", + "subtest": "test_00_statement_constructor", + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "parallel/test-sqlite-statement.js", + "subtest": "test_01_statement_prototype_get", + "baseline": true, + "previous": {}, + "error": "7 test(s) failed" + }, + { + "file": "parallel/test-sqlite-statement.js", + "subtest": "test_02_statement_prototype_all", + "baseline": true, + "previous": {}, + "error": "6 test(s) failed" + }, + { + "file": "parallel/test-sqlite-statement.js", + "subtest": "test_03_statement_prototype_iterate", + "baseline": true, + "previous": {}, + "error": "10 test(s) failed" + }, + { + "file": "parallel/test-sqlite-statement.js", + "subtest": "test_04_statement_prototype_run", + "baseline": true, + "previous": {}, + "error": "7 test(s) failed" + }, + { + "file": "parallel/test-sqlite-statement.js", + "subtest": "test_05_statement_prototype_sourcesql", + "baseline": true, + "previous": {}, + "error": "2 test(s) failed" + }, + { + "file": "parallel/test-sqlite-statement.js", + "subtest": "test_06_statement_prototype_expandedsql", + "baseline": true, + "previous": {}, + "error": "2 test(s) failed" + }, + { + "file": "parallel/test-sqlite-statement.js", + "subtest": "test_07_statement_prototype_stat", + "baseline": true, + "previous": {}, + "error": "7 test(s) failed" + }, + { + "file": "parallel/test-sqlite-statement.js", + "subtest": "test_08_statement_prototype_resetstats", + "baseline": true, + "previous": {}, + "error": "8 test(s) failed" + }, + { + "file": "parallel/test-sqlite-statement.js", + "subtest": "test_09_statement_prototype_setreadbigints", + "baseline": true, + "previous": {}, + "error": "5 test(s) failed" + }, + { + "file": "parallel/test-sqlite-statement.js", + "subtest": "test_10_statement_prototype_setreturnarrays", + "baseline": true, + "previous": {}, + "error": "2 test(s) failed" + }, + { + "file": "parallel/test-sqlite-statement.js", + "subtest": "test_11_statement_prototype_get_with_array_output", + "baseline": true, + "previous": {}, + "error": "2 test(s) failed" + }, + { + "file": "parallel/test-sqlite-statement.js", + "subtest": "test_12_statement_prototype_all_with_array_output", + "baseline": true, + "previous": {}, + "error": "2 test(s) failed" + }, + { + "file": "parallel/test-sqlite-statement.js", + "subtest": "test_13_statement_prototype_iterate_with_array_output", + "baseline": true, + "previous": {}, + "error": "2 test(s) failed" + }, + { + "file": "parallel/test-sqlite-statement.js", + "subtest": "test_14_statement_prototype_setallowbarenamedparameters", + "baseline": true, + "previous": {}, + "error": "3 test(s) failed" + }, + { + "file": "parallel/test-sqlite-statement.js", + "subtest": "test_15_options_readbigints", + "baseline": true, + "previous": {}, + "error": "4 test(s) failed" + }, + { + "file": "parallel/test-sqlite-statement.js", + "subtest": "test_16_options_returnarrays", + "baseline": true, + "previous": {}, + "error": "6 test(s) failed" + }, + { + "file": "parallel/test-sqlite-statement.js", + "subtest": "test_17_options_allowbarenamedparameters", + "baseline": true, + "previous": {}, + "error": "4 test(s) failed" + }, + { + "file": "parallel/test-sqlite-statement.js", + "subtest": "test_18_statement_prototype_close", + "baseline": true, + "previous": {}, + "error": "2 test(s) failed" + }, + { + "file": "parallel/test-sqlite-statement.js", + "subtest": "test_19_statement_prototype_symbol_dispose", + "baseline": true, + "previous": {}, + "error": "4 test(s) failed" + }, + { + "file": "parallel/test-sqlite-statement.js", + "subtest": "test_20_options_persistent", + "baseline": true, + "previous": {}, + "error": "4 test(s) failed" + }, + { + "file": "parallel/test-sqlite-transactions.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "2 test(s) failed" + }, + { + "file": "parallel/test-sqlite-typed-array-and-data-view.js", + "subtest": "test_00_statement_with_typedarray_dataview", + "baseline": true, + "previous": {}, + "error": "12 test(s) failed" + }, + { + "file": "parallel/test-sqlite-typed-array-and-data-view.js", + "subtest": "test_01_statement_with_arraybuffer_and_sharedarraybuffer", + "baseline": true, + "previous": {}, + "error": "4 test(s) failed" + }, + { + "file": "parallel/test-stream-compose.js", + "subtest": "block_20_block_20", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "parallel/test-stream-consumers.js", + "subtest": "block_03_block_03", + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-stream-finished.js", + "subtest": "block_40_block_40", + "baseline": true, + "previous": { + "category": "runnable", + "reason": "carries 22.14.0 subtest block_39_block_39" + }, + "error": "Cannot find module 'internal/streams/end-of-stream'" + }, + { + "file": "parallel/test-stream-pipeline.js", + "subtest": "block_09_block_09", + "baseline": true, + "previous": {}, + "error": "Test timed out after 120s" + }, + { + "file": "parallel/test-stream-pipeline.js", + "subtest": "block_78_block_78", + "baseline": true, + "previous": {}, + "error": "mustCall verification failed:" + }, + { + "file": "parallel/test-stream-push-strings.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "parallel/test-stream-readable-compose.js", + "subtest": "block_06_block_06", + "baseline": true, + "previous": {}, + "error": "mustCall verification failed:" + }, + { + "file": "parallel/test-stream-readable-infinite-read.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "mustCall verification failed:" + }, + { + "file": "parallel/test-stream-readable-to-web-termination.js", + "subtest": "block_01_block_01", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected \"actual\" to be strict" + }, + { + "file": "parallel/test-stream-typedarray.js", + "subtest": "block_03_block_03", + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "parallel/test-stream-uint8array.js", + "subtest": "block_03_block_03", + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "parallel/test-stream-writable-write-error.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "parallel/test-structuredClone-global.js", + "subtest": "block_04_statement_04", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "parallel/test-structuredClone-global.js", + "subtest": "block_05_statement_05", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "parallel/test-structuredClone-global.js", + "subtest": "block_06_statement_06", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "parallel/test-timers-immediate-queue-throw.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "mustCall verification failed:" + }, + { + "file": "parallel/test-timers-max-duration-warning.js", + "subtest": "block_00_block_00", + "baseline": true, + "previous": {}, + "error": "mustCall verification failed:" + }, + { + "file": "parallel/test-timers-max-duration-warning.js", + "subtest": "block_01_block_01", + "baseline": true, + "previous": {}, + "error": "mustCall verification failed:" + }, + { + "file": "parallel/test-url-parse-invalid-input.js", + "subtest": null, + "baseline": true, + "previous": { + "reason": "the runnable assertions execute, while its common.hasIntl-gated invalid-IDNA matrix is covered separately by focused runtime tests" + }, + "error": "Missing expected exception." + }, + { + "file": "parallel/test-url-urltooptions.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Missing expected exception (TypeError)." + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_101_block_101", + "baseline": true, + "previous": { + "category": "runnable", + "reason": "carries 22.14.0 subtest block_91_block_91" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_102_regression_test_for_https_github_com_nodejs_node_issues_4124", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_104_block_104", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_105_block_105", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_106_block_106", + "baseline": true, + "previous": { + "category": "runnable", + "reason": "carries 22.14.0 subtest block_95_block_95" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_107_block_107", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_108_block_108", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_109_block_109", + "baseline": true, + "previous": { + "category": "runnable", + "reason": "carries 22.14.0 subtest block_98_block_98" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_21_exceptions_should_print_the_error_message_not", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_22_block_22", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_23_block_23", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_26_prevent_enumerable_error_properties_from_being_printed", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_27_doesn_t_capture_stack_trace", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_50_the_constructor_and_symbol_tostringtag", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_51_assumes_that_the_first_numeric_character_is_the_start_of_an_", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_52_test_display_of_constructors", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_53_empty_and_circular_before_depth", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_54_corner_cases", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_55_block_55", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_56_block_56", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_57_block_57", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_58_block_58", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_59_https_github_com_nodejs_node_pull_6334_is_backported", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_60_block_60", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_61_block_61", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_62_block_62", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_63_util_inspect_defaultoptions_tests", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_64_setting_custom_inspect_property_to_a_non_function_should_do_", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_65_block_65", + "baseline": true, + "previous": { + "category": "runnable", + "reason": "carries 22.14.0 subtest block_63_block_63" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_66_block_66", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_67_check_compact_indentation", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_68_block_68", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_69_block_69", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_70_block_70", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_71_class_properties_should_not_be_detected_as_class", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_72_verify_non_enumerable_keys_get_escaped", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_73_check_for_special_colors", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_75_non_indices_array_properties_are_sorted_as_well", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_77_check_that_the_fallback_always_works", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_78_check_the_getter_option", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_84_check_compact_number_mode", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_85_block_85", + "baseline": true, + "previous": { + "category": "runnable", + "reason": "carries 22.14.0 subtest block_77_block_77" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_89_block_89", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_90_inspect_prototype_properties", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_91_regression_test_for_https_github_com_nodejs_node_issues_3573", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_92_test_changing_util_inspect_colors_colors_and_aliases", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_94_truncate_output_for_primitives_with_1_character_left", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_95_block_95", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_96_block_96", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_97_block_97", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_98_block_98", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_99_block_99", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-isDeepStrictEqual.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-parse-env.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "parallel/test-util-stripvtcontrolcharacters.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-util-styletext.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "The argument 'format' must be a valid string format. Received \"grey\"" + }, + { + "file": "parallel/test-vm-module-basic.js", + "subtest": "block_04_check_inspection_of_the_instance", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly deep-equal:" + }, + { + "file": "parallel/test-vm-module-basic.js", + "subtest": "block_05_block_05", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-vm-module-dynamic-import.js", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "parallel/test-vm-module-errors.js", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception (Ty" + }, + { + "file": "parallel/test-vm-module-synthetic.js", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Unhandled promise rejection (likely cause of mustCall failure): Error: Module status must not be unlinked or l" + }, + { + "file": "parallel/test-webcrypto-encrypt-decrypt-aes.js", + "subtest": "block_00_test_aes_cbc_vectors", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "parallel/test-webcrypto-encrypt-decrypt-aes.js", + "subtest": "block_01_test_aes_ctr_vectors", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "parallel/test-webcrypto-encrypt-decrypt-aes.js", + "subtest": "block_02_test_aes_gcm_vectors", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "parallel/test-webcrypto-encrypt-decrypt.js", + "subtest": "block_00_test_encrypt_decrypt_aes_ctr", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "parallel/test-webcrypto-encrypt-decrypt.js", + "subtest": "block_01_test_encrypt_decrypt_aes_cbc", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "parallel/test-webcrypto-encrypt-decrypt.js", + "subtest": "block_02_test_encrypt_decrypt_aes_gcm", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" + }, + { + "file": "parallel/test-webcrypto-export-import.js", + "subtest": "block_00_block_00", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Da" + }, + { + "file": "parallel/test-webcrypto-export-import.js", + "subtest": "block_02_import_export_hmac_secret_key", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Da" + }, + { + "file": "parallel/test-webcrypto-export-import.js", + "subtest": "block_03_import_export_aes_secret_key", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Da" + }, + { + "file": "parallel/test-webcrypto-export-import.js", + "subtest": "block_04_import_export_rsa_key_pairs", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Da" + }, + { + "file": "parallel/test-webcrypto-export-import.js", + "subtest": "block_05_import_export_ec_key_pairs", + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Da" + }, + { + "file": "parallel/test-webcrypto-random.js", + "subtest": "block_00_block_00", + "baseline": true, + "previous": {}, + "error": "The error is expected to be an instance of \"TypeError\". Received \"DOMException\"" + }, + { + "file": "parallel/test-webcrypto-random.js", + "subtest": "block_01_block_01", + "baseline": true, + "previous": {}, + "error": "The error is expected to be an instance of \"TypeError\". Received \"DOMException\"" + }, + { + "file": "parallel/test-webcrypto-random.js", + "subtest": "block_02_block_02", + "baseline": true, + "previous": {}, + "error": "The error is expected to be an instance of \"TypeError\". Received \"DOMException\"" + }, + { + "file": "parallel/test-webcrypto-random.js", + "subtest": "block_03_block_03", + "baseline": true, + "previous": {}, + "error": "The error is expected to be an instance of \"TypeError\". Received \"DOMException\"" + }, + { + "file": "parallel/test-webstorage.js", + "subtest": "test_08_disabled_with_no_webstorage", + "baseline": true, + "previous": { + "category": "runnable", + "reason": "carries 22.14.0 subtest test_00_disabled_without_experimental_webstorage" + }, + "error": "Only --eval/-e, --input-type, and script files are supported in WASM child emulation" + }, + { + "file": "parallel/test-webstream-readable-from.js", + "subtest": null, + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Missing expected exception (TypeError)." + }, + { + "file": "parallel/test-whatwg-readablebytestream-bad-buffers-and-views.js", + "subtest": "block_00_block_00", + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-whatwg-readablebytestream-bad-buffers-and-views.js", + "subtest": "block_01_block_01", + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-whatwg-readablebytestream-bad-buffers-and-views.js", + "subtest": "block_02_block_02", + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-whatwg-readablebytestream-bad-buffers-and-views.js", + "subtest": "block_03_block_03", + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-whatwg-url-custom-searchparams-constructor.js", + "subtest": "block_00_block_00", + "baseline": true, + "previous": { + "category": "runnable" + }, + "error": "Expected values to be strictly equal:" + }, + { + "file": "parallel/test-zlib-convenience-methods.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-zlib-empty-buffer.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "Unhandled promise rejection (likely cause of mustCall failure): TypeError: The \"original\" argument must be of " + }, + { + "file": "parallel/test-zlib.js", + "subtest": "block_00_block_00", + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-zlib.js", + "subtest": "block_01_block_01", + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-zlib-params.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "mustCall verification failed:" + }, + { + "file": "parallel/test-zlib-random-byte-pipes.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-zlib-truncated.js", + "subtest": "block_00_value_as_truncated_input", + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-zlib-truncated.js", + "subtest": "block_01_mistaken_for_an_empty_truncated_frame", + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-zlib-truncated.js", + "subtest": "block_02_must_report_that_the_frame_is_incomplete", + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-zlib-write-after-flush.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-zlib-zero-byte.js", + "subtest": null, + "baseline": true, + "previous": {}, + "error": "not a function" + }, + { + "file": "parallel/test-blob.js", + "subtest": "block_33_block_33", + "baseline": true, + "previous": { + "category": "unevaluated" + }, + "error": "Unhandled promise rejection: AssertionError: 'a\\rb' !== 'a\\nb'" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_13_final_in_gcm_mode_ocb_mode_and_for_chacha20_poly1305", + "baseline": true, + "previous": { + "category": "unevaluated" + }, + "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input" + }, + { + "file": "parallel/test-sqlite.js", + "subtest": "test_08_sql_apis_enabled_at_build_time", + "baseline": true, + "previous": { + "category": "unevaluated" + }, + "error": "10 test(s) failed" + }, + { + "file": "parallel/test-url-invalid-file-url-path-input.js", + "subtest": null, + "baseline": true, + "previous": { + "category": "unevaluated" + }, + "error": "ERR_INVALID_FILE_URL_PATH has no err.input URL; the historical code assertion passes" + }, + { + "file": "parallel/test-util-getcallsites.js", + "subtest": "block_02_framecount_must_be_an_integer", + "baseline": true, + "previous": { + "category": "unevaluated" + }, + "error": "Missing expected exception." + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_100_block_100", + "baseline": true, + "previous": { + "category": "unevaluated" + }, + "error": "util.inspect prints the symbol key of a boxed String as [Symbol(foo)]; 26.13.1 expects Symbol(foo)" + } + ], + "passedOnRerun": [] + }, + "matchedByPosition": [ + { + "file": "parallel/test-blob.js", + "subtest": "block_31_statement_31" + }, + { + "file": "parallel/test-blocklist.js", + "subtest": "block_07_block_07" + }, + { + "file": "parallel/test-buffer-from.js", + "subtest": "block_00_block_00" + }, + { + "file": "parallel/test-buffer-from.js", + "subtest": "block_01_block_01" + }, + { + "file": "parallel/test-buffer-from.js", + "subtest": "block_02_block_02" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_16_block_16" + }, + { + "file": "parallel/test-crypto-hmac.js", + "subtest": "block_04_block_04" + }, + { + "file": "parallel/test-crypto-key-objects.js", + "subtest": "block_05_block_05" + }, + { + "file": "parallel/test-crypto-key-objects.js", + "subtest": "block_06_block_06" + }, + { + "file": "parallel/test-crypto-key-objects.js", + "subtest": "block_09_block_09" + }, + { + "file": "parallel/test-crypto-keygen.js", + "subtest": "block_01_block_01" + }, + { + "file": "parallel/test-crypto-keygen.js", + "subtest": "block_02_block_02" + }, + { + "file": "parallel/test-crypto-rsa-dsa.js", + "subtest": "block_03_block_03" + }, + { + "file": "parallel/test-crypto-sign-verify.js", + "subtest": "block_05_block_05" + }, + { + "file": "parallel/test-crypto-sign-verify.js", + "subtest": "block_10_block_10" + }, + { + "file": "parallel/test-crypto-sign-verify.js", + "subtest": "block_12_block_12" + }, + { + "file": "parallel/test-crypto-sign-verify.js", + "subtest": "block_14_block_14" + }, + { + "file": "parallel/test-crypto-x509.js", + "subtest": "block_00_block_00" + }, + { + "file": "parallel/test-crypto-x509.js", + "subtest": "block_01_block_01" + }, + { + "file": "parallel/test-crypto-x509.js", + "subtest": "block_02_block_02" + }, + { + "file": "parallel/test-dns.js", + "subtest": "block_11_block_11" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_01_block_01" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_02_block_02" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_03_block_03" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_04_block_04" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_05_block_05" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_06_block_06" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_07_block_07" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_08_block_08" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_09_block_09" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_10_block_10" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_11_block_11" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_12_block_12" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_13_block_13" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_14_block_14" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_15_block_15" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_16_block_16" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_17_block_17" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_18_block_18" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_20_block_20" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_22_block_22" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_24_block_24" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_27_block_27" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_28_block_28" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_31_block_31" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_34_block_34" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_35_block_35" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_36_block_36" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_37_block_37" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_38_block_38" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_39_block_39" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_40_block_40" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_41_block_41" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_42_block_42" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_43_block_43" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_46_block_46" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_47_block_47" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_48_block_48" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_51_block_51" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_52_block_52" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_57_block_57" + }, + { + "file": "parallel/test-eventtarget.js", + "subtest": "block_59_block_59" + }, + { + "file": "parallel/test-fs-rm.js", + "subtest": "block_03_block_03" + }, + { + "file": "parallel/test-fs-utils-get-dirents.js", + "subtest": "block_06_block_06" + }, + { + "file": "parallel/test-fs-utils-get-dirents.js", + "subtest": "block_07_block_07" + }, + { + "file": "parallel/test-fs-watch-enoent.js", + "subtest": "block_00_block_00" + }, + { + "file": "parallel/test-fs-watch-enoent.js", + "subtest": "block_01_block_01" + }, + { + "file": "parallel/test-perf-hooks-histogram.js", + "subtest": "block_00_block_00" + }, + { + "file": "parallel/test-perf-hooks-histogram.js", + "subtest": "block_01_block_01" + }, + { + "file": "parallel/test-perf-hooks-histogram.js", + "subtest": "block_02_block_02" + }, + { + "file": "parallel/test-perf-hooks-histogram.js", + "subtest": "block_03_block_03" + }, + { + "file": "parallel/test-perf-hooks-histogram.js", + "subtest": "block_04_block_04" + }, + { + "file": "parallel/test-perf-hooks-histogram.js", + "subtest": "block_05_block_05" + }, + { + "file": "parallel/test-permission-fs-read.js", + "subtest": "block_01_block_01" + }, + { + "file": "parallel/test-permission-fs-read.js", + "subtest": "block_02_block_02" + }, + { + "file": "parallel/test-runner-test-fullname.js", + "subtest": "test_01_test_01" + }, + { + "file": "parallel/test-stream-compose.js", + "subtest": "block_08_block_08" + }, + { + "file": "parallel/test-stream-compose.js", + "subtest": "block_09_block_09" + }, + { + "file": "parallel/test-stream-compose.js", + "subtest": "block_20_block_20" + }, + { + "file": "parallel/test-stream-consumers.js", + "subtest": "block_00_block_00" + }, + { + "file": "parallel/test-stream-consumers.js", + "subtest": "block_01_block_01" + }, + { + "file": "parallel/test-stream-consumers.js", + "subtest": "block_02_block_02" + }, + { + "file": "parallel/test-stream-consumers.js", + "subtest": "block_03_block_03" + }, + { + "file": "parallel/test-stream-consumers.js", + "subtest": "block_04_block_04" + }, + { + "file": "parallel/test-stream-consumers.js", + "subtest": "block_05_block_05" + }, + { + "file": "parallel/test-stream-consumers.js", + "subtest": "block_06_block_06" + }, + { + "file": "parallel/test-stream-consumers.js", + "subtest": "block_07_block_07" + }, + { + "file": "parallel/test-stream-consumers.js", + "subtest": "block_08_block_08" + }, + { + "file": "parallel/test-stream-consumers.js", + "subtest": "block_09_block_09" + }, + { + "file": "parallel/test-stream-destroy.js", + "subtest": "block_04_block_04" + }, + { + "file": "parallel/test-stream-destroy.js", + "subtest": "block_05_block_05" + }, + { + "file": "parallel/test-stream-duplex-from.js", + "subtest": "block_06_block_06" + }, + { + "file": "parallel/test-stream-finished.js", + "subtest": "block_05_block_05" + }, + { + "file": "parallel/test-stream-finished.js", + "subtest": "block_10_block_10" + }, + { + "file": "parallel/test-stream-finished.js", + "subtest": "block_33_block_33" + }, + { + "file": "parallel/test-stream-finished.js", + "subtest": "block_34_block_34" + }, + { + "file": "parallel/test-stream-finished.js", + "subtest": "block_35_block_35" + }, + { + "file": "parallel/test-stream-pipeline.js", + "subtest": "block_06_block_06" + }, + { + "file": "parallel/test-stream-pipeline.js", + "subtest": "block_07_block_07" + }, + { + "file": "parallel/test-stream-pipeline.js", + "subtest": "block_08_block_08" + }, + { + "file": "parallel/test-stream-pipeline.js", + "subtest": "block_09_block_09" + }, + { + "file": "parallel/test-stream-pipeline.js", + "subtest": "block_10_block_10" + }, + { + "file": "parallel/test-stream-pipeline.js", + "subtest": "block_78_block_78" + }, + { + "file": "parallel/test-stream-readable-async-iterators.js", + "subtest": "block_01_block_01" + }, + { + "file": "parallel/test-stream-readable-async-iterators.js", + "subtest": "block_02_block_02" + }, + { + "file": "parallel/test-stream-readable-async-iterators.js", + "subtest": "block_05_block_05" + }, + { + "file": "parallel/test-stream-readable-async-iterators.js", + "subtest": "block_06_block_06" + }, + { + "file": "parallel/test-util-getcallsites.js", + "subtest": "block_03_block_03" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_02_block_02" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_03_block_03" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_23_block_23" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_36_block_36" + }, + { + "file": "parallel/test-util-types.js", + "subtest": "block_00_block_00" + }, + { + "file": "parallel/test-util-types.js", + "subtest": "block_01_block_01" + }, + { + "file": "parallel/test-webcrypto-export-import.js", + "subtest": "block_00_block_00" + }, + { + "file": "parallel/test-whatwg-readablestream.js", + "subtest": "block_11_block_11" + }, + { + "file": "parallel/test-whatwg-readablestream.js", + "subtest": "block_14_block_14" + }, + { + "file": "parallel/test-whatwg-readablestream.js", + "subtest": "block_32_block_32" + }, + { + "file": "parallel/test-whatwg-readablestream.js", + "subtest": "block_36_block_36" + }, + { + "file": "parallel/test-whatwg-readablestream.js", + "subtest": "block_37_block_37" + }, + { + "file": "parallel/test-whatwg-readablestream.js", + "subtest": "block_54_block_54" + }, + { + "file": "parallel/test-whatwg-readablestream.js", + "subtest": "block_55_block_55" + }, + { + "file": "parallel/test-whatwg-readablestream.js", + "subtest": "block_56_block_56" + }, + { + "file": "parallel/test-whatwg-readablestream.js", + "subtest": "block_58_block_58" + }, + { + "file": "parallel/test-whatwg-readablestream.js", + "subtest": "block_70_block_70" + }, + { + "file": "parallel/test-whatwg-webstreams-adapters-to-readablestream.js", + "subtest": "block_06_block_06" + }, + { + "file": "parallel/test-whatwg-writablestream.js", + "subtest": "block_06_block_06" + }, + { + "file": "sequential/test-crypto-timing-safe-equal.js", + "subtest": "block_01_block_01" + }, + { + "file": "sequential/test-performance-eventloopdelay.js", + "subtest": "block_01_block_01" + }, + { + "file": "sequential/test-performance-eventloopdelay.js", + "subtest": "block_02_block_02" + } + ] +} diff --git a/tests/node_compat/report.md b/tests/node_compat/report.md index cc3874d37..206540800 100644 --- a/tests/node_compat/report.md +++ b/tests/node_compat/report.md @@ -1,4 +1,4 @@ -# Node.js v22.14.0 Compatibility Inventory +# Node.js v26.13.1 Compatibility Inventory Source: `tests/node_compat/config.jsonc` | Engine: wasm-rquickjs (QuickJS) @@ -8,142 +8,163 @@ This report is generated from `config.jsonc` and the pinned vendored Node.js sou Primary compatibility is measured over the public API surface we can provide: CI-enforced passing (`runnable`) plus `known-gap`. WASI-impossible tests, engine differences, unevaluated tests, and Node.js-internals tests are acknowledged separately and excluded from the primary percentage. -**Primary compatibility (CI-enforced):** 3260/4447 (73.3%) +**Primary compatibility (CI-enforced):** 2863/4452 (64.3%) When comparing revisions, read the runnable count and secondary full-public percentage alongside the primary percentage. Reclassifying a test into an excluded category can increase the primary percentage without increasing runnable coverage. | Classification | Count | Primary % | Public inventory % | All listed % | |----------------|-------|-----------|--------------------|--------------| -| ✅ passing (runnable) | 3260 | 73.3% | 56.1% | 47.2% | -| 🧩 known gap | 1187 | 26.7% | 20.4% | 17.2% | -| 🚫 WASI-impossible (excluded) | 1192 | — | 20.5% | 17.3% | -| ⚙️ engine difference (excluded) | 167 | — | 2.9% | 2.4% | -| ❔ unevaluated (excluded) | 0 | — | 0.0% | 0.0% | -| 🔒 Node.js internals (excluded) | 1101 | — | — | 15.9% | -| **Total** | **6907** | | | **100.0%** | +| ✅ passing (runnable) | 2863 | 64.3% | 29.8% | 26.5% | +| 🧩 known gap | 1589 | 35.7% | 16.5% | 14.7% | +| 🚫 WASI-impossible (excluded) | 1148 | — | 11.9% | 10.6% | +| ⚙️ engine difference (excluded) | 167 | — | 1.7% | 1.5% | +| ❔ unevaluated (excluded) | 3845 | — | 40.0% | 35.6% | +| 🔒 Node.js internals (excluded) | 1175 | — | — | 10.9% | +| **Total** | **10787** | | | **100.0%** | -Secondary full-public compatibility, including public tests that are currently excluded from primary: **3260/5806 (56.1%)**. +Secondary full-public compatibility, including public tests that are currently excluded from primary: **2863/9612 (29.8%)**. ## Inventory by Module | Module | Total | Passing | Gap | WASI-impossible | Engine diff | Unevaluated | Internals | Primary % | Public compatibility % | |--------|-------|----------|-----|-----------------|-------------|-------------|-----------|-----------|--------------------| -| abort | 28 | 26 | 1 | 0 | 0 | 0 | 1 | 96.3% | 96.3% | -| assert | 95 | 95 | 0 | 0 | 0 | 0 | 0 | 100.0% | 100.0% | -| async_hooks | 38 | 4 | 28 | 4 | 0 | 0 | 2 | 12.5% | 11.1% | -| blob | 43 | 38 | 2 | 0 | 0 | 0 | 3 | 95.0% | 95.0% | -| buffer | 180 | 172 | 0 | 1 | 1 | 0 | 6 | 100.0% | 98.9% | -| child_process | 208 | 40 | 64 | 89 | 0 | 0 | 15 | 38.5% | 20.7% | -| cli | 32 | 9 | 21 | 0 | 0 | 0 | 2 | 30.0% | 30.0% | -| cluster | 87 | 0 | 0 | 85 | 0 | 0 | 2 | 0.0% | 0.0% | -| common | 9 | 1 | 8 | 0 | 0 | 0 | 0 | 11.1% | 11.1% | -| compile | 15 | 0 | 0 | 0 | 15 | 0 | 0 | 0.0% | 0.0% | -| console | 31 | 29 | 1 | 0 | 0 | 0 | 1 | 96.7% | 96.7% | -| crypto | 239 | 204 | 11 | 8 | 0 | 0 | 16 | 94.9% | 91.5% | -| dgram | 118 | 23 | 74 | 7 | 0 | 0 | 14 | 23.7% | 22.1% | -| diagnostics_channel | 33 | 24 | 6 | 1 | 2 | 0 | 0 | 80.0% | 72.7% | -| dns | 42 | 2 | 27 | 0 | 0 | 0 | 13 | 6.9% | 6.9% | -| domain | 61 | 28 | 20 | 12 | 0 | 0 | 1 | 58.3% | 46.7% | +| abort | 29 | 26 | 1 | 0 | 0 | 0 | 2 | 96.3% | 96.3% | +| assert | 109 | 66 | 13 | 0 | 0 | 30 | 0 | 83.5% | 60.6% | +| async_hooks | 58 | 4 | 28 | 4 | 0 | 20 | 2 | 12.5% | 7.1% | +| blob | 47 | 37 | 3 | 0 | 0 | 6 | 1 | 92.5% | 80.4% | +| buffer | 278 | 167 | 5 | 4 | 1 | 95 | 6 | 97.1% | 61.4% | +| child_process | 217 | 40 | 64 | 88 | 0 | 10 | 15 | 38.5% | 19.8% | +| cli | 37 | 9 | 21 | 0 | 0 | 5 | 2 | 30.0% | 25.7% | +| cluster | 88 | 0 | 0 | 85 | 0 | 1 | 2 | 0.0% | 0.0% | +| common | 16 | 1 | 8 | 0 | 0 | 7 | 0 | 11.1% | 6.2% | +| compile | 29 | 0 | 0 | 0 | 15 | 14 | 0 | 0.0% | 0.0% | +| console | 32 | 28 | 2 | 0 | 0 | 1 | 1 | 93.3% | 90.3% | +| crypto | 398 | 137 | 76 | 7 | 0 | 171 | 7 | 64.3% | 35.0% | +| dgram | 141 | 22 | 74 | 7 | 0 | 24 | 14 | 22.9% | 17.3% | +| diagnostics_channel | 102 | 23 | 7 | 1 | 2 | 69 | 0 | 76.7% | 22.5% | +| dns | 54 | 2 | 29 | 0 | 0 | 9 | 14 | 6.5% | 5.0% | +| domain | 61 | 27 | 21 | 12 | 0 | 0 | 1 | 56.2% | 45.0% | | encoding | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 100.0% | 100.0% | | errors | 49 | 2 | 0 | 2 | 0 | 0 | 45 | 100.0% | 50.0% | -| eslint | 24 | 0 | 0 | 0 | 0 | 0 | 24 | 0.0% | 0.0% | -| events | 93 | 59 | 2 | 0 | 0 | 0 | 32 | 96.7% | 96.7% | +| eslint | 31 | 0 | 0 | 0 | 0 | 7 | 24 | 0.0% | 0.0% | +| events | 96 | 59 | 2 | 0 | 0 | 3 | 32 | 96.7% | 92.2% | | fetch | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 100.0% | 100.0% | -| fs | 482 | 339 | 46 | 21 | 5 | 0 | 71 | 88.1% | 82.5% | -| global | 11 | 4 | 5 | 0 | 0 | 0 | 2 | 44.4% | 44.4% | -| heap | 22 | 0 | 0 | 15 | 7 | 0 | 0 | 0.0% | 0.0% | -| http | 894 | 240 | 271 | 301 | 2 | 0 | 80 | 47.0% | 29.5% | -| inspector | 95 | 1 | 0 | 93 | 0 | 0 | 1 | 100.0% | 1.1% | -| internal | 53 | 1 | 0 | 0 | 0 | 0 | 52 | 100.0% | 100.0% | -| module | 174 | 123 | 31 | 7 | 1 | 0 | 12 | 79.9% | 75.9% | -| net | 223 | 150 | 36 | 19 | 1 | 0 | 17 | 80.6% | 72.8% | +| fs | 558 | 294 | 78 | 21 | 5 | 86 | 74 | 79.0% | 60.7% | +| global | 9 | 4 | 3 | 0 | 0 | 0 | 2 | 57.1% | 57.1% | +| heap | 26 | 0 | 0 | 15 | 8 | 3 | 0 | 0.0% | 0.0% | +| http | 1019 | 231 | 280 | 301 | 2 | 129 | 76 | 45.2% | 24.5% | +| inspector | 164 | 1 | 0 | 93 | 0 | 69 | 1 | 100.0% | 0.6% | +| internal | 112 | 1 | 0 | 0 | 0 | 56 | 55 | 100.0% | 1.8% | +| module | 193 | 111 | 44 | 7 | 1 | 18 | 12 | 71.6% | 61.3% | +| net | 261 | 147 | 38 | 18 | 1 | 40 | 17 | 79.5% | 60.2% | | node | 8 | 0 | 0 | 1 | 0 | 0 | 7 | 0.0% | 0.0% | -| os | 6 | 5 | 0 | 0 | 0 | 0 | 1 | 100.0% | 100.0% | -| other | 630 | 201 | 148 | 85 | 12 | 0 | 184 | 57.6% | 45.1% | -| path | 16 | 16 | 0 | 0 | 0 | 0 | 0 | 100.0% | 100.0% | -| perf_hooks | 41 | 4 | 33 | 2 | 0 | 0 | 2 | 10.8% | 10.3% | -| permission | 55 | 4 | 38 | 9 | 2 | 0 | 2 | 9.5% | 7.5% | -| process | 93 | 45 | 34 | 4 | 0 | 0 | 10 | 57.0% | 54.2% | -| promises | 23 | 4 | 12 | 0 | 7 | 0 | 0 | 25.0% | 17.4% | -| querystring | 14 | 14 | 0 | 0 | 0 | 0 | 0 | 100.0% | 100.0% | -| readline | 101 | 0 | 22 | 0 | 0 | 0 | 79 | 0.0% | 0.0% | -| repl | 85 | 1 | 2 | 72 | 0 | 0 | 10 | 33.3% | 1.3% | +| os | 8 | 5 | 0 | 0 | 0 | 2 | 1 | 100.0% | 71.4% | +| other | 2402 | 184 | 232 | 58 | 11 | 1733 | 184 | 44.2% | 8.3% | +| path | 17 | 12 | 4 | 0 | 0 | 1 | 0 | 75.0% | 70.6% | +| perf_hooks | 123 | 4 | 28 | 1 | 0 | 88 | 2 | 12.5% | 3.3% | +| permission | 162 | 3 | 40 | 9 | 2 | 106 | 2 | 7.0% | 1.9% | +| process | 118 | 41 | 35 | 4 | 0 | 26 | 12 | 53.9% | 38.7% | +| promises | 24 | 4 | 11 | 0 | 7 | 2 | 0 | 26.7% | 16.7% | +| querystring | 15 | 14 | 0 | 0 | 0 | 1 | 0 | 100.0% | 93.3% | +| readline | 102 | 0 | 22 | 0 | 0 | 1 | 79 | 0.0% | 0.0% | +| repl | 127 | 1 | 2 | 68 | 0 | 46 | 10 | 33.3% | 0.9% | | shadow_realm | 11 | 0 | 0 | 0 | 11 | 0 | 0 | 0.0% | 0.0% | | signal | 5 | 1 | 0 | 3 | 0 | 0 | 1 | 100.0% | 25.0% | -| snapshot | 57 | 0 | 0 | 0 | 57 | 0 | 0 | 0.0% | 0.0% | -| sqlite | 39 | 36 | 3 | 0 | 0 | 0 | 0 | 92.3% | 92.3% | +| snapshot | 61 | 0 | 0 | 0 | 57 | 4 | 0 | 0.0% | 0.0% | +| sqlite | 117 | 2 | 57 | 0 | 0 | 58 | 0 | 3.4% | 1.7% | | stdio | 23 | 12 | 7 | 3 | 0 | 0 | 1 | 63.2% | 54.5% | -| stream | 753 | 713 | 31 | 2 | 0 | 0 | 7 | 95.8% | 95.6% | -| string_decoder | 3 | 3 | 0 | 0 | 0 | 0 | 0 | 100.0% | 100.0% | -| test_runner | 157 | 93 | 34 | 21 | 1 | 0 | 8 | 73.2% | 62.4% | -| timers | 97 | 48 | 3 | 0 | 0 | 0 | 46 | 94.1% | 94.1% | -| tls | 207 | 4 | 7 | 185 | 0 | 0 | 11 | 36.4% | 2.0% | -| trace_events | 35 | 12 | 10 | 9 | 0 | 0 | 4 | 54.5% | 38.7% | +| stream | 872 | 673 | 42 | 2 | 0 | 114 | 41 | 94.1% | 81.0% | +| string_decoder | 5 | 3 | 0 | 0 | 0 | 2 | 0 | 100.0% | 60.0% | +| test_runner | 344 | 84 | 41 | 21 | 1 | 188 | 9 | 67.2% | 25.1% | +| timers | 112 | 45 | 6 | 0 | 0 | 20 | 41 | 88.2% | 63.4% | +| tls | 264 | 4 | 7 | 177 | 0 | 65 | 11 | 36.4% | 1.6% | +| trace_events | 18 | 1 | 7 | 5 | 0 | 2 | 3 | 12.5% | 6.7% | | tty | 5 | 0 | 3 | 0 | 0 | 0 | 2 | 0.0% | 0.0% | -| url | 29 | 19 | 9 | 0 | 0 | 0 | 1 | 67.9% | 67.9% | -| util | 174 | 93 | 9 | 0 | 0 | 0 | 72 | 91.2% | 91.2% | -| v8 | 45 | 14 | 1 | 0 | 30 | 0 | 0 | 93.3% | 31.1% | -| vm | 128 | 73 | 39 | 3 | 13 | 0 | 0 | 65.2% | 57.0% | -| webcrypto | 107 | 43 | 21 | 1 | 0 | 0 | 42 | 67.2% | 66.2% | -| webstreams | 68 | 66 | 1 | 0 | 0 | 0 | 1 | 98.5% | 98.5% | -| whatwg | 261 | 43 | 32 | 0 | 0 | 0 | 186 | 57.3% | 57.3% | -| worker_threads | 189 | 25 | 29 | 127 | 0 | 0 | 8 | 46.3% | 13.8% | -| zlib | 61 | 52 | 5 | 0 | 0 | 0 | 4 | 91.2% | 91.2% | +| url | 51 | 16 | 13 | 0 | 0 | 21 | 1 | 55.2% | 32.0% | +| util | 235 | 27 | 70 | 0 | 0 | 20 | 118 | 27.8% | 23.1% | +| v8 | 57 | 14 | 1 | 0 | 30 | 12 | 0 | 93.3% | 24.6% | +| vm | 173 | 68 | 44 | 3 | 13 | 45 | 0 | 60.7% | 39.3% | +| webcrypto | 175 | 29 | 36 | 1 | 0 | 62 | 47 | 44.6% | 22.7% | +| webstreams | 89 | 65 | 2 | 0 | 0 | 21 | 1 | 97.0% | 73.9% | +| whatwg | 322 | 41 | 37 | 0 | 0 | 59 | 185 | 52.6% | 29.9% | +| worker_threads | 202 | 25 | 29 | 127 | 0 | 13 | 8 | 46.3% | 12.9% | +| zlib | 324 | 44 | 16 | 0 | 0 | 260 | 4 | 73.3% | 13.8% | ## Split Test Summary | File | Subtests | Passing | Gap | WASI-impossible | Engine diff | Unevaluated | Internals | |------|----------|----------|-----|-----------------|-------------|-------------|-----------| +| `test-esm-detect-ambiguous.mjs` | 4 | 0 | 4 | 0 | 0 | 0 | 0 | +| `test-esm-dynamic-import-attribute.mjs` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | | `test-esm-extensionless-esm-and-wasm.mjs` | 10 | 3 | 7 | 0 | 0 | 0 | 0 | -| `test-esm-json.mjs` | 3 | 2 | 1 | 0 | 0 | 0 | 0 | +| `test-esm-import-meta-main-eval.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-esm-import-meta-resolve.mjs` | 6 | 0 | 6 | 0 | 0 | 0 | 0 | +| `test-esm-json.mjs` | 4 | 2 | 1 | 0 | 0 | 1 | 0 | | `test-esm-loader-modulemap.js` | 5 | 0 | 0 | 0 | 0 | 0 | 5 | -| `test-esm-type-flag-loose-files.mjs` | 7 | 2 | 5 | 0 | 0 | 0 | 0 | -| `test-esm-type-flag-package-scopes.mjs` | 16 | 6 | 10 | 0 | 0 | 0 | 0 | +| `test-esm-loader-spawn-promisified.mjs` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | | `test-require-module-conditional-exports.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-require-module-cycle-esm-cjs-esm-esm.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | | `test-require-module-cycle-esm-cjs-esm.js` | 4 | 0 | 4 | 0 | 0 | 0 | 0 | | `test-require-module-cycle-esm-esm-cjs-esm-esm.js` | 4 | 0 | 4 | 0 | 0 | 0 | 0 | | `test-require-module-cycle-esm-esm-cjs-esm.js` | 4 | 0 | 4 | 0 | 0 | 0 | 0 | | `test-require-module-defined-esmodule.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | -| `test-require-module-tla.js` | 2 | 1 | 1 | 0 | 0 | 0 | 0 | | `test-require-module-with-detection.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | -| `test-require-module.js` | 6 | 6 | 0 | 0 | 0 | 0 | 0 | +| `test-require-module.js` | 6 | 5 | 1 | 0 | 0 | 0 | 0 | +| `test-typescript-commonjs.mjs` | 14 | 0 | 14 | 0 | 0 | 0 | 0 | +| `test-typescript-eval.mjs` | 24 | 0 | 24 | 0 | 0 | 0 | 0 | +| `test-typescript-module.mjs` | 10 | 0 | 10 | 0 | 0 | 0 | 0 | +| `test-typescript.mjs` | 30 | 0 | 30 | 0 | 0 | 0 | 0 | +| `test-abortcontroller-internal.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | | `test-abortcontroller.js` | 19 | 19 | 0 | 0 | 0 | 0 | 0 | | `test-aborted-util.js` | 5 | 4 | 1 | 0 | 0 | 0 | 0 | | `test-abortsignal-cloneable.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | +| `test-abortsignal-drop-settled-signals.mjs` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | | `test-accessor-properties.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | | `test-assert-async.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | -| `test-assert-calltracker-calls.js` | 6 | 6 | 0 | 0 | 0 | 0 | 0 | -| `test-assert-calltracker-getCalls.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | +| `test-assert-class-destructuring.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-assert-class.js` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | | `test-assert-deep-with-error.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | -| `test-assert-deep.js` | 39 | 39 | 0 | 0 | 0 | 0 | 0 | -| `test-assert-fail-deprecation.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | +| `test-assert-deep.js` | 54 | 30 | 9 | 0 | 0 | 15 | 0 | | `test-assert-fail.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | | `test-assert-if-error.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | -| `test-assert-typedarray-deepequal.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | -| `test-assert.js` | 18 | 18 | 0 | 0 | 0 | 0 | 0 | -| `test-blob.js` | 41 | 36 | 2 | 0 | 0 | 0 | 3 | -| `test-blocklist.js` | 17 | 17 | 0 | 0 | 0 | 0 | 0 | +| `test-assert-typedarray-deepequal.js` | 3 | 2 | 1 | 0 | 0 | 0 | 0 | +| `test-assert.js` | 23 | 16 | 2 | 0 | 0 | 5 | 0 | +| `test-async-local-storage-isolation.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-async-local-storage-run-scope.js` | 10 | 0 | 0 | 0 | 0 | 10 | 0 | +| `test-bench-cli-backpressure.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-bench-cli-lifecycle.js` | 8 | 0 | 0 | 0 | 0 | 8 | 0 | +| `test-bench-cli-reporters.js` | 8 | 0 | 0 | 0 | 0 | 8 | 0 | +| `test-bench-cli.js` | 12 | 0 | 0 | 0 | 0 | 12 | 0 | +| `test-bench-run-exit-code.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | +| `test-blob.js` | 44 | 35 | 3 | 0 | 0 | 5 | 1 | +| `test-blocklist.js` | 63 | 17 | 0 | 0 | 0 | 46 | 0 | | `test-broadcastchannel-custom-inspect.js` | 4 | 0 | 0 | 4 | 0 | 0 | 0 | +| `test-buffer-alloc-alignment.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | | `test-buffer-alloc.js` | 53 | 53 | 0 | 0 | 0 | 0 | 0 | | `test-buffer-arraybuffer.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | | `test-buffer-badhex.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | -| `test-buffer-copy.js` | 14 | 14 | 0 | 0 | 0 | 0 | 0 | +| `test-buffer-copy-immutable.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-buffer-copy.js` | 20 | 14 | 0 | 0 | 0 | 6 | 0 | | `test-buffer-fill.js` | 4 | 0 | 0 | 0 | 0 | 0 | 4 | -| `test-buffer-from.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | -| `test-buffer-indexof.js` | 7 | 7 | 0 | 0 | 0 | 0 | 0 | +| `test-buffer-from.js` | 8 | 3 | 0 | 0 | 0 | 5 | 0 | +| `test-buffer-generic-methods.js` | 60 | 0 | 0 | 0 | 0 | 60 | 0 | +| `test-buffer-indexof.js` | 11 | 7 | 0 | 0 | 0 | 4 | 0 | +| `test-buffer-islatin1.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-buffer-prototype-inspect.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-buffer-readint.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | | `test-buffer-readuint.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | | `test-buffer-slice.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | +| `test-buffer-stringlength.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | | `test-buffer-swap.js` | 9 | 9 | 0 | 0 | 0 | 0 | 0 | | `test-buffer-tojson.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | +| `test-buffer-tostring-range.js` | 4 | 0 | 0 | 4 | 0 | 0 | 0 | | `test-buffer-write.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-buffer-writeint.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | | `test-buffer-writeuint.js` | 6 | 6 | 0 | 0 | 0 | 0 | 0 | | `test-child-process-bad-stdio.js` | 3 | 0 | 0 | 0 | 0 | 0 | 3 | | `test-child-process-constructor.js` | 4 | 0 | 0 | 4 | 0 | 0 | 0 | | `test-child-process-cwd.js` | 2 | 0 | 0 | 2 | 0 | 0 | 0 | +| `test-child-process-default-env.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-child-process-exec-abortcontroller-promisified.js` | 8 | 0 | 0 | 8 | 0 | 0 | 0 | | `test-child-process-exec-maxbuf.js` | 11 | 9 | 0 | 2 | 0 | 0 | 0 | | `test-child-process-execFile-promisified-abortController.js` | 4 | 0 | 0 | 4 | 0 | 0 | 0 | @@ -165,37 +186,60 @@ Secondary full-public compatibility, including public tests that are currently e | `test-child-process-validate-stdio.js` | 3 | 0 | 0 | 0 | 0 | 0 | 3 | | `test-child-process-windows-hide.js` | 3 | 0 | 0 | 0 | 0 | 0 | 3 | | `test-cli-eval.js` | 5 | 2 | 3 | 0 | 0 | 0 | 0 | +| `test-cli-node-print-help-style.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | | `test-cli-permission-deny-fs.js` | 8 | 0 | 8 | 0 | 0 | 0 | 0 | | `test-cli-permission-multiple-allow.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | | `test-common-gc.js` | 2 | 1 | 1 | 0 | 0 | 0 | 0 | +| `test-common-must-not-mutate-object-deep.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-common.js` | 4 | 0 | 4 | 0 | 0 | 0 | 0 | +| `test-compile-cache-api-portable.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-compile-cache-typescript-commonjs.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-compile-cache-typescript-esm.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-compression-decompression-stream.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | +| `test-config-file.js` | 43 | 0 | 0 | 0 | 0 | 43 | 0 | | `test-console-group.js` | 8 | 8 | 0 | 0 | 0 | 0 | 0 | | `test-console-instance.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | -| `test-crypto-authenticated.js` | 20 | 20 | 0 | 0 | 0 | 0 | 0 | +| `test-crypto-argon2.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-crypto-async-sign-verify.js` | 3 | 1 | 2 | 0 | 0 | 0 | 0 | +| `test-crypto-authenticated.js` | 17 | 0 | 16 | 0 | 0 | 1 | 0 | | `test-crypto-certificate.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | -| `test-crypto-cipheriv-decipheriv.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | +| `test-crypto-cipheriv-decipheriv.js` | 4 | 0 | 4 | 0 | 0 | 0 | 0 | | `test-crypto-dh-constructor.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | +| `test-crypto-dh-stateless.js` | 8 | 0 | 8 | 0 | 0 | 0 | 0 | | `test-crypto-dh.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-crypto-ecb.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | -| `test-crypto-encoding-validation-error.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | +| `test-crypto-encoding-validation-error.js` | 4 | 2 | 2 | 0 | 0 | 0 | 0 | | `test-crypto-gcm-explicit-short-tag.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | -| `test-crypto-hash.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | -| `test-crypto-hmac.js` | 7 | 7 | 0 | 0 | 0 | 0 | 0 | -| `test-crypto-key-objects-to-crypto-key.js` | 6 | 6 | 0 | 0 | 0 | 0 | 0 | -| `test-crypto-key-objects.js` | 18 | 17 | 1 | 0 | 0 | 0 | 0 | -| `test-crypto-keygen.js` | 11 | 11 | 0 | 0 | 0 | 0 | 0 | -| `test-crypto-prime.js` | 10 | 0 | 0 | 1 | 0 | 0 | 9 | -| `test-crypto-random.js` | 22 | 22 | 0 | 0 | 0 | 0 | 0 | -| `test-crypto-rsa-dsa.js` | 7 | 7 | 0 | 0 | 0 | 0 | 0 | -| `test-crypto-scrypt.js` | 4 | 0 | 4 | 0 | 0 | 0 | 0 | +| `test-crypto-hash.js` | 4 | 3 | 0 | 0 | 0 | 1 | 0 | +| `test-crypto-hmac.js` | 10 | 7 | 0 | 0 | 0 | 3 | 0 | +| `test-crypto-job-error-parity.js` | 13 | 0 | 0 | 0 | 0 | 13 | 0 | +| `test-crypto-key-objects-raw.js` | 18 | 0 | 0 | 0 | 0 | 18 | 0 | +| `test-crypto-key-objects.js` | 20 | 0 | 16 | 0 | 0 | 4 | 0 | +| `test-crypto-key-store.js` | 10 | 0 | 0 | 0 | 0 | 10 | 0 | +| `test-crypto-keygen-raw.js` | 12 | 0 | 0 | 0 | 0 | 12 | 0 | +| `test-crypto-keygen.js` | 10 | 9 | 1 | 0 | 0 | 0 | 0 | +| `test-crypto-keyobject-hidden-slots.js` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | +| `test-crypto-negative-zero.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | +| `test-crypto-pbkdf2.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | +| `test-crypto-pkcs12.js` | 9 | 0 | 0 | 0 | 0 | 9 | 0 | +| `test-crypto-prepare-asymmetric-key.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-crypto-prime.js` | 10 | 9 | 0 | 1 | 0 | 0 | 0 | +| `test-crypto-random.js` | 27 | 22 | 0 | 0 | 0 | 5 | 0 | +| `test-crypto-randomuuidv7.js` | 8 | 0 | 0 | 0 | 0 | 8 | 0 | +| `test-crypto-rsa-dsa.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | +| `test-crypto-rsa-oaep-mgf1.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-crypto-scrypt.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | | `test-crypto-secret-keygen.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | -| `test-crypto-sign-verify.js` | 19 | 16 | 2 | 1 | 0 | 0 | 0 | -| `test-crypto-x509.js` | 3 | 0 | 0 | 0 | 0 | 0 | 3 | +| `test-crypto-sign-verify.js` | 18 | 0 | 16 | 0 | 0 | 2 | 0 | +| `test-crypto-subtle-cross-realm.js` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | +| `test-crypto-x509.js` | 5 | 0 | 0 | 0 | 0 | 0 | 5 | +| `test-debugger-invalid-json.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-dgram-address.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-dgram-bind-fd-error.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | +| `test-dgram-bind-sync.js` | 10 | 0 | 0 | 0 | 0 | 10 | 0 | | `test-dgram-blocklist.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | | `test-dgram-close-signal.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | +| `test-dgram-connect-sync.js` | 12 | 0 | 0 | 0 | 0 | 12 | 0 | | `test-dgram-create-socket-handle-fd.js` | 3 | 0 | 0 | 0 | 0 | 0 | 3 | | `test-dgram-create-socket-handle.js` | 3 | 0 | 0 | 0 | 0 | 0 | 3 | | `test-dgram-createSocket-type.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | @@ -206,14 +250,54 @@ Secondary full-public compatibility, including public tests that are currently e | `test-dgram-setBroadcast.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | | `test-dgram-socket-buffer-size.js` | 6 | 1 | 5 | 0 | 0 | 0 | 0 | | `test-dgram-unref.js` | 2 | 1 | 1 | 0 | 0 | 0 | 0 | +| `test-diagnostics-channel-bounded-channel-run.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | +| `test-diagnostics-channel-bounded-channel-scope-error.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-diagnostics-channel-bounded-channel-scope-nested.js` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | +| `test-diagnostics-channel-bounded-channel-scope.js` | 7 | 0 | 0 | 0 | 0 | 7 | 0 | +| `test-diagnostics-channel-bounded-channel.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | +| `test-diagnostics-channel-run-stores-scope.js` | 9 | 0 | 0 | 0 | 0 | 9 | 0 | | `test-diagnostics-channel-tracing-channel-has-subscribers.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | -| `test-dns-lookup.js` | 3 | 0 | 0 | 0 | 0 | 0 | 3 | -| `test-dns-setlocaladdress.js` | 2 | 1 | 1 | 0 | 0 | 0 | 0 | +| `test-dns-lookup.js` | 4 | 0 | 0 | 0 | 0 | 0 | 4 | +| `test-dns-resolvesrv-econnrefused.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-dns-setlocaladdress.js` | 3 | 1 | 1 | 0 | 0 | 1 | 0 | | `test-dns-setservers-type-check.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | -| `test-dns.js` | 12 | 0 | 12 | 0 | 0 | 0 | 0 | +| `test-dns.js` | 14 | 0 | 14 | 0 | 0 | 0 | 0 | | `test-domain-intercept.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-domain-promise.js` | 10 | 4 | 6 | 0 | 0 | 0 | 0 | | `test-domexception-cause.js` | 4 | 1 | 3 | 0 | 0 | 0 | 0 | +| `test-dtls-alpn-validation.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-dtls-alpn.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-dtls-authorized-before-handshake.mjs` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-dtls-authorized.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-dtls-ciphers.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-dtls-client-cert.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-dtls-close.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-dtls-destroy-in-callback.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-dtls-handshake-timeout.mjs` | 7 | 0 | 0 | 0 | 0 | 7 | 0 | +| `test-dtls-ipv6.mjs` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-dtls-ipv6only.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-dtls-keylog.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-dtls-max-sessions.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-dtls-mtu.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-dtls-opened-settles.mjs` | 8 | 0 | 0 | 0 | 0 | 8 | 0 | +| `test-dtls-options.mjs` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-dtls-passphrase.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-dtls-peer-x509-certificate.mjs` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-dtls-psk.mjs` | 18 | 0 | 0 | 0 | 0 | 18 | 0 | +| `test-dtls-reject-unauthorized.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-dtls-resumption-reject-unauthorized.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-dtls-secure-context.mjs` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | +| `test-dtls-send.mjs` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | +| `test-dtls-server-handshake-error.mjs` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-dtls-servername-validation.mjs` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-dtls-session-id-context.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-dtls-session-resumption.mjs` | 9 | 0 | 0 | 0 | 0 | 9 | 0 | +| `test-dtls-session-table-cleanup.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-dtls-sni-binding.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-dtls-sni.mjs` | 12 | 0 | 0 | 0 | 0 | 12 | 0 | +| `test-dtls-socket-options.mjs` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-dtls-stats.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-dtls-verify-identity.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-error-aggregateTwoErrors.js` | 6 | 0 | 0 | 0 | 0 | 0 | 6 | | `test-error-prepare-stack-trace.js` | 4 | 2 | 0 | 1 | 0 | 0 | 1 | | `test-errors-aborterror.js` | 3 | 0 | 0 | 0 | 0 | 0 | 3 | @@ -223,42 +307,65 @@ Secondary full-public compatibility, including public tests that are currently e | `test-event-emitter-check-listener-leaks.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-event-emitter-listeners.js` | 10 | 10 | 0 | 0 | 0 | 0 | 0 | | `test-event-emitter-remove-all-listeners.js` | 7 | 7 | 0 | 0 | 0 | 0 | 0 | -| `test-event-emitter-remove-listeners.js` | 10 | 10 | 0 | 0 | 0 | 0 | 0 | +| `test-event-emitter-remove-listeners.js` | 12 | 10 | 0 | 0 | 0 | 2 | 0 | | `test-events-customevent.js` | 26 | 0 | 0 | 0 | 0 | 0 | 26 | -| `test-events-getmaxlisteners.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | +| `test-events-getmaxlisteners.js` | 3 | 2 | 0 | 0 | 0 | 1 | 0 | | `test-events-static-geteventlisteners.js` | 4 | 0 | 0 | 0 | 0 | 0 | 4 | | `test-eventtarget-memoryleakwarning.js` | 8 | 0 | 0 | 0 | 0 | 0 | 8 | -| `test-eventtarget.js` | 61 | 0 | 0 | 0 | 0 | 0 | 61 | -| `test-file.js` | 16 | 16 | 0 | 0 | 0 | 0 | 0 | -| `test-find-package-json.js` | 10 | 7 | 3 | 0 | 0 | 0 | 0 | +| `test-eventtarget.js` | 63 | 0 | 0 | 0 | 0 | 0 | 63 | +| `test-fastutf8stream-destroy.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-fastutf8stream-flush-sync.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-fastutf8stream-flush.js` | 9 | 0 | 0 | 0 | 0 | 9 | 0 | +| `test-fastutf8stream-fsync.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-fastutf8stream-minlength.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-fastutf8stream-retry.js` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | +| `test-fastutf8stream-sync.js` | 8 | 0 | 0 | 0 | 0 | 8 | 0 | +| `test-fastutf8stream-write.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | +| `test-ffi-missing-build.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | +| `test-file.js` | 16 | 0 | 16 | 0 | 0 | 0 | 0 | +| `test-filehandle-autoclose.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-find-package-json.js` | 11 | 7 | 3 | 0 | 0 | 1 | 0 | | `test-fixed-queue.js` | 3 | 0 | 0 | 0 | 0 | 0 | 3 | | `test-freeze-intrinsics.js` | 4 | 0 | 4 | 0 | 0 | 0 | 0 | | `test-fs-access.js` | 3 | 0 | 0 | 0 | 0 | 0 | 3 | | `test-fs-append-file-flush.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-fs-append-file.js` | 8 | 8 | 0 | 0 | 0 | 0 | 0 | +| `test-fs-chown-negative-one.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-fs-copyfile-respect-permissions.js` | 3 | 0 | 0 | 3 | 0 | 0 | 0 | +| `test-fs-cp-async-special-files-in-tree.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-fs-cp-sync-dereference-nested-symlink.mjs` | 9 | 0 | 0 | 0 | 0 | 9 | 0 | | `test-fs-error-messages.js` | 31 | 0 | 0 | 0 | 0 | 0 | 31 | +| `test-fs-existssync-memleak-longpath.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-fs-fchown-negative-one.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-fs-glob.mjs` | 23 | 0 | 0 | 0 | 0 | 23 | 0 | +| `test-fs-lchown-negative-one.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-fs-mkdir-recursive-eaccess.js` | 2 | 0 | 0 | 2 | 0 | 0 | 0 | | `test-fs-mkdir.js` | 21 | 21 | 0 | 0 | 0 | 0 | 0 | | `test-fs-mkdtemp.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | -| `test-fs-opendir.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | +| `test-fs-mkdtempDisposableSync.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-fs-opendir.js` | 5 | 0 | 5 | 0 | 0 | 0 | 0 | | `test-fs-options-immutable.js` | 6 | 0 | 6 | 0 | 0 | 0 | 0 | -| `test-fs-promises.js` | 2 | 1 | 1 | 0 | 0 | 0 | 0 | +| `test-fs-promises.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | | `test-fs-promisified.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | +| `test-fs-read-position-validation.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-fs-read-promises-position-validation.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-fs-read-stream-double-close.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-fs-read-stream-inherit.js` | 11 | 11 | 0 | 0 | 0 | 0 | 0 | | `test-fs-read-stream.js` | 10 | 10 | 0 | 0 | 0 | 0 | 0 | +| `test-fs-readSync-position-validation.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-fs-readdir-recursive-tree.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | | `test-fs-readfile-flags.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-fs-readfile.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | | `test-fs-readv-sync.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | | `test-fs-readv.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | -| `test-fs-rm.js` | 4 | 0 | 0 | 0 | 0 | 0 | 4 | -| `test-fs-rmdir-recursive-throws-not-found.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | -| `test-fs-rmdir-recursive-throws-on-file.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | -| `test-fs-rmdir-recursive.js` | 4 | 0 | 0 | 0 | 0 | 0 | 4 | +| `test-fs-realpath-namespaced-drive-win.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | +| `test-fs-rm.js` | 5 | 0 | 0 | 0 | 0 | 0 | 5 | +| `test-fs-rmdir-throws-not-found.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-fs-rmdir-throws-on-file.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-fs-stat-abort-test.js` | 10 | 0 | 0 | 0 | 0 | 10 | 0 | | `test-fs-stat-bigint.js` | 9 | 0 | 9 | 0 | 0 | 0 | 0 | -| `test-fs-stat.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | -| `test-fs-statfs.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | +| `test-fs-stat.js` | 4 | 3 | 0 | 0 | 0 | 1 | 0 | +| `test-fs-statfs.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | | `test-fs-stream-construct-compat-graceful-fs.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-fs-stream-construct-compat-old-node.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-fs-stream-destroy-emit-error.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | @@ -267,11 +374,11 @@ Secondary full-public compatibility, including public tests that are currently e | `test-fs-truncate-clear-file-zero.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-fs-truncate.js` | 10 | 10 | 0 | 0 | 0 | 0 | 0 | | `test-fs-util-validateoffsetlength.js` | 5 | 0 | 0 | 0 | 0 | 0 | 5 | -| `test-fs-utils-get-dirents.js` | 9 | 0 | 0 | 0 | 0 | 0 | 9 | +| `test-fs-utils-get-dirents.js` | 10 | 0 | 0 | 0 | 0 | 0 | 10 | | `test-fs-utimes.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-fs-watch-abort-signal.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | | `test-fs-watch-encoding.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | -| `test-fs-watch-enoent.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | +| `test-fs-watch-enoent.js` | 7 | 0 | 0 | 0 | 0 | 0 | 7 | | `test-fs-write-buffer.js` | 8 | 8 | 0 | 0 | 0 | 0 | 0 | | `test-fs-write-file-flush.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-fs-write-file-sync.js` | 6 | 5 | 1 | 0 | 0 | 0 | 0 | @@ -287,45 +394,56 @@ Secondary full-public compatibility, including public tests that are currently e | `test-fs-writev.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | | `test-handle-wrap-hasref.js` | 6 | 0 | 0 | 0 | 0 | 0 | 6 | | `test-heap-prof-invalid-args.js` | 3 | 0 | 0 | 3 | 0 | 0 | 0 | +| `test-heapdump-fs-mkdir-recursive.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-http-1.0.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-http-aborted.js` | 2 | 1 | 1 | 0 | 0 | 0 | 0 | +| `test-http-agent-free-socket-pending-read.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-http-agent-keep-alive-timeout-buffer.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-http-agent-timeout.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | | `test-http-chunk-extensions-limit.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | -| `test-http-client-abort-destroy.js` | 6 | 6 | 0 | 0 | 0 | 0 | 0 | +| `test-http-client-abort-destroy.js` | 6 | 4 | 2 | 0 | 0 | 0 | 0 | | `test-http-client-abort3.js` | 2 | 0 | 0 | 2 | 0 | 0 | 0 | | `test-http-client-aborted-event.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | | `test-http-client-defaults.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-http-client-res-destroyed.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-http-dummy-characters-smuggling.js` | 2 | 1 | 1 | 0 | 0 | 0 | 0 | +| `test-http-early-hints-invalid-argument.js` | 2 | 1 | 1 | 0 | 0 | 0 | 0 | | `test-http-early-hints.js` | 6 | 2 | 4 | 0 | 0 | 0 | 0 | | `test-http-generic-streams.js` | 5 | 0 | 0 | 5 | 0 | 0 | 0 | | `test-http-head-throw-on-response-body-write.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | +| `test-http-header-value-relaxed.js` | 18 | 0 | 0 | 0 | 0 | 18 | 0 | | `test-http-insecure-parser-per-stream.js` | 5 | 1 | 2 | 2 | 0 | 0 | 0 | +| `test-http-is-valid-header.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-http-max-header-size-per-stream.js` | 4 | 0 | 2 | 2 | 0 | 0 | 0 | | `test-http-missing-header-separator-cr.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | | `test-http-missing-header-separator-lf.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | -| `test-http-outgoing-destroyed.js` | 3 | 1 | 2 | 0 | 0 | 0 | 0 | -| `test-http-outgoing-internal-headernames-getter.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | -| `test-http-outgoing-internal-headers.js` | 3 | 0 | 0 | 0 | 0 | 0 | 3 | +| `test-http-odd-hex-write.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-http-outgoing-destroyed.js` | 5 | 1 | 1 | 0 | 0 | 3 | 0 | | `test-http-outgoing-message-capture-rejection.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | | `test-http-outgoing-properties.js` | 5 | 4 | 1 | 0 | 0 | 0 | 0 | | `test-http-outgoing-proto.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-http-outgoing-renderHeaders.js` | 4 | 0 | 0 | 0 | 0 | 0 | 4 | | `test-http-outgoing-settimeout.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | +| `test-http-outgoing-writableFinished.js` | 4 | 1 | 3 | 0 | 0 | 0 | 0 | +| `test-http-parser-max-header-pairs-cache.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-http-parser.js` | 12 | 12 | 0 | 0 | 0 | 0 | 0 | | `test-http-req-res-close.js` | 3 | 1 | 0 | 0 | 0 | 0 | 2 | +| `test-http-request-connect-path.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-http-request-host-header.js` | 2 | 1 | 0 | 1 | 0 | 0 | 0 | | `test-http-request-join-authorization-headers.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | +| `test-http-request-signal.js` | 7 | 0 | 0 | 0 | 0 | 7 | 0 | | `test-http-response-close.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-http-response-multi-content-length.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | | `test-http-response-setheaders.js` | 7 | 7 | 0 | 0 | 0 | 0 | 0 | | `test-http-server-capture-rejections.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | -| `test-http-server-connection-list-when-close.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | | `test-http-server-non-utf8-header.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-http-server-options-highwatermark.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | | `test-http-server-timeouts-validation.js` | 7 | 7 | 0 | 0 | 0 | 0 | 0 | | `test-http-transfer-encoding-smuggling.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | +| `test-http-websocket-mask-immutable.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-http-websocket-mask.js` | 7 | 0 | 0 | 0 | 0 | 7 | 0 | | `test-http-write-head-2.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | +| `test-http-write-information.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-http2-alpn.js` | 2 | 0 | 0 | 2 | 0 | 0 | 0 | | `test-http2-capture-rejection.js` | 4 | 0 | 0 | 4 | 0 | 0 | 0 | | `test-http2-client-destroy.js` | 9 | 0 | 0 | 0 | 0 | 0 | 9 | @@ -336,6 +454,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-http2-compat-serverresponse-write.js` | 3 | 0 | 0 | 3 | 0 | 0 | 0 | | `test-http2-compat-serverresponse-writehead-array.js` | 3 | 0 | 0 | 3 | 0 | 0 | 0 | | `test-http2-compat-write-early-hints.js` | 3 | 0 | 0 | 3 | 0 | 0 | 0 | +| `test-http2-compat-write-information.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-http2-connect.js` | 7 | 0 | 0 | 7 | 0 | 0 | 0 | | `test-http2-create-client-connect.js` | 2 | 0 | 0 | 2 | 0 | 0 | 0 | | `test-http2-getpackedsettings.js` | 11 | 0 | 0 | 11 | 0 | 0 | 0 | @@ -343,6 +462,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-http2-invalidheaderfield.js` | 4 | 0 | 0 | 4 | 0 | 0 | 0 | | `test-http2-origin.js` | 4 | 0 | 0 | 4 | 0 | 0 | 0 | | `test-http2-perform-server-handshake.js` | 2 | 0 | 0 | 2 | 0 | 0 | 0 | +| `test-http2-sensitive-headers.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | | `test-http2-server-errors.js` | 2 | 0 | 0 | 2 | 0 | 0 | 0 | | `test-http2-server-settimeout-no-callback.js` | 2 | 0 | 0 | 2 | 0 | 0 | 0 | | `test-http2-server-startup.js` | 4 | 0 | 0 | 4 | 0 | 0 | 0 | @@ -355,25 +475,42 @@ Secondary full-public compatibility, including public tests that are currently e | `test-https-max-header-size-per-stream.js` | 4 | 0 | 0 | 4 | 0 | 0 | 0 | | `test-icu-data-dir.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | | `test-icu-transcode.js` | 5 | 0 | 5 | 0 | 0 | 0 | 0 | +| `test-inspector-network-data-received.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | +| `test-inspector-network-data-sent.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-internal-error-original-names.js` | 3 | 0 | 0 | 0 | 0 | 0 | 3 | | `test-internal-errors.js` | 8 | 0 | 0 | 0 | 0 | 0 | 8 | | `test-internal-fs-syncwritestream.js` | 8 | 0 | 0 | 0 | 0 | 0 | 8 | | `test-internal-fs.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | | `test-internal-socket-list-receive.js` | 4 | 0 | 0 | 0 | 0 | 0 | 4 | | `test-internal-socket-list-send.js` | 6 | 0 | 0 | 0 | 0 | 0 | 6 | +| `test-internal-util-helpers.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | | `test-internal-util-objects.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | | `test-internal-validators-validateoneof.js` | 6 | 0 | 0 | 0 | 0 | 0 | 6 | +| `test-internal-webidl-buffer-source.js` | 25 | 0 | 0 | 0 | 0 | 25 | 0 | +| `test-internal-webidl-converttoint.js` | 4 | 0 | 0 | 0 | 0 | 0 | 4 | +| `test-internal-webidl.js` | 24 | 0 | 0 | 0 | 0 | 24 | 0 | +| `test-mark-promise-handled.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-mime-api.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | +| `test-module-builtin-policies.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-module-create-require-multibyte.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-module-multi-extensions.js` | 7 | 7 | 0 | 0 | 0 | 0 | 0 | +| `test-module-print-timing.mjs` | 5 | 0 | 5 | 0 | 0 | 0 | 0 | +| `test-module-relative-resolve-cache.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-module-setsourcemapssupport.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | -| `test-module-strip-types.js` | 9 | 9 | 0 | 0 | 0 | 0 | 0 | +| `test-module-strip-types.js` | 6 | 6 | 0 | 0 | 0 | 0 | 0 | +| `test-navigator.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | | `test-net-allow-half-open.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-net-autoselectfamily-default.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-net-autoselectfamily.js` | 4 | 3 | 1 | 0 | 0 | 0 | 0 | | `test-net-better-error-messages-path.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-net-blocklist.js` | 4 | 3 | 1 | 0 | 0 | 0 | 0 | +| `test-net-boundsocket.js` | 17 | 0 | 0 | 0 | 0 | 17 | 0 | | `test-net-bytes-written-large.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | +| `test-net-connect-custom-lookup-non-string-address.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-net-connect-options-invalid.js` | 3 | 2 | 1 | 0 | 0 | 0 | 0 | | `test-net-connect-options-port.js` | 4 | 0 | 4 | 0 | 0 | 0 | 0 | +| `test-net-keepalive-interval-count.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-net-negative-zero.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-net-normalize-args.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | | `test-net-perf_hooks.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | | `test-net-server-call-listen-multiple-times.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | @@ -381,78 +518,191 @@ Secondary full-public compatibility, including public tests that are currently e | `test-net-server-listen-options-signal.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | | `test-net-server-listen-options.js` | 3 | 1 | 2 | 0 | 0 | 0 | 0 | | `test-net-server-listen-path.js` | 6 | 6 | 0 | 0 | 0 | 0 | 0 | +| `test-net-socket-unref-timer-parent-chain.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-net-socket-write-after-close.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | +| `test-net-transfer-guards.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | | `test-nodeeventtarget.js` | 7 | 0 | 0 | 0 | 0 | 0 | 7 | -| `test-perf-hooks-histogram.js` | 6 | 0 | 6 | 0 | 0 | 0 | 0 | +| `test-parse-args.mjs` | 95 | 0 | 0 | 0 | 0 | 95 | 0 | +| `test-perf-hooks-histogram-analysis.js` | 15 | 0 | 0 | 0 | 0 | 15 | 0 | +| `test-perf-hooks-histogram-diff.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-perf-hooks-histogram-import.js` | 9 | 0 | 0 | 0 | 0 | 9 | 0 | +| `test-perf-hooks-histogram-record-zero.js` | 7 | 0 | 0 | 0 | 0 | 7 | 0 | +| `test-perf-hooks-histogram-snapshot.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-perf-hooks-histogram-stats.js` | 13 | 0 | 0 | 0 | 0 | 13 | 0 | +| `test-perf-hooks-histogram.js` | 7 | 0 | 7 | 0 | 0 | 0 | 0 | +| `test-perf-hooks-monitor-event-loop-delay-options.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-perf-hooks-resourcetiming-attributes.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-perf-hooks-resourcetiming.js` | 5 | 0 | 5 | 0 | 0 | 0 | 0 | +| `test-perf-hooks-sliding-window-histogram.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-perf-hooks-usertiming.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | -| `test-performance-function.js` | 6 | 0 | 6 | 0 | 0 | 0 | 0 | | `test-performance-gc.js` | 2 | 1 | 1 | 0 | 0 | 0 | 0 | +| `test-performanceobserver-observer-counts.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | | `test-performanceobserver.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | +| `test-permission-allow-addons-cli.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | | `test-permission-allow-child-process-cli.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | | `test-permission-allow-wasi-cli.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | | `test-permission-allow-worker-cli.js` | 2 | 0 | 1 | 1 | 0 | 0 | 0 | +| `test-permission-audit-addons-does-not-deny.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-permission-audit-child-process-inherit-flags.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | +| `test-permission-audit-fs-does-not-deny.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-permission-audit-net-does-not-deny.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-permission-child-process-cli.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | -| `test-permission-fs-read.js` | 3 | 2 | 1 | 0 | 0 | 0 | 0 | +| `test-permission-child-process-inherit-flags-substring.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-permission-child-process-inherit-flags.js` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | +| `test-permission-dlopen-binary.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | +| `test-permission-drop-child-process.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-permission-drop-errors.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-permission-drop-fs-all.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-permission-drop-fs-granted-path.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | +| `test-permission-drop-fs-read.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-permission-drop-fs-scope.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-permission-drop-fs-write.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-permission-drop-net.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-permission-drop-worker.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-permission-fs-read.js` | 4 | 1 | 2 | 0 | 0 | 1 | 0 | | `test-permission-fs-require.js` | 4 | 2 | 2 | 0 | 0 | 0 | 0 | | `test-permission-fs-symlink-target-write.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | | `test-permission-fs-symlink.js` | 4 | 0 | 4 | 0 | 0 | 0 | 0 | | `test-permission-fs-traversal-path.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | -| `test-permission-fs-wildcard.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | +| `test-permission-fs-wildcard.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | | `test-permission-fs-windows-path.js` | 4 | 0 | 0 | 4 | 0 | 0 | 0 | -| `test-permission-fs-write-report.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | -| `test-permission-fs-write-v8.js` | 2 | 0 | 0 | 0 | 2 | 0 | 0 | -| `test-permission-has.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | +| `test-permission-fs-write-report.js` | 5 | 0 | 2 | 0 | 0 | 3 | 0 | +| `test-permission-fs-write-v8.js` | 4 | 0 | 0 | 0 | 2 | 2 | 0 | +| `test-permission-has.js` | 3 | 0 | 2 | 0 | 0 | 1 | 0 | | `test-permission-inspector-brk.js` | 2 | 0 | 0 | 2 | 0 | 0 | 0 | | `test-permission-inspector.js` | 2 | 0 | 0 | 2 | 0 | 0 | 0 | -| `test-primordials-apply.js` | 6 | 0 | 0 | 0 | 0 | 0 | 6 | +| `test-permission-net-dns.js` | 8 | 0 | 0 | 0 | 0 | 8 | 0 | +| `test-permission-net-dtls.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-permission-net-quic.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-permission-net-socket-fd.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-permission-net-uds.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-permission-openssl-store.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-primordials-apply.js` | 8 | 0 | 0 | 0 | 0 | 0 | 8 | | `test-primordials-promise.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | | `test-primordials-regexp.js` | 11 | 0 | 0 | 0 | 0 | 0 | 11 | | `test-priority-queue.js` | 6 | 0 | 0 | 0 | 0 | 0 | 6 | | `test-process-env-allowed-flags.js` | 3 | 1 | 2 | 0 | 0 | 0 | 0 | | `test-process-env-windows-error-reset.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-process-env.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | +| `test-process-finalization.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-process-getactiveresources-track-timer-lifetime.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | +| `test-process-timeout-blocked.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-process-timeout.js` | 8 | 0 | 0 | 0 | 0 | 8 | 0 | | `test-process-uncaught-exception-monitor.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | -| `test-querystring.js` | 11 | 11 | 0 | 0 | 0 | 0 | 0 | +| `test-querystring.js` | 12 | 11 | 0 | 0 | 0 | 1 | 0 | | `test-queue-microtask.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | +| `test-quic-blocklist.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quic-callback-error-onerror.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quic-callback-error-stream-onerror.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quic-datagram-edge-cases.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-quic-datagram-sources.mjs` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | +| `test-quic-draining-period.mjs` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-quic-early-selection-order.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quic-endpoint-idle-timeout.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quic-endpoint-onsession-throws.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quic-endpoint-reuse.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-quic-endpoint-state-transitions.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quic-error-class.mjs` | 8 | 0 | 0 | 0 | 0 | 8 | 0 | +| `test-quic-error-destroy-rejects-promises.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quic-flow-control-large-constrained.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quic-h3-callback-errors.mjs` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | +| `test-quic-h3-datagram.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quic-h3-error-codes.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quic-h3-header-validation.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quic-h3-origin.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quic-h3-priority.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quic-h3-qpack-settings.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quic-h3-settings.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-quic-h3-stream-idle-timeout.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-quic-h3-stream-without-onstream.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-quic-h3-zero-rtt-rejected-settings.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-quic-internal-endpoint-stats-state.mjs` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | +| `test-quic-keepalive.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quic-list-endpoints.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-quic-max-window.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quic-reject-unauthorized.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-quic-session-close-error-code.mjs` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-quic-session-close-graceful.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quic-session-close.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-quic-session-destroy-reentrant.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-quic-session-destroy.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-quic-session-opened-early-destroy.mjs` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-quic-sni-multi-entry.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-quic-sni-setcontexts.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quic-stateless-reset.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-quic-stream-body-filehandle.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-quic-stream-body-promise.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quic-stream-body-readable-stream.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quic-stream-body-sources.mjs` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-quic-stream-body-state.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-quic-stream-body-string-shorthand.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-quic-stream-idle-timeout.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-quic-stream-priority.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-quic-stream-setbody-errors.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quic-stream-truncated-reads-destroy.mjs` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-quic-stream-truncated-reads-timeout.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quic-stream-truncated-reads.mjs` | 8 | 0 | 0 | 0 | 0 | 8 | 0 | +| `test-quic-stream-writer-api.mjs` | 7 | 0 | 0 | 0 | 0 | 7 | 0 | +| `test-quic-stream-writer-fail-error-code.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quic-tls-crl.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quic-tls-options.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-quic-tls-verify-client.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-quotaexceedederror.js` | 16 | 0 | 0 | 0 | 0 | 16 | 0 | | `test-readline-emit-keypress-events.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | | `test-readline-interface.js` | 42 | 0 | 0 | 0 | 0 | 0 | 42 | +| `test-readline-promises-csi.mjs` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | | `test-readline-promises-interface.js` | 33 | 0 | 0 | 0 | 0 | 0 | 33 | | `test-readline-tab-complete.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | | `test-readline.js` | 6 | 0 | 6 | 0 | 0 | 0 | 0 | | `test-release-changelog.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | | `test-repl-context.js` | 2 | 0 | 0 | 2 | 0 | 0 | 0 | +| `test-repl-multiline-navigation-while-adding.js` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | +| `test-repl-multiline-navigation.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | | `test-repl-require.js` | 2 | 0 | 0 | 2 | 0 | 0 | 0 | +| `test-repl-tab-complete-custom-completer.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-repl-tab-complete-import.js` | 3 | 0 | 0 | 3 | 0 | 0 | 0 | -| `test-repl-tab-complete.js` | 5 | 0 | 0 | 5 | 0 | 0 | 0 | +| `test-repl-tab-complete-on-editor-mode.js` | 2 | 0 | 0 | 2 | 0 | 0 | 0 | +| `test-repl-tab-complete-require.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | | `test-require-cache.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-require-node-prefix.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-require-resolve-opts-paths-relative.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-require-resolve.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | -| `test-runner-assert.js` | 2 | 1 | 1 | 0 | 0 | 0 | 0 | +| `test-runner-aftereach-runtime-skip.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-runner-assert.js` | 7 | 0 | 2 | 0 | 0 | 5 | 0 | | `test-runner-cli-concurrency.js` | 5 | 0 | 0 | 5 | 0 | 0 | 0 | | `test-runner-cli-timeout.js` | 3 | 0 | 0 | 3 | 0 | 0 | 0 | -| `test-runner-cli.js` | 11 | 0 | 0 | 11 | 0 | 0 | 0 | +| `test-runner-cli.js` | 13 | 0 | 0 | 11 | 0 | 2 | 0 | | `test-runner-concurrency.js` | 4 | 0 | 4 | 0 | 0 | 0 | 0 | -| `test-runner-coverage.js` | 12 | 12 | 0 | 0 | 0 | 0 | 0 | -| `test-runner-custom-assertions.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | +| `test-runner-coverage.js` | 16 | 12 | 0 | 0 | 0 | 4 | 0 | +| `test-runner-custom-assertions.js` | 5 | 1 | 4 | 0 | 0 | 0 | 0 | +| `test-runner-diagnostics-channel.js` | 9 | 0 | 0 | 0 | 0 | 9 | 0 | | `test-runner-error-reporter.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | | `test-runner-extraneous-async-activity.js` | 4 | 0 | 4 | 0 | 0 | 0 | 0 | | `test-runner-force-exit-flush.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | -| `test-runner-mocking.js` | 43 | 42 | 0 | 0 | 1 | 0 | 0 | -| `test-runner-module-mocking.js` | 19 | 15 | 4 | 0 | 0 | 0 | 0 | -| `test-runner-no-isolation-filtering.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | +| `test-runner-get-test-context.js` | 7 | 0 | 0 | 0 | 0 | 7 | 0 | +| `test-runner-inspect.mjs` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-runner-log.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-runner-mocking.js` | 54 | 41 | 1 | 0 | 1 | 11 | 0 | +| `test-runner-module-mocking.js` | 23 | 14 | 3 | 0 | 0 | 6 | 0 | +| `test-runner-no-isolation-filtering.js` | 5 | 0 | 3 | 0 | 0 | 2 | 0 | +| `test-runner-no-isolation-hooks.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-runner-plan.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-runner-run.mjs` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | | `test-runner-snapshot-file-tests.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | -| `test-runner-snapshot-tests.js` | 6 | 0 | 0 | 0 | 0 | 0 | 6 | +| `test-runner-snapshot-tests.js` | 7 | 0 | 0 | 0 | 0 | 0 | 7 | +| `test-runner-tag-filter-cli.mjs` | 15 | 0 | 0 | 0 | 0 | 15 | 0 | +| `test-runner-tag-filter-parser.mjs` | 28 | 0 | 0 | 0 | 0 | 28 | 0 | +| `test-runner-tags-experimental-warning.mjs` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | +| `test-runner-tags-inheritance.mjs` | 14 | 0 | 0 | 0 | 0 | 14 | 0 | +| `test-runner-tags-validation.mjs` | 16 | 0 | 0 | 0 | 0 | 16 | 0 | | `test-runner-test-filepath.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | -| `test-runner-test-fullname.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | +| `test-runner-test-fullname.js` | 3 | 0 | 2 | 0 | 0 | 1 | 0 | +| `test-runner-test-rerun-failures.js` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | | `test-runner-wait-for.js` | 7 | 7 | 0 | 0 | 0 | 0 | 0 | +| `test-runner-worker-id.js` | 8 | 0 | 0 | 0 | 0 | 8 | 0 | | `test-set-http-max-http-headers.js` | 3 | 1 | 2 | 0 | 0 | 0 | 0 | | `test-set-incoming-message-header.js` | 3 | 2 | 1 | 0 | 0 | 0 | 0 | | `test-shadow-realm-prepare-stack-trace.js` | 2 | 0 | 0 | 0 | 2 | 0 | 0 | -| `test-single-executable-blob-config-errors.js` | 11 | 0 | 0 | 11 | 0 | 0 | 0 | -| `test-single-executable-blob-config.js` | 5 | 0 | 0 | 5 | 0 | 0 | 0 | | `test-snapshot-api.js` | 2 | 0 | 0 | 0 | 2 | 0 | 0 | | `test-snapshot-argv1.js` | 2 | 0 | 0 | 0 | 2 | 0 | 0 | | `test-snapshot-basic.js` | 4 | 0 | 0 | 0 | 4 | 0 | 0 | @@ -470,6 +720,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-snapshot-eval.js` | 3 | 0 | 0 | 0 | 3 | 0 | 0 | | `test-snapshot-gzip.js` | 2 | 0 | 0 | 0 | 2 | 0 | 0 | | `test-snapshot-incompatible.js` | 3 | 0 | 0 | 0 | 3 | 0 | 0 | +| `test-snapshot-invalid-blob.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-snapshot-net.js` | 2 | 0 | 0 | 0 | 2 | 0 | 0 | | `test-snapshot-stack-trace-limit.js` | 2 | 0 | 0 | 0 | 2 | 0 | 0 | | `test-snapshot-typescript.js` | 2 | 0 | 0 | 0 | 2 | 0 | 0 | @@ -477,46 +728,58 @@ Secondary full-public compatibility, including public tests that are currently e | `test-snapshot-warning.js` | 3 | 0 | 0 | 0 | 3 | 0 | 0 | | `test-source-map-api.js` | 9 | 9 | 0 | 0 | 0 | 0 | 0 | | `test-source-map-enable.js` | 23 | 23 | 0 | 0 | 0 | 0 | 0 | -| `test-sqlite-database-sync.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | -| `test-sqlite-session.js` | 14 | 13 | 1 | 0 | 0 | 0 | 0 | -| `test-sqlite-statement-sync.js` | 9 | 8 | 1 | 0 | 0 | 0 | 0 | -| `test-sqlite.js` | 6 | 5 | 1 | 0 | 0 | 0 | 0 | +| `test-sqlite-aggregate-function.mjs` | 7 | 0 | 0 | 0 | 0 | 7 | 0 | +| `test-sqlite-authz.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-sqlite-backup.mjs` | 15 | 0 | 0 | 0 | 0 | 15 | 0 | +| `test-sqlite-config.js` | 9 | 0 | 0 | 0 | 0 | 9 | 0 | +| `test-sqlite-database.js` | 8 | 0 | 8 | 0 | 0 | 0 | 0 | +| `test-sqlite-named-parameters.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | +| `test-sqlite-options-getter-reentry.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-sqlite-serialize.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-sqlite-session.js` | 28 | 0 | 14 | 0 | 0 | 14 | 0 | +| `test-sqlite-statement.js` | 22 | 1 | 21 | 0 | 0 | 0 | 0 | +| `test-sqlite-template-tag.js` | 18 | 0 | 0 | 0 | 0 | 18 | 0 | +| `test-sqlite-timeout.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-sqlite-typed-array-and-data-view.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | +| `test-sqlite.js` | 9 | 1 | 5 | 0 | 0 | 3 | 0 | | `test-startup-empty-regexp-statics.js` | 3 | 0 | 0 | 0 | 3 | 0 | 0 | -| `test-startup-large-pages.js` | 2 | 0 | 0 | 0 | 2 | 0 | 0 | | `test-stream-add-abort-signal.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | | `test-stream-auto-destroy.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | | `test-stream-catch-rejections.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | -| `test-stream-compose-operator.js` | 8 | 8 | 0 | 0 | 0 | 0 | 0 | -| `test-stream-compose.js` | 22 | 21 | 1 | 0 | 0 | 0 | 0 | +| `test-stream-compose.js` | 23 | 20 | 2 | 0 | 0 | 1 | 0 | | `test-stream-construct.js` | 12 | 12 | 0 | 0 | 0 | 0 | 0 | -| `test-stream-consumers.js` | 16 | 16 | 0 | 0 | 0 | 0 | 0 | -| `test-stream-destroy.js` | 6 | 6 | 0 | 0 | 0 | 0 | 0 | +| `test-stream-consumers.js` | 18 | 15 | 1 | 0 | 0 | 2 | 0 | +| `test-stream-destroy.js` | 7 | 6 | 0 | 0 | 0 | 1 | 0 | | `test-stream-drop-take.js` | 6 | 5 | 1 | 0 | 0 | 0 | 0 | | `test-stream-duplex-destroy.js` | 16 | 16 | 0 | 0 | 0 | 0 | 0 | | `test-stream-duplex-end.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | -| `test-stream-duplex-from.js` | 23 | 22 | 1 | 0 | 0 | 0 | 0 | +| `test-stream-duplex-from.js` | 25 | 22 | 1 | 0 | 0 | 2 | 0 | | `test-stream-duplex-props.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-stream-duplex-readable-writable.js` | 3 | 2 | 1 | 0 | 0 | 0 | 0 | | `test-stream-duplex-writable-finished.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | -| `test-stream-duplex.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | +| `test-stream-duplex.js` | 4 | 3 | 0 | 0 | 0 | 1 | 0 | | `test-stream-duplexpair.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | | `test-stream-error-once.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-stream-event-names.js` | 6 | 6 | 0 | 0 | 0 | 0 | 0 | | `test-stream-filter.js` | 12 | 12 | 0 | 0 | 0 | 0 | 0 | -| `test-stream-finished.js` | 42 | 35 | 7 | 0 | 0 | 0 | 0 | +| `test-stream-finished.js` | 43 | 0 | 8 | 0 | 0 | 1 | 34 | | `test-stream-flatMap.js` | 8 | 8 | 0 | 0 | 0 | 0 | 0 | | `test-stream-forEach.js` | 11 | 11 | 0 | 0 | 0 | 0 | 0 | +| `test-stream-iter-validation.js` | 19 | 0 | 0 | 0 | 0 | 19 | 0 | +| `test-stream-iterator-helpers-test262-tests.mjs` | 8 | 0 | 8 | 0 | 0 | 0 | 0 | | `test-stream-map.js` | 17 | 15 | 2 | 0 | 0 | 0 | 0 | | `test-stream-objectmode-undefined.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-stream-once-readable-pipe.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-stream-pipe-error-handling.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | | `test-stream-pipe-flow.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | +| `test-stream-pipe-objectmode-to-non-objectmode.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-stream-pipe-same-destination-twice.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-stream-pipe-unpipe-streams.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | -| `test-stream-pipeline.js` | 80 | 78 | 1 | 1 | 0 | 0 | 0 | +| `test-stream-pipeline.js` | 84 | 75 | 3 | 1 | 0 | 5 | 0 | | `test-stream-promises.js` | 9 | 9 | 0 | 0 | 0 | 0 | 0 | | `test-stream-readable-aborted.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | -| `test-stream-readable-async-iterators.js` | 7 | 0 | 7 | 0 | 0 | 0 | 0 | +| `test-stream-readable-async-iterators.js` | 17 | 0 | 7 | 0 | 0 | 10 | 0 | +| `test-stream-readable-compose.js` | 10 | 9 | 1 | 0 | 0 | 0 | 0 | | `test-stream-readable-default-encoding.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-stream-readable-destroy.js` | 23 | 23 | 0 | 0 | 0 | 0 | 0 | | `test-stream-readable-didRead.js` | 6 | 6 | 0 | 0 | 0 | 0 | 0 | @@ -529,18 +792,22 @@ Secondary full-public compatibility, including public tests that are currently e | `test-stream-readable-readable.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-stream-readable-reading-readingMore.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-stream-readable-resumeScheduled.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | -| `test-stream-readable-setEncoding-existing-buffers.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | +| `test-stream-readable-setEncoding-existing-buffers.js` | 5 | 3 | 0 | 0 | 0 | 2 | 0 | | `test-stream-readable-strategy-option.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | +| `test-stream-readable-to-web-termination.js` | 3 | 2 | 1 | 0 | 0 | 0 | 0 | +| `test-stream-readable-unobserved-eof-readable.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | | `test-stream-readable-unshift.js` | 7 | 7 | 0 | 0 | 0 | 0 | 0 | | `test-stream-reduce.js` | 8 | 7 | 1 | 0 | 0 | 0 | 0 | +| `test-stream-some-find-every.mjs` | 9 | 0 | 0 | 0 | 0 | 9 | 0 | | `test-stream-toArray.js` | 6 | 6 | 0 | 0 | 0 | 0 | 0 | | `test-stream-transform-destroy.js` | 8 | 8 | 0 | 0 | 0 | 0 | 0 | | `test-stream-transform-split-highwatermark.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | -| `test-stream-typedarray.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | -| `test-stream-uint8array.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | +| `test-stream-typedarray.js` | 5 | 4 | 1 | 0 | 0 | 0 | 0 | +| `test-stream-uint8array.js` | 5 | 4 | 1 | 0 | 0 | 0 | 0 | | `test-stream-unpipe-event.js` | 6 | 6 | 0 | 0 | 0 | 0 | 0 | | `test-stream-wrap-encoding.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | | `test-stream-writable-aborted.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | +| `test-stream-writable-decoded-encoding.js` | 6 | 6 | 0 | 0 | 0 | 0 | 0 | | `test-stream-writable-destroy.js` | 28 | 28 | 0 | 0 | 0 | 0 | 0 | | `test-stream-writable-end-cb-error.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-stream-writable-finish-destroyed.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | @@ -559,11 +826,18 @@ Secondary full-public compatibility, including public tests that are currently e | `test-stream2-transform.js` | 17 | 17 | 0 | 0 | 0 | 0 | 0 | | `test-stream2-writable.js` | 24 | 24 | 0 | 0 | 0 | 0 | 0 | | `test-streams-highwatermark.js` | 6 | 6 | 0 | 0 | 0 | 0 | 0 | +| `test-string-decoder-utf8-large.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-stringbytes-external.js` | 3 | 0 | 0 | 0 | 3 | 0 | 0 | -| `test-structuredClone-global.js` | 13 | 11 | 1 | 0 | 0 | 0 | 1 | +| `test-structuredClone-domexception.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-structuredClone-global.js` | 22 | 8 | 4 | 0 | 0 | 9 | 1 | | `test-tick-processor-version-check.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | +| `test-timers-async-store-leak.js` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | | `test-timers-immediate-promisified.js` | 8 | 0 | 0 | 0 | 0 | 0 | 8 | | `test-timers-interval-promisified.js` | 12 | 0 | 0 | 0 | 0 | 0 | 12 | +| `test-timers-max-duration-warning.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | +| `test-timers-nan-duration-emit-once-per-process.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-timers-negative-duration-warning-emit-once-per-process.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-timers-not-emit-duration-zero.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-timers-refresh.js` | 6 | 0 | 0 | 0 | 0 | 0 | 6 | | `test-timers-timeout-promisified.js` | 8 | 0 | 0 | 0 | 0 | 0 | 8 | | `test-timers-to-primitive.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | @@ -571,77 +845,178 @@ Secondary full-public compatibility, including public tests that are currently e | `test-timers-unref.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-timers-user-call.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-timers-zero-timeout.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | +| `test-tls-alpn-protocols-validation.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | | `test-tls-basic-validations.js` | 3 | 0 | 0 | 3 | 0 | 0 | 0 | | `test-tls-connect-allow-half-open-option.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | -| `test-tls-external-accessor.js` | 2 | 0 | 0 | 2 | 0 | 0 | 0 | +| `test-tls-connect-keepalive-nodelay.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-tls-server-parent-constructor-options.js` | 2 | 0 | 0 | 2 | 0 | 0 | 0 | +| `test-tls-set-ciphers-error.js` | 2 | 0 | 0 | 2 | 0 | 0 | 0 | +| `test-tls-set-default-ca-certificates-mixed-types.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | | `test-tls-socket-allow-half-open-option.js` | 4 | 0 | 0 | 4 | 0 | 0 | 0 | +| `test-tls-spki-blocklist.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-tls-translate-peer-certificate.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | -| `test-url-fileurltopath.js` | 8 | 8 | 0 | 0 | 0 | 0 | 0 | -| `test-url-format-whatwg.js` | 5 | 0 | 5 | 0 | 0 | 0 | 0 | +| `test-url-fileurltopath.js` | 7 | 7 | 0 | 0 | 0 | 0 | 0 | +| `test-url-format-whatwg.js` | 6 | 0 | 6 | 0 | 0 | 0 | 0 | | `test-url-parse-format.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | -| `test-url-pathtofileurl.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | +| `test-url-pathtofileurl.js` | 8 | 5 | 0 | 0 | 0 | 3 | 0 | +| `test-urlpattern-types.js` | 12 | 0 | 0 | 0 | 0 | 12 | 0 | +| `test-urlpattern.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | | `test-util-callbackify.js` | 9 | 9 | 0 | 0 | 0 | 0 | 0 | -| `test-util-deprecate.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | -| `test-util-format.js` | 5 | 0 | 5 | 0 | 0 | 0 | 0 | -| `test-util-getcallsites.js` | 13 | 12 | 1 | 0 | 0 | 0 | 0 | +| `test-util-convert-signal-to-exit-code.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-util-deprecate.js` | 4 | 0 | 0 | 0 | 0 | 1 | 3 | +| `test-util-exception-with-host-port.js` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | +| `test-util-format.js` | 9 | 0 | 9 | 0 | 0 | 0 | 0 | +| `test-util-getcallsites-sourcemap.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-util-getcallsites.js` | 10 | 8 | 1 | 0 | 0 | 1 | 0 | | `test-util-inspect-getters-accessing-this.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | -| `test-util-inspect.js` | 99 | 53 | 2 | 0 | 0 | 0 | 44 | -| `test-util-isDeepStrictEqual.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | +| `test-util-inspect-proxy.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | +| `test-util-inspect.js` | 116 | 0 | 55 | 0 | 0 | 0 | 61 | +| `test-util-isPartialDeepStrictEqual.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-util-promisify.js` | 19 | 0 | 0 | 0 | 0 | 0 | 19 | -| `test-util-types.js` | 3 | 0 | 0 | 0 | 0 | 0 | 3 | +| `test-util-text-decoder.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | +| `test-util-types.js` | 28 | 0 | 0 | 0 | 0 | 0 | 28 | | `test-uv-unmapped-exception.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | | `test-v8-collect-gc-profile-exit-before-stop.js` | 2 | 0 | 0 | 0 | 2 | 0 | 0 | +| `test-v8-collect-gc-profile-using.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-v8-coverage.js` | 9 | 9 | 0 | 0 | 0 | 0 | 0 | +| `test-v8-cpu-profile.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-v8-heap-profile.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | | `test-v8-query-objects.js` | 5 | 0 | 0 | 0 | 5 | 0 | 0 | | `test-v8-serdes.js` | 14 | 0 | 0 | 0 | 14 | 0 | 0 | +| `test-v8-string-is-one-byte-representation.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-validators.js` | 7 | 0 | 0 | 0 | 0 | 0 | 7 | +| `test-vfs-copyfile-mode.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-vfs-create.js` | 8 | 0 | 0 | 0 | 0 | 8 | 0 | +| `test-vfs-ctime-update.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-vfs-destructuring.js` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | +| `test-vfs-dir-handle.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-vfs-fd.js` | 22 | 0 | 0 | 0 | 0 | 22 | 0 | +| `test-vfs-flag.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-vfs-fs-callback-error-paths.js` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | +| `test-vfs-fs-createReadStream.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-vfs-fs-createWriteStream.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-vfs-fs-matches-real-fs.js` | 11 | 0 | 0 | 0 | 0 | 11 | 0 | +| `test-vfs-fs-mkdir-callback.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-vfs-fs-mkdtempSync.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-vfs-fs-open-callback.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-vfs-fs-openSync.js` | 7 | 0 | 0 | 0 | 0 | 7 | 0 | +| `test-vfs-fs-opendir-callback.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-vfs-fs-readFile-callback.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | +| `test-vfs-fs-readFileSync.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-vfs-fs-readdirSync.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-vfs-fs-rename-callback.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-vfs-fs-stat-callback.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-vfs-fs-statSync.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-vfs-fs-writeFile-callback.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-vfs-fs-writeFileSync.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-vfs-import.mjs` | 8 | 0 | 0 | 0 | 0 | 8 | 0 | +| `test-vfs-invalid-package-json.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-vfs-link.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-vfs-load.js` | 13 | 0 | 0 | 0 | 0 | 13 | 0 | +| `test-vfs-memory-provider-dynamic.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-vfs-memory-provider.js` | 23 | 0 | 0 | 0 | 0 | 23 | 0 | +| `test-vfs-mkdir.js` | 9 | 0 | 0 | 0 | 0 | 9 | 0 | +| `test-vfs-mkdtemp.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-vfs-module-hooks-cleanup.js` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | +| `test-vfs-module-hooks.mjs` | 29 | 0 | 0 | 0 | 0 | 29 | 0 | +| `test-vfs-module-paths.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | +| `test-vfs-mount-errors.js` | 8 | 0 | 0 | 0 | 0 | 8 | 0 | +| `test-vfs-mount-point-url.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-vfs-mount.js` | 15 | 0 | 0 | 0 | 0 | 15 | 0 | +| `test-vfs-package-json.js` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | +| `test-vfs-promises.js` | 11 | 0 | 0 | 0 | 0 | 11 | 0 | +| `test-vfs-readdir-symlink-recursive.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | +| `test-vfs-readfile-flag.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-vfs-real-provider-watch.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-vfs-real-provider.js` | 11 | 0 | 0 | 0 | 0 | 11 | 0 | +| `test-vfs-rename.js` | 10 | 0 | 0 | 0 | 0 | 10 | 0 | +| `test-vfs-require.js` | 23 | 0 | 0 | 0 | 0 | 23 | 0 | +| `test-vfs-reserved-root.js` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | +| `test-vfs-rm-edge-cases.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-vfs-stats-bigint.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-vfs-stats-helpers.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | +| `test-vfs-stream-errors.js` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | +| `test-vfs-stream-properties.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-vfs-streams.js` | 16 | 0 | 0 | 0 | 0 | 16 | 0 | +| `test-vfs-symlinks.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | +| `test-vfs-virtual-file-handle.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-vfs-virtual-provider.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-vfs-watchfile.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | +| `test-vfs-write-options.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-vfs-zip-provider-commit.js` | 9 | 0 | 0 | 0 | 0 | 9 | 0 | | `test-vm-basic.js` | 10 | 8 | 2 | 0 | 0 | 0 | 0 | | `test-vm-codegen.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | | `test-vm-context-dont-contextify.js` | 8 | 0 | 8 | 0 | 0 | 0 | 0 | | `test-vm-measure-memory-lazy.js` | 4 | 0 | 0 | 0 | 4 | 0 | 0 | -| `test-vm-module-basic.js` | 13 | 10 | 3 | 0 | 0 | 0 | 0 | +| `test-vm-module-basic.js` | 13 | 8 | 5 | 0 | 0 | 0 | 0 | +| `test-vm-module-evaluate-source-text-module.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | +| `test-vm-module-evaluate-synthethic-module.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-vm-module-evaluate-while-evaluating.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-vm-module-hasasyncgraph.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-vm-module-hastoplevelawait.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-vm-module-instantiate.js` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | +| `test-vm-module-linkmodulerequests-circular.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-vm-module-linkmodulerequests.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-vm-module-modulerequests.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-vm-new-script-new-context.js` | 8 | 8 | 0 | 0 | 0 | 0 | 0 | -| `test-webcrypto-constructors.js` | 19 | 19 | 0 | 0 | 0 | 0 | 0 | -| `test-webcrypto-derivebits.js` | 4 | 0 | 2 | 0 | 0 | 0 | 2 | -| `test-webcrypto-derivekey.js` | 6 | 0 | 3 | 0 | 0 | 0 | 3 | -| `test-webcrypto-encrypt-decrypt-aes.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | -| `test-webcrypto-encrypt-decrypt.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | +| `test-webapi-sharedarraybuffer-rejection.js` | 14 | 0 | 0 | 0 | 0 | 14 | 0 | +| `test-webcrypto-constructors.js` | 21 | 19 | 0 | 0 | 0 | 2 | 0 | +| `test-webcrypto-deduplicate-usages.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | +| `test-webcrypto-derivebits.js` | 5 | 0 | 2 | 0 | 0 | 1 | 2 | +| `test-webcrypto-derivekey.js` | 6 | 3 | 3 | 0 | 0 | 0 | 0 | +| `test-webcrypto-encrypt-decrypt-aes.js` | 4 | 1 | 3 | 0 | 0 | 0 | 0 | +| `test-webcrypto-encrypt-decrypt-chacha20-poly1305.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-webcrypto-encrypt-decrypt.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | | `test-webcrypto-export-import-ec.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | -| `test-webcrypto-export-import.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | -| `test-webcrypto-keygen.js` | 8 | 0 | 0 | 0 | 0 | 0 | 8 | -| `test-webcrypto-random.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | -| `test-webcrypto-sign-verify.js` | 6 | 6 | 0 | 0 | 0 | 0 | 0 | -| `test-webcrypto-webidl.js` | 28 | 0 | 0 | 0 | 0 | 0 | 28 | -| `test-webstorage.js` | 8 | 1 | 7 | 0 | 0 | 0 | 0 | +| `test-webcrypto-export-import.js` | 7 | 0 | 5 | 0 | 0 | 2 | 0 | +| `test-webcrypto-keygen.js` | 9 | 0 | 0 | 0 | 0 | 0 | 9 | +| `test-webcrypto-prototype-pollution.mjs` | 11 | 0 | 0 | 0 | 0 | 11 | 0 | +| `test-webcrypto-random.js` | 4 | 0 | 4 | 0 | 0 | 0 | 0 | +| `test-webcrypto-sign-verify.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | +| `test-webcrypto-util.js` | 5 | 0 | 0 | 0 | 0 | 0 | 5 | +| `test-webcrypto-webidl.js` | 31 | 0 | 0 | 0 | 0 | 0 | 31 | +| `test-webstorage.js` | 11 | 0 | 6 | 0 | 0 | 5 | 0 | | `test-webstreams-abort-controller.js` | 6 | 6 | 0 | 0 | 0 | 0 | 0 | +| `test-webstreams-adapters-sync-write-error.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-webstreams-adapters-writable-buffer-sources.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-webstreams-compose.js` | 20 | 20 | 0 | 0 | 0 | 0 | 0 | +| `test-webstreams-compression-buffer-source.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-webstreams-duplex-fromweb-writev-unhandled-rejection.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-webstreams-finished.js` | 20 | 20 | 0 | 0 | 0 | 0 | 0 | | `test-webstreams-pipeline.js` | 17 | 17 | 0 | 0 | 0 | 0 | 0 | +| `test-webstreams-pipeto-write-request.js` | 7 | 0 | 0 | 0 | 0 | 7 | 0 | +| `test-webworker-postmessage-lifecycle.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-whatwg-encoding-custom-fatal-streaming.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | | `test-whatwg-encoding-custom-interop.js` | 4 | 0 | 0 | 0 | 0 | 0 | 4 | | `test-whatwg-encoding-custom-textdecoder.js` | 12 | 0 | 12 | 0 | 0 | 0 | 0 | +| `test-whatwg-encoding-singlebyte.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-whatwg-events-add-event-listener-options-passive.js` | 2 | 1 | 1 | 0 | 0 | 0 | 0 | | `test-whatwg-events-add-event-listener-options-signal.js` | 10 | 10 | 0 | 0 | 0 | 0 | 0 | | `test-whatwg-events-customevent.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | +| `test-whatwg-headers.js` | 19 | 0 | 0 | 0 | 0 | 19 | 0 | +| `test-whatwg-readablebytestream-bad-buffers-and-views.js` | 4 | 0 | 4 | 0 | 0 | 0 | 0 | | `test-whatwg-readablebytestream.js` | 11 | 0 | 0 | 0 | 0 | 0 | 11 | -| `test-whatwg-readablestream.js` | 82 | 0 | 0 | 0 | 0 | 0 | 82 | +| `test-whatwg-readablestream.js` | 83 | 0 | 0 | 0 | 0 | 2 | 81 | +| `test-whatwg-readablestream.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-whatwg-transformstream-parked-write-error.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-whatwg-transformstream.js` | 7 | 0 | 0 | 0 | 0 | 0 | 7 | -| `test-whatwg-url-custom-searchparams-constructor.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | +| `test-whatwg-url-custom-searchparams-constructor.js` | 2 | 1 | 1 | 0 | 0 | 0 | 0 | | `test-whatwg-url-custom-searchparams-delete.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-whatwg-url-custom-searchparams-stringifier.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-whatwg-url-custom-setters.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | +| `test-whatwg-url-parse-fast-path.js` | 7 | 0 | 0 | 0 | 0 | 7 | 0 | | `test-whatwg-url-properties.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | +| `test-whatwg-url-searchparams-fast-path.js` | 14 | 0 | 0 | 0 | 0 | 14 | 0 | | `test-whatwg-webstreams-adapters-streambase.js` | 4 | 0 | 0 | 0 | 0 | 0 | 4 | -| `test-whatwg-webstreams-adapters-to-readablestream.js` | 8 | 0 | 0 | 0 | 0 | 0 | 8 | -| `test-whatwg-webstreams-adapters-to-readablewritablepair.js` | 12 | 0 | 0 | 0 | 0 | 0 | 12 | +| `test-whatwg-webstreams-adapters-to-readablestream.js` | 10 | 0 | 0 | 0 | 0 | 2 | 8 | +| `test-whatwg-webstreams-adapters-to-readablewritablepair.js` | 13 | 0 | 0 | 0 | 0 | 1 | 12 | | `test-whatwg-webstreams-adapters-to-streamduplex.js` | 9 | 0 | 0 | 0 | 0 | 0 | 9 | | `test-whatwg-webstreams-adapters-to-streamreadable.js` | 9 | 0 | 0 | 0 | 0 | 0 | 9 | | `test-whatwg-webstreams-adapters-to-streamwritable.js` | 9 | 0 | 0 | 0 | 0 | 0 | 9 | -| `test-whatwg-webstreams-adapters-to-writablestream.js` | 9 | 0 | 0 | 0 | 0 | 0 | 9 | +| `test-whatwg-webstreams-adapters-to-writablestream.js` | 12 | 0 | 0 | 0 | 0 | 3 | 9 | | `test-whatwg-webstreams-encoding.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | | `test-whatwg-webstreams-transfer.js` | 13 | 0 | 0 | 0 | 0 | 0 | 13 | -| `test-whatwg-writablestream.js` | 7 | 0 | 0 | 0 | 0 | 0 | 7 | +| `test-whatwg-writablestream.js` | 9 | 0 | 0 | 0 | 0 | 2 | 7 | | `test-worker-broadcastchannel-wpt.js` | 6 | 0 | 0 | 6 | 0 | 0 | 0 | | `test-worker-broadcastchannel.js` | 9 | 0 | 0 | 9 | 0 | 0 | 0 | | `test-worker-eval-typescript.js` | 7 | 0 | 0 | 7 | 0 | 0 | 0 | @@ -655,103 +1030,157 @@ Secondary full-public compatibility, including public tests that are currently e | `test-worker-message-port-wasm-threads.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | | `test-worker-message-port.js` | 9 | 5 | 4 | 0 | 0 | 0 | 0 | | `test-worker-message-transfer-port-mark-as-untransferable.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | +| `test-worker-spec-differences.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | | `test-worker-unsupported-path.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | | `test-worker-workerdata-messageport.js` | 5 | 0 | 2 | 3 | 0 | 0 | 0 | | `test-wrap-js-stream-destroy.js` | 3 | 0 | 0 | 0 | 0 | 0 | 3 | | `test-wrap-js-stream-duplex.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | | `test-x509-escaping.js` | 8 | 0 | 5 | 3 | 0 | 0 | 0 | +| `test-zlib-brotli-dictionary.js` | 7 | 0 | 0 | 0 | 0 | 7 | 0 | +| `test-zlib-brotli-reset.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-zlib-brotli.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-zlib-create-raw.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-zlib-destroy.js` | 2 | 1 | 0 | 0 | 0 | 0 | 1 | | `test-zlib-dictionary-fail.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-zlib-failed-init.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | +| `test-zlib-invalid-input.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | +| `test-zlib-reject-garbage-after-end.js` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | +| `test-zlib-reset-incomplete-output.js` | 7 | 0 | 0 | 0 | 0 | 7 | 0 | +| `test-zlib-truncated.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | +| `test-zlib-type-error.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | | `test-zlib-zero-windowBits.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | +| `test-zlib-zip-coverage.js` | 65 | 0 | 0 | 0 | 0 | 65 | 0 | +| `test-zlib-zip-edgecases.js` | 10 | 0 | 0 | 0 | 0 | 10 | 0 | +| `test-zlib-zip-encoding.js` | 13 | 0 | 0 | 0 | 0 | 13 | 0 | +| `test-zlib-zip-experimental-warning.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | +| `test-zlib-zip-file-lifecycle.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-zlib-zip-files.js` | 10 | 0 | 0 | 0 | 0 | 10 | 0 | +| `test-zlib-zip-hardening.js` | 30 | 0 | 0 | 0 | 0 | 30 | 0 | +| `test-zlib-zip-internals.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | +| `test-zlib-zip-interop.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-zlib-zip-metadata.js` | 9 | 0 | 0 | 0 | 0 | 9 | 0 | +| `test-zlib-zip-property.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-zlib-zip-security-hardening.js` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | +| `test-zlib-zip-security.js` | 9 | 0 | 0 | 0 | 0 | 9 | 0 | +| `test-zlib-zip-sync.js` | 12 | 0 | 0 | 0 | 0 | 12 | 0 | +| `test-zlib-zip-vfs.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | +| `test-zlib-zip-writable.js` | 13 | 0 | 0 | 0 | 0 | 13 | 0 | +| `test-zlib-zip-zip64.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | +| `test-zlib-zip.js` | 11 | 0 | 0 | 0 | 0 | 11 | 0 | +| `test-zlib-zstd-reset-incomplete-frame.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | +| `test-zlib-zstd-reset.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-zlib-zstd.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | +| `test-zlib.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | | `test-async-wrap-getasyncid.js` | 18 | 0 | 0 | 0 | 0 | 0 | 18 | +| `test-benchmark-node-bench-tools.js` | 16 | 0 | 0 | 0 | 0 | 16 | 0 | | `test-child-process-execsync.js` | 7 | 0 | 0 | 7 | 0 | 0 | 0 | | `test-cpu-prof-invalid-options.js` | 2 | 0 | 0 | 2 | 0 | 0 | 0 | -| `test-crypto-timing-safe-equal.js` | 3 | 0 | 0 | 0 | 0 | 0 | 3 | +| `test-cpu-prof-name.js` | 2 | 0 | 0 | 2 | 0 | 0 | 0 | +| `test-crypto-timing-safe-equal.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-diagnostic-dir-cpu-prof.js` | 2 | 0 | 0 | 2 | 0 | 0 | 0 | | `test-diagnostic-dir-heap-prof.js` | 2 | 0 | 0 | 2 | 0 | 0 | 0 | | `test-error-serdes.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | | `test-fs-opendir-recursive.js` | 7 | 0 | 7 | 0 | 0 | 0 | 0 | | `test-fs-readdir-recursive.js` | 6 | 0 | 6 | 0 | 0 | 0 | 0 | | `test-fs-watch.js` | 6 | 3 | 3 | 0 | 0 | 0 | 0 | -| `test-heapdump.js` | 4 | 0 | 0 | 0 | 4 | 0 | 0 | +| `test-heapdump.js` | 5 | 0 | 0 | 0 | 5 | 0 | 0 | | `test-init.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | +| `test-inspector-network-resource.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | | `test-net-server-address.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | | `test-net-server-bind.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | | `test-perf-hooks.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | -| `test-performance-eventloopdelay.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | -| `test-single-executable-application-assets.js` | 3 | 0 | 0 | 3 | 0 | 0 | 0 | -| `test-single-executable-application-snapshot.js` | 2 | 0 | 0 | 2 | 0 | 0 | 0 | +| `test-performance-eventloopdelay.js` | 6 | 0 | 3 | 0 | 0 | 3 | 0 | | `test-tls-connect.js` | 2 | 0 | 0 | 2 | 0 | 0 | 0 | ## Classified Non-Runnable Tests -### known gap (1187) +### known gap (1589) | Reason | Count | Example entries | |--------|-------|-----------------| | node:http2 public API is a stub in WebAssembly runtime | 106 | `parallel/test-http2-head-request.js`, `parallel/test-http2-info-headers.js`, `parallel/test-http2-invalidargtypes-errors.js`, ... (+103) | -| requires simulated process.execPath / Node CLI mode support deferred to follow-up PR | 29 | `es-module/test-esm-cjs-load-error-note.mjs`, `es-module/test-esm-detect-ambiguous.mjs`, `es-module/test-esm-experimental-warnings.mjs`, ... (+26) | +| Node 26.13.1 baseline gap: Expected values to be strictly equal: | 66 | `es-module/test-require-module-twice.js`, `es-module/test-require-module.js#block_02_test_esm_that_import_cjs`, `parallel/test-console.js`, ... (+63) | +| requires isolated process.execPath TypeScript entry execution and Node CLI flags; the direct process.features check requires a separate feature-disabled component | 30 | `es-module/test-typescript.mjs#test_00_expect_process_features_typescript_to_be_false_when_no_exper`, `es-module/test-typescript.mjs#test_01_execute_a_typescript_file`, `es-module/test-typescript.mjs#test_02_execute_a_typescript_file_with_imports`, ... (+27) | +| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly | 29 | `es-module/test-esm-import-attributes-errors.js`, `es-module/test-require-module-cached-tla.js`, `es-module/test-require-module-dynamic-import-1.js`, ... (+26) | +| requires simulated process.execPath / Node CLI mode support deferred to follow-up PR | 29 | `es-module/test-esm-cjs-load-error-note.mjs`, `es-module/test-esm-detect-ambiguous.mjs#test_00_module_syntax_detection`, `es-module/test-esm-detect-ambiguous.mjs#test_01_wrapping_a_require_of_an_es_module_while_using_abort_on_unca`, ... (+26) | +| Node 26.13.1 baseline gap: Failed to export key | 26 | `parallel/test-crypto-key-objects.js#block_00_block_00`, `parallel/test-crypto-key-objects.js#block_01_block_01`, `parallel/test-crypto-key-objects.js#block_02_block_02`, ... (+23) | +| Node 26.13.1 baseline gap: not a function | 26 | `parallel/test-sqlite-session.js#test_00_creating_and_applying_a_changeset`, `parallel/test-sqlite-session.js#test_01_database_createsession_closed_database_results_in_exception`, `parallel/test-sqlite-session.js#test_02_session_changeset_closed_database_results_in_exception`, ... (+23) | +| requires isolated process.execPath --eval execution, TypeScript input-type flags, and child warning/output/exit capture | 24 | `es-module/test-typescript-eval.mjs#test_00_eval_typescript_esm_syntax`, `es-module/test-typescript-eval.mjs#test_01_eval_typescript_esm_syntax_with_input_type_module`, `es-module/test-typescript-eval.mjs#test_02_eval_typescript_commonjs_syntax`, ... (+21) | +| requires isolated process.execPath TypeScript entry execution and Node CLI default-module / require-module flag handling | 24 | `es-module/test-typescript-commonjs.mjs#test_00_require_a_ts_file_with_explicit_extension_succeeds`, `es-module/test-typescript-commonjs.mjs#test_01_eval_require_a_ts_file_with_implicit_extension_fails`, `es-module/test-typescript-commonjs.mjs#test_02_eval_require_a_cts_file_with_implicit_extension_fails`, ... (+21) | +| Node 26.13.1 baseline gap: Expected values to be strictly deep-equal: | 23 | `es-module/test-esm-import-attributes-errors.mjs`, `es-module/test-esm-import-meta.mjs`, `es-module/test-require-module-error-catching.js`, ... (+20) | | stream edge case not yet handled | 22 | `parallel/test-stream-compose.js#block_17_block_17`, `parallel/test-stream-drop-take.js#block_01_don_t_wait_for_next_item_in_the_original_stream_when_already`, `parallel/test-stream-duplex-from.js#block_17_block_17`, ... (+19) | -| process.permission and --permission CLI semantics are incomplete in execPath emulation | 18 | `parallel/test-cli-permission-deny-fs.js#block_00_block_00`, `parallel/test-cli-permission-deny-fs.js#block_01_block_01`, `parallel/test-cli-permission-deny-fs.js#block_02_block_02`, ... (+15) | +| Node 26.13.1 baseline gap: mustCall verification failed: | 20 | `parallel/test-domain-with-abort-on-uncaught-exception.js`, `parallel/test-fs-watch-recursive-watch-file.js`, `parallel/test-http-outgoing-writableFinished.js#block_01_finish_the_end_callback_receives_the_write_error_instead`, ... (+17) | +| process.permission and --permission CLI semantics are incomplete in execPath emulation | 19 | `parallel/test-cli-permission-deny-fs.js#block_00_block_00`, `parallel/test-cli-permission-deny-fs.js#block_01_block_01`, `parallel/test-cli-permission-deny-fs.js#block_02_block_02`, ... (+16) | +| Node 26.13.1 baseline gap: Missing expected exception. | 16 | `parallel/test-assert-deep.js#test_02_date`, `parallel/test-assert-deep.js#test_03_regexp`, `parallel/test-assert-deep.js#test_07_gh_14441_circular_structures_should_be_consistent`, ... (+13) | +| Node 26.13.1 baseline gap: Missing expected exception (TypeError). | 14 | `parallel/test-buffer-pool-untransferable.js`, `parallel/test-crypto-dh-stateless.js#block_00_block_00`, `parallel/test-crypto-dh-stateless.js#block_01_block_01`, ... (+11) | | wasi:sockets UDP implementation crashes in wasmtime | 14 | `parallel/test-dgram-connect-send-callback-buffer.js`, `parallel/test-dgram-connect-send-callback-multi-buffer.js`, `parallel/test-dgram-connect-send-default-host.js`, ... (+11) | +| Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input: | 13 | `parallel/test-crypto-authenticated.js#block_00_non_authenticating_mode`, `parallel/test-crypto-authenticated.js#block_01_throw`, `parallel/test-crypto-authenticated.js#block_03_test_that_gcm_can_produce_shorter_authentication_tags_than_1`, ... (+10) | | domain module depends on async_hooks, not fully working | 13 | `parallel/test-domain-promise.js#block_00_block_00`, `parallel/test-domain-promise.js#block_01_block_01`, `parallel/test-domain-promise.js#block_03_block_03`, ... (+10) | | the shared fixture creates rooted symlink targets that cannot be resolved inside a WASI preopen | 13 | `sequential/test-fs-opendir-recursive.js#block_00_block_00`, `sequential/test-fs-opendir-recursive.js#block_01_block_01`, `sequential/test-fs-opendir-recursive.js#block_02_block_02`, ... (+10) | -| inherited: dns.getServers()/setServers default-server behavior and validation are not Node-compatible | 12 | `parallel/test-dns.js#block_00_verify_that_setservers_handles_arrays_with_holes_and_other_o`, `parallel/test-dns.js#block_01_block_01`, `parallel/test-dns.js#block_02_block_02`, ... (+9) | | node:readline module is not yet supported in WebAssembly environment | 12 | `parallel/test-readline-keys.js`, `parallel/test-readline-position.js`, `parallel/test-readline-reopen.js`, ... (+9) | +| inherited: dns.getServers()/setServers default-server behavior and validation are not Node-compatible | 11 | `parallel/test-dns.js#block_00_verify_that_setservers_handles_arrays_with_holes_and_other_o`, `parallel/test-dns.js#block_01_block_01`, `parallel/test-dns.js#block_02_block_02`, ... (+8) | | inherited: process.permission and --permission CLI semantics are incomplete in execPath emulation | 11 | `parallel/test-permission-allow-child-process-cli.js#block_00_guarantee_the_initial_state`, `parallel/test-permission-allow-child-process-cli.js#block_01_to_spawn_unless_allow_child_process_is_sent`, `parallel/test-permission-allow-wasi-cli.js#block_00_guarantee_the_initial_state`, ... (+8) | | inherited: the shared fixture assumes common.hasIntl=false means fatal TextDecoder construction throws ERR_NO_ICU, but this runtime supports fatal decoding without claiming full Intl/ICU compatibility | 11 | `parallel/test-whatwg-encoding-custom-textdecoder.js#block_00_test_textdecoder_utf_8_fatal_false_ignorebom_false`, `parallel/test-whatwg-encoding-custom-textdecoder.js#block_01_test_textdecoder_utf_8_fatal_false_ignorebom_true`, `parallel/test-whatwg-encoding-custom-textdecoder.js#block_02_invalid_encoders`, ... (+8) | | remaining failures run through spawnSync(process.execPath, ...) and assert exact child-process status/stderr cycle diagnostics; direct node modules app same-process module graph coverage lives in tests/node_modules_apps | 11 | `es-module/test-require-module-cycle-esm-cjs-esm-esm.js#block_00_a_mjs_b_cjs_c_mjs_a_mjs`, `es-module/test-require-module-cycle-esm-cjs-esm-esm.js#block_01_b_cjs_c_mjs_a_mjs_b_cjs`, `es-module/test-require-module-cycle-esm-cjs-esm-esm.js#block_02_c_mjs_a_mjs_b_cjs_c_mjs`, ... (+8) | | rooted symlink targets cannot be resolved inside a WASI preopen; the adapter rejects them at creation, while persistent relative symlinks are covered by runtime tests | 11 | `es-module/test-esm-preserve-symlinks-main.js`, `es-module/test-esm-preserve-symlinks.js`, `es-module/test-esm-symlink-main.js`, ... (+8) | | wasi:sockets UDP implementation hangs in wasmtime | 11 | `parallel/test-dgram-implicit-bind.js`, `parallel/test-dgram-multicast-set-interface.js#block_00_block_00`, `parallel/test-dgram-multicast-set-interface.js#block_02_block_02`, ... (+8) | +| Node 26.13.1 baseline gap: 2 test(s) failed | 10 | `parallel/test-sqlite-database.js#test_02_database_prototype_close`, `parallel/test-sqlite-database.js#test_07_database_prototype_symbol_dispose`, `parallel/test-sqlite-statement.js#test_05_statement_prototype_sourcesql`, ... (+7) | | dgram multicast membership APIs are not implemented (ENOSYS) | 10 | `parallel/test-dgram-membership.js#block_02_addmembership_with_no_argument_should_throw`, `parallel/test-dgram-membership.js#block_03_dropmembership_with_no_argument_should_throw`, `parallel/test-dgram-membership.js#block_04_addmembership_with_invalid_multicast_address_should_throw`, ... (+7) | | async_hooks not fully implemented | 9 | `parallel/test-async-hooks-destroy-on-gc.js`, `parallel/test-async-hooks-disable-during-promise.js`, `parallel/test-async-hooks-disable-gc-tracking.js`, ... (+6) | | net.js TCP implementation incomplete - needs event handling and API fixes | 9 | `parallel/test-net-connect-nodelay.js`, `parallel/test-net-connect-paused-connection.js`, `parallel/test-net-during-close.js`, ... (+6) | | spawn() AbortSignal handling is incomplete (exit code/signal/error semantics differ from Node) | 9 | `parallel/test-child-process-spawn-controller.js#block_00_block_00`, `parallel/test-child-process-spawn-controller.js#block_01_block_01`, `parallel/test-child-process-spawn-controller.js#block_02_block_02`, ... (+6) | | spawnSync() returns ENOSYS for non-execPath commands; Node expects ENOENT after option validation | 9 | `parallel/test-child-process-spawnsync-validation-errors.js#block_00_block_00`, `parallel/test-child-process-spawnsync-validation-errors.js#block_01_block_01`, `parallel/test-child-process-spawnsync-validation-errors.js#block_02_block_02`, ... (+6) | | the split fixture creates rooted symlink targets before the isolated stat subtests; those targets cannot be resolved inside a WASI preopen | 9 | `parallel/test-fs-stat-bigint.js#block_00_block_00`, `parallel/test-fs-stat-bigint.js#block_01_block_01`, `parallel/test-fs-stat-bigint.js#block_02_block_02`, ... (+6) | +| util.format output formatting differences | 9 | `parallel/test-util-format.js#block_00_block_00`, `parallel/test-util-format.js#block_01_string_format_specifier_including_tostring_properties_on_the`, `parallel/test-util-format.js#block_02_symbol_toprimitive_handling_for_string_format_specifier`, ... (+6) | +| Readable.prototype.drop.length is 2 instead of Node's 1; later iterator-helper assertions are not reached | 8 | `parallel/test-stream-iterator-helpers-test262-tests.mjs#block_00_that_happen_before_stream_conversion_were_not_ported`, `parallel/test-stream-iterator-helpers-test262-tests.mjs#block_01_block_01`, `parallel/test-stream-iterator-helpers-test262-tests.mjs#block_02_block_02`, ... (+5) | | vm.constants.DONT_CONTEXTIFY and vanilla-context behavior are not implemented | 8 | `parallel/test-vm-context-dont-contextify.js#block_00_block_00`, `parallel/test-vm-context-dont-contextify.js#block_01_block_01`, `parallel/test-vm-context-dont-contextify.js#block_02_block_02`, ... (+5) | -| WebAssembly module loading for .wasm files is not implemented; binary input is currently treated as JS source | 7 | `es-module/test-esm-extensionless-esm-and-wasm.mjs#test_04_should_be_importable`, `es-module/test-esm-extensionless-esm-and-wasm.mjs#test_05_should_be_importable_from_a_module_scope_under_node_modules`, `es-module/test-esm-extensionless-esm-and-wasm.mjs#test_09_should_run_on_import`, ... (+4) | -| common-shim spawnPromisified child emulation does not support --experimental-webstorage/--localstorage-file flags | 7 | `parallel/test-webstorage.js#test_01_emits_a_warning_when_used`, `parallel/test-webstorage.js#test_02_storage_instances_cannot_be_created_in_userland`, `parallel/test-webstorage.js#test_03_sessionstorage_is_not_persisted`, ... (+4) | -| requires spawned process.execPath entry-point execution with --experimental-default-type=module | 7 | `es-module/test-esm-type-flag-loose-files.mjs#test_00_should_run_as_esm_a_js_file_that_is_outside_of_any_package_s`, `es-module/test-esm-type-flag-loose-files.mjs#test_01_should_run_as_esm_an_extensionless_javascript_file_that_is_o`, `es-module/test-esm-type-flag-package-scopes.mjs#test_00_should_run_as_esm_an_extensionless_javascript_file_within_a_`, ... (+4) | +| Node 26.13.1 baseline gap: Test timed out after 120s | 7 | `parallel/test-fs-promises-watch.js`, `parallel/test-http-client-abort-destroy.js#block_03_block_03`, `parallel/test-http-client-abort-destroy.js#block_04_block_04`, ... (+4) | +| Node 26.13.1 baseline gap: 4 test(s) failed | 6 | `parallel/test-sqlite-named-parameters.js#test_00_named_parameters`, `parallel/test-sqlite-statement.js#test_15_options_readbigints`, `parallel/test-sqlite-statement.js#test_17_options_allowbarenamedparameters`, ... (+3) | | WebAssembly global is missing in current runtime | 6 | `es-module/test-wasm-memory-out-of-bound.js`, `es-module/test-wasm-simple.js`, `es-module/test-wasm-web-api.js`, ... (+3) | +| all assertions are gated by common.hasIntl; URL-only IDNA formatting is covered by focused runtime tests while the broader Intl API remains unavailable | 6 | `parallel/test-url-format-whatwg.js#test_00_should_format`, `parallel/test-url-format-whatwg.js#test_01_handle_invalid_arguments`, `parallel/test-url-format-whatwg.js#test_02_any_falsy_value_other_than_undefined_will_be_treated_as_fals`, ... (+3) | | fork() AbortSignal handling is incomplete (exit code/signal/error semantics differ from Node) | 6 | `parallel/test-child-process-fork-abort-signal.js#block_00_block_00`, `parallel/test-child-process-fork-abort-signal.js#block_01_block_01`, `parallel/test-child-process-fork-abort-signal.js#block_02_block_02`, ... (+3) | | inherited: common.canCreateSymLink shim always returns false, so symlink permission tests are skipped | 6 | `parallel/test-permission-fs-symlink-target-write.js#block_00_block_00`, `parallel/test-permission-fs-symlink-target-write.js#block_01_block_01`, `parallel/test-permission-fs-symlink.js#block_00_block_00`, ... (+3) | | inherited: perf_hooks createHistogram/monitorEventLoopDelay are not implemented | 6 | `parallel/test-perf-hooks-histogram.js#block_00_block_00`, `parallel/test-perf-hooks-histogram.js#block_01_block_01`, `parallel/test-perf-hooks-histogram.js#block_02_block_02`, ... (+3) | -| inherited: performance.timerify function entries are not implemented | 6 | `parallel/test-performance-function.js#block_00_block_00`, `parallel/test-performance-function.js#block_01_block_01`, `parallel/test-performance-function.js#block_02_block_02`, ... (+3) | +| same-process import.meta.resolve behavior is covered by runtime tests; remaining vendored failure requires child_process execPath emulation for --input-type/--import ESM CLI modes | 6 | `es-module/test-esm-import-meta-resolve.mjs#block_00_block_00`, `es-module/test-esm-import-meta-resolve.mjs#block_01_block_01`, `es-module/test-esm-import-meta-resolve.mjs#block_02_block_02`, ... (+3) | | the test's meaningful body requires rooted symlink targets; common.canCreateSymLink skips it under the supported relative-only WASI boundary | 6 | `parallel/test-fs-options-immutable.js#block_00_block_00`, `parallel/test-fs-options-immutable.js#block_01_block_01`, `parallel/test-fs-options-immutable.js#block_02_block_02`, ... (+3) | -| IPv6 sockets are not available in this runtime (common.hasIPv6=false) | 5 | `parallel/test-dgram-ipv6only.js`, `parallel/test-dgram-udp6-link-local-address.js`, `parallel/test-dgram-udp6-send-default-host.js`, ... (+2) | -| all assertions are gated by common.hasIntl; URL-only IDNA formatting is covered by focused runtime tests while the broader Intl API remains unavailable | 5 | `parallel/test-url-format-whatwg.js#test_00_should_format`, `parallel/test-url-format-whatwg.js#test_01_handle_invalid_arguments`, `parallel/test-url-format-whatwg.js#test_02_any_falsy_value_other_than_undefined_will_be_treated_as_fals`, ... (+2) | +| Node 26.13.1 baseline gap: 5 test(s) failed | 5 | `parallel/test-sqlite-database.js#test_03_database_prototype_prepare`, `parallel/test-sqlite-database.js#test_04_database_prototype_exec`, `parallel/test-sqlite-database.js#test_06_database_prototype_location`, ... (+2) | +| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Da | 5 | `parallel/test-webcrypto-export-import.js#block_00_block_00`, `parallel/test-webcrypto-export-import.js#block_02_import_export_hmac_secret_key`, `parallel/test-webcrypto-export-import.js#block_03_import_export_aes_secret_key`, ... (+2) | +| common-shim spawnPromisified child emulation does not support --experimental-webstorage/--localstorage-file flags | 5 | `parallel/test-webstorage.js#test_00_storage_instances_cannot_be_created_in_userland`, `parallel/test-webstorage.js#test_02_sessionstorage_is_not_persisted`, `parallel/test-webstorage.js#test_05_localstorage_is_not_persisted_if_it_is_unused`, ... (+2) | | inherited: buffer.transcode and ICU transcoding are not implemented | 5 | `parallel/test-icu-transcode.js#block_00_block_00`, `parallel/test-icu-transcode.js#block_01_block_01`, `parallel/test-icu-transcode.js#block_02_test_that_uint8array_arguments_are_okay`, ... (+2) | | inherited: perf_hooks PerformanceResourceTiming/markResourceTiming behavior is incomplete | 5 | `parallel/test-perf-hooks-resourcetiming.js#block_00_performanceresourcetiming_should_not_be_initialized_external`, `parallel/test-perf-hooks-resourcetiming.js#block_01_using_performance_getentries`, `parallel/test-perf-hooks-resourcetiming.js#block_02_default_values`, ... (+2) | | node:readline createInterface/async iterator API is not implemented | 5 | `parallel/test-readline-async-iterators-backpressure.js`, `parallel/test-readline-async-iterators-destroy.js`, `parallel/test-readline-async-iterators.js`, ... (+2) | | node_compat common shim is missing ../common/wpt harness | 5 | `parallel/test-whatwg-events-event-constructors.js`, `parallel/test-whatwg-events-eventtarget-this-of-listener.js`, `parallel/test-whatwg-url-custom-searchparams-sort.js`, ... (+2) | | process.getActiveResourcesInfo() is not implemented | 5 | `parallel/test-process-getactiveresources-track-active-handles.js`, `parallel/test-process-getactiveresources-track-active-requests.js`, `parallel/test-process-getactiveresources-track-interval-lifetime.js`, ... (+2) | -| util.format output formatting differences | 5 | `parallel/test-util-format.js#block_00_block_00`, `parallel/test-util-format.js#block_01_string_format_specifier_including_tostring_properties_on_the`, `parallel/test-util-format.js#block_02_symbol_toprimitive_handling_for_string_format_specifier`, ... (+2) | +| requires simulated process.execPath / Node CLI module_timer and trace-event support | 5 | `parallel/test-module-print-timing.mjs#test_00_should_print_the_timing_information_for_cjs`, `parallel/test-module-print-timing.mjs#test_01_should_write_tracing_information_for_cjs`, `parallel/test-module-print-timing.mjs#test_02_should_write_tracing_print_logs_for_cjs`, ... (+2) | | util.getSystemErrorName is unavailable | 5 | `parallel/test-child-process-execfilesync-maxbuf.js#block_00_verify_that_an_error_is_returned_if_maxbuffer_is_surpassed`, `parallel/test-child-process-execfilesync-maxbuf.js#block_02_default_maxbuffer_size_is_1024_1024`, `parallel/test-child-process-spawnsync-maxbuf.js#block_00_verify_that_an_error_is_returned_if_maxbuffer_is_surpassed`, ... (+2) | +| IPv6 sockets are not available in this runtime (common.hasIPv6=false) | 4 | `parallel/test-dgram-ipv6only.js`, `parallel/test-dgram-udp6-link-local-address.js`, `parallel/test-dgram-udp6-send-default-host.js`, ... (+1) | +| Node 26.13.1 baseline gap: 3 test(s) failed | 4 | `parallel/test-sqlite-database.js#test_01_database_prototype_open`, `parallel/test-sqlite-database.js#test_05_database_prototype_istransaction`, `parallel/test-sqlite-named-parameters.js#test_01_statement_prototype_setallowunknownnamedparameters`, ... (+1) | +| Node 26.13.1 baseline gap: 7 test(s) failed | 4 | `parallel/test-sqlite-data-types.js`, `parallel/test-sqlite-statement.js#test_01_statement_prototype_get`, `parallel/test-sqlite-statement.js#test_04_statement_prototype_run`, ... (+1) | +| Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:; carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09) | 4 | `es-module/test-require-module-tla-nested.js`, `es-module/test-require-module-tla-rejected.js`, `es-module/test-require-module-tla-resolved.js`, ... (+1) | +| Node 26.13.1 baseline gap: The error is expected to be an instance of "TypeError". Received "DOMException" | 4 | `parallel/test-webcrypto-random.js#block_00_block_00`, `parallel/test-webcrypto-random.js#block_01_block_01`, `parallel/test-webcrypto-random.js#block_02_block_02`, ... (+1) | +| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception. | 4 | `parallel/test-fs-opendir.js#block_01_check_that_passing_a_positive_integer_as_buffersize_works`, `parallel/test-fs-opendir.js#block_02_check_read_throw_exceptions_on_invalid_callback`, `parallel/test-fs-opendir.js#block_03_check_if_directory_already_closed_the_callback_should_pass_a`, ... (+1) | | WASM child emulation does not support Node.js --test CLI output behavior | 4 | `parallel/test-runner-extraneous-async-activity.js#block_00_block_00`, `parallel/test-runner-extraneous-async-activity.js#block_01_block_01`, `parallel/test-runner-extraneous-async-activity.js#block_02_block_02`, ... (+1) | -| crypto.scrypt/scryptSync support is missing (test reports 'no scrypt support') | 4 | `parallel/test-crypto-scrypt.js#block_00_block_00`, `parallel/test-crypto-scrypt.js#block_01_block_01`, `parallel/test-crypto-scrypt.js#block_02_block_02`, ... (+1) | | inherited: --frozen-intrinsics flag semantics are not implemented | 4 | `parallel/test-freeze-intrinsics.js#block_00_ensure_we_can_extend_console`, `parallel/test-freeze-intrinsics.js#block_01_ensure_we_can_write_override_object_prototype_properties_on_`, `parallel/test-freeze-intrinsics.js#block_02_ensure_we_can_not_override_globalthis`, ... (+1) | | inherited: common-shim mustCall()/mustCallAtLeast() argument validation differs from Node's test harness | 4 | `parallel/test-common.js#block_00_test_for_leaked_global_detection`, `parallel/test-common.js#block_01_test_for_disabling_leaked_global_detection`, `parallel/test-common.js#block_02_test_tmpdir`, ... (+1) | | inherited: net.connect option validation/coercion for port and hints is not Node-compatible | 4 | `parallel/test-net-connect-options-port.js#block_00_test_wrong_type_of_ports`, `parallel/test-net-connect-options-port.js#block_01_test_out_of_range_ports`, `parallel/test-net-connect-options-port.js#block_02_test_invalid_hints`, ... (+1) | | process unhandledRejection/rejectionHandled/warning mode behavior is incomplete | 4 | `parallel/test-promise-unhandled-warn-no-hook.js`, `parallel/test-promise-unhandled-warn.js`, `parallel/test-promises-unhandled-symbol-rejections.js`, ... (+1) | | promisified exec()/execFile() contract is incomplete (promise.child is not a ChildProcess instance) | 4 | `parallel/test-child-process-promisified.js#block_00_block_00`, `parallel/test-child-process-promisified.js#block_01_block_01`, `parallel/test-child-process-promisified.js#block_02_block_02`, ... (+1) | | remaining failures run through spawnSync(process.execPath, ...) and assert exact child-process status/stdout/stderr diagnostics; one TLA/dynamic-import sequencing case can still hit a QuickJS linker assert through process.execPath emulation, but direct same-process node modules app coverage passes | 4 | `es-module/test-require-module-cycle-esm-esm-cjs-esm.js#block_00_a_mjs_b_mjs_c_mjs_d_mjs_c_mjs`, `es-module/test-require-module-cycle-esm-esm-cjs-esm.js#block_01_b_mjs_c_mjs_d_mjs_c_mjs`, `es-module/test-require-module-cycle-esm-esm-cjs-esm.js#block_02_c_mjs_d_mjs_c_mjs`, ... (+1) | -| requires spawned process.execPath entry-point execution plus WebAssembly module loading support | 4 | `es-module/test-esm-extensionless-esm-and-wasm.mjs#test_03_should_run_as_the_entry_point`, `es-module/test-esm-type-flag-loose-files.mjs#test_02_should_run_as_wasm_an_extensionless_wasm_file_that_is_outsid`, `es-module/test-esm-type-flag-package-scopes.mjs#test_03_should_run_as_wasm_an_extensionless_wasm_file_within_a_type_`, ... (+1) | | timeout enforcement with microtaskMode='afterEvaluate' is incomplete | 4 | `parallel/test-vm-timeout-escape-promise-2.js`, `parallel/test-vm-timeout-escape-promise-module.js`, `parallel/test-vm-timeout-escape-promise.js`, ... (+1) | | unhandled-rejection mode and uncaughtException bridging semantics are incomplete | 4 | `parallel/test-promise-unhandled-default.js`, `parallel/test-promise-unhandled-error.js`, `parallel/test-promise-unhandled-throw-handler.js`, ... (+1) | | wasi:http client does not surface 103 Early Hints as 'information' events | 4 | `parallel/test-http-early-hints.js#block_00_block_00`, `parallel/test-http-early-hints.js#block_01_block_01`, `parallel/test-http-early-hints.js#block_03_block_03`, ... (+1) | | DOMException options bag ({ name, cause }) is not implemented | 3 | `parallel/test-domexception-cause.js#block_01_block_01`, `parallel/test-domexception-cause.js#block_02_block_02`, `parallel/test-domexception-cause.js#block_03_block_03` | -| WASM child emulation does not support Node.js --test TAP filtering behavior | 3 | `parallel/test-runner-no-isolation-filtering.js#test_00_works_with_test_only`, `parallel/test-runner-no-isolation-filtering.js#test_01_works_with_test_name_pattern`, `parallel/test-runner-no-isolation-filtering.js#test_02_works_with_test_skip_pattern` | +| WASM child emulation does not support Node.js --test TAP filtering behavior | 3 | `parallel/test-runner-no-isolation-filtering.js#test_00_works_with_test_only`, `parallel/test-runner-no-isolation-filtering.js#test_02_works_with_test_name_pattern`, `parallel/test-runner-no-isolation-filtering.js#test_04_works_with_test_skip_pattern` | | WASM child emulation does not support Node.js --test reporter destination flushing | 3 | `parallel/test-runner-force-exit-flush.js#test_00_junit_reporter`, `parallel/test-runner-force-exit-flush.js#test_01_spec_reporter`, `parallel/test-runner-force-exit-flush.js#test_02_tap_reporter` | +| WebAssembly module loading for .wasm files is not implemented; binary input is currently treated as JS source | 3 | `es-module/test-esm-extensionless-esm-and-wasm.mjs#test_04_should_be_importable`, `es-module/test-esm-extensionless-esm-and-wasm.mjs#test_05_should_be_importable_from_a_module_scope_under_node_modules`, `es-module/test-esm-extensionless-esm-and-wasm.mjs#test_09_should_run_on_import` | | child_process spawn() stdio stream compatibility (e.g. pipe) is incomplete in execPath emulation | 3 | `parallel/test-cwd-enoent-preload.js`, `parallel/test-cwd-enoent.js`, `parallel/test-preload.js` | | child_process.spawn pipe mode does not provide functional child.stdin | 3 | `parallel/test-stdin-pipe-large.js`, `parallel/test-stdin-pipe-resume.js`, `parallel/test-stdin-script-child-option.js` | | common/gc async_hooks-based GC tracking is not implemented in the WASM test shim | 3 | `sequential/test-gc-http-client-onerror.js`, `sequential/test-gc-http-client-timeout.js`, `sequential/test-gc-http-client.js` | | crypto.X509Certificate API is not implemented | 3 | `parallel/test-x509-escaping.js#block_01_test_escaping_rules_for_subject_alternative_names`, `parallel/test-x509-escaping.js#block_02_test_escaping_rules_for_authority_info_access`, `parallel/test-x509-escaping.js#block_03_test_escaping_rules_for_the_subject_field` | +| crypto.scrypt/scryptSync support is missing (test reports 'no scrypt support') | 3 | `parallel/test-crypto-scrypt.js#block_00_block_00`, `parallel/test-crypto-scrypt.js#block_01_block_01`, `parallel/test-crypto-scrypt.js#block_02_0_which_differs_by_openssl_build` | | dgram send() callback overload path has JS/native argument conversion bugs | 3 | `parallel/test-dgram-send-callback-buffer-length-empty-address.js`, `parallel/test-dgram-send-callback-buffer-length.js`, `parallel/test-dgram-send-callback-buffer.js` | | dgram socket buffer size APIs may hang | 3 | `parallel/test-dgram-socket-buffer-size.js#block_02_block_02`, `parallel/test-dgram-socket-buffer-size.js#block_04_block_04`, `parallel/test-dgram-socket-buffer-size.js#block_05_block_05` | +| dns.getServers()/setServers default-server behavior and validation are not Node-compatible | 3 | `parallel/test-dns.js#block_03_block_03`, `parallel/test-dns.js#block_12_block_12`, `parallel/test-dns.js#block_13_block_13` | | global MessageEvent constructor/validation/inheritance semantics are not Node-compatible | 3 | `parallel/test-worker-message-event.js#block_00_block_00`, `parallel/test-worker-message-event.js#block_01_block_01`, `parallel/test-worker-message-event.js#block_02_block_02` | | inherited: common.canCreateSymLink shim always returns false, so traversal+symlink permission tests are skipped | 3 | `parallel/test-permission-fs-traversal-path.js#block_00_block_00`, `parallel/test-permission-fs-traversal-path.js#block_01_block_01`, `parallel/test-permission-fs-traversal-path.js#block_02_block_02` | | inherited: dgram AbortSignal validation and close semantics are incomplete | 3 | `parallel/test-dgram-close-signal.js#block_00_block_00`, `parallel/test-dgram-close-signal.js#block_01_block_01`, `parallel/test-dgram-close-signal.js#block_02_block_02` | @@ -774,12 +1203,21 @@ Secondary full-public compatibility, including public tests that are currently e | DSA keygen currently supports only modern key sizes; legacy 512-bit variant fails | 2 | `parallel/test-crypto-keygen-async-dsa-key-object.js`, `parallel/test-crypto-keygen-async-dsa.js` | | HTTP keep-alive socket identity reuse across sequential requests is not implemented | 2 | `parallel/test-http-keepalive-client.js`, `parallel/test-http-keepalive-request.js` | | IncomingMessage 'aborted' event is not emitted when the server destroys a keep-alive response | 2 | `parallel/test-http-client-aborted-event.js#block_00_block_00`, `parallel/test-http-client-aborted-event.js#block_01_block_01` | +| Node 26.13.1 baseline gap: - stderr did not match expectation, checker throws:; carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09) | 2 | `es-module/test-require-module-tla-execution.js`, `es-module/test-require-module-tla-print-execution.js` | +| Node 26.13.1 baseline gap: 10 test(s) failed | 2 | `parallel/test-sqlite-custom-functions.js`, `parallel/test-sqlite-statement.js#test_03_statement_prototype_iterate` | +| Node 26.13.1 baseline gap: 6 test(s) failed | 2 | `parallel/test-sqlite-statement.js#test_02_statement_prototype_all`, `parallel/test-sqlite-statement.js#test_16_options_returnarrays` | +| Node 26.13.1 baseline gap: Cannot perform operation on a detached ArrayBuffer | 2 | `parallel/test-buffer-isascii.js`, `parallel/test-buffer-isutf8.js` | +| Node 26.13.1 baseline gap: Expected values to be loosely deep-equal: | 2 | `parallel/test-assert-deep.js#test_19_additional_tests`, `parallel/test-assert-typedarray-deepequal.js#test_01_looseequalarraypairs` | +| Node 26.13.1 baseline gap: The expression evaluated to a falsy value: | 2 | `parallel/test-fs-statfs.js#block_00_synchronous`, `parallel/test-fs-statfs.js#block_01_synchronous_bigint` | +| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): TypeError: Invalid module "#/foo" is not a val | 2 | `es-module/test-esm-imports-deprecations.mjs`, `es-module/test-esm-imports.mjs` | +| Node 26.13.1 baseline gap: Unhandled promise rejection: AssertionError: Expected values to be strictly deep-equal: | 2 | `es-module/test-esm-exports-deprecations.mjs`, `es-module/test-esm-exports.mjs` | | TextDecoderStream invalid-encoding errors are not Node-compatible yet | 2 | `parallel/test-whatwg-webstreams-encoding.js#block_00_block_00`, `parallel/test-whatwg-webstreams-encoding.js#block_01_block_01` | | WASM child emulation does not support Node.js --test CLI reporter execution | 2 | `parallel/test-runner-error-reporter.js#test_00_all_tests_failures_reported_without_fail_fast_flag`, `parallel/test-runner-error-reporter.js#test_01_fail_fast_stops_test_execution_after_first_failure` | | async_hooks createHook callback validation is incomplete | 2 | `parallel/test-async-hooks-constructor.js`, `parallel/test-async-wrap-constructor.js` | | async_hooks executionAsyncResource propagation is incomplete under node:http server/client callbacks | 2 | `parallel/test-async-hooks-execution-async-resource-await.js`, `parallel/test-async-hooks-execution-async-resource.js` | | both vendored subtests are gated by common.hasIntl; supported legacy URL parsing is covered by focused runtime tests | 2 | `parallel/test-url-parse-format.js#test_00_should_parse_and_format`, `parallel/test-url-parse-format.js#test_01_parse_result_should_equal_new_url_url` | | child_process execPath emulation does not fully match spawnSync({ encoding }) behavior for --check stdin runs | 2 | `parallel/test-cli-syntax-piped-bad.js`, `parallel/test-cli-syntax-piped-good.js` | +| child_process execPath emulation does not honor --allow-addons/node-addons resolution | 2 | `parallel/test-permission-allow-addons-cli.js#block_00_to_require_native_addons_unless_allow_addons_is_sent`, `parallel/test-permission-allow-addons-cli.js#block_01_block_01` | | child_process execPath emulation does not implement --trace-require-module warning output | 2 | `es-module/test-require-module-warning.js`, `es-module/test-require-node-modules-warning.js` | | child_process.spawn emulation does not support --interactive REPL sessions | 2 | `parallel/test-repl-array-prototype-tempering.js`, `sequential/test-repl-timeout-throw.js` | | common/gc.onGC is non-observing; this collection assertion cannot be validated by the current harness | 2 | `parallel/test-gc-http-client-connaborted.js`, `parallel/test-gc-net-timeout.js` | @@ -788,7 +1226,6 @@ Secondary full-public compatibility, including public tests that are currently e | dgram socket buffer size APIs do not match Node error semantics | 2 | `parallel/test-dgram-socket-buffer-size.js#block_00_block_00`, `parallel/test-dgram-socket-buffer-size.js#block_01_block_01` | | dns.resolveAny/Resolver.resolveAny protocol handling is not implemented | 2 | `parallel/test-dns-resolveany-bad-ancount.js`, `parallel/test-dns-resolveany.js` | | domain/setUncaughtExceptionCaptureCallback interaction is incomplete | 2 | `parallel/test-domain-load-after-set-uncaught-exception-capture.js`, `parallel/test-domain-set-uncaught-exception-capture-after-load.js` | -| execPath child emulation does not yet support trace-events CLI arg parsing used by -e runs | 2 | `parallel/test-trace-events-fs-async.js`, `parallel/test-trace-events-fs-sync.js` | | fork() timeout/killSignal behavior is not Node-compatible in WASM emulation | 2 | `parallel/test-child-process-fork-timeout-kill-signal.js#block_00_block_00`, `parallel/test-child-process-fork-timeout-kill-signal.js#block_01_block_01` | | fork()/spawn() IPC send() boolean/backpressure semantics are not implemented | 2 | `parallel/test-child-process-send-returns-boolean.js#block_00_block_00`, `parallel/test-child-process-send-returns-boolean.js#block_01_block_01` | | gated by common.hasIntl, which cannot be enabled until broader Intl/ICU and IDNA behavior is compatible | 2 | `parallel/test-whatwg-encoding-custom-textdecoder-fatal.js`, `parallel/test-whatwg-encoding-custom-textdecoder-utf16-surrogates.js` | @@ -805,27 +1242,24 @@ Secondary full-public compatibility, including public tests that are currently e | perf_hooks resource timing buffer/full-event behavior is incomplete | 2 | `parallel/test-performance-resourcetimingbufferfull.js`, `parallel/test-performance-resourcetimingbuffersize.js` | | process API incomplete | 2 | `parallel/test-process-beforeexit-throw-exit.js`, `parallel/test-process-beforeexit.js` | | process.allowedNodeEnvironmentFlags behavior is incomplete | 2 | `parallel/test-process-env-allowed-flags.js#block_00_assert_legit_flags_are_allowed_and_bogus_flags_are_disallowe`, `parallel/test-process-env-allowed-flags.js#block_02_assert_immutability_of_process_allowednodeenvironmentflags` | -| process.permission worker-thread restrictions are incomplete | 2 | `parallel/test-permission-dc-worker-threads.js`, `parallel/test-permission-worker-threads-cli.js` | | process.report.writeReport and permission-model integration are missing | 2 | `parallel/test-permission-fs-write-report.js#block_00_block_00`, `parallel/test-permission-fs-write-report.js#block_01_block_01` | | promisified exec()/execFile() rejection errors miss stdout/stderr fields | 2 | `parallel/test-child-process-promisified.js#block_04_block_04`, `parallel/test-child-process-promisified.js#block_05_block_05` | | requires child process loader/eval flags | 2 | `parallel/test-find-package-json.js#test_08_should_work_within_a_loader`, `parallel/test-find-package-json.js#test_09_should_work_with_an_async_resolve_hook_registered` | -| requires isolated process.execPath TypeScript entry execution and Node CLI default-module / require-module flag handling | 2 | `es-module/test-typescript-commonjs.mjs`, `es-module/test-typescript-module.mjs` | | requires spawned process.execPath entry-point execution for extensionless ESM files | 2 | `es-module/test-esm-extensionless-esm-and-wasm.mjs#test_00_should_run_as_the_entry_point`, `es-module/test-esm-extensionless-esm-and-wasm.mjs#test_06_should_run_as_the_entry_point` | | spawn() timeout/killSignal behavior is not Node-compatible in WASM emulation | 2 | `parallel/test-child-process-spawn-timeout-kill-signal.js#block_00_block_00`, `parallel/test-child-process-spawn-timeout-kill-signal.js#block_01_block_01` | | strict assignment to non-writable vm global throws QuickJS read-only wording instead of Node's message | 2 | `parallel/test-vm-global-non-writable-properties.js`, `parallel/test-vm-strict-assign.js` | | tls.connect() stub throws instead of constructing a TLSSocket for allowHalfOpen option checks | 2 | `parallel/test-tls-connect-allow-half-open-option.js#block_00_block_00`, `parallel/test-tls-connect-allow-half-open-option.js#block_01_block_01` | | uncaughtExceptionMonitor event behavior in child_process flows is incomplete | 2 | `parallel/test-process-uncaught-exception-monitor.js#block_00_block_00`, `parallel/test-process-uncaught-exception-monitor.js#block_01_block_01` | +| util.MIMEType/util.MIMEParams are not implemented | 2 | `parallel/test-mime-api.js#block_00_refs_https_mimesniff_spec_whatwg_org_parameter_names_are_asc`, `parallel/test-mime-api.js#block_01_block_01` | | vm timeout interrupt is surfaced as a wasm trap instead of ERR_SCRIPT_EXECUTION_TIMEOUT | 2 | `parallel/test-vm-timeout.js`, `sequential/test-vm-timeout-rethrow.js` | | wasi:http client cannot expose an early response before the request body is finished, so this bidirectional streaming fixture deadlocks | 2 | `parallel/test-http-dump-req-when-res-ends.js`, `parallel/test-http-no-read-no-dump.js` | | wasi:http client does not surface interim 100 Continue responses or the continue event | 2 | `parallel/test-http-expect-continue.js`, `parallel/test-http-write-callbacks.js` | | wasi:http client path does not surface HPE_UNEXPECTED_CONTENT_LENGTH parse errors | 2 | `parallel/test-http-response-multi-content-length.js#block_00_test_adding_an_extra_content_length_header_using_setheader`, `parallel/test-http-response-multi-content-length.js#block_01_test_adding_an_extra_content_length_header_using_writehead` | -| wasi:http request body is not finalized/sent until end(), so write()-only request flow diverges from Node | 2 | `parallel/test-http-outgoing-destroyed.js#block_00_block_00`, `parallel/test-http-outgoing-destroyed.js#block_01_block_01` | +| zlib invalid compressed input error event/callback behavior differs from Node | 2 | `parallel/test-zlib-invalid-input.js#block_00_block_00`, `parallel/test-zlib-invalid-input.js#block_01_block_01` | | --disable-proto=delete semantics differ in QuickJS (__proto__ yields null) | 1 | `parallel/test-disable-proto-delete.js` | | --disable-proto=throw flag semantics are not implemented | 1 | `parallel/test-disable-proto-throw.js` | | --disallow-code-generation-from-strings flag semantics are not implemented | 1 | `parallel/test-eval-disallow-code-generation-from-strings.js` | | --input-type=module eval emulation is incomplete for cwd-relative static/dynamic imports | 1 | `parallel/test-cli-eval.js#block_04_block_04` | -| --no-experimental-global-customevent flag is not honored | 1 | `parallel/test-global-customevent-disabled.js` | -| --no-experimental-global-webcrypto flag is not honored | 1 | `parallel/test-global-webcrypto-disbled.js` | | --no-experimental-websocket flag is not honored | 1 | `parallel/test-websocket-disabled.js` | | --trace-env diagnostics are not implemented in execPath emulation | 1 | `parallel/test-trace-env.js` | | --trace-env-{js,native}-stack diagnostics are not implemented in execPath emulation | 1 | `parallel/test-trace-env-stack.js` | @@ -846,7 +1280,7 @@ Secondary full-public compatibility, including public tests that are currently e | AsyncLocalStorage deep nesting/recursion handling is unstable | 1 | `parallel/test-async-local-storage-deep-stack.js` | | AsyncLocalStorage.bind argument validation is incomplete | 1 | `parallel/test-async-local-storage-bind.js` | | AsyncLocalStorage.snapshot is missing or incomplete | 1 | `parallel/test-async-local-storage-snapshot.js` | -| Blob byte-stream BYOB final read does not settle at end of stream | 1 | `parallel/test-blob.js#block_29_statement_29` | +| Blob byte-stream BYOB final read does not settle at end of stream | 1 | `parallel/test-blob.js#block_30_statement_30` | | CLI --security-revert behavior in child_process spawnSync is not fully implemented | 1 | `parallel/test-security-revert-unknown.js` | | CLI --title flag does not update process.title | 1 | `parallel/test-process-title-cli.js` | | CLI --unhandled-rejections flag parsing/validation is incomplete | 1 | `parallel/test-promise-unhandled-flag.js` | @@ -911,6 +1345,48 @@ Secondary full-public compatibility, including public tests that are currently e | MessagePort util.inspect output/shape is not Node-compatible | 1 | `parallel/test-worker-message-port-inspect-during-init-hook.js` | | NODE_OPTIONS behavior via --env-file is incomplete in execPath child emulation | 1 | `parallel/test-dotenv-node-options.js` | | NODE_V8_COVERAGE warning behavior in child_process execPath emulation is incomplete | 1 | `parallel/test-coverage-with-inspector-disabled.js` | +| Node 26.13.1 baseline gap: - process terminated with status 1, expected 0 | 1 | `parallel/test-npm-install.js` | +| Node 26.13.1 baseline gap: 10 test(s) failed; carries 22.14.0 subtest test_05_math_functions_are_enabled | 1 | `parallel/test-sqlite.js#test_08_sql_apis_enabled_at_build_time` | +| Node 26.13.1 baseline gap: 12 test(s) failed | 1 | `parallel/test-sqlite-typed-array-and-data-view.js#test_00_statement_with_typedarray_dataview` | +| Node 26.13.1 baseline gap: 2 test(s) failed; carries 22.14.0 parallel/test-assert-objects.js (upstream 096b61131a) | 1 | `parallel/test-assert-partial-deep-equal.js` | +| Node 26.13.1 baseline gap: 26 test(s) failed | 1 | `parallel/test-sqlite-database.js#test_00_database_constructor` | +| Node 26.13.1 baseline gap: 7 test(s) failed; carries 22.14.0 parallel/test-sqlite-database-sync.js (upstream f2b698f1cf); parallel/test-sqlite-statement-sync.js (upstream f2b698f1cf) | 1 | `parallel/test-sqlite-statement-columns.js` | +| Node 26.13.1 baseline gap: 8 test(s) failed | 1 | `parallel/test-sqlite-statement.js#test_08_statement_prototype_resetstats` | +| Node 26.13.1 baseline gap: AssertionError: Missing expected exception. | 1 | `parallel/test-permission-fs-read.js#block_02_block_02` | +| Node 26.13.1 baseline gap: Cannot find module 'internal/streams/end-of-stream'; carries 22.14.0 subtest block_39_block_39 | 1 | `parallel/test-stream-finished.js#block_40_block_40` | +| Node 26.13.1 baseline gap: Conversion from string failed: invalid utf-8 sequence of 1 bytes from index 300 | 1 | `parallel/test-buffer-bytelength.js` | +| Node 26.13.1 baseline gap: ERR_INVALID_FILE_URL_PATH has no err.input URL; the historical code assertion passes; carries 22.14.0 parallel/test-url-fileurltopath.js subtest test_03_fileurltopath_with_invalid_path | 1 | `parallel/test-url-invalid-file-url-path-input.js` | +| Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_63_block_63 | 1 | `parallel/test-util-inspect.js#block_65_block_65` | +| Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_77_block_77 | 1 | `parallel/test-util-inspect.js#block_85_block_85` | +| Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_91_block_91 | 1 | `parallel/test-util-inspect.js#block_101_block_101` | +| Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_95_block_95 | 1 | `parallel/test-util-inspect.js#block_106_block_106` | +| Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_98_block_98 | 1 | `parallel/test-util-inspect.js#block_109_block_109` | +| Node 26.13.1 baseline gap: Failed to export key; carries 22.14.0 subtest block_12_block_12 | 1 | `parallel/test-crypto-key-objects.js#block_13_block_13` | +| Node 26.13.1 baseline gap: Failed to export key; carries 22.14.0 subtest block_15_block_15 | 1 | `parallel/test-crypto-key-objects.js#block_16_block_16` | +| Node 26.13.1 baseline gap: Failed to export key; carries 22.14.0 subtest block_17_block_17 | 1 | `parallel/test-crypto-sign-verify.js#block_15_block_15` | +| Node 26.13.1 baseline gap: Missing expected exception.; carries 22.14.0 subtest block_02_guarantee_dot_left_numbers_are_ignored | 1 | `parallel/test-util-getcallsites.js#block_02_framecount_must_be_an_integer` | +| Node 26.13.1 baseline gap: Missing expected exception.; the runnable assertions execute, while its common.hasIntl-gated invalid-IDNA matrix is covered separately by focused runtime tests | 1 | `parallel/test-url-parse-invalid-input.js` | +| Node 26.13.1 baseline gap: Only --eval/-e, --input-type, and script files are supported in WASM child emulation; carries 22.14.0 subtest test_00_disabled_without_experimental_webstorage | 1 | `parallel/test-webstorage.js#test_08_disabled_with_no_webstorage` | +| Node 26.13.1 baseline gap: The argument 'format' must be a valid string format. Received "grey" | 1 | `parallel/test-util-styletext.js` | +| Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:; carries 22.14.0 subtest block_04_authentication_tag_length_has_been_specified | 1 | `parallel/test-crypto-authenticated.js#block_05_authentication_tag_length_has_been_specified` | +| Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:; carries 22.14.0 subtest block_05_authentication_tag_has_been_specified | 1 | `parallel/test-crypto-authenticated.js#block_06_authentication_tag_length_has_been_specified` | +| Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input; carries 22.14.0 subtest block_12_final_in_gcm_or_ocb_mode | 1 | `parallel/test-crypto-authenticated.js#block_13_final_in_gcm_mode_ocb_mode_and_for_chacha20_poly1305` | +| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected "actual" to be strict | 1 | `parallel/test-stream-readable-to-web-termination.js#block_01_block_01` | +| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception (Ty | 1 | `parallel/test-vm-module-errors.js` | +| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Ab | 1 | `parallel/test-fs-promises-file-handle-append-file.js` | +| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Ab; carries 22.14.0 parallel/test-fs-promises-writefile-typedarray.js (upstream 3ac95f2d0c); parallel/test-fs-promises-writefile-with-fd.js (upstream 3ac95f2d0c) | 1 | `parallel/test-fs-promises-appendfile.js` | +| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): Error: Module status must not be unlinked or l | 1 | `parallel/test-vm-module-synthetic.js` | +| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): TypeError: Error converting from js 'string' i | 1 | `parallel/test-fs-promises-file-handle-read.js` | +| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): TypeError: The "original" argument must be of | 1 | `parallel/test-zlib-empty-buffer.js` | +| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): TypeError: not a function | 1 | `parallel/test-fs-promises-file-handle-dispose.js` | +| Node 26.13.1 baseline gap: Unhandled promise rejection: AssertionError: 'a\rb' !== 'a\nb'; carries 22.14.0 subtest block_32_block_32 | 1 | `parallel/test-blob.js#block_33_block_33` | +| Node 26.13.1 baseline gap: _checkInvalidHeaderChar('\x01\x02\x03\x04\x05\x06\x07\b', true) unexpectedly failed in lenient mode | 1 | `parallel/test-http-invalidheaderfield2.js` | +| Node 26.13.1 baseline gap: error:0408006C:rsa routines::digest too big for rsa key | 1 | `parallel/test-crypto-async-sign-verify.js#block_02_block_02` | +| Node 26.13.1 baseline gap: error:06000068:public key routines::operation not supported for this keytype | 1 | `parallel/test-crypto-async-sign-verify.js#block_01_block_01` | +| Node 26.13.1 baseline gap: path.win32.join resolves .. through a CON: device-name segment | 1 | `parallel/test-path-join.js` | +| Node 26.13.1 baseline gap: path.win32.resolve("\\\\.\\PHYSICALDRIVE0") | 1 | `parallel/test-path-resolve.js` | +| Node 26.13.1 baseline gap: util.inspect prints the symbol key of a boxed String as [Symbol(foo)]; 26.13.1 expects Symbol(foo); carries 22.14.0 subtest block_90_block_90 | 1 | `parallel/test-util-inspect.js#block_100_block_100` | +| Node 26.13.1 baseline gap: value is not iterable | 1 | `parallel/test-require-delete-array-iterator.js` | | OKP (Ed/X) key import/export compatibility is incomplete | 1 | `parallel/test-webcrypto-export-import-cfrg.js` | | OutgoingMessage implicit Content-Length/Transfer-Encoding and Connection header behavior is not Node-compatible | 1 | `parallel/test-http-content-length.js` | | OutgoingMessage.getHeaders() shape is not Node-compatible (null-prototype object expected) | 1 | `parallel/test-http-mutable-headers.js` | @@ -924,8 +1400,6 @@ Secondary full-public compatibility, including public tests that are currently e | Readable unpipe()+resume() transform/end event flow is not fully Node-compatible | 1 | `parallel/test-stream-readable-unpipe-resume.js` | | Readable.from() iterator close/return() semantics are incomplete | 1 | `parallel/test-readable-from-iterator-closing.js` | | Readable.map()/reduce() lazy evaluation callback ordering differs from Node | 1 | `parallel/test-stream-reduce.js#block_02_block_02` | -| Readable.prototype.drop.length is 2 instead of Node's 1; later iterator-helper assertions are not reached | 1 | `parallel/test-stream-iterator-helpers-test262-tests.mjs` | -| Readable.toWeb() with crypto randomBytes pressure can trap in web_crypto random_bytes | 1 | `parallel/test-stream-readable-to-web.js` | | ReadableStream BYOB controller respond()/Buffer interaction is not fully WHATWG-compatible | 1 | `parallel/test-whatwg-readablebytestreambyob.js` | | Real MessagePort transfer is unsupported; genuine ports reject cloning instead of producing prototype shells | 1 | `parallel/test-worker-message-port.js#block_07_block_07` | | Request abort vs normal completion event ordering (aborted/error/end) is not Node-compatible | 1 | `parallel/test-http-client-spurious-aborted.js` | @@ -947,13 +1421,11 @@ Secondary full-public compatibility, including public tests that are currently e | Timeout listener bookkeeping on keep-alive sockets is not Node-compatible | 1 | `parallel/test-http-client-timeout-option-listeners.js` | | URL inspect output uses the URL string instead of Node's structured URL representation | 1 | `parallel/test-whatwg-url-custom-inspect.js` | | Usable stream transfer is not implemented; prototype-only stream clones are not supported | 1 | `parallel/test-webstreams-clone-unref.js` | -| Usable stream transfer is not implemented; prototype-only stream shells are not supported | 1 | `parallel/test-structuredClone-global.js#block_10_transferables_or_its_subclasses_should_be_received_with_its_` | +| Usable stream transfer is not implemented; prototype-only stream shells are not supported | 1 | `parallel/test-structuredClone-global.js#block_17_transferables_or_its_subclasses_should_be_received_with_its_` | | WASI UDP ping-pong over loopback does not reliably deliver datagrams in the local runtime despite Node-compatible hostname resolution | 1 | `sequential/test-dgram-pingpong.js` | -| WASM child emulation does not support --experimental-test-module-mocks CLI flag | 1 | `parallel/test-runner-module-mocking.js#test_11_node_modules_can_be_used_by_both_module_systems` | -| WASM child emulation does not support --experimental-test-module-mocks/--experimental-default-type flags | 1 | `parallel/test-runner-module-mocking.js#test_16_wrong_import_syntax_should_throw_error_after_module_mocking` | +| WASM child emulation does not support --experimental-test-module-mocks CLI flag | 1 | `parallel/test-runner-module-mocking.js#test_12_node_modules_can_be_used_by_both_module_systems` | +| WASM child emulation does not support --experimental-test-module-mocks/--experimental-default-type flags | 1 | `parallel/test-runner-module-mocking.js#test_22_wrong_import_syntax_should_throw_error_after_module_mocking` | | WASM child emulation does not support --no-experimental-sqlite CLI flag | 1 | `parallel/test-sqlite.js#test_00_accessing_the_node_sqlite_module` | -| WASM child emulation does not support --permission/--allow-worker/--experimental-test-module-mocks flags | 1 | `parallel/test-runner-module-mocking.js#test_18_should_work_when_allow_worker_is_passed_and_permission_model` | -| WASM child emulation does not support --permission/--experimental-test-module-mocks flags | 1 | `parallel/test-runner-module-mocking.js#test_17_should_throw_err_access_denied_when_permission_model_is_enab` | | WASM child emulation does not support --test CLI flag | 1 | `parallel/test-runner-concurrency.js#test_03_test_multiple_files` | | WASM child emulation does not support --test-reporter in spawnPromisified | 1 | `parallel/test-runner-root-duration.js` | | WASM child emulation does not support Node.js --test CLI behavior | 1 | `parallel/test-runner-exit-code.js` | @@ -963,7 +1435,7 @@ Secondary full-public compatibility, including public tests that are currently e | WebCrypto AES-GCM short-ciphertext OperationError message does not match Node | 1 | `parallel/test-crypto-webcrypto-aes-decrypt-tag-too-small.js` | | WebCrypto ECDH P-521 deriveBits is not implemented | 1 | `parallel/test-webcrypto-derivebits.js#block_00_test_ecdh_bit_derivation` | | WebCrypto ECDH P-521 deriveKey/deriveBits is not implemented | 1 | `parallel/test-webcrypto-derivekey.js#block_00_test_ecdh_key_derivation` | -| WebCrypto X25519/X448 deriveBits is not implemented | 1 | `parallel/test-webcrypto-derivebits.js#block_03_test_x25519_and_x448_bit_derivation` | +| WebCrypto X25519/X448 deriveBits is not implemented | 1 | `parallel/test-webcrypto-derivebits.js#block_04_test_x25519_and_x448_bit_derivation` | | WebCrypto X25519/X448 deriveKey/deriveBits is not implemented | 1 | `parallel/test-webcrypto-derivekey.js#block_05_test_x25519_and_x448_key_derivation` | | WebCrypto wrapKey()/unwrapKey usage validation and algorithm handling are incomplete | 1 | `parallel/test-webcrypto-wrap-unwrap.js` | | Worker URL-scheme validation does not throw expected ERR_INVALID_URL_SCHEME | 1 | `parallel/test-worker-unsupported-path.js#block_02_block_02` | @@ -999,9 +1471,7 @@ Secondary full-public compatibility, including public tests that are currently e | captureRejections propagation from outgoing-message drain to socket/request errors is not Node-compatible | 1 | `parallel/test-http-outgoing-message-capture-rejection.js#block_00_block_00` | | child_process -p/process.title behavior is incomplete in WASM child emulation | 1 | `sequential/test-process-title.js` | | child_process exec/spawn emulation does not fully match --help process behavior | 1 | `parallel/test-cli-node-print-help.js` | -| child_process execPath emulation does not honor --allow-addons/node-addons resolution | 1 | `parallel/test-permission-allow-addons-cli.js` | | child_process execPath emulation does not implement --completion-bash output | 1 | `parallel/test-bash-completion.js` | -| child_process execPath emulation does not implement --experimental-print-required-tla diagnostics output | 1 | `es-module/test-require-module-tla.js#block_01_block_01` | | child_process execPath emulation does not yet match Node CLI argument validation/exit codes | 1 | `parallel/test-cli-bad-options.js` | | child_process execPath emulation does not yet support this ESM/CJS fixture runner path; direct CJS named export interop is covered by test-require-module.js | 1 | `es-module/test-esm-cjs-exports.js` | | child_process execPath emulation does not yet support this ESM/CJS fixture runner path; same-process CJS import/require interop is covered by module-interop runtime tests | 1 | `es-module/test-esm-cjs-main.js` | @@ -1072,12 +1542,12 @@ Secondary full-public compatibility, including public tests that are currently e | exceptions thrown in client response callbacks do not follow Node uncaughtException flow | 1 | `parallel/test-http-uncaught-from-request-callback.js` | | execFile() signal option type validation is incomplete (missing ERR_INVALID_ARG_TYPE) | 1 | `parallel/test-child-process-execfile.js#block_05_block_05` | | execFile/execFileSync emulation does not execute non-execPath commands like echo | 1 | `parallel/test-child-process-execfile.js#block_07_verify_the_execfile_stdout_is_the_same_as_execfilesync` | -| execPath child emulation does not support --trace-atomics-wait CLI behavior | 1 | `parallel/test-trace-atomic-deprecation.js` | +| execPath child emulation does not yet support trace-events CLI arg parsing used by -e runs | 1 | `parallel/test-trace-events-fs-async.js` | | execPath child-process emulation runs recursive async stack-overflow tests in-process, which can trap the WASM runtime instead of isolating the child stack | 1 | `parallel/test-async-wrap-pop-id-during-load.js` | | execSync is ENOSYS-stubbed in WASM child_process emulation | 1 | `parallel/test-child-process-execsync-maxbuf.js#block_01_verify_that_a_maxbuffer_size_of_infinity_works` | | execSync is ENOSYS-stubbed; default maxBuffer behavior is unimplemented | 1 | `parallel/test-child-process-execsync-maxbuf.js#block_02_default_maxbuffer_size_is_1024_1024` | | execSync is ENOSYS-stubbed; maxBuffer overflow ENOBUFS behavior is unimplemented | 1 | `parallel/test-child-process-execsync-maxbuf.js#block_00_verify_that_an_error_is_returned_if_maxbuffer_is_surpassed` | -| fetch does not resolve registered blob:nodedata URLs; requests currently require wasi:http transport | 1 | `parallel/test-blob.js#block_27_statement_27` | +| fetch does not resolve registered blob:nodedata URLs; requests currently require wasi:http transport | 1 | `parallel/test-blob.js#block_28_statement_28` | | fork() IPC child.send/process.send emulation is not implemented | 1 | `parallel/test-cli-eval.js#block_03_regression_test_for_https_github_com_nodejs_node_issues_1194` | | fork() abort-listener lifecycle for timeout+signal is incomplete | 1 | `parallel/test-child-process-fork-timeout-kill-signal.js#block_03_block_03` | | fork() args/options parsing and ERR_INVALID_ARG_TYPE behavior are incomplete | 1 | `parallel/test-child-process-fork-args.js#block_01_correctly_if_args_is_undefined_or_null` | @@ -1121,7 +1591,6 @@ Secondary full-public compatibility, including public tests that are currently e | isolated P2/P3 runs take about 91-97 seconds; although a per-entry timeout is configurable, enabling this case would add excessive CI wall time, and transport profiling attributes most of the delay outside the socket path | 1 | `sequential/test-pipe.js` | | keep-alive free-socket lifecycle (free event + req.destroyed transitions) is not Node-compatible | 1 | `parallel/test-http-keepalive-free.js` | | keep-alive socket timeout/reuse race handling is not Node-compatible | 1 | `parallel/test-http-keep-alive-timeout-race-condition.js` | -| loader hooks in this vendored file are exercised through spawned process.execPath CLI loader flags/eval, deferred to simulated Node CLI mode support | 1 | `es-module/test-esm-loader-hooks.mjs` | | local JavaScript children do not provide IPC stdio or process.send | 1 | `parallel/test-child-process-stdout-ipc.js` | | local JavaScript children do not provide an IPC stdio channel | 1 | `parallel/test-child-process-stdin-ipc.js` | | local Node children do not apply the argv0 option | 1 | `parallel/test-child-process-spawn-argv0.js` | @@ -1144,8 +1613,7 @@ Secondary full-public compatibility, including public tests that are currently e | node:http client socketPath transport flow is incomplete (unix-socket request hangs) | 1 | `parallel/test-http-client-pipe-end.js` | | node:https Agent constructor compatibility is incomplete (call without new) | 1 | `parallel/test-https-agent-constructor.js` | | node:https Agent#getName TLS option keying is incomplete | 1 | `parallel/test-https-agent-getname.js` | -| node:sqlite applyChangeset conflict-resolution behavior is incomplete | 1 | `parallel/test-sqlite-session.js#test_05_conflict_resolution` | -| node:sqlite rejects mixed named+positional parameters where Node accepts them | 1 | `parallel/test-sqlite-statement-sync.js#test_06_statementsync_prototype_expandedsql` | +| node:sqlite applyChangeset conflict-resolution behavior is incomplete | 1 | `parallel/test-sqlite-session.js#test_06_conflict_resolution` | | node:test mock timers Date behavior is incomplete | 1 | `parallel/test-runner-mock-timers-date.js` | | node:test mock timers scheduler.wait behavior is incomplete | 1 | `parallel/test-runner-mock-timers-scheduler.js` | | node:test standalone runner output/cancellation summary differs in WASM child emulation | 1 | `parallel/test-runner-misc.js` | @@ -1159,6 +1627,7 @@ Secondary full-public compatibility, including public tests that are currently e | passive listener semantics are incomplete (test currently self-skips) | 1 | `parallel/test-whatwg-events-add-event-listener-options-passive.js#block_01_block_01` | | per-context Symbol/global binding behavior is incomplete in vm contexts | 1 | `parallel/test-vm-harmony-symbols.js` | | perf_hooks HTTP PerformanceEntry emission/detail fields are incomplete | 1 | `parallel/test-http-perf_hooks.js` | +| perf_hooks createHistogram/monitorEventLoopDelay are not implemented | 1 | `parallel/test-perf-hooks-histogram.js#block_06_block_06` | | perf_hooks nodeTiming milestones/duration semantics are incomplete | 1 | `parallel/test-performance-nodetiming.js` | | perf_hooks nodeTiming.uvMetricsInfo is missing | 1 | `parallel/test-performance-nodetiming-uvmetricsinfo.js` | | perf_hooks performance.toJSON() does not expose nodeTiming yet | 1 | `parallel/test-tojson-perf_hooks.js` | @@ -1166,16 +1635,15 @@ Secondary full-public compatibility, including public tests that are currently e | permission mode does not yet honor --allow-addons/node-addons export-condition semantics | 1 | `parallel/test-permission-no-addons.js` | | permission security-warning emission for --allow-* flags is incomplete | 1 | `parallel/test-permission-warning-flags.js` | | posting a port to its target and channel-loss warning semantics are incomplete | 1 | `parallel/test-worker-message-port-transfer-target.js` | -| process 'multipleResolves' event semantics are not implemented | 1 | `parallel/test-promise-swallowed-event.js` | | process prototype chain is not fully Node-compatible (prototype is not EventEmitter-based) | 1 | `parallel/test-process-prototype.js` | | process uncaughtException handling inside http client callbacks is incomplete | 1 | `parallel/test-http-catch-uncaughtexception.js` | -| process.assert() is not implemented | 1 | `parallel/test-process-assert.js` | | process.config ICU path and process.versions.tz metadata are not available | 1 | `parallel/test-tz-version.js` | | process.config reports ICU disabled and full Node Intl metadata and fidelity are not implemented | 1 | `parallel/test-intl.js` | | process.env defaults are incomplete (PATH is missing in VM context) | 1 | `parallel/test-vm-access-process-env.js` | | process.exitCode validation and coercion semantics are incomplete | 1 | `parallel/test-process-exit-code-validation.js` | | process.loadEnvFile() behavior is incomplete | 1 | `parallel/test-process-load-env-file.js` | | process.on('uncaughtException') handling during top-level module errors is incomplete | 1 | `parallel/test-exception-handler2.js` | +| process.permission worker-thread restrictions are incomplete | 1 | `parallel/test-permission-worker-threads-cli.js` | | process.ppid is stubbed and not wired to parent process IDs | 1 | `parallel/test-process-ppid.js` | | process.ref()/process.unref() are not implemented | 1 | `parallel/test-process-ref-unref.js` | | process.resourceUsage() is not implemented | 1 | `parallel/test-resource-usage.js` | @@ -1193,21 +1661,17 @@ Secondary full-public compatibility, including public tests that are currently e | request header population/normalization (for example Accept) is incomplete | 1 | `parallel/test-http.js` | | requires ERR_INVALID_ARG_TYPE validation on resolve methods (not yet implemented) | 1 | `parallel/test-dns-resolvens-typeerror.js` | | requires HTTP server functionality, we only support clients | 1 | `parallel/test-diagnostic-channel-http-response-created.js` | -| requires V8 hidden-class constructor-name recovery after the prototype constructor is detached | 1 | `parallel/test-util-inspect.js#block_73_manipulate_the_prototype_in_weird_ways` | +| requires V8 hidden-class constructor-name recovery after the prototype constructor is detached | 1 | `parallel/test-util-inspect.js#block_76_manipulate_the_prototype_in_weird_ways` | | requires actual TCP socket reuse with remotePort identity tracking via server; wasi:http creates new connections per request | 1 | `parallel/test-http-agent-scheduling.js` | | requires child_process execFileSync with copied process.execPath and Node global module path layout | 1 | `parallel/test-module-loading-globalpaths.js` | | requires fd option for listen | 1 | `parallel/test-net-listen-fd0.js` | -| requires isolated process.execPath --eval execution, TypeScript input-type flags, and child warning/output/exit capture | 1 | `es-module/test-typescript-eval.mjs` | -| requires isolated process.execPath --experimental-transform-types execution and CLI source-map configuration | 1 | `es-module/test-typescript-transform.mjs` | -| requires isolated process.execPath TypeScript entry execution and Node CLI flags; the direct process.features check requires a separate feature-disabled component | 1 | `es-module/test-typescript.mjs` | | requires net.createServer with pauseOnConnect and socket.localPort; wasi:http does not expose socket-level properties | 1 | `parallel/test-http-agent-reuse-drained-socket-only.js` | | requires onread option with buffer/callback | 1 | `parallel/test-net-onread-static-buffer.js` | | requires raw TCP response with obsolete HTTP line-folded headers; wasi:http rejects them | 1 | `parallel/test-http-multi-line-headers.js` | | requires remote server close detection on idle keep-alive sockets and socket hang up errors; wasi:http creates independent connections per request with no shared socket lifecycle | 1 | `parallel/test-http-agent-keepalive.js` | | requires simulated Node CLI flag handling for --no-experimental-require-module/--experimental-detect-module | 1 | `es-module/test-disable-require-module-with-detection.js` | -| requires simulated process.execPath / Node CLI mode support for child-process JSON module warning assertions | 1 | `es-module/test-esm-json.mjs#test_01_should_not_print_an_experimental_warning` | -| requires simulated process.execPath / Node CLI module_timer and trace-event support | 1 | `parallel/test-module-print-timing.mjs` | -| requires spawned process.execPath --check execution with --experimental-default-type=module | 1 | `es-module/test-esm-type-flag-loose-files.mjs#test_06_should_check_as_esm_input_passed_via_check` | +| requires simulated process.execPath / Node CLI mode support for child-process JSON module warning assertions | 1 | `es-module/test-esm-json.mjs#test_02_should_not_print_an_experimental_warning` | +| requires spawned process.execPath entry-point execution plus WebAssembly module loading support | 1 | `es-module/test-esm-extensionless-esm-and-wasm.mjs#test_03_should_run_as_the_entry_point` | | requires spawned process.execPath entry-point execution to verify extensionless .wasm classification outside module scope | 1 | `es-module/test-esm-extensionless-esm-and-wasm.mjs#test_08_should_error_as_the_entry_point` | | response writable state around aborted proxy close is not Node-compatible | 1 | `parallel/test-http-writable-true-after-close.js` | | response write + socket-error path does not preserve the expected truncated raw HTTP ending | 1 | `parallel/test-http-header-badrequest.js` | @@ -1216,7 +1680,6 @@ Secondary full-public compatibility, including public tests that are currently e | same-component node:http client->server calls via wasi:http can deadlock in this scenario | 1 | `parallel/test-http-write-head-after-set-header.js` | | same-process ESM invalid package config diagnostics are covered by module-resolution runtime tests; vendored fixture asserts stderr/status through spawned process.execPath ESM entry-point emulation | 1 | `es-module/test-esm-invalid-pjson.js` | | same-process dynamic import cache behavior is covered by runner_dynamic_import_cache_survives_removed_file; full Node test also requires spawned process.execPath --input-type=module support | 1 | `es-module/test-esm-dynamic-import-mutating-fs.mjs` | -| same-process import.meta.resolve behavior is covered by runtime tests; remaining vendored failure requires child_process execPath emulation for --input-type/--import ESM CLI modes | 1 | `es-module/test-esm-import-meta-resolve.mjs` | | sendBlockList connect path can crash in WASI UDP implementation | 1 | `parallel/test-dgram-blocklist.js#block_00_block_00` | | sendBlockList send() callback path is not Node-compatible and can hang | 1 | `parallel/test-dgram-blocklist.js#block_01_block_01` | | server listen/close race with async DNS lookup is not Node-compatible | 1 | `parallel/test-net-server-close-before-calling-lookup-callback.js` | @@ -1245,7 +1708,6 @@ Secondary full-public compatibility, including public tests that are currently e | setDefaultHeaders:false still injects/default-normalizes headers (Host/Content-Length/casing/duplicates) | 1 | `parallel/test-http-dont-set-default-headers-with-set-header.js` | | setImmediate queue turn semantics are unstable and can trap in the timeout scheduler | 1 | `parallel/test-timers-immediate-queue.js` | | setInterval scheduling incorrectly includes callback execution time | 1 | `sequential/test-timers-set-interval-excludes-callback-duration.js` | -| simulated child_process TypeScript CLI execution does not publish its transform map to util.getCallSites | 1 | `parallel/test-util-getcallsites.js#block_10_block_10` | | snapshot update/read flow via node:test is incomplete in WASM child emulation | 1 | `parallel/test-runner-snapshot-file-tests.js#test_01_t_assert_filesnapshot_update_read_flow` | | spawn() stdio handling is incomplete: non-requested stderr stream is still created | 1 | `sequential/test-child-process-exit.js` | | spawn() timeout validation path hangs in WASM child emulation | 1 | `parallel/test-child-process-spawn-timeout-kill-signal.js#block_02_block_02` | @@ -1272,20 +1734,17 @@ Secondary full-public compatibility, including public tests that are currently e | tls.createSecureContext() stub throws before Node-style clientCertEngine argument validation | 1 | `parallel/test-tls-clientcertengine-invalid-arg-type.js` | | trace_events dynamic file output for node.async_hooks is incomplete | 1 | `parallel/test-trace-events-async-hooks-dynamic.js` | | trace_events node.console category output is incomplete | 1 | `parallel/test-trace-events-console.js` | -| trace_events node.environment category output is incomplete | 1 | `parallel/test-trace-events-environment.js` | | tracingChannel({}) argument-validation behavior differs from Node.js (message/throw shape mismatch) | 1 | `parallel/test-diagnostics-channel-tracing-channel-args-types.js` | | tty stdin stream/event-emitter compatibility is incomplete | 1 | `parallel/test-tty-stdin-end.js` | | uncaught exception handling in HTTP request callbacks does not recover/terminate like Node and hangs | 1 | `parallel/test-http-exceptions.js` | | uncaughtException rethrow exit-code semantics are incomplete | 1 | `parallel/test-unhandled-exception-rethrow-error.js` | -| uses V8 native %GetUndetectable() syntax which QuickJS cannot evaluate | 1 | `parallel/test-util-inspect.js#block_83_https_github_com_nodejs_node_issues_31889` | +| uses V8 native %GetUndetectable() syntax which QuickJS cannot evaluate | 1 | `parallel/test-util-inspect.js#block_93_https_github_com_nodejs_node_issues_31889` | | uses child_process spawn path (spawnPromisified) | 1 | `parallel/test-find-package-json.js#test_07_should_be_able_to_resolve_both_root_and_closest_package_json` | | util.MIMEType parsing API is not implemented | 1 | `parallel/test-mime-whatwg.js` | -| util.MIMEType/util.MIMEParams are not implemented | 1 | `parallel/test-mime-api.js` | | util.debuglog formatting/callback behavior is not fully Node-compatible | 1 | `sequential/test-util-debug.js` | | util.getSystemErrorName is not implemented | 1 | `parallel/test-child-process-execfile.js#block_01_block_01` | | v8.setFlagsFromString argument validation error fidelity is incomplete | 1 | `parallel/test-v8-flag-type-check.js` | | valid EC key vectors fail to import | 1 | `parallel/test-webcrypto-export-import-ec.js#block_00_block_00` | -| verify() returns non-Node error code/message for unsupported key types | 1 | `parallel/test-crypto-sign-verify.js#block_18_block_18` | | vm context global object identity/proxy semantics differ from Node | 1 | `parallel/test-vm-global-identity.js` | | vm context prototype chain and own-property lookup semantics are incomplete | 1 | `parallel/test-vm-global-property-prototype.js` | | vm contexts do not provide the expected per-context Proxy behavior | 1 | `parallel/test-vm-proxies.js` | @@ -1305,6 +1764,7 @@ Secondary full-public compatibility, including public tests that are currently e | wasi:http client does not surface llhttp parse errors/rawPacket for malformed raw TCP responses | 1 | `parallel/test-http-client-error-rawbytes.js` | | wasi:http client does not surface llhttp parser errors for malformed raw TCP responses | 1 | `parallel/test-http-client-parse-error.js` | | wasi:http client does not translate an incomplete response after server request destruction into the expected ECONNRESET request error | 1 | `parallel/test-http-server-incomingmessage-destroy.js` | +| wasi:http request body is not finalized/sent until end(), so write()-only request flow diverges from Node | 1 | `parallel/test-http-outgoing-destroyed.js#block_02_block_02` | | wasi:http response header filtering strips headers like Host/Proxy-Authorization, so duplicate-header expectations diverge | 1 | `parallel/test-http-response-multiheaders.js` | | wasi:http strips forbidden hop-by-hop headers like Connection, so automatic response headers differ | 1 | `parallel/test-http-automatic-headers.js` | | wasi:http strips hop-by-hop response headers, so 'Keep-Alive' is not visible to node:http clients | 1 | `parallel/test-http-keep-alive-timeout-custom.js` | @@ -1317,30 +1777,27 @@ Secondary full-public compatibility, including public tests that are currently e | write-after-remote-close error propagation (ECONNRESET/EPIPE) and cleanup are incomplete | 1 | `parallel/test-http-destroyed-socket-write2.js` | | zlib decompressor handling of trailing garbage/premature end differs from Node | 1 | `parallel/test-zlib-premature-end.js` | | zlib flush() interaction with writable needDrain/backpressure differs from Node | 1 | `parallel/test-zlib-flush-drain-longblock.js` | -| zlib invalid compressed input error event/callback behavior differs from Node | 1 | `parallel/test-zlib-invalid-input.js` | -| zlib stream bytesWritten/bytesRead accounting and end/data callbacks differ from Node | 1 | `parallel/test-zlib-bytes-read.js` | -### WASI-impossible (1192) +### WASI-impossible (1148) | Reason | Count | Example entries | |--------|-------|-----------------| -| tls/https is not supported in WebAssembly environment | 182 | `parallel/test-https-agent-create-connection.js#block_00_use_option_connect`, `parallel/test-https-agent-create-connection.js#block_01_use_port_and_option_connect`, `parallel/test-https-agent-create-connection.js#block_02_use_port_and_host_and_option_connect`, ... (+179) | +| tls/https is not supported in WebAssembly environment | 175 | `parallel/test-https-agent-create-connection.js#block_00_use_option_connect`, `parallel/test-https-agent-create-connection.js#block_01_use_port_and_option_connect`, `parallel/test-https-agent-create-connection.js#block_02_use_port_and_host_and_option_connect`, ... (+172) | | inspector/debugger is not available in WASM | 104 | `parallel/test-debugger-backtrace.js`, `parallel/test-debugger-break.js`, `parallel/test-debugger-breakpoint-exists.js`, ... (+101) | -| cluster requires process forking, not available in WASM | 96 | `parallel/test-cluster-advanced-serialization.js`, `parallel/test-cluster-basic.js`, `parallel/test-cluster-bind-privileged-port.js`, ... (+93) | +| cluster requires process forking, not available in WASM | 95 | `parallel/test-cluster-advanced-serialization.js`, `parallel/test-cluster-basic.js`, `parallel/test-cluster-bind-privileged-port.js`, ... (+92) | | [manual] http2/https not implemented | 89 | `parallel/test-http2-allow-http1.js`, `parallel/test-http2-altsvc.js`, `parallel/test-http2-async-local-storage.js`, ... (+86) | | requires worker_threads which is not available in WASM | 68 | `parallel/test-async-hooks-worker-asyncfn-terminate-1.js`, `parallel/test-async-hooks-worker-asyncfn-terminate-2.js`, `parallel/test-async-hooks-worker-asyncfn-terminate-3.js`, ... (+65) | | node:http2 is a stub in WebAssembly runtime | 59 | `parallel/test-http2-compat-serverresponse-end.js#block_00_block_00`, `parallel/test-http2-compat-serverresponse-end.js#block_01_block_01`, `parallel/test-http2-compat-serverresponse-end.js#block_02_block_02`, ... (+56) | -| requires child_process which is not available in WASM | 49 | `parallel/test-child-process-advanced-serialization-largebuffer.js`, `parallel/test-child-process-advanced-serialization-splitted-length-field.js`, `parallel/test-child-process-advanced-serialization.js`, ... (+46) | +| requires child_process which is not available in WASM | 48 | `parallel/test-child-process-advanced-serialization-largebuffer.js`, `parallel/test-child-process-advanced-serialization-splitted-length-field.js`, `parallel/test-child-process-advanced-serialization.js`, ... (+45) | | worker_threads is not supported in WASM | 47 | `parallel/test-worker-broadcastchannel-wpt.js#block_00_block_00`, `parallel/test-worker-broadcastchannel-wpt.js#block_01_block_01`, `parallel/test-worker-broadcastchannel-wpt.js#block_02_block_02`, ... (+44) | -| REPL requires interactive terminal, not available in WASM | 44 | `parallel/test-repl-clear-immediate-crash.js`, `parallel/test-repl-cli-eval.js`, `parallel/test-repl-colors.js`, ... (+41) | +| REPL requires interactive terminal, not available in WASM | 39 | `parallel/test-repl-clear-immediate-crash.js`, `parallel/test-repl-cli-eval.js`, `parallel/test-repl-colors.js`, ... (+36) | | requires https.createServer/TLS server behavior, unsupported by WASI transport | 32 | `parallel/test-https-byteswritten.js`, `parallel/test-https-client-checkServerIdentity.js`, `parallel/test-https-client-get-url.js`, ... (+29) | -| Node.js SEA packaging, not available in WASM | 28 | `parallel/test-single-executable-blob-config-errors.js#block_00_block_00`, `parallel/test-single-executable-blob-config-errors.js#block_01_block_01`, `parallel/test-single-executable-blob-config-errors.js#block_02_block_02`, ... (+25) | -| repl is not supported in WASM | 21 | `parallel/test-repl-autolibs.js`, `parallel/test-repl-domain.js`, `parallel/test-repl-editor.js`, ... (+18) | +| repl is not supported in WASM | 22 | `parallel/test-repl-autolibs.js`, `parallel/test-repl-domain.js`, `parallel/test-repl-editor.js`, ... (+19) | | inherited: requires child_process which is not available in WASM | 20 | `parallel/test-child-process-constructor.js#block_00_block_00`, `parallel/test-child-process-constructor.js#block_01_block_01`, `parallel/test-child-process-constructor.js#block_02_block_02`, ... (+17) | -| tls is not supported in WebAssembly environment | 16 | `parallel/test-double-tls-client.js`, `parallel/test-double-tls-server.js`, `parallel/test-gc-tls-external-memory.js`, ... (+13) | | http2 is not supported in WebAssembly environment | 15 | `parallel/test-h2-large-header-cause-client-to-hangup.js`, `parallel/test-h2leak-destroy-session-on-socket-ended.js`, `parallel/test-http2-alpn.js#block_00_block_00`, ... (+12) | | requires TLS-enabled HTTP/2 server (createSecureServer), unsupported in WASI runtime | 15 | `parallel/test-http2-https-fallback-http-server-options.js`, `parallel/test-http2-https-fallback.js#block_00_http_2_http_1_1_server`, `parallel/test-http2-https-fallback.js#block_01_http_2_only_server`, ... (+12) | -| V8 profiling, not available in WASM | 12 | `sequential/test-cpu-prof-default.js`, `sequential/test-cpu-prof-dir-absolute.js`, `sequential/test-cpu-prof-dir-and-name.js`, ... (+9) | +| tls is not supported in WebAssembly environment | 15 | `parallel/test-double-tls-client.js`, `parallel/test-double-tls-server.js`, `parallel/test-gc-tls-external-memory.js`, ... (+12) | +| V8 profiling, not available in WASM | 13 | `sequential/test-cpu-prof-default.js`, `sequential/test-cpu-prof-dir-absolute.js`, `sequential/test-cpu-prof-dir-and-name.js`, ... (+10) | | requires spawning a real Node.js CLI process with `--test` | 11 | `parallel/test-runner-cli.js#block_00_block_00`, `parallel/test-runner-cli.js#block_01_block_01`, `parallel/test-runner-cli.js#block_02_block_02`, ... (+8) | | inspector/heap profiler is not available in WASM | 10 | `parallel/test-heap-prof-basic.js`, `parallel/test-heap-prof-dir-absolute.js`, `parallel/test-heap-prof-dir-name.js`, ... (+7) | | requires --abort-on-uncaught-exception child-process abort behavior | 10 | `parallel/test-domain-no-error-handler-abort-on-uncaught-0.js`, `parallel/test-domain-no-error-handler-abort-on-uncaught-1.js`, `parallel/test-domain-no-error-handler-abort-on-uncaught-2.js`, ... (+7) | @@ -1355,6 +1812,7 @@ Secondary full-public compatibility, including public tests that are currently e | wasi:http does not support HTTP Upgrade/101 socket takeover for node:http clients | 5 | `parallel/test-http-upgrade-advertise.js`, `parallel/test-http-upgrade-agent.js`, `parallel/test-http-upgrade-binary.js`, ... (+2) | | inherited: Windows UNC path behavior is not applicable to the WASI runtime | 4 | `parallel/test-permission-fs-windows-path.js#block_00_block_00`, `parallel/test-permission-fs-windows-path.js#block_01_block_01`, `parallel/test-permission-fs-windows-path.js#block_02_block_02`, ... (+1) | | inherited: requires worker_threads.BroadcastChannel, unavailable without threads in WASM | 4 | `parallel/test-broadcastchannel-custom-inspect.js#block_00_block_00`, `parallel/test-broadcastchannel-custom-inspect.js#block_01_block_01`, `parallel/test-broadcastchannel-custom-inspect.js#block_02_block_02`, ... (+1) | +| requires >32-bit buffer index range behavior unavailable in wasm32 | 4 | `parallel/test-buffer-tostring-range.js#block_00_test_hex_base64_base64url_partial_range_encoding_exercises_v`, `parallel/test-buffer-tostring-range.js#block_01_block_01`, `parallel/test-buffer-tostring-range.js#block_02_block_02`, ... (+1) | | requires http.request({ createConnection }) to parse a response from an arbitrary Duplex; node:http outbound requests always use wasi:http | 4 | `parallel/test-http-insecure-parser-per-stream.js#block_00_test_1_the_server_sends_an_invalid_header`, `parallel/test-http-insecure-parser-per-stream.js#block_01_test_2_the_same_as_test_1_except_without_the_option_to_make_`, `parallel/test-http-max-header-size-per-stream.js#block_00_test_1_the_server_sends_larger_headers_than_what_would_other`, ... (+1) | | requires https.request({ createConnection }) with an arbitrary Duplex transport; outbound requests always use wasi:http | 4 | `parallel/test-https-insecure-parse-per-stream.js#block_00_test_1_the_server_sends_an_invalid_header`, `parallel/test-https-insecure-parse-per-stream.js#block_01_test_2_the_same_as_test_1_except_without_the_option_to_make_`, `parallel/test-https-max-header-size-per-stream.js#block_00_test_1_the_server_sends_larger_headers_than_what_would_other`, ... (+1) | | Requires real Worker execution; constructing an inert Worker is not supported | 3 | `parallel/test-trace-events-api-worker-disabled.js`, `parallel/test-trace-events-worker-metadata-with-name.js`, `parallel/test-trace-events-worker-metadata.js` | @@ -1409,7 +1867,6 @@ Secondary full-public compatibility, including public tests that are currently e | depends on real worker_threads exit semantics which require a separate JS context (not available in single-threaded WASM) | 1 | `parallel/test-worker-cleanexit-with-moduleload.js` | | depends on real worker_threads exit-event behavior across a separate JS context, which is not available in single-threaded WASM | 1 | `parallel/test-worker-on-process-exit.js` | | depends on real worker_threads terminate() interrupting an in-flight DNS query, which is not available in single-threaded WASM | 1 | `parallel/test-worker-dns-terminate-during-query.js` | -| depends on worker_threads-based event loop utilization behavior | 1 | `parallel/test-performance-eventlooputil.js` | | host signal delivery and SIGINT interruption semantics are not available in WASI | 1 | `parallel/test-sigint-infinite-loop.js` | | http2 is not implemented | 1 | `parallel/test-http2-compat-client-upload-reject.js` | | https.createServer (TLS server) is not supported in WebAssembly environment | 1 | `sequential/test-https-connect-localport.js` | @@ -1420,10 +1877,8 @@ Secondary full-public compatibility, including public tests that are currently e | process.kill signal delivery is not supported in WASI | 1 | `parallel/test-signal-args.js` | | process.kill signal handling is not supported in WASI | 1 | `parallel/test-signal-handler.js` | | requires >32-bit address space/large allocations unavailable in wasm32 | 1 | `parallel/test-fs-write-buffer-large.js` | -| requires >32-bit buffer index range behavior unavailable in wasm32 | 1 | `parallel/test-buffer-tostring-range.js` | | requires Agent.createConnection to create and configure a raw client socket; node:http outbound requests always use wasi:http | 1 | `parallel/test-http-agent-keepalive-delay.js` | | requires Agent.createConnection to create and expose a raw client socket; node:http outbound requests always use wasi:http | 1 | `parallel/test-http-agent-abort-controller.js` | -| requires Atomics.wait tracing across worker threads | 1 | `parallel/test-trace-atomics-wait.js` | | requires Atomics/SharedArrayBuffer support, unavailable without threads in WASM | 1 | `parallel/test-atomics-wake.js` | | requires FIPS-enabled OpenSSL build | 1 | `parallel/test-dsa-fips-invalid-key.js` | | requires HTTP CONNECT tunnel socket data forwarding; node:http outbound requests always use wasi:http | 1 | `parallel/test-http-connect.js` | @@ -1432,7 +1887,6 @@ Secondary full-public compatibility, including public tests that are currently e | requires HTTP Upgrade socket takeover plus tls.TLSSocket, unavailable in WASI | 1 | `parallel/test-http-upgrade-reconsume-stream.js` | | requires HTTP/0.9 raw TCP responses (no headers), which wasi:http cannot represent | 1 | `parallel/test-http-response-no-headers.js` | | requires HTTPS server-side SNI behavior, unsupported by WASI transport | 1 | `parallel/test-https-agent-sni.js` | -| requires Linux abstract UNIX socket tracing | 1 | `parallel/test-trace-events-net-abstract-socket.js` | | requires Linux strace syscall tracing | 1 | `parallel/test-strace-openat-openssl.js` | | requires POSIX RLIMIT_FSIZE/SIGXFSZ behavior via /bin/sh ulimit | 1 | `parallel/test-fs-write-sigxfsz.js` | | requires TLS keylog/server socket behavior, unsupported by WASI transport | 1 | `parallel/test-https-agent-keylog.js` | @@ -1465,7 +1919,6 @@ Secondary full-public compatibility, including public tests that are currently e | requires custom Agent.createConnection to parse a response from an arbitrary Duplex; node:http outbound requests always use wasi:http | 1 | `parallel/test-http-client-readable.js` | | requires custom Agent.createConnection to surface errors from a raw socket; node:http outbound requests always use wasi:http | 1 | `parallel/test-http-client-abort3.js#block_01_block_01` | | requires execSync/ps subprocess behavior not available in WASM | 1 | `parallel/test-setproctitle.js` | -| requires external OpenSSL CLI via child_process.exec | 1 | `parallel/test-crypto-sign-verify.js#block_13_early_if_no_openssl_binary_is_found` | | requires external shell pipeline and cat subprocess via child_process | 1 | `parallel/test-http-chunk-problem.js` | | requires external shell pipeline tooling (e.g. head), unavailable in WASM | 1 | `parallel/test-pipe-head.js` | | requires external touch/date commands via child_process.spawnSync | 1 | `parallel/test-fs-utimes-y2K38.js` | @@ -1481,7 +1934,6 @@ Secondary full-public compatibility, including public tests that are currently e | requires https.createServer not supported | 1 | `parallel/test-http-request-agent.js` | | requires https.createServer/TLS server support, unavailable in WASI runtime | 1 | `parallel/test-http-url.parse-https.request.js` | | requires https.createServer/TLSSocket server support, unavailable in WebAssembly | 1 | `parallel/test-async-wrap-tlssocket-asyncreset.js` | -| requires libuv threadpool trace categories | 1 | `parallel/test-trace-events-threadpool.js` | | requires macOS App Sandbox and codesign tooling outside WASI | 1 | `parallel/test-macos-app-sandbox.js` | | requires raw TLS handshake/protocol-mismatch behavior (HTTPS client to HTTP server), unavailable with wasi:http | 1 | `parallel/test-https-connecting-to-http.js` | | requires real child_process for fork/event-loop-exit semantics | 1 | `parallel/test-pipe-unref.js` | @@ -1505,7 +1957,6 @@ Secondary full-public compatibility, including public tests that are currently e | requires worker_threads stdout/execArgv behavior not available in WASM | 1 | `parallel/test-process-exec-argv.js` | | requires worker_threads to flood invalid frames; worker_threads is unavailable in WASM | 1 | `parallel/test-http2-reset-flood.js` | | requires worker_threads to interrupt generatePrime; worker_threads is unavailable in WASM | 1 | `parallel/test-crypto-prime.js#block_09_block_09` | -| requires worker_threads trace propagation | 1 | `parallel/test-trace-events-async-hooks-worker.js` | | requires worker_threads, which are unavailable in WASM | 1 | `sequential/test-vm-break-on-sigint.js` | | requires worker_threads/native addon process isolation semantics, which are not available in single-threaded WASM | 1 | `es-module/test-esm-no-addons.mjs` | | sending host process signals is not supported in WASI | 1 | `parallel/test-process-kill-null.js` | @@ -1535,17 +1986,17 @@ Secondary full-public compatibility, including public tests that are currently e | vm.measureMemory depends on V8 heap introspection APIs unavailable in QuickJS | 6 | `parallel/test-vm-measure-memory-lazy.js#block_00_or_otherwise_these_may_not_resolve`, `parallel/test-vm-measure-memory-lazy.js#block_01_block_01`, `parallel/test-vm-measure-memory-lazy.js#block_02_block_02`, ... (+3) | | inherited: v8.queryObjects is a V8-specific heap introspection API unavailable in QuickJS | 5 | `parallel/test-v8-query-objects.js#block_00_block_00`, `parallel/test-v8-query-objects.js#block_01_block_01`, `parallel/test-v8-query-objects.js#block_02_block_02`, ... (+2) | | requires V8 --expose_externalize_string globals | 5 | `parallel/test-fs-write.js#block_00_block_00`, `parallel/test-fs-write.js#block_01_block_01`, `parallel/test-fs-write.js#block_02_block_02`, ... (+2) | +| v8.writeHeapSnapshot/getHeapSnapshot are V8-specific APIs and unavailable in QuickJS | 5 | `sequential/test-heapdump.js#block_00_block_00`, `sequential/test-heapdump.js#block_01_block_01`, `sequential/test-heapdump.js#block_02_block_02`, ... (+2) | | v8.GCProfiler is V8-specific and unavailable in QuickJS | 4 | `parallel/test-v8-collect-gc-profile-exit-before-stop.js#block_00_test_if_it_makes_the_process_crash`, `parallel/test-v8-collect-gc-profile-exit-before-stop.js#block_01_block_01`, `parallel/test-v8-collect-gc-profile-in-worker.js`, ... (+1) | -| v8.writeHeapSnapshot/getHeapSnapshot are V8-specific APIs and unavailable in QuickJS | 4 | `sequential/test-heapdump.js#block_00_block_00`, `sequential/test-heapdump.js#block_01_block_01`, `sequential/test-heapdump.js#block_02_block_02`, ... (+1) | | QuickJS does not mirror V8's legacy RegExp static properties initialization | 3 | `parallel/test-startup-empty-regexp-statics.js#block_00_block_00`, `parallel/test-startup-empty-regexp-statics.js#block_01_block_01`, `parallel/test-startup-empty-regexp-statics.js#block_02_block_02` | | targets V8 external string internals/limits that QuickJS does not replicate | 3 | `parallel/test-stringbytes-external.js#block_00_block_00`, `parallel/test-stringbytes-external.js#block_01_block_01`, `parallel/test-stringbytes-external.js#block_02_https_github_com_nodejs_node_issues_1024` | | uses common/gc checkIfCollectable, which is replaced by a non-observing WASM shim and cannot verify collection | 3 | `es-module/test-vm-compile-function-leak.js`, `es-module/test-vm-contextified-script-leak.js`, `es-module/test-vm-synthetic-module-leak.js` | | --heapsnapshot-signal depends on V8 heap snapshot support, unavailable in QuickJS | 2 | `sequential/test-heapdump-flag-custom-dir.js`, `sequential/test-heapdump-flag.js` | -| --use-largepages is a V8 startup flag not applicable to QuickJS/WASM | 2 | `parallel/test-startup-large-pages.js#block_00_block_00`, `parallel/test-startup-large-pages.js#block_01_block_01` | | uses common/gc checkIfCollectableByCounting, which depends on V8-only v8.queryObjects | 2 | `es-module/test-vm-source-text-module-leak.js`, `parallel/test-diagnostics-channel-memory-leak.js` | | v8.getHeapSnapshot is V8-specific and unavailable in QuickJS | 2 | `parallel/test-heapdump-async-hooks-init-promise.js`, `parallel/test-v8-getheapsnapshot-twice.js` | | v8.serialize/deserialize are V8-specific and unavailable in QuickJS | 2 | `parallel/test-v8-deserialize-buffer.js`, `parallel/test-v8-serialize-leak.js` | | v8.writeHeapSnapshot is a V8-specific API and is unavailable in QuickJS | 2 | `parallel/test-permission-fs-write-v8.js#block_00_block_00`, `parallel/test-permission-fs-write-v8.js#block_01_block_01` | +| --use-largepages is a V8 startup flag not applicable to QuickJS/WASM | 1 | `parallel/test-startup-large-pages.js` | | GC observability used by common/gc.onGC is not available in the QuickJS/WASM runtime | 1 | `parallel/test-net-connect-memleak.js` | | QuickJS await/promise-hook semantics differ from V8, so AsyncLocalStorage runStores context is lost across await boundaries | 1 | `parallel/test-diagnostics-channel-tracing-channel-promise-run-stores.js` | | QuickJS private-field TypeError message text differs from V8 | 1 | `parallel/test-runner-mocking.js#test_21_mocks_a_constructor` | @@ -1566,26 +2017,30 @@ Secondary full-public compatibility, including public tests that are currently e | vm.Script.createCachedData relies on V8 code cache internals unavailable in QuickJS | 1 | `parallel/test-vm-createcacheddata.js` | | vm.SourceTextModule dynamic import referrer realm semantics depend on Node VM realm behavior not modeled by the QuickJS host | 1 | `parallel/test-vm-module-referrer-realm.mjs` | -### unevaluated (0) +### unevaluated (3845) -_No entries._ +| Reason | Count | Example entries | +|--------|-------|-----------------| +| newly discovered, not yet evaluated | 3636 | `es-module/test-cjs-defer-static-import-eval.mjs`, `es-module/test-defer-import-builtin-module.mjs`, `es-module/test-defer-import-eval-with-tla.mjs`, ... (+3633) | +| newly discovered subtest, not yet evaluated | 209 | `es-module/test-esm-json.mjs#test_01_should_load_json_with_import_calls`, `parallel/test-assert-deep.js#test_01_loose_deepequal`, `parallel/test-assert-deep.js#test_08_deepstrictequal_handles_shared_expected_array_elements_after`, ... (+206) | -### Node.js internals (1101) +### Node.js internals (1175) | Reason | Count | Example entries | |--------|-------|-----------------| -| requires --expose-internals and internal/webstreams/readablestream | 82 | `parallel/test-whatwg-readablestream.js#block_00_block_00`, `parallel/test-whatwg-readablestream.js#block_01_block_01`, `parallel/test-whatwg-readablestream.js#block_02_block_02`, ... (+79) | +| requires --expose-internals and internal/webstreams/readablestream | 81 | `parallel/test-whatwg-readablestream.js#block_00_block_00`, `parallel/test-whatwg-readablestream.js#block_01_block_01`, `parallel/test-whatwg-readablestream.js#block_02_block_02`, ... (+78) | | requires internal/util/inspect via --expose-internals | 78 | `parallel/test-readline-interface.js#block_00_block_00`, `parallel/test-readline-interface.js#block_01_block_01`, `parallel/test-readline-interface.js#block_02_block_02`, ... (+75) | +| requires --expose-internals plus internal/test/binding internalBinding('js_stream'/'util') | 61 | `parallel/test-util-inspect.js#block_00_special_function_inspection`, `parallel/test-util-inspect.js#block_01_block_01`, `parallel/test-util-inspect.js#block_02_block_02`, ... (+58) | | requires --expose-internals and internal/webstreams/adapters | 60 | `parallel/test-whatwg-webstreams-adapters-streambase.js#block_00_block_00`, `parallel/test-whatwg-webstreams-adapters-streambase.js#block_01_block_01`, `parallel/test-whatwg-webstreams-adapters-streambase.js#block_02_block_02`, ... (+57) | -| inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs | 57 | `parallel/test-eventtarget.js#block_00_first_test_event`, `parallel/test-eventtarget.js#block_01_block_01`, `parallel/test-eventtarget.js#block_02_block_02`, ... (+54) | -| requires --expose-internals plus internal/test/binding internalBinding('js_stream'/'util') | 43 | `parallel/test-util-inspect.js#block_00_special_function_inspection`, `parallel/test-util-inspect.js#block_01_block_01`, `parallel/test-util-inspect.js#block_02_block_02`, ... (+40) | +| inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs | 53 | `parallel/test-eventtarget.js#block_00_first_test_event`, `parallel/test-eventtarget.js#block_01_block_01`, `parallel/test-eventtarget.js#block_02_block_02`, ... (+50) | +| missing reason | 46 | `parallel/test-cli-node-options-disallowed.js`, `parallel/test-crypto-key-objects-to-crypto-key.js`, `parallel/test-fs-syncwritestream.js`, ... (+43) | | uses --expose-internals with internal/test/binding (internalBinding('uv')) | 32 | `parallel/test-fs-copyfile.js`, `parallel/test-fs-error-messages.js#block_00_stat`, `parallel/test-fs-error-messages.js#block_01_lstat`, ... (+29) | +| requires internal/test/binding and internalBinding('js_stream') | 28 | `parallel/test-util-types.js#block_00_block_00`, `parallel/test-util-types.js#block_01_block_01`, `parallel/test-util-types.js#block_02_block_02`, ... (+25) | +| requires --expose-internals and internal/crypto/webidl | 24 | `parallel/test-webcrypto-webidl.js#block_00_required_arguments_length`, `parallel/test-webcrypto-webidl.js#block_01_boolean`, `parallel/test-webcrypto-webidl.js#block_02_https_webidl_spec_whatwg_org_abstract_opdef_converttoint`, ... (+21) | | validates Node repository ESLint tooling/rules under tools/, not runtime API | 24 | `parallel/test-eslint-alphabetize-errors.js`, `parallel/test-eslint-alphabetize-primordials.js`, `parallel/test-eslint-async-iife-no-unused-result.js`, ... (+21) | | inherited: requires --expose-internals and internal/event_target | 23 | `parallel/test-nodeeventtarget.js#block_00_block_00`, `parallel/test-nodeeventtarget.js#block_01_block_01`, `parallel/test-nodeeventtarget.js#block_02_block_02`, ... (+20) | -| missing reason | 21 | `parallel/test-cli-node-options-disallowed.js`, `parallel/test-crypto-prime.js#block_00_block_00`, `parallel/test-crypto-prime.js#block_01_block_01`, ... (+18) | | depends on internal/util.customPromisifyArgs symbol | 19 | `parallel/test-util-promisify.js#block_00_block_00`, `parallel/test-util-promisify.js#block_01_block_01`, `parallel/test-util-promisify.js#block_02_block_02`, ... (+16) | | inherited: requires internal/event_target, ERR_INVALID_ARG_TYPE validation, returnValue/cancelBubble/srcElement properties | 19 | `parallel/test-events-customevent.js#block_00_block_00`, `parallel/test-events-customevent.js#block_02_block_02`, `parallel/test-events-customevent.js#block_03_block_03`, ... (+16) | -| requires --expose-internals and internal/crypto/webidl | 19 | `parallel/test-webcrypto-webidl.js#block_00_required_arguments_length`, `parallel/test-webcrypto-webidl.js#block_01_boolean`, `parallel/test-webcrypto-webidl.js#block_02_https_webidl_spec_whatwg_org_abstract_opdef_converttoint`, ... (+16) | | requires internalBinding('async_wrap') | 18 | `sequential/test-async-wrap-getasyncid.js#block_00_make_sure_that_all_providers_are_tested`, `sequential/test-async-wrap-getasyncid.js#block_01_block_01`, `sequential/test-async-wrap-getasyncid.js#block_02_block_02`, ... (+15) | | requires --expose-internals and internal/event_target | 15 | `parallel/test-events-on-async-iterator.js`, `parallel/test-eventtarget-brandcheck.js`, `parallel/test-global-customevent.js`, ... (+12) | | requires --expose-internals and internal/worker/js_transferable | 15 | `parallel/test-whatwg-transformstream.js#block_00_block_00`, `parallel/test-whatwg-transformstream.js#block_01_block_01`, `parallel/test-whatwg-transformstream.js#block_02_block_02`, ... (+12) | @@ -1599,54 +2054,51 @@ _No entries._ | requires --expose-internals and internal/webstreams/util (kState) | 11 | `parallel/test-whatwg-readablebytestream.js#block_00_block_00`, `parallel/test-whatwg-readablebytestream.js#block_01_block_01`, `parallel/test-whatwg-readablebytestream.js#block_02_block_02`, ... (+8) | | uses --expose-internals and internal/errors/internal/validators | 11 | `parallel/test-errors-hide-stack-frames.js#block_00_block_00`, `parallel/test-errors-hide-stack-frames.js#block_01_block_01`, `parallel/test-errors-hide-stack-frames.js#block_02_block_02`, ... (+8) | | inherited: requires --expose-internals and internal/socket_list | 10 | `parallel/test-internal-socket-list-receive.js#block_00_verify_that_the_message_won_t_be_sent_when_child_is_not_conn`, `parallel/test-internal-socket-list-receive.js#block_01_verify_that_a_node_socket_all_closed_message_will_be_sent`, `parallel/test-internal-socket-list-receive.js#block_02_verify_that_a_node_socket_count_message_will_be_sent`, ... (+7) | -| inherited: requires --expose-internals and internal/crypto/webidl | 9 | `parallel/test-webcrypto-webidl.js#block_19_hmackeygenparams_hmacimportparams`, `parallel/test-webcrypto-webidl.js#block_20_aeskeygenparams_aesderivedkeyparams`, `parallel/test-webcrypto-webidl.js#block_21_hkdfparams`, ... (+6) | +| requires --expose-internals, inspect integration, and internal EventTarget APIs | 10 | `parallel/test-eventtarget.js#block_13_block_13`, `parallel/test-eventtarget.js#block_14_block_14`, `parallel/test-eventtarget.js#block_15_block_15`, ... (+7) | | requires internal/http2/util and internalBinding('http2') constants | 9 | `parallel/test-http2-util-headers-list.js#block_00_block_00`, `parallel/test-http2-util-headers-list.js#block_01_block_01`, `parallel/test-http2-util-headers-list.js#block_02_block_02`, ... (+6) | | requires internal/http2/util kSocket and internal HTTP2 state | 9 | `parallel/test-http2-client-destroy.js#block_00_block_00`, `parallel/test-http2-client-destroy.js#block_01_test_destroy_before_client_operations`, `parallel/test-http2-client-destroy.js#block_02_test_destroy_before_goaway`, ... (+6) | | inherited: requires --expose-internals and internal/fs/sync_write_stream | 8 | `parallel/test-internal-fs-syncwritestream.js#block_00_verify_constructing_the_instance_with_default_options`, `parallel/test-internal-fs-syncwritestream.js#block_01_verify_constructing_the_instance_with_specified_options`, `parallel/test-internal-fs-syncwritestream.js#block_02_verify_that_the_file_will_be_written_synchronously`, ... (+5) | | inherited: uses --expose-internals and internal/test/binding primordials | 8 | `parallel/test-primordials-apply.js#block_00_block_00`, `parallel/test-primordials-apply.js#block_01_block_01`, `parallel/test-primordials-apply.js#block_02_block_02`, ... (+5) | -| requires internal/crypto/util | 8 | `parallel/test-webcrypto-keygen.js#block_00_test_invalid_algorithms`, `parallel/test-webcrypto-keygen.js#block_01_test_bad_usages`, `parallel/test-webcrypto-keygen.js#block_02_test_rsa_key_generation`, ... (+5) | +| requires internal/crypto/util | 8 | `parallel/test-webcrypto-keygen.js#block_00_test_invalid_algorithms`, `parallel/test-webcrypto-keygen.js#block_01_test_bad_usages`, `parallel/test-webcrypto-keygen.js#block_03_test_rsa_key_generation`, ... (+5) | | uses --expose-internals and internal/errors | 8 | `parallel/test-error-aggregateTwoErrors.js#block_00_block_00`, `parallel/test-error-aggregateTwoErrors.js#block_01_block_01`, `parallel/test-error-aggregateTwoErrors.js#block_02_block_02`, ... (+5) | | uses --expose-internals and require('internal/repl') | 8 | `parallel/test-repl-autocomplete.js`, `parallel/test-repl-envvars.js`, `parallel/test-repl-history-navigation.js`, ... (+5) | +| inherited: requires --expose-internals and internal/crypto/webidl | 7 | `parallel/test-webcrypto-webidl.js#block_20_hmackeygenparams_hmacimportparams`, `parallel/test-webcrypto-webidl.js#block_21_aeskeygenparams_aesderivedkeyparams`, `parallel/test-webcrypto-webidl.js#block_22_hkdfparams`, ... (+4) | | requires --expose-internals and internal/js_stream_socket | 7 | `parallel/test-wrap-js-stream-destroy.js#block_00_close_events_and_vice_versa`, `parallel/test-wrap-js-stream-destroy.js#block_01_destroy_the_streamwrap_and_test_again`, `parallel/test-wrap-js-stream-destroy.js#block_02_destroy_the_client_socket_and_test_again`, ... (+4) | +| requires --expose-internals and internal/test_runner/snapshot | 7 | `parallel/test-runner-snapshot-tests.js#test_00_snapshotmanager`, `parallel/test-runner-snapshot-tests.js#test_01_t_assert_snapshot_validation`, `parallel/test-runner-snapshot-tests.js#test_02_setresolvesnapshotpath`, ... (+4) | | requires --expose-internals and internalBinding('cares_wrap') | 7 | `parallel/test-dns-default-order-ipv4.js`, `parallel/test-dns-default-order-ipv6.js`, `parallel/test-dns-default-order-verbatim.js`, ... (+4) | | requires internal/event_target, ERR_INVALID_ARG_TYPE validation, returnValue/cancelBubble/srcElement properties | 7 | `parallel/test-events-customevent.js#block_01_block_01`, `parallel/test-events-customevent.js#block_13_block_13`, `parallel/test-events-customevent.js#block_14_block_14`, ... (+4) | -| requires internal/http kOutHeaders symbol | 7 | `parallel/test-http-outgoing-internal-headers.js#block_00_block_00`, `parallel/test-http-outgoing-internal-headers.js#block_01_block_01`, `parallel/test-http-outgoing-internal-headers.js#block_02_block_02`, ... (+4) | | uses --expose-internals and require('internal/http2/util') | 7 | `parallel/test-http2-client-socket-destroy.js`, `parallel/test-http2-create-client-secure-session.js`, `parallel/test-http2-server-http1-client.js`, ... (+4) | +| uses internal/test/binding UV constants and watcher._handle internals | 7 | `parallel/test-fs-watch-enoent.js#block_00_block_00`, `parallel/test-fs-watch-enoent.js#block_01_block_01`, `parallel/test-fs-watch-enoent.js#block_02_block_02`, ... (+4) | | inherited: uses --expose-internals, internal/test/binding, and internal/dgram handle internals | 6 | `parallel/test-handle-wrap-hasref.js#block_00_child_process`, `parallel/test-handle-wrap-hasref.js#block_01_dgram_ipv4`, `parallel/test-handle-wrap-hasref.js#block_02_dgram_ipv6`, ... (+3) | -| requires --expose-internals and internal/test_runner/snapshot | 6 | `parallel/test-runner-snapshot-tests.js#test_00_snapshotmanager`, `parallel/test-runner-snapshot-tests.js#test_01_t_assert_snapshot_validation`, `parallel/test-runner-snapshot-tests.js#test_02_setresolvesnapshotpath`, ... (+3) | +| requires --expose-internals, internal/fs/utils, and internal/test/binding constants.fs | 6 | `parallel/test-fs-utils-get-dirents.js#block_04_block_04`, `parallel/test-fs-utils-get-dirents.js#block_05_getdirent`, `parallel/test-fs-utils-get-dirents.js#block_06_block_06`, ... (+3) | | requires internal/timers | 6 | `parallel/test-timers-refresh.js#block_00_unref_d_timer`, `parallel/test-timers-refresh.js#block_01_should_throw_with_non_functions`, `parallel/test-timers-refresh.js#block_02_unref_pooled_timer`, ... (+3) | | uses --expose-internals and internal/errors SystemError | 6 | `parallel/test-errors-systemerror-frozen-intrinsics.js`, `parallel/test-errors-systemerror-stackTraceLimit-custom-setter.js`, `parallel/test-errors-systemerror-stackTraceLimit-deleted-and-Error-sealed.js`, ... (+3) | | directly tests internal/fs/utils validateOffsetLength* helpers | 5 | `parallel/test-fs-util-validateoffsetlength.js#block_00_block_00`, `parallel/test-fs-util-validateoffsetlength.js#block_01_block_01`, `parallel/test-fs-util-validateoffsetlength.js#block_02_block_02`, ... (+2) | +| imports internal/fs/utils validateRmOptionsSync | 5 | `parallel/test-fs-rm.js#block_00_test_the_asynchronous_version`, `parallel/test-fs-rm.js#block_01_test_the_synchronous_version`, `parallel/test-fs-rm.js#block_02_test_input_validation`, ... (+2) | | imports internal/modules/esm/{loader,module_map,module_job,create_dynamic_module} | 5 | `es-module/test-esm-loader-modulemap.js#block_00_are_stored_in_the_map`, `es-module/test-esm-loader-modulemap.js#block_01_values_as_url_argument`, `es-module/test-esm-loader-modulemap.js#block_02_values_or_the_kasserttype_symbol_as_type_argument`, ... (+2) | -| requires --expose-internals and internal/util | 5 | `parallel/test-internal-util-assertCrypto.js`, `parallel/test-internal-util-classwrapper.js`, `parallel/test-internal-util-helpers.js`, ... (+2) | -| requires --expose-internals, internal/fs/utils, and internal/test/binding constants.fs | 5 | `parallel/test-fs-utils-get-dirents.js#block_04_block_04`, `parallel/test-fs-utils-get-dirents.js#block_05_getdirent`, `parallel/test-fs-utils-get-dirents.js#block_06_block_06`, ... (+2) | +| requires --expose-internals and internal/crypto/util | 5 | `parallel/test-webcrypto-util.js#block_00_operator_yields_a_negative_int32_for_inputs_like_0x80_0x00_0`, `parallel/test-webcrypto-util.js#block_01_block_01`, `parallel/test-webcrypto-util.js#block_02_refs_https_github_com_web_platform_tests_wpt_pull_57614_pull`, ... (+2) | +| requires --expose-internals and internal/util | 5 | `parallel/test-internal-util-assertCrypto.js`, `parallel/test-internal-util-helpers.js#block_00_actual_errors`, `parallel/test-internal-util-helpers.js#block_01_block_01`, ... (+2) | | requires private _http_server.kConnectionsCheckingInterval internals | 5 | `parallel/test-http-server-async-dispose.js`, `parallel/test-http-server-clear-timer.js`, `parallel/test-http-server-close-destroy-timeout.js`, ... (+2) | | uses --expose-internals with internalBinding('http2') and internal/http2/util | 5 | `parallel/test-http2-client-onconnect-errors.js`, `parallel/test-http2-info-headers-errors.js`, `parallel/test-http2-respond-nghttperrors.js`, ... (+2) | -| imports internal/fs/utils validateRmOptionsSync | 4 | `parallel/test-fs-rm.js#block_00_test_the_asynchronous_version`, `parallel/test-fs-rm.js#block_01_test_the_synchronous_version`, `parallel/test-fs-rm.js#block_02_test_input_validation`, ... (+1) | -| imports internal/fs/utils validateRmdirOptions | 4 | `parallel/test-fs-rmdir-recursive.js#block_00_test_the_asynchronous_version`, `parallel/test-fs-rmdir-recursive.js#block_01_test_the_synchronous_version`, `parallel/test-fs-rmdir-recursive.js#block_02_test_input_validation`, ... (+1) | | inherited: requires --expose-internals and internal/priority_queue | 4 | `parallel/test-priority-queue.js#block_02_block_02`, `parallel/test-priority-queue.js#block_03_block_03`, `parallel/test-priority-queue.js#block_04_block_04`, ... (+1) | | requires --expose-internals and internal/util customInspectSymbol | 4 | `parallel/test-whatwg-encoding-custom-interop.js#block_00_test_textencoder`, `parallel/test-whatwg-encoding-custom-interop.js#block_01_block_01`, `parallel/test-whatwg-encoding-custom-interop.js#block_02_block_02`, ... (+1) | -| requires --expose-internals, inspect integration, and internal EventTarget APIs | 4 | `parallel/test-eventtarget.js#block_13_block_13`, `parallel/test-eventtarget.js#block_14_block_14`, `parallel/test-eventtarget.js#block_15_block_15`, ... (+1) | +| requires --expose-internals and internal/webidl | 4 | `parallel/test-internal-webidl-converttoint.js#block_00_block_00`, `parallel/test-internal-webidl-converttoint.js#block_01_block_01`, `parallel/test-internal-webidl-converttoint.js#block_02_block_02`, ... (+1) | +| requires internal/http kOutHeaders symbol | 4 | `parallel/test-http-outgoing-renderHeaders.js#block_00_block_00`, `parallel/test-http-outgoing-renderHeaders.js#block_01_block_01`, `parallel/test-http-outgoing-renderHeaders.js#block_02_block_02`, ... (+1) | | requires internal/test/binding and internalBinding('uv') | 4 | `parallel/test-fs-access.js#block_00_block_00`, `parallel/test-fs-access.js#block_01_block_01`, `parallel/test-fs-access.js#block_02_block_02`, ... (+1) | | requires internal/util.sleep | 4 | `parallel/test-timers-nested.js`, `parallel/test-timers-next-tick.js`, `parallel/test-util-sleep.js`, ... (+1) | | uses --expose-internals and internal/dgram kStateSymbol | 4 | `parallel/test-dgram-close-during-bind.js`, `parallel/test-dgram-close.js`, `parallel/test-dgram-recv-error.js`, ... (+1) | | uses --expose-internals with internal/errors and internal/test/binding | 4 | `parallel/test-buffer-fill.js#block_00_block_00`, `parallel/test-buffer-fill.js#block_01_block_01`, `parallel/test-buffer-fill.js#block_02_symbol_toprimitive`, ... (+1) | -| Asserts internal webstreams kState | 3 | `parallel/test-blob.js#block_28_statement_28`, `parallel/test-blob.js#block_30_statement_30`, `parallel/test-blob.js#block_31_statement_31` | | directly tests internal/fs/utils getDirents with internal constants | 3 | `parallel/test-fs-utils-get-dirents.js#block_00_block_00`, `parallel/test-fs-utils-get-dirents.js#block_01_getdirents`, `parallel/test-fs-utils-get-dirents.js#block_02_block_02` | -| explicitly tests private timers._unrefActive()/enroll()/unenroll() behavior | 3 | `parallel/test-timers-unref-active.js`, `parallel/test-timers-unref-remove-other-unref-timers-only-one-fires.js`, `parallel/test-timers-unref-remove-other-unref-timers.js` | | inherited: requires --expose-internals and internal/crypto/x509 | 3 | `parallel/test-crypto-x509.js#block_00_block_00`, `parallel/test-crypto-x509.js#block_01_block_01`, `parallel/test-crypto-x509.js#block_02_block_02` | | inherited: requires --expose-internals and internal/fixed_queue | 3 | `parallel/test-fixed-queue.js#block_00_block_00`, `parallel/test-fixed-queue.js#block_01_block_01`, `parallel/test-fixed-queue.js#block_02_block_02` | -| inherited: requires --expose-internals and internalBinding('cares_wrap') to stub getaddrinfo | 3 | `parallel/test-dns-lookup.js#block_00_block_00`, `parallel/test-dns-lookup.js#block_01_block_01`, `parallel/test-dns-lookup.js#block_02_block_02` | +| inherited: requires --expose-internals and internalBinding('cares_wrap') to stub getaddrinfo | 3 | `parallel/test-dns-lookup.js#block_00_block_00`, `parallel/test-dns-lookup.js#block_02_block_02`, `parallel/test-dns-lookup.js#block_03_block_03` | | inherited: uses --expose-internals with dgram._createSocketHandle and internal/test/binding | 3 | `parallel/test-dgram-create-socket-handle-fd.js#block_00_return_a_negative_number_if_the_existing_fd_is_invalid`, `parallel/test-dgram-create-socket-handle-fd.js#block_01_return_a_negative_number_if_the_type_of_fd_is_not_udp`, `parallel/test-dgram-create-socket-handle-fd.js#block_02_create_a_bound_handle` | | requires --expose-internals and internal/options | 3 | `parallel/test-options-binding.js`, `parallel/test-pending-deprecation.js`, `parallel/test-worker-cli-options.js` | | requires --expose-internals and node:internal/modules/esm/resolve | 3 | `es-module/test-cjs-legacyMainResolve-permission.js`, `es-module/test-cjs-legacyMainResolve.js`, `es-module/test-esm-resolve-type.mjs` | -| requires internal/test/binding and internalBinding('js_stream') | 3 | `parallel/test-util-types.js#block_00_block_00`, `parallel/test-util-types.js#block_01_block_01`, `parallel/test-util-types.js#block_02_block_02` | | requires internal/test/binding internalBinding('tcp_wrap') | 3 | `parallel/test-tcp-wrap-connect.js`, `parallel/test-tcp-wrap-listen.js`, `parallel/test-tcp-wrap.js` | | uses --expose-internals and internal/errors AbortError | 3 | `parallel/test-errors-aborterror.js#block_00_block_00`, `parallel/test-errors-aborterror.js#block_01_block_01`, `parallel/test-errors-aborterror.js#block_02_block_02` | -| uses --expose-internals and internalBinding('trace_events') | 3 | `parallel/test-trace-events-api.js`, `parallel/test-trace-events-category-used.js`, `parallel/test-trace-events-get-category-enabled-buffer.js` | | uses --expose-internals and internalBinding('uv') | 3 | `parallel/test-ttywrap-invalid-fd.js`, `parallel/test-uv-errmap.js`, `parallel/test-uv-errno.js` | | asserts private req._readableState and exact req/res close ordering | 2 | `parallel/test-http-req-res-close.js#block_00_after_res`, `parallel/test-http-req-res-close.js#block_01_req_should_emit_close_after_res` | -| asserts private req.socket.parser.free lifecycle from Node internals | 2 | `parallel/test-http-server-connection-list-when-close.js#block_00_block_00`, `parallel/test-http-server-connection-list-when-close.js#block_01_block_01` | | checks Node source-tree release changelog files, not runtime API | 2 | `parallel/test-release-changelog.js#block_00_check_changelog_v_md`, `parallel/test-release-changelog.js#block_01_main_changelog_md_checks` | | depends on Node's internal JSTransferable protocol (messaging_transfer_symbol) | 2 | `parallel/test-worker-message-port-transfer-fake-js-transferable-internal.js`, `parallel/test-worker-message-port-transfer-fake-js-transferable.js` | | inherited: exercises non-public listen(handle/_handle/fd) paths via internal tcp/pipe bindings | 2 | `parallel/test-net-server-listen-handle.js#block_00_not_a_public_api_used_by_child_process`, `parallel/test-net-server-listen-handle.js#block_01_block_01` | @@ -1658,33 +2110,38 @@ _No entries._ | inherited: uses --expose-internals and internal/util customInspectSymbol | 2 | `parallel/test-compression-decompression-stream.js#test_00_decompressionstream_kinspect_method`, `parallel/test-compression-decompression-stream.js#test_01_compressionstream_kinspect_method` | | inherited: uses --expose-internals with internal/dgram and internal/test/binding | 2 | `parallel/test-dgram-bind-fd-error.js#block_00_throw_when_the_fd_is_occupied_according_to_https_github_com_`, `parallel/test-dgram-bind-fd-error.js#block_01_throw_when_the_type_of_fd_is_not_udp` | | patches internal/fs/promises FileHandle fd/close internals | 2 | `parallel/test-fs-promises-file-handle-aggregate-errors.js`, `parallel/test-fs-promises-file-handle-close-errors.js` | +| requires --expose-internals and internal/crypto/x509 | 2 | `parallel/test-crypto-x509.js#block_03_block_03`, `parallel/test-crypto-x509.js#block_04_block_04` | | requires --expose-internals and internal/error_serdes | 2 | `sequential/test-error-serdes.js#block_00_block_00`, `sequential/test-error-serdes.js#block_01_block_01` | +| requires --expose-internals and internal/event_target (kWeakHandler) | 2 | `parallel/test-abortcontroller-internal.js#test_00_a_weak_event_listener_should_not_prevent_gc`, `parallel/test-abortcontroller-internal.js#test_01_two_weak_listeners_with_the_same_retainer_should_both_run_on` | +| requires --expose-internals and internal/navigator | 2 | `parallel/test-navigator.js#block_00_block_00`, `parallel/test-navigator.js#block_01_block_01` | | requires --expose-internals and internal/priority_queue | 2 | `parallel/test-priority-queue.js#block_00_block_00`, `parallel/test-priority-queue.js#block_01_block_01` | | requires --expose-internals and internal/timers | 2 | `parallel/test-child-process-http-socket-leak.js`, `parallel/test-tls-wrap-timeout.js` | +| requires --expose-internals and internalBinding('cares_wrap') to stub getaddrinfo | 2 | `parallel/test-dns-lookup-promises.js`, `parallel/test-dns-lookup.js#block_01_block_01` | | requires --expose-internals and require('internal/js_stream_socket') | 2 | `parallel/test-stream-wrap-encoding.js#block_00_block_00`, `parallel/test-stream-wrap-encoding.js#block_01_block_01` | | requires --expose-internals plus internal/js_stream_socket and internalBinding('stream_wrap') | 2 | `parallel/test-stream-wrap-drain.js`, `parallel/test-stream-wrap.js` | | requires internal _tls_common module | 2 | `parallel/test-tls-translate-peer-certificate.js#block_00_block_00`, `parallel/test-tls-translate-peer-certificate.js#block_01_block_01` | | requires internal/http2/util.updateOptionsBuffer and internalBinding('http2').optionsBuffer | 2 | `parallel/test-http2-util-update-options-buffer.js#block_00_block_00`, `parallel/test-http2-util-update-options-buffer.js#block_01_block_01` | -| requires internal/quic/quic classes (non-public API) | 2 | `parallel/test-quic-internal-endpoint-listen-defaults.js`, `parallel/test-quic-internal-endpoint-options.js` | | requires internal/streams/add-abort-signal helper | 2 | `parallel/test-stream-add-abort-signal.js#block_00_block_00`, `parallel/test-stream-add-abort-signal.js#block_01_block_01` | | requires internal/test/binding internalBinding('timers') | 2 | `parallel/test-timers-now.js`, `parallel/test-timers-ordering.js` | | requires internal/v8_prof_polyfill | 2 | `parallel/test-tick-processor-version-check.js#block_00_block_00`, `parallel/test-tick-processor-version-check.js#block_01_block_01` | +| requires internalBinding('util').getProxyDetails | 2 | `parallel/test-util-inspect-proxy.js#block_00_block_00`, `parallel/test-util-inspect-proxy.js#block_01_block_01` | | requires private modules _http_outgoing and internal/streams/state | 2 | `parallel/test-http-server-options-highwatermark.js#block_00_block_00`, `parallel/test-http-server-options-highwatermark.js#block_01_block_01` | | uses --expose-internals and internal/async_hooks symbols | 2 | `parallel/test-async-hooks-http-agent-destroy.js`, `parallel/test-async-hooks-http-agent.js` | | uses --expose-internals and internal/http2/core | 2 | `parallel/test-http2-invalid-last-stream-id.js`, `parallel/test-http2-options-max-headers-exceeds-nghttp2.js` | | uses --expose-internals and internal/test/binding | 2 | `parallel/test-process-binding.js`, `parallel/test-worker-message-port-transfer-native.js#block_01_block_01` | | uses --expose-internals and internal/test/binding internalBinding('http2') | 2 | `parallel/test-http2-binding.js`, `parallel/test-http2-respond-errors.js` | +| uses --expose-internals and internal/test/binding primordials | 2 | `parallel/test-primordials-apply.js#block_03_block_03`, `parallel/test-primordials-apply.js#block_04_block_04` | +| uses --expose-internals and internalBinding('trace_events') | 2 | `parallel/test-trace-events-category-used.js`, `parallel/test-trace-events-get-category-enabled-buffer.js` | | uses --expose-internals and require('internal/timers') | 2 | `parallel/test-http2-compat-socket.js`, `parallel/test-http2-socket-proxy.js` | | uses --expose-internals to monkey-patch internalBinding('crypto').SecureContext | 2 | `parallel/test-tls-clientcertengine-unsupported.js`, `parallel/test-tls-keyengine-unsupported.js` | | uses --expose-internals with internal/dgram _createSocketHandle and internal/test/binding | 2 | `parallel/test-dgram-create-socket-handle.js#block_00_block_00`, `parallel/test-dgram-create-socket-handle.js#block_01_block_01` | | uses --expose-internals with internal/test/binding and V8 native syntax | 2 | `parallel/test-buffer-write-fast.js`, `parallel/test-debug-v8-fast-api.js` | | uses --expose-internals with internalBinding('tls_wrap') | 2 | `parallel/test-tls-enable-trace-cli.js`, `parallel/test-tls-enable-trace.js` | | uses common/net.hasMultiLocalhost(), which depends on internalBinding('tcp_wrap') | 2 | `parallel/test-http-localaddress.js`, `parallel/test-https-localaddress.js` | -| uses internal/test/binding UV constants and watcher._handle internals | 2 | `parallel/test-fs-watch-enoent.js#block_00_block_00`, `parallel/test-fs-watch-enoent.js#block_01_block_01` | | uses private server/socket _handle internals | 2 | `parallel/test-net-server-keepalive.js`, `parallel/test-net-server-nodelay.js` | +| Asserts internal webstreams kState | 1 | `parallel/test-blob.js#block_31_statement_31` | | Common test harness setup only; no public API assertion | 1 | `parallel/test-structuredClone-global.js#block_00_statement_00` | | Windows-only test that also imports node:internal/modules/esm/resolve and internal/modules/run_main | 1 | `es-module/test-esm-long-path-win.js` | -| asserts deprecated timers.active() behavior and private _idle* timer fields | 1 | `parallel/test-timers-active.js` | | asserts exact process.moduleLoadList bootstrap internals | 1 | `parallel/test-bootstrap-modules.js` | | asserts internal socket.parser lifecycle around HTTP upgrade | 1 | `parallel/test-http-parser-freed-before-upgrade.js` | | asserts internal zlib native-handle weak-reference/external-memory behavior | 1 | `parallel/test-zlib-unused-weak.js` | @@ -1692,6 +2149,7 @@ _No entries._ | asserts private Timer._destroyed state on timeout/interval objects | 1 | `parallel/test-timers-destroyed.js` | | asserts private internal/http kOutHeaders state | 1 | `parallel/test-http-correct-hostname.js` | | asserts private req._dumped internal state | 1 | `parallel/test-http-pause-no-dump.js` | +| asserts private req.socket.parser.free lifecycle from Node internals | 1 | `parallel/test-http-server-connection-list-when-close.js` | | asserts private req.socket.parser.incoming lifecycle after keep-alive request end | 1 | `parallel/test-http-server-keepalive-end.js` | | asserts private zlib stream _closed state after error | 1 | `parallel/test-zlib-close-after-error.js` | | asserts private zlib stream _handle cleanup semantics | 1 | `parallel/test-zlib-destroy.js#block_00_block_00` | @@ -1716,7 +2174,6 @@ _No entries._ | imports internal/modules/esm/assert (Node internal module) | 1 | `es-module/test-esm-import-attributes-validation.js` | | imports internal/modules/esm/resolve (Node internal module) | 1 | `es-module/test-esm-loader-search.js` | | inherited: requires --expose-internals and internal/util | 1 | `parallel/test-internal-util-objects.js#block_00_block_00` | -| inherits top-level internal/test/binding dependency | 1 | `parallel/test-util-inspect.js#block_78_block_78` | | invokes private req.client._events.close handlers directly | 1 | `parallel/test-http-req-close-robust-from-tampering.js` | | monkey-patches internalBinding('http_parser') and uses _http_common internals | 1 | `parallel/test-http-parser-lazy-loaded.js` | | monkey-patches internalBinding('os') | 1 | `parallel/test-os-checked-function.js` | @@ -1732,29 +2189,24 @@ _No entries._ | requires --expose-internals and child_process IPC to validate internal module visibility | 1 | `parallel/test-internal-module-require.js` | | requires --expose-internals and internal/assert | 1 | `parallel/test-internal-assert.js` | | requires --expose-internals and internal/cluster/round_robin_handle | 1 | `parallel/test-cluster-accept-fail.js` | -| requires --expose-internals and internal/crypto/util | 1 | `parallel/test-webcrypto-util.js` | +| requires --expose-internals and internal/crypto/util module | 1 | `parallel/test-webcrypto-keygen.js#block_02_test_cryptokeypair_prototype` | | requires --expose-internals and internal/crypto/webcrypto | 1 | `parallel/test-global-webcrypto-classes.js` | | requires --expose-internals and internal/dgram | 1 | `sequential/test-dgram-implicit-bind-failure.js` | | requires --expose-internals and internal/encoding | 1 | `parallel/test-whatwg-encoding-custom-internals.js` | | requires --expose-internals and internal/errors + internal/test/binding | 1 | `parallel/test-dns-memory-error.js` | | requires --expose-internals and internal/errors AbortError | 1 | `parallel/test-webstream-readablestream-pipeto.js` | | requires --expose-internals and internal/event_target (kEvents) | 1 | `parallel/test-events-once.js` | -| requires --expose-internals and internal/event_target (kWeakHandler) | 1 | `parallel/test-abortcontroller-internal.js` | | requires --expose-internals and internal/freelist | 1 | `parallel/test-freelist.js` | -| requires --expose-internals and internal/navigator | 1 | `parallel/test-navigator.js` | | requires --expose-internals and internal/test/binding | 1 | `parallel/test-internal-only-binding.js` | | requires --expose-internals and internal/test/binding + internal/worker/io | 1 | `parallel/test-worker-message-not-serializable.js` | | requires --expose-internals and internal/test/transfer | 1 | `parallel/test-messaging-marktransfermode.js` | | requires --expose-internals and internal/util/inspect | 1 | `parallel/test-icu-stringwidth.js` | | requires --expose-internals and internal/validators | 1 | `parallel/test-internal-validators-validateport.js` | -| requires --expose-internals and internal/webidl | 1 | `parallel/test-internal-webidl-converttoint.js` | | requires --expose-internals and internal/webstreams/util | 1 | `parallel/test-whatwg-webstreams-coverage.js` | | requires --expose-internals and internal/worker | 1 | `parallel/test-worker-environmentdata.js` | -| requires --expose-internals and internalBinding('cares_wrap') to stub getaddrinfo | 1 | `parallel/test-dns-lookup-promises.js` | | requires --expose-internals and internalBinding('module_wrap') | 1 | `parallel/test-internal-module-wrap.js` | | requires --expose-internals internalBinding('fs').internalModuleStat | 1 | `parallel/test-permission-fs-internal-module-stat.js` | | requires --expose-internals, internal/util, and internal/test/binding | 1 | `parallel/test-internal-util-decorate-error-stack.js` | -| requires deprecated private _stream_wrap module | 1 | `parallel/test-warn-stream-wrap.js` | | requires internal/child_process via --expose-internals | 1 | `parallel/test-child-process-recv-handle.js` | | requires internal/dgram and internal/test/binding | 1 | `parallel/test-dgram-create-socket-handle.js#block_02_block_02` | | requires internal/errors | 1 | `parallel/test-util.js` | @@ -1762,7 +2214,6 @@ _No entries._ | requires internal/js_stream_socket and --expose-internals | 1 | `parallel/test-http-agent-domain-reused-gc.js` | | requires internal/linkedlist | 1 | `parallel/test-timers-linked-list.js` | | requires internal/options.getOptionValue('--max-http-header-size') | 1 | `parallel/test-http-max-http-headers.js` | -| requires internal/quic/quic and internal/quic/symbols | 1 | `parallel/test-quic-internal-endpoint-stats-state.js` | | requires internal/readline/utils via --expose-internals | 1 | `parallel/test-readline-csi.js` | | requires internal/socketaddress and internal/test/binding | 1 | `parallel/test-socketaddress.js` | | requires internal/streams/state.getDefaultHighWaterMark() | 1 | `parallel/test-http-outgoing-buffer.js` | @@ -1775,17 +2226,14 @@ _No entries._ | requires internal/timers kTimeout symbol | 1 | `parallel/test-http-client-timeout-on-connect.js` | | requires internalBinding('js_stream').JSStream | 1 | `parallel/test-js-stream-call-properties.js` | | requires internalBinding('pipe_wrap') to construct raw Pipe handles | 1 | `parallel/test-net-connect-options-fd.js` | -| requires internalBinding('quic').setCallbacks | 1 | `parallel/test-quic-internal-setcallbacks.js` | | requires internalBinding('tcp_wrap') handle APIs (plus cluster path) | 1 | `parallel/test-net-listen-handle-in-cluster-2.js` | | requires internalBinding('trace_events') | 1 | `parallel/test-trace-events-binding.js` | | requires internalBinding('tty_wrap').TTY | 1 | `parallel/test-stream-base-prototype-accessors-enumerability.js` | -| requires internalBinding('util').getProxyDetails | 1 | `parallel/test-util-inspect-proxy.js` | | requires internalBinding('util').privateSymbols | 1 | `parallel/test-util-internal.js` | | requires internalBinding('uv') and internalBinding('stream_wrap') | 1 | `parallel/test-net-end-close.js` | | requires private core module _http_outgoing | 1 | `parallel/test-outgoing-message-pipe.js` | | second block asserts private EventEmitter kCapture symbol initialization details | 1 | `parallel/test-domain-ee.js` | | setup-only Node test-harness import has no public API assertion | 1 | `parallel/test-error-prepare-stack-trace.js#block_00_statement_00` | -| tests deprecated internal timers.enroll() validation/error paths | 1 | `parallel/test-timers-enroll-invalid-msecs.js` | | uses --expose-internals and imports node:internal/modules/esm/get_format | 1 | `es-module/test-esm-url-extname.js` | | uses --expose-internals and internal/errors formatList | 1 | `parallel/test-error-format-list.js` | | uses --expose-internals and internal/http2/util | 1 | `parallel/test-http2-misbehaving-multiplex.js` | @@ -1834,31 +2282,56 @@ _No entries._ ## Config Hygiene -21 non-runnable entries are missing a reason. +46 non-runnable entries are missing a reason.
Entries missing reasons - `parallel/test-cli-node-options-disallowed.js` (Node.js internals) -- `parallel/test-crypto-prime.js#block_00_block_00` (Node.js internals) -- `parallel/test-crypto-prime.js#block_01_block_01` (Node.js internals) -- `parallel/test-crypto-prime.js#block_02_block_02` (Node.js internals) -- `parallel/test-crypto-prime.js#block_03_block_03` (Node.js internals) -- `parallel/test-crypto-prime.js#block_04_block_04` (Node.js internals) -- `parallel/test-crypto-prime.js#block_05_block_05` (Node.js internals) -- `parallel/test-crypto-prime.js#block_06_block_06` (Node.js internals) -- `parallel/test-crypto-prime.js#block_07_block_07` (Node.js internals) -- `parallel/test-crypto-prime.js#block_08_block_08` (Node.js internals) +- `parallel/test-crypto-key-objects-to-crypto-key.js` (Node.js internals) - `parallel/test-fs-syncwritestream.js` (Node.js internals) - `parallel/test-fs-watch-abort-signal.js#block_00_block_00` (Node.js internals) - `parallel/test-fs-watch-abort-signal.js#block_01_block_01` (Node.js internals) +- `parallel/test-process-hrtime-bigint.js` (Node.js internals) +- `parallel/test-process-hrtime.js` (Node.js internals) +- `parallel/test-stream-finished.js#block_00_block_00` (Node.js internals) +- `parallel/test-stream-finished.js#block_01_block_01` (Node.js internals) +- `parallel/test-stream-finished.js#block_02_block_02` (Node.js internals) +- `parallel/test-stream-finished.js#block_03_block_03` (Node.js internals) +- `parallel/test-stream-finished.js#block_04_block_04` (Node.js internals) +- `parallel/test-stream-finished.js#block_05_block_05` (Node.js internals) +- `parallel/test-stream-finished.js#block_06_block_06` (Node.js internals) +- `parallel/test-stream-finished.js#block_07_block_07` (Node.js internals) +- `parallel/test-stream-finished.js#block_09_block_09` (Node.js internals) +- `parallel/test-stream-finished.js#block_10_block_10` (Node.js internals) +- `parallel/test-stream-finished.js#block_11_block_11` (Node.js internals) +- `parallel/test-stream-finished.js#block_12_block_12` (Node.js internals) +- `parallel/test-stream-finished.js#block_13_block_13` (Node.js internals) +- `parallel/test-stream-finished.js#block_14_test_faulty_input_values_and_options` (Node.js internals) +- `parallel/test-stream-finished.js#block_15_test_that_calling_returned_function_removes_listeners` (Node.js internals) +- `parallel/test-stream-finished.js#block_16_block_16` (Node.js internals) +- `parallel/test-stream-finished.js#block_17_block_17` (Node.js internals) +- `parallel/test-stream-finished.js#block_18_block_18` (Node.js internals) +- `parallel/test-stream-finished.js#block_19_block_19` (Node.js internals) +- `parallel/test-stream-finished.js#block_20_block_20` (Node.js internals) +- `parallel/test-stream-finished.js#block_25_block_25` (Node.js internals) +- `parallel/test-stream-finished.js#block_26_block_26` (Node.js internals) +- `parallel/test-stream-finished.js#block_27_block_27` (Node.js internals) +- `parallel/test-stream-finished.js#block_28_block_28` (Node.js internals) +- `parallel/test-stream-finished.js#block_29_block_29` (Node.js internals) +- `parallel/test-stream-finished.js#block_30_block_30` (Node.js internals) +- `parallel/test-stream-finished.js#block_31_block_31` (Node.js internals) +- `parallel/test-stream-finished.js#block_32_block_32` (Node.js internals) +- `parallel/test-stream-finished.js#block_33_block_33` (Node.js internals) +- `parallel/test-stream-finished.js#block_35_block_35` (Node.js internals) +- `parallel/test-stream-finished.js#block_37_block_37` (Node.js internals) +- `parallel/test-stream-finished.js#block_38_block_38` (Node.js internals) +- `parallel/test-stream-finished.js#block_39_block_39` (Node.js internals) +- `parallel/test-stream-finished.js#block_41_block_41` (Node.js internals) +- `parallel/test-util-deprecate.js#block_00_emits_deprecation_only_once_if_same_function_is_called` (Node.js internals) +- `parallel/test-util-deprecate.js#block_01_emits_deprecation_twice_for_different_functions` (Node.js internals) +- `parallel/test-util-deprecate.js#block_02_functions` (Node.js internals) - `parallel/test-webcrypto-derivebits.js#block_01_test_hkdf_bit_derivation` (Node.js internals) - `parallel/test-webcrypto-derivebits.js#block_02_test_pbkdf2_bit_derivation` (Node.js internals) -- `parallel/test-webcrypto-derivekey.js#block_01_test_hkdf_key_derivation` (Node.js internals) -- `parallel/test-webcrypto-derivekey.js#block_02_test_pbkdf2_key_derivation` (Node.js internals) -- `parallel/test-webcrypto-derivekey.js#block_04_block_04` (Node.js internals) -- `sequential/test-crypto-timing-safe-equal.js#block_00_block_00` (Node.js internals) -- `sequential/test-crypto-timing-safe-equal.js#block_01_block_01` (Node.js internals) -- `sequential/test-crypto-timing-safe-equal.js#block_02_block_02` (Node.js internals)
diff --git a/tests/node_compat/vendor.sh b/tests/node_compat/vendor.sh index f260d9dd9..0a279a7ad 100755 --- a/tests/node_compat/vendor.sh +++ b/tests/node_compat/vendor.sh @@ -10,7 +10,7 @@ set -euo pipefail -NODE_VERSION="${1:-22.14.0}" +NODE_VERSION="${1:-26.13.1}" TAG="v${NODE_VERSION}" SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" SUITE_DIR="${SCRIPT_DIR}/suite" diff --git a/tests/node_compat_config_report.rs b/tests/node_compat_config_report.rs index dd41a6d19..6f17f6286 100644 --- a/tests/node_compat_config_report.rs +++ b/tests/node_compat_config_report.rs @@ -32,6 +32,7 @@ use test_r::test; const CONFIG_PATH: &str = "tests/node_compat/config.jsonc"; const REPORT_PATH: &str = "tests/node_compat/report.md"; const SUITE_ROOT: &str = "tests/node_compat/suite"; +const TARGET_MAPPING_RECORD_PATH: &str = "tests/node_compat/mapping-22.14.0-to-26.13.1.json"; #[derive(Debug, Clone)] struct InventoryItem { @@ -319,6 +320,7 @@ fn module_related_node_compat_entries_are_configured() -> anyhow::Result<()> { fn module_related_known_gaps_are_deferred_or_covered() -> anyhow::Result<()> { let entries = load_node_compat_config(CONFIG_PATH)?; let module_entrypoints = collect_module_related_entrypoints()?; + let recorded_baseline_gaps = recorded_target_baseline_gaps()?; let items = expand_entries(&entries); let unexpected: Vec<_> = items @@ -327,6 +329,7 @@ fn module_related_known_gaps_are_deferred_or_covered() -> anyhow::Result<()> { (module_entrypoints.contains(&item.file_path) || is_module_adjacent_known_gap(item)) && item.category == NodeCompatCategory::KnownGap && !is_accepted_module_known_gap_reason(item.reason.as_deref()) + && !is_recorded_target_baseline_gap(item, &recorded_baseline_gaps) }) .map(|item| { format!( @@ -431,6 +434,38 @@ fn is_accepted_module_known_gap_reason(reason: Option<&str>) -> bool { reason.is_some_and(|reason| ACCEPTED_REASONS.contains(&reason)) } +const TARGET_BASELINE_GAP_REASON_PREFIX: &str = "Node 26.13.1 baseline gap: "; + +/// Outstanding target-switch regressions are not accepted deferrals, but each one is +/// listed in the target mapping record for a per-module repair draft. Only those exact +/// entries may carry the baseline-gap reason. +fn recorded_target_baseline_gaps() -> anyhow::Result> { + let record: serde_json::Value = + serde_json::from_str(&fs::read_to_string(TARGET_MAPPING_RECORD_PATH)?)?; + let cases = record["baselineGaps"]["cases"] + .as_array() + .ok_or_else(|| anyhow::anyhow!("{TARGET_MAPPING_RECORD_PATH} lacks baselineGaps.cases"))?; + cases + .iter() + .map(|case| { + let file = case["file"] + .as_str() + .ok_or_else(|| anyhow::anyhow!("baseline gap without file: {case}"))?; + Ok(match case["subtest"].as_str() { + Some(subtest) => format!("{file}#{subtest}"), + None => file.to_string(), + }) + }) + .collect() +} + +fn is_recorded_target_baseline_gap(item: &InventoryItem, recorded: &BTreeSet) -> bool { + item.reason + .as_deref() + .is_some_and(|reason| reason.starts_with(TARGET_BASELINE_GAP_REASON_PREFIX)) + && recorded.contains(&item.key) +} + fn collect_module_related_entrypoints() -> anyhow::Result> { let mut entries = BTreeSet::new(); collect_matching_files("es-module", is_es_module_entrypoint, &mut entries)?; From aa1b6736a9ac1074347b3f8f802be03cabc2cf74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 16 Nov 2026 19:04:53 +0000 Subject: [PATCH 08/55] Document the Node 26.13.1 switch [skip ci] --- tests/node_compat/README.md | 14 ++++++++++---- tests/node_compat/target-selection.md | 7 ++++--- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/tests/node_compat/README.md b/tests/node_compat/README.md index 4be362b58..2b50e9807 100644 --- a/tests/node_compat/README.md +++ b/tests/node_compat/README.md @@ -14,7 +14,7 @@ tests/node_compat/ │ ├── common/ # Node.js test/common/ infrastructure │ ├── fixtures/ # Node.js test/fixtures/ data files │ ├── sqlite/ # Node.js test/sqlite/ helpers (next-db.js in newer releases) -│ └── NODE_VERSION # Version string (e.g., "22.14.0") +│ └── NODE_VERSION # Version string (e.g., "26.13.1") ├── common-shim/ # Our WASM-compatible shim for test/common │ └── index.js ├── config.jsonc # Allowlist of tests that should pass @@ -27,7 +27,7 @@ tests/node_compat/ To fetch (or update) the vendored test suite: ```bash -# Default version (22.14.0) +# Default version (26.13.1) ./tests/node_compat/vendor.sh # Specific version @@ -86,8 +86,14 @@ is mapped by reading both versions. The tool's contract tests run with ## Target Selection -The harness is pinned to Node.js 22.14.0. NJ-01 selected Node.js 26.13.1 (npm 11.20.0) as the -next target, measured against Node.js 24.22.3; NJ-02 performs the switch. See +The `node_compat` suite and the runtime's `process` version metadata target Node.js 26.13.1, +selected by NJ-01 (with npm 11.20.0) against Node.js 24.22.3. The host Node.js and npm pins of the +runtime, npm and `agentic_ts` lanes are still 22.14.0 and npm 10.9.2 until the npm refresh. The +22.14.0 baseline cases that the switch could not carry over unchanged are recorded, with their +disposition, in [`mapping-22.14.0-to-26.13.1.json`](mapping-22.14.0-to-26.13.1.json). Cases that +regressed on 26.13.1 are `known-gap` entries whose reason starts with `Node 26.13.1 baseline gap: ` +and are listed in the record's `baselineGaps`. They are outstanding repairs, not accepted gaps: a +repair makes the entry `runnable` and removes it from `baselineGaps`. See [`target-selection.md`](target-selection.md) for pin provenance, measured suite, API and npm 10.9.2-to-11.20.0 differences, required harness changes and switching instructions, and [`target-mapping-22.14.0.json`](target-mapping-22.14.0.json) for the mapping of every 22.14.0 diff --git a/tests/node_compat/target-selection.md b/tests/node_compat/target-selection.md index 9491e8227..13e7f8597 100644 --- a/tests/node_compat/target-selection.md +++ b/tests/node_compat/target-selection.md @@ -1,9 +1,10 @@ # Node.js target selection (NJ-01, GOL-1946) **Status:** Node.js 26.13.1 with npm 11.20.0 is the selected target for NJ-02 (GOL-1947), -compared against Node.js 24.22.3. The harness, CI and runtime remain pinned to 22.14.0 until -NJ-02 switches them. This record is a qualification result, not implemented runtime support. -The runtime still reports `process.version` `v22.0.0`. +compared against Node.js 24.22.3. This record is a qualification result, not implemented runtime +support. NJ-02 has since switched the `node_compat` suite and the runtime's `process` version +metadata to 26.13.1; see [`mapping-22.14.0-to-26.13.1.json`](mapping-22.14.0-to-26.13.1.json). Host +Node.js and npm pins are still 22.14.0 and 10.9.2. No material blocker to Node 26 was found, and it is supported one year longer than Node 24 (end of life 2029-04-30 against 2028-04-30). From 2467523c81055deca4fa6f7bf74150d7e6ddf06d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 16 Nov 2026 19:16:42 +0000 Subject: [PATCH 09/55] Report the Node 26 LTS release name [skip ci] --- .../skeleton/src/builtin/process.js | 2 +- tests/node_compat/config.jsonc | 2 +- .../mapping-22.14.0-to-26.13.1.json | 22 +++++++++---------- tests/node_compat/report.md | 14 ++++++------ 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/process.js b/crates/wasm-rquickjs/skeleton/src/builtin/process.js index 7b9ab2c17..eccd97c00 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/process.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/process.js @@ -277,7 +277,7 @@ Object.defineProperty(process, 'title', { enumerable: true, configurable: true, }); -process.release = { name: 'node' }; +process.release = { name: 'node', lts: 'Lithium' }; process.allowedNodeEnvironmentFlags = new Set(); const _reportOptions = { diff --git a/tests/node_compat/config.jsonc b/tests/node_compat/config.jsonc index 847d529ab..d37775edd 100644 --- a/tests/node_compat/config.jsonc +++ b/tests/node_compat/config.jsonc @@ -3082,7 +3082,7 @@ "parallel/test-process-initgroups.js": {}, "parallel/test-process-kill-pid.js": {}, "parallel/test-process-prototype.js": { "category": "known-gap", "reason": "process prototype chain is not fully Node-compatible (prototype is not EventEmitter-based)" }, - "parallel/test-process-release.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "parallel/test-process-release.js": {}, "parallel/test-process-setgroups.js": {}, "parallel/test-process-setsourcemapsenabled.js": {}, "parallel/test-process-uid-gid.js": { "category": "known-gap", "reason": "process.setuid()/process.setgid() are stubbed and do not mutate credentials" }, diff --git a/tests/node_compat/mapping-22.14.0-to-26.13.1.json b/tests/node_compat/mapping-22.14.0-to-26.13.1.json index 15e6abd01..43abe1c5b 100644 --- a/tests/node_compat/mapping-22.14.0-to-26.13.1.json +++ b/tests/node_compat/mapping-22.14.0-to-26.13.1.json @@ -29,8 +29,8 @@ "renamed / failed": 106, "renamed / passed": 189, "renamed / skipped": 4, - "same / failed": 168, - "same / passed": 2632, + "same / failed": 167, + "same / passed": 2633, "same / skipped": 35, "target-change-eol / -": 38, "target-change-eol / skipped": 10, @@ -39,7 +39,7 @@ "unsplit / failed": 2, "unsplit / skipped": 6 }, - "baselineGapCases": 344, + "baselineGapCases": 343, "nowNodeInternalsCases": 45 }, "missingSources": [ @@ -4863,13 +4863,6 @@ "previous": {}, "error": "mustCall verification failed:" }, - { - "file": "parallel/test-process-release.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly equal:" - }, { "file": "parallel/test-require-delete-array-iterator.js", "subtest": null, @@ -6315,7 +6308,14 @@ "error": "util.inspect prints the symbol key of a boxed String as [Symbol(foo)]; 26.13.1 expects Symbol(foo)" } ], - "passedOnRerun": [] + "passedOnRerun": [], + "repairedInSwitch": [ + { + "file": "parallel/test-process-release.js", + "subtest": null, + "fix": "process.release.lts reports 'Lithium', the LTS codename of 26.13.1 in the official dist index" + } + ] }, "matchedByPosition": [ { diff --git a/tests/node_compat/report.md b/tests/node_compat/report.md index 206540800..150058497 100644 --- a/tests/node_compat/report.md +++ b/tests/node_compat/report.md @@ -8,21 +8,21 @@ This report is generated from `config.jsonc` and the pinned vendored Node.js sou Primary compatibility is measured over the public API surface we can provide: CI-enforced passing (`runnable`) plus `known-gap`. WASI-impossible tests, engine differences, unevaluated tests, and Node.js-internals tests are acknowledged separately and excluded from the primary percentage. -**Primary compatibility (CI-enforced):** 2863/4452 (64.3%) +**Primary compatibility (CI-enforced):** 2864/4452 (64.3%) When comparing revisions, read the runnable count and secondary full-public percentage alongside the primary percentage. Reclassifying a test into an excluded category can increase the primary percentage without increasing runnable coverage. | Classification | Count | Primary % | Public inventory % | All listed % | |----------------|-------|-----------|--------------------|--------------| -| ✅ passing (runnable) | 2863 | 64.3% | 29.8% | 26.5% | -| 🧩 known gap | 1589 | 35.7% | 16.5% | 14.7% | +| ✅ passing (runnable) | 2864 | 64.3% | 29.8% | 26.6% | +| 🧩 known gap | 1588 | 35.7% | 16.5% | 14.7% | | 🚫 WASI-impossible (excluded) | 1148 | — | 11.9% | 10.6% | | ⚙️ engine difference (excluded) | 167 | — | 1.7% | 1.5% | | ❔ unevaluated (excluded) | 3845 | — | 40.0% | 35.6% | | 🔒 Node.js internals (excluded) | 1175 | — | — | 10.9% | | **Total** | **10787** | | | **100.0%** | -Secondary full-public compatibility, including public tests that are currently excluded from primary: **2863/9612 (29.8%)**. +Secondary full-public compatibility, including public tests that are currently excluded from primary: **2864/9612 (29.8%)**. ## Inventory by Module @@ -63,7 +63,7 @@ Secondary full-public compatibility, including public tests that are currently e | path | 17 | 12 | 4 | 0 | 0 | 1 | 0 | 75.0% | 70.6% | | perf_hooks | 123 | 4 | 28 | 1 | 0 | 88 | 2 | 12.5% | 3.3% | | permission | 162 | 3 | 40 | 9 | 2 | 106 | 2 | 7.0% | 1.9% | -| process | 118 | 41 | 35 | 4 | 0 | 26 | 12 | 53.9% | 38.7% | +| process | 118 | 42 | 34 | 4 | 0 | 26 | 12 | 55.3% | 39.6% | | promises | 24 | 4 | 11 | 0 | 7 | 2 | 0 | 26.7% | 16.7% | | querystring | 15 | 14 | 0 | 0 | 0 | 1 | 0 | 100.0% | 93.3% | | readline | 102 | 0 | 22 | 0 | 0 | 1 | 79 | 0.0% | 0.0% | @@ -1094,12 +1094,12 @@ Secondary full-public compatibility, including public tests that are currently e ## Classified Non-Runnable Tests -### known gap (1589) +### known gap (1588) | Reason | Count | Example entries | |--------|-------|-----------------| | node:http2 public API is a stub in WebAssembly runtime | 106 | `parallel/test-http2-head-request.js`, `parallel/test-http2-info-headers.js`, `parallel/test-http2-invalidargtypes-errors.js`, ... (+103) | -| Node 26.13.1 baseline gap: Expected values to be strictly equal: | 66 | `es-module/test-require-module-twice.js`, `es-module/test-require-module.js#block_02_test_esm_that_import_cjs`, `parallel/test-console.js`, ... (+63) | +| Node 26.13.1 baseline gap: Expected values to be strictly equal: | 65 | `es-module/test-require-module-twice.js`, `es-module/test-require-module.js#block_02_test_esm_that_import_cjs`, `parallel/test-console.js`, ... (+62) | | requires isolated process.execPath TypeScript entry execution and Node CLI flags; the direct process.features check requires a separate feature-disabled component | 30 | `es-module/test-typescript.mjs#test_00_expect_process_features_typescript_to_be_false_when_no_exper`, `es-module/test-typescript.mjs#test_01_execute_a_typescript_file`, `es-module/test-typescript.mjs#test_02_execute_a_typescript_file_with_imports`, ... (+27) | | Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly | 29 | `es-module/test-esm-import-attributes-errors.js`, `es-module/test-require-module-cached-tla.js`, `es-module/test-require-module-dynamic-import-1.js`, ... (+26) | | requires simulated process.execPath / Node CLI mode support deferred to follow-up PR | 29 | `es-module/test-esm-cjs-load-error-note.mjs`, `es-module/test-esm-detect-ambiguous.mjs#test_00_module_syntax_detection`, `es-module/test-esm-detect-ambiguous.mjs#test_01_wrapping_a_require_of_an_es_module_while_using_abort_on_unca`, ... (+26) | From 6bfc0c445b2fc5b4e63d29d25f4672f1eeda6862 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 16 Nov 2026 19:16:59 +0000 Subject: [PATCH 10/55] Run CI From b3b605c1099a475326ff2bd3bd267598b5e771c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 16 Nov 2026 22:19:58 +0000 Subject: [PATCH 11/55] Report AEAD authentication failures as Node does [skip ci] --- .../skeleton/src/builtin/web-crypto.js | 10 +- tests/node_compat/config.jsonc | 32 +-- .../mapping-22.14.0-to-26.13.1.json | 204 +++++++----------- tests/node_compat/report.md | 18 +- 4 files changed, 111 insertions(+), 153 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js b/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js index 6bba105fc..98278e3e4 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js @@ -2072,11 +2072,11 @@ Decipheriv.prototype.final = function(outputEncoding) { } throw createWrongFinalBlockLengthError(); } - const err = new Error( - isMissingTag - ? 'Unsupported state or unable to authenticate data' - : 'Decipher final failed (possibly wrong key, IV, or auth tag)' - ); + if (this._aeadConfig.mode !== null) { + // Node reports a missing or mismatched AEAD tag with OpenSSL's generic message and no code. + throw new Error('Unsupported state or unable to authenticate data'); + } + const err = new Error('Decipher final failed (possibly wrong key, IV, or auth tag)'); err.code = 'ERR_CRYPTO_INVALID_STATE'; throw err; } diff --git a/tests/node_compat/config.jsonc b/tests/node_compat/config.jsonc index d37775edd..249a74e69 100644 --- a/tests/node_compat/config.jsonc +++ b/tests/node_compat/config.jsonc @@ -1586,23 +1586,23 @@ "parallel/test-crypto-authenticated.js": { "split": true, "subtests": { - "block_00_non_authenticating_mode": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" }, - "block_01_throw": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" }, + "block_00_non_authenticating_mode": {}, + "block_01_throw": {}, "block_02_siv_and_gcm_siv_use_fixed_16_byte_authentication_tags": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, - "block_03_test_that_gcm_can_produce_shorter_authentication_tags_than_1": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" }, - "block_04_test_that_users_can_manually_restrict_the_gcm_tag_length_to_": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" }, - "block_05_authentication_tag_length_has_been_specified": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:; carries 22.14.0 subtest block_04_authentication_tag_length_has_been_specified" }, - "block_06_authentication_tag_length_has_been_specified": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:; carries 22.14.0 subtest block_05_authentication_tag_has_been_specified" }, - "block_07_test_that_setaad_throws_if_an_invalid_plaintext_length_has_b": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" }, - "block_08_test_that_setaad_and_update_throw_if_the_plaintext_is_too_lo": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" }, - "block_09_been_specified": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" }, - "block_10_test_that_final_throws_in_ccm_mode_when_no_authentication_ta": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" }, - "block_11_test_that_setauthtag_does_not_throw_in_gcm_mode_when_called_": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" }, - "block_12_test_that_an_iv_length_of_11_does_not_overflow_max_message_s": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" }, - "block_13_final_in_gcm_mode_ocb_mode_and_for_chacha20_poly1305": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input; carries 22.14.0 subtest block_12_final_in_gcm_or_ocb_mode" }, - "block_14_test_that_setauthtag_can_only_be_called_once": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" }, - "block_15_https_www_openssl_org_news_secadv_20190306_txt": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" }, - "block_16_block_16": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" } + "block_03_test_that_gcm_can_produce_shorter_authentication_tags_than_1": {}, + "block_04_test_that_users_can_manually_restrict_the_gcm_tag_length_to_": {}, + "block_05_authentication_tag_length_has_been_specified": { "category": "runnable", "reason": "carries 22.14.0 subtest block_04_authentication_tag_length_has_been_specified" }, + "block_06_authentication_tag_length_has_been_specified": { "category": "runnable", "reason": "carries 22.14.0 subtest block_05_authentication_tag_has_been_specified" }, + "block_07_test_that_setaad_throws_if_an_invalid_plaintext_length_has_b": {}, + "block_08_test_that_setaad_and_update_throw_if_the_plaintext_is_too_lo": {}, + "block_09_been_specified": {}, + "block_10_test_that_final_throws_in_ccm_mode_when_no_authentication_ta": {}, + "block_11_test_that_setauthtag_does_not_throw_in_gcm_mode_when_called_": {}, + "block_12_test_that_an_iv_length_of_11_does_not_overflow_max_message_s": {}, + "block_13_final_in_gcm_mode_ocb_mode_and_for_chacha20_poly1305": { "category": "runnable", "reason": "carries 22.14.0 subtest block_12_final_in_gcm_or_ocb_mode" }, + "block_14_test_that_setauthtag_can_only_be_called_once": {}, + "block_15_https_www_openssl_org_news_secadv_20190306_txt": {}, + "block_16_block_16": {} } }, "parallel/test-crypto-certificate.js": { diff --git a/tests/node_compat/mapping-22.14.0-to-26.13.1.json b/tests/node_compat/mapping-22.14.0-to-26.13.1.json index 43abe1c5b..3605bb9b3 100644 --- a/tests/node_compat/mapping-22.14.0-to-26.13.1.json +++ b/tests/node_compat/mapping-22.14.0-to-26.13.1.json @@ -39,7 +39,7 @@ "unsplit / failed": 2, "unsplit / skipped": 6 }, - "baselineGapCases": 343, + "baselineGapCases": 327, "nowNodeInternalsCases": 45 }, "missingSources": [ @@ -4019,117 +4019,6 @@ "previous": {}, "error": "error:0408006C:rsa routines::digest too big for rsa key" }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_00_non_authenticating_mode", - "baseline": true, - "previous": {}, - "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_01_throw", - "baseline": true, - "previous": {}, - "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_03_test_that_gcm_can_produce_shorter_authentication_tags_than_1", - "baseline": true, - "previous": {}, - "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_04_test_that_users_can_manually_restrict_the_gcm_tag_length_to_", - "baseline": true, - "previous": {}, - "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_05_authentication_tag_length_has_been_specified", - "baseline": true, - "previous": { - "category": "runnable", - "reason": "carries 22.14.0 subtest block_04_authentication_tag_length_has_been_specified" - }, - "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_06_authentication_tag_length_has_been_specified", - "baseline": true, - "previous": { - "category": "runnable", - "reason": "carries 22.14.0 subtest block_05_authentication_tag_has_been_specified" - }, - "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_07_test_that_setaad_throws_if_an_invalid_plaintext_length_has_b", - "baseline": true, - "previous": {}, - "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_08_test_that_setaad_and_update_throw_if_the_plaintext_is_too_lo", - "baseline": true, - "previous": {}, - "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_09_been_specified", - "baseline": true, - "previous": {}, - "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_10_test_that_final_throws_in_ccm_mode_when_no_authentication_ta", - "baseline": true, - "previous": {}, - "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_11_test_that_setauthtag_does_not_throw_in_gcm_mode_when_called_", - "baseline": true, - "previous": {}, - "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_12_test_that_an_iv_length_of_11_does_not_overflow_max_message_s", - "baseline": true, - "previous": {}, - "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_14_test_that_setauthtag_can_only_be_called_once", - "baseline": true, - "previous": {}, - "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_15_https_www_openssl_org_news_secadv_20190306_txt", - "baseline": true, - "previous": {}, - "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_16_block_16", - "baseline": true, - "previous": {}, - "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:" - }, { "file": "parallel/test-crypto-cipheriv-decipheriv.js", "subtest": "block_00_block_00", @@ -6262,15 +6151,6 @@ }, "error": "Unhandled promise rejection: AssertionError: 'a\\rb' !== 'a\\nb'" }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_13_final_in_gcm_mode_ocb_mode_and_for_chacha20_poly1305", - "baseline": true, - "previous": { - "category": "unevaluated" - }, - "error": "The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input" - }, { "file": "parallel/test-sqlite.js", "subtest": "test_08_sql_apis_enabled_at_build_time", @@ -6315,6 +6195,88 @@ "subtest": null, "fix": "process.release.lts reports 'Lithium', the LTS codename of 26.13.1 in the official dist index" } + ], + "repaired": [ + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_00_non_authenticating_mode", + "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_01_throw", + "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_03_test_that_gcm_can_produce_shorter_authentication_tags_than_1", + "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_04_test_that_users_can_manually_restrict_the_gcm_tag_length_to_", + "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_05_authentication_tag_length_has_been_specified", + "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_06_authentication_tag_length_has_been_specified", + "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_07_test_that_setaad_throws_if_an_invalid_plaintext_length_has_b", + "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_08_test_that_setaad_and_update_throw_if_the_plaintext_is_too_lo", + "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_09_been_specified", + "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_10_test_that_final_throws_in_ccm_mode_when_no_authentication_ta", + "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_11_test_that_setauthtag_does_not_throw_in_gcm_mode_when_called_", + "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_12_test_that_an_iv_length_of_11_does_not_overflow_max_message_s", + "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_14_test_that_setauthtag_can_only_be_called_once", + "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_15_https_www_openssl_org_news_secadv_20190306_txt", + "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_16_block_16", + "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" + }, + { + "file": "parallel/test-crypto-authenticated.js", + "subtest": "block_13_final_in_gcm_mode_ocb_mode_and_for_chacha20_poly1305", + "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" + } ] }, "matchedByPosition": [ diff --git a/tests/node_compat/report.md b/tests/node_compat/report.md index 150058497..7d04599f9 100644 --- a/tests/node_compat/report.md +++ b/tests/node_compat/report.md @@ -8,21 +8,21 @@ This report is generated from `config.jsonc` and the pinned vendored Node.js sou Primary compatibility is measured over the public API surface we can provide: CI-enforced passing (`runnable`) plus `known-gap`. WASI-impossible tests, engine differences, unevaluated tests, and Node.js-internals tests are acknowledged separately and excluded from the primary percentage. -**Primary compatibility (CI-enforced):** 2864/4452 (64.3%) +**Primary compatibility (CI-enforced):** 2880/4452 (64.7%) When comparing revisions, read the runnable count and secondary full-public percentage alongside the primary percentage. Reclassifying a test into an excluded category can increase the primary percentage without increasing runnable coverage. | Classification | Count | Primary % | Public inventory % | All listed % | |----------------|-------|-----------|--------------------|--------------| -| ✅ passing (runnable) | 2864 | 64.3% | 29.8% | 26.6% | -| 🧩 known gap | 1588 | 35.7% | 16.5% | 14.7% | +| ✅ passing (runnable) | 2880 | 64.7% | 30.0% | 26.7% | +| 🧩 known gap | 1572 | 35.3% | 16.4% | 14.6% | | 🚫 WASI-impossible (excluded) | 1148 | — | 11.9% | 10.6% | | ⚙️ engine difference (excluded) | 167 | — | 1.7% | 1.5% | | ❔ unevaluated (excluded) | 3845 | — | 40.0% | 35.6% | | 🔒 Node.js internals (excluded) | 1175 | — | — | 10.9% | | **Total** | **10787** | | | **100.0%** | -Secondary full-public compatibility, including public tests that are currently excluded from primary: **2864/9612 (29.8%)**. +Secondary full-public compatibility, including public tests that are currently excluded from primary: **2880/9612 (30.0%)**. ## Inventory by Module @@ -39,7 +39,7 @@ Secondary full-public compatibility, including public tests that are currently e | common | 16 | 1 | 8 | 0 | 0 | 7 | 0 | 11.1% | 6.2% | | compile | 29 | 0 | 0 | 0 | 15 | 14 | 0 | 0.0% | 0.0% | | console | 32 | 28 | 2 | 0 | 0 | 1 | 1 | 93.3% | 90.3% | -| crypto | 398 | 137 | 76 | 7 | 0 | 171 | 7 | 64.3% | 35.0% | +| crypto | 398 | 153 | 60 | 7 | 0 | 171 | 7 | 71.8% | 39.1% | | dgram | 141 | 22 | 74 | 7 | 0 | 24 | 14 | 22.9% | 17.3% | | diagnostics_channel | 102 | 23 | 7 | 1 | 2 | 69 | 0 | 76.7% | 22.5% | | dns | 54 | 2 | 29 | 0 | 0 | 9 | 14 | 6.5% | 5.0% | @@ -201,7 +201,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-console-instance.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | | `test-crypto-argon2.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-crypto-async-sign-verify.js` | 3 | 1 | 2 | 0 | 0 | 0 | 0 | -| `test-crypto-authenticated.js` | 17 | 0 | 16 | 0 | 0 | 1 | 0 | +| `test-crypto-authenticated.js` | 17 | 16 | 0 | 0 | 0 | 1 | 0 | | `test-crypto-certificate.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-crypto-cipheriv-decipheriv.js` | 4 | 0 | 4 | 0 | 0 | 0 | 0 | | `test-crypto-dh-constructor.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | @@ -1094,7 +1094,7 @@ Secondary full-public compatibility, including public tests that are currently e ## Classified Non-Runnable Tests -### known gap (1588) +### known gap (1572) | Reason | Count | Example entries | |--------|-------|-----------------| @@ -1114,7 +1114,6 @@ Secondary full-public compatibility, including public tests that are currently e | Node 26.13.1 baseline gap: Missing expected exception. | 16 | `parallel/test-assert-deep.js#test_02_date`, `parallel/test-assert-deep.js#test_03_regexp`, `parallel/test-assert-deep.js#test_07_gh_14441_circular_structures_should_be_consistent`, ... (+13) | | Node 26.13.1 baseline gap: Missing expected exception (TypeError). | 14 | `parallel/test-buffer-pool-untransferable.js`, `parallel/test-crypto-dh-stateless.js#block_00_block_00`, `parallel/test-crypto-dh-stateless.js#block_01_block_01`, ... (+11) | | wasi:sockets UDP implementation crashes in wasmtime | 14 | `parallel/test-dgram-connect-send-callback-buffer.js`, `parallel/test-dgram-connect-send-callback-multi-buffer.js`, `parallel/test-dgram-connect-send-default-host.js`, ... (+11) | -| Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input: | 13 | `parallel/test-crypto-authenticated.js#block_00_non_authenticating_mode`, `parallel/test-crypto-authenticated.js#block_01_throw`, `parallel/test-crypto-authenticated.js#block_03_test_that_gcm_can_produce_shorter_authentication_tags_than_1`, ... (+10) | | domain module depends on async_hooks, not fully working | 13 | `parallel/test-domain-promise.js#block_00_block_00`, `parallel/test-domain-promise.js#block_01_block_01`, `parallel/test-domain-promise.js#block_03_block_03`, ... (+10) | | the shared fixture creates rooted symlink targets that cannot be resolved inside a WASI preopen | 13 | `sequential/test-fs-opendir-recursive.js#block_00_block_00`, `sequential/test-fs-opendir-recursive.js#block_01_block_01`, `sequential/test-fs-opendir-recursive.js#block_02_block_02`, ... (+10) | | node:readline module is not yet supported in WebAssembly environment | 12 | `parallel/test-readline-keys.js`, `parallel/test-readline-position.js`, `parallel/test-readline-reopen.js`, ... (+9) | @@ -1368,9 +1367,6 @@ Secondary full-public compatibility, including public tests that are currently e | Node 26.13.1 baseline gap: Missing expected exception.; the runnable assertions execute, while its common.hasIntl-gated invalid-IDNA matrix is covered separately by focused runtime tests | 1 | `parallel/test-url-parse-invalid-input.js` | | Node 26.13.1 baseline gap: Only --eval/-e, --input-type, and script files are supported in WASM child emulation; carries 22.14.0 subtest test_00_disabled_without_experimental_webstorage | 1 | `parallel/test-webstorage.js#test_08_disabled_with_no_webstorage` | | Node 26.13.1 baseline gap: The argument 'format' must be a valid string format. Received "grey" | 1 | `parallel/test-util-styletext.js` | -| Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:; carries 22.14.0 subtest block_04_authentication_tag_length_has_been_specified | 1 | `parallel/test-crypto-authenticated.js#block_05_authentication_tag_length_has_been_specified` | -| Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input:; carries 22.14.0 subtest block_05_authentication_tag_has_been_specified | 1 | `parallel/test-crypto-authenticated.js#block_06_authentication_tag_length_has_been_specified` | -| Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input; carries 22.14.0 subtest block_12_final_in_gcm_or_ocb_mode | 1 | `parallel/test-crypto-authenticated.js#block_13_final_in_gcm_mode_ocb_mode_and_for_chacha20_poly1305` | | Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected "actual" to be strict | 1 | `parallel/test-stream-readable-to-web-termination.js#block_01_block_01` | | Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception (Ty | 1 | `parallel/test-vm-module-errors.js` | | Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Ab | 1 | `parallel/test-fs-promises-file-handle-append-file.js` | From 5ef6e6e887c2c35c1b040a3a8cd9abf94762e1b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 16 Nov 2026 22:19:58 +0000 Subject: [PATCH 12/55] Validate key encoding options as Node does [skip ci] --- .../skeleton/src/builtin/util.js | 4 +- .../skeleton/src/builtin/web-crypto.js | 142 ++++++++---------- examples/runtime/crypto/src/crypto.js | 48 +++++- examples/runtime/crypto/wit/crypto.wit | 1 + .../generated_types_crypto_exports.d.ts | 1 + tests/runtime/crypto.rs | 40 +++++ 6 files changed, 156 insertions(+), 80 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/util.js b/crates/wasm-rquickjs/skeleton/src/builtin/util.js index 40de160ac..da659cfb1 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/util.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/util.js @@ -418,10 +418,10 @@ function _exportKeyForCompare(key, keyType) { // Try a more explicit export signature. } + const formatType = keyType === 'public' ? 'spki' : 'pkcs8'; try { - return key.export('der'); + return key.export({ format: 'der', type: formatType }); } catch (_) { - const formatType = keyType === 'public' ? 'spki' : 'pkcs8'; try { return key.export('der', formatType, undefined); } catch (_) { diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js b/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js index 98278e3e4..c6a50e07a 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js @@ -2855,6 +2855,51 @@ function createInvalidKeyObjectTypeError(type_) { return err; } +// Output encoding of KeyObject#export and generateKeyPair, as Node's parseKeyEncoding validates it +// (lib/internal/crypto/keys.js). `objName` prefixes the option names in errors. The raw key formats +// are not parsed here; callers handle them before calling this. +function parseKeyOutputEncoding(enc, asymmetricKeyType, isPublic, objName) { + const { format, type } = enc; + if (format !== 'pem' && format !== 'der' && format !== 'jwk') { + throw new ERR_INVALID_ARG_VALUE(`${objName}.format`, format); + } + if (type !== undefined || format !== 'jwk') { + if (type === 'pkcs1') { + if (asymmetricKeyType !== 'rsa') { + throw new ERR_CRYPTO_INCOMPATIBLE_KEY_OPTIONS(type, 'can only be used for RSA keys'); + } + } else if (type === 'sec1' && !isPublic) { + if (asymmetricKeyType !== 'ec') { + throw new ERR_CRYPTO_INCOMPATIBLE_KEY_OPTIONS(type, 'can only be used for EC keys'); + } + } else if (!(type === 'spki' && isPublic) && !(type === 'pkcs8' && !isPublic)) { + throw new ERR_INVALID_ARG_VALUE(`${objName}.type`, type); + } + } + if (isPublic) { + return { format, type }; + } + const { cipher, passphrase } = enc; + if (cipher != null) { + if (typeof cipher !== 'string') { + throw new ERR_INVALID_ARG_VALUE(`${objName}.cipher`, cipher); + } + if (format === 'der' && (type === 'pkcs1' || type === 'sec1')) { + throw new ERR_CRYPTO_INCOMPATIBLE_KEY_OPTIONS(type, 'does not support encryption'); + } + if (!isStringOrBufferLike(passphrase)) { + throw new ERR_INVALID_ARG_VALUE(`${objName}.passphrase`, passphrase); + } + } else if (passphrase !== undefined) { + throw new ERR_INVALID_ARG_VALUE(`${objName}.cipher`, cipher, 'is required when a passphrase is specified'); + } + return { format, type, cipher, passphrase }; +} + +function isRawKeyFormat(format) { + return format === 'raw-public' || format === 'raw-private' || format === 'raw-seed'; +} + // ===== KeyObject ===== class KeyObject { @@ -2974,17 +3019,18 @@ class KeyObject { throw new ERR_INVALID_ARG_TYPE('options', 'object', options); } - const format = options.format || (options.type ? 'pem' : 'der'); - const type_ = options.type || null; - - if (format === 'jwk' && (options.passphrase !== undefined || options.cipher !== undefined)) { - throw new ERR_CRYPTO_INCOMPATIBLE_KEY_OPTIONS('jwk', 'does not support encryption'); + const isPublic = this._type === 'public'; + let format = options.format; + if (!isPublic && options.passphrase !== undefined && format !== 'pem' && format !== 'der') { + throw new ERR_CRYPTO_INCOMPATIBLE_KEY_OPTIONS(format, 'does not support encryption'); } - - if (options.passphrase !== undefined && options.cipher === undefined) { - const err = new TypeError("The property 'options.cipher' is invalid. Received undefined"); - err.code = 'ERR_INVALID_ARG_VALUE'; - throw err; + // Raw formats keep the native path; they are not implemented, and fail there. + let type_ = options.type || null; + let cipher; + let passphrase; + if (!isRawKeyFormat(format) && format !== 'jwk') { + ({ format, type: type_, cipher, passphrase } = + parseKeyOutputEncoding(options, this.asymmetricKeyType, isPublic, 'options')); } // JWK export @@ -3005,10 +3051,11 @@ class KeyObject { throw new Error('Failed to export key as JWK'); } - // Encrypted PEM export - if (options.cipher && options.passphrase !== undefined) { - const passBytes = toBytes(options.passphrase); - const result = webCryptoNative.key_export_encrypted(this._handle, format, type_ || 'pkcs8', options.cipher, passBytes); + // Encrypted private key export + if (cipher != null) { + const cipherName = normalizeCipherAlgorithm(cipher); + const passBytes = toBytes(passphrase); + const result = webCryptoNative.key_export_encrypted(this._handle, format, type_, cipherName, passBytes); if (result === null || result === undefined) { throw new Error('Failed to export encrypted key'); } @@ -5741,9 +5788,8 @@ export function createPrivateKey(key) { } const format = key.format || 'pem'; if (format === 'der' && key.type !== undefined && key.type !== 'pkcs1' && key.type !== 'pkcs8' && key.type !== 'sec1') { - const err = new TypeError("The property 'options.type' is invalid. Received '" + key.type + "'"); - err.code = 'ERR_INVALID_ARG_VALUE'; - throw err; + // Node 26 names input encoding options after the `key` argument. + throw new ERR_INVALID_ARG_VALUE('key.type', key.type); } const normalizedKeyData = normalizeAsymmetricKeyDataForEncoding(innerKey, format, key.encoding); const normalizedPassphrase = normalizeAsymmetricPassphraseForEncoding(key.passphrase, key.encoding); @@ -6420,41 +6466,6 @@ function isStringOrBufferLike(value) { return typeof value === 'string' || ArrayBuffer.isView(value) || isAnyArrayBuffer(value); } -function validateGeneratedKeyEncodingFormat(optionName, encodingOptions) { - const format = encodingOptions.format; - if (format !== 'pem' && format !== 'der' && format !== 'jwk') { - throw createInvalidKeygenPropertyError(`${optionName}.format`, format); - } - return format; -} - -function validateGeneratedPublicKeyEncodingType(type_, encodingOptions, format) { - const keyType = encodingOptions.type; - if ((format !== 'jwk' && keyType === undefined) || - (keyType !== undefined && keyType !== 'pkcs1' && keyType !== 'spki')) { - throw createInvalidKeygenPropertyError('publicKeyEncoding.type', keyType); - } - - if (keyType === 'pkcs1' && type_ !== 'rsa') { - throw new ERR_CRYPTO_INCOMPATIBLE_KEY_OPTIONS('pkcs1', 'can only be used for RSA keys'); - } -} - -function validateGeneratedPrivateKeyEncodingType(type_, encodingOptions, format) { - const keyType = encodingOptions.type; - if ((format !== 'jwk' && keyType === undefined) || - (keyType !== undefined && keyType !== 'pkcs1' && keyType !== 'pkcs8' && keyType !== 'sec1')) { - throw createInvalidKeygenPropertyError('privateKeyEncoding.type', keyType); - } - - if (keyType === 'pkcs1' && type_ !== 'rsa') { - throw new ERR_CRYPTO_INCOMPATIBLE_KEY_OPTIONS('pkcs1', 'can only be used for RSA keys'); - } - if (keyType === 'sec1' && type_ !== 'ec') { - throw new ERR_CRYPTO_INCOMPATIBLE_KEY_OPTIONS('sec1', 'can only be used for EC keys'); - } -} - function validateGeneratedPublicKeyEncoding(type_, publicKeyEncoding) { if (publicKeyEncoding == null) { return; @@ -6462,9 +6473,7 @@ function validateGeneratedPublicKeyEncoding(type_, publicKeyEncoding) { if (typeof publicKeyEncoding !== 'object' || Array.isArray(publicKeyEncoding)) { throw createInvalidKeygenPropertyError('publicKeyEncoding', publicKeyEncoding); } - - const format = validateGeneratedKeyEncodingFormat('publicKeyEncoding', publicKeyEncoding); - validateGeneratedPublicKeyEncodingType(type_, publicKeyEncoding, format); + parseKeyOutputEncoding(publicKeyEncoding, type_, true, 'options.publicKeyEncoding'); } function validateGeneratedPrivateKeyEncoding(type_, privateKeyEncoding) { @@ -6474,28 +6483,7 @@ function validateGeneratedPrivateKeyEncoding(type_, privateKeyEncoding) { if (typeof privateKeyEncoding !== 'object' || Array.isArray(privateKeyEncoding)) { throw createInvalidKeygenPropertyError('privateKeyEncoding', privateKeyEncoding); } - - const format = validateGeneratedKeyEncodingFormat('privateKeyEncoding', privateKeyEncoding); - validateGeneratedPrivateKeyEncodingType(type_, privateKeyEncoding, format); - - const cipher = privateKeyEncoding.cipher; - const passphrase = privateKeyEncoding.passphrase; - if (format === 'jwk' && (cipher !== undefined || passphrase !== undefined)) { - throw new ERR_CRYPTO_INCOMPATIBLE_KEY_OPTIONS('jwk', 'does not support encryption'); - } - if (cipher != null && typeof cipher !== 'string') { - throw createInvalidKeygenPropertyError('privateKeyEncoding.cipher', cipher); - } - if (cipher == null && passphrase !== undefined) { - throw createInvalidKeygenPropertyError('privateKeyEncoding.cipher', cipher); - } - if (cipher != null && !isStringOrBufferLike(passphrase)) { - throw createInvalidKeygenPropertyError('privateKeyEncoding.passphrase', passphrase); - } - if (cipher != null && format === 'der' && - (privateKeyEncoding.type === 'pkcs1' || privateKeyEncoding.type === 'sec1')) { - throw new ERR_CRYPTO_INCOMPATIBLE_KEY_OPTIONS(privateKeyEncoding.type, 'does not support encryption'); - } + const { cipher } = parseKeyOutputEncoding(privateKeyEncoding, type_, false, 'options.privateKeyEncoding'); if (cipher != null) { privateKeyEncoding.cipher = normalizeCipherAlgorithm(cipher); } diff --git a/examples/runtime/crypto/src/crypto.js b/examples/runtime/crypto/src/crypto.js index 0911bbb27..7a9a25db0 100644 --- a/examples/runtime/crypto/src/crypto.js +++ b/examples/runtime/crypto/src/crypto.js @@ -1,4 +1,4 @@ -import { createHash, createHmac, hash, getHashes, getCiphers, getCurves, constants, randomBytes, randomInt, timingSafeEqual, pbkdf2Sync, scryptSync, hkdfSync, createCipheriv, createDecipheriv, generateKeyPairSync, createSign, createVerify, createPublicKey, sign, verify } from 'node:crypto'; +import { createHash, createHmac, hash, getHashes, getCiphers, getCurves, constants, randomBytes, randomInt, timingSafeEqual, pbkdf2Sync, scryptSync, hkdfSync, createCipheriv, createDecipheriv, generateKeyPairSync, createSign, createVerify, createPublicKey, createPrivateKey, sign, verify } from 'node:crypto'; export function newUuids() { const uuid1 = crypto.randomUUID() @@ -275,3 +275,49 @@ export async function subtleSignVerifyRsaPss(message) { const signature = await crypto.subtle.sign(pss, keyPair.privateKey, data); return await crypto.subtle.verify(pss, keyPair.publicKey, signature, data); } + +export function cryptoErrorContracts() { + const lines = []; + const check = (name, fn) => { + try { + const value = fn(); + lines.push(`${name}: ok ${typeof value === 'string' ? value.split('\n')[0] : typeof value}`); + } catch (e) { + lines.push(`${name}: ${e.name} ${e.code} ${e.message}`); + } + }; + const aeadFinal = (algorithm, tamper) => { + const key = Buffer.alloc(32, 1); + const iv = Buffer.alloc(12, 2); + const cipher = createCipheriv(algorithm, key, iv); + const ciphertext = Buffer.concat([cipher.update('payload'), cipher.final()]); + const tag = cipher.getAuthTag(); + const decipher = createDecipheriv(algorithm, key, iv); + if (tamper !== 'no-tag') { + tag[0] ^= 1; + decipher.setAuthTag(tag); + } + decipher.update(ciphertext); + return decipher.final(); + }; + check('gcm tampered tag', () => aeadFinal('aes-256-gcm', 'tag')); + check('gcm missing tag', () => aeadFinal('aes-256-gcm', 'no-tag')); + check('chacha20-poly1305 tampered tag', () => aeadFinal('chacha20-poly1305', 'tag')); + + const rsa = generateKeyPairSync('rsa', { modulusLength: 512 }); + const ed = generateKeyPairSync('ed25519'); + check('public pkcs8', () => rsa.publicKey.export({ format: 'pem', type: 'pkcs8' })); + check('public without format', () => rsa.publicKey.export({ type: 'spki' })); + check('public spki ignores cipher', () => rsa.publicKey.export({ format: 'pem', type: 'spki', cipher: 'aes-128-cbc', passphrase: 'x' })); + check('private without type', () => rsa.privateKey.export({ format: 'pem' })); + check('private passphrase without cipher', () => rsa.privateKey.export({ format: 'pem', type: 'pkcs8', passphrase: 'x' })); + check('private der pkcs1 encrypted', () => rsa.privateKey.export({ format: 'der', type: 'pkcs1', cipher: 'aes-128-cbc', passphrase: 'x' })); + check('private unknown cipher', () => rsa.privateKey.export({ format: 'pem', type: 'pkcs8', cipher: 'nope', passphrase: 'x' })); + check('private pem pkcs8 encrypted', () => rsa.privateKey.export({ format: 'pem', type: 'pkcs8', cipher: 'aes-128-cbc', passphrase: 'x' })); + check('ed25519 public pkcs1', () => ed.publicKey.export({ format: 'pem', type: 'pkcs1' })); + check('ed25519 private sec1', () => ed.privateKey.export({ format: 'pem', type: 'sec1' })); + check('keygen passphrase without cipher', () => generateKeyPairSync('ed25519', { privateKeyEncoding: { format: 'jwk', passphrase: 'x' } })); + check('keygen public pkcs8', () => generateKeyPairSync('ed25519', { publicKeyEncoding: { format: 'pem', type: 'pkcs8' } })); + check('createPrivateKey der spki', () => createPrivateKey({ key: Buffer.alloc(0), format: 'der', type: 'spki' })); + return lines; +} diff --git a/examples/runtime/crypto/wit/crypto.wit b/examples/runtime/crypto/wit/crypto.wit index f23230197..535ae62b3 100644 --- a/examples/runtime/crypto/wit/crypto.wit +++ b/examples/runtime/crypto/wit/crypto.wit @@ -35,4 +35,5 @@ world crypto { export subtle-sign-verify-hmac: func(message: string) -> bool; export subtle-sign-verify-ed25519: func(message: string) -> bool; export subtle-sign-verify-rsa-pss: func(message: string) -> bool; + export crypto-error-contracts: func() -> list; } diff --git a/tests/goldenfiles/generated_types_crypto_exports.d.ts b/tests/goldenfiles/generated_types_crypto_exports.d.ts index 52cf1e7cd..589ae973b 100644 --- a/tests/goldenfiles/generated_types_crypto_exports.d.ts +++ b/tests/goldenfiles/generated_types_crypto_exports.d.ts @@ -33,4 +33,5 @@ declare module 'crypto' { export function subtleSignVerifyHmac(message: string): boolean; export function subtleSignVerifyEd25519(message: string): boolean; export function subtleSignVerifyRsaPss(message: string): boolean; + export function cryptoErrorContracts(): string[]; } diff --git a/tests/runtime/crypto.rs b/tests/runtime/crypto.rs index b15746cf2..e22a243b4 100644 --- a/tests/runtime/crypto.rs +++ b/tests/runtime/crypto.rs @@ -1054,3 +1054,43 @@ async fn crypto_subtle_sign_verify_rsa_pss( _ => Err(anyhow!("Expected bool result")), } } + +/// Error contracts of AEAD decryption and key encoding options, as Node.js 26.13.1 reports them. +#[test] +async fn crypto_error_contracts( + #[tagged_as("crypto")] compiled: &CompiledTest, +) -> anyhow::Result<()> { + let (result, _output) = + invoke_and_capture_output(compiled.wasm_path(), None, "crypto-error-contracts", &[]).await; + + let lines = match result? { + Some(Val::List(vals)) => vals + .into_iter() + .map(|v| match v { + Val::String(s) => Ok(s), + other => Err(anyhow!("Expected string, got {other:?}")), + }) + .collect::>>()?, + _ => return Err(anyhow!("Expected list result")), + }; + let expected = [ + "gcm tampered tag: Error undefined Unsupported state or unable to authenticate data", + "gcm missing tag: Error undefined Unsupported state or unable to authenticate data", + "chacha20-poly1305 tampered tag: Error undefined Unsupported state or unable to authenticate data", + "public pkcs8: TypeError ERR_INVALID_ARG_VALUE The property 'options.type' is invalid. Received 'pkcs8'", + "public without format: TypeError ERR_INVALID_ARG_VALUE The property 'options.format' is invalid. Received undefined", + "public spki ignores cipher: ok -----BEGIN PUBLIC KEY-----", + "private without type: TypeError ERR_INVALID_ARG_VALUE The property 'options.type' is invalid. Received undefined", + "private passphrase without cipher: TypeError ERR_INVALID_ARG_VALUE The property 'options.cipher' is required when a passphrase is specified. Received undefined", + "private der pkcs1 encrypted: Error ERR_CRYPTO_INCOMPATIBLE_KEY_OPTIONS The selected key encoding pkcs1 does not support encryption.", + "private unknown cipher: Error ERR_CRYPTO_UNKNOWN_CIPHER Unknown cipher", + "private pem pkcs8 encrypted: ok -----BEGIN ENCRYPTED PRIVATE KEY-----", + "ed25519 public pkcs1: Error ERR_CRYPTO_INCOMPATIBLE_KEY_OPTIONS The selected key encoding pkcs1 can only be used for RSA keys.", + "ed25519 private sec1: Error ERR_CRYPTO_INCOMPATIBLE_KEY_OPTIONS The selected key encoding sec1 can only be used for EC keys.", + "keygen passphrase without cipher: TypeError ERR_INVALID_ARG_VALUE The property 'options.privateKeyEncoding.cipher' is required when a passphrase is specified. Received undefined", + "keygen public pkcs8: TypeError ERR_INVALID_ARG_VALUE The property 'options.publicKeyEncoding.type' is invalid. Received 'pkcs8'", + "createPrivateKey der spki: TypeError ERR_INVALID_ARG_VALUE The property 'key.type' is invalid. Received 'spki'", + ]; + assert_eq!(lines, expected); + Ok(()) +} From 950b9c0489a596a12197a1fc4afcbceef6dd49aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 16 Nov 2026 23:00:13 +0000 Subject: [PATCH 13/55] Report WebCrypto key and random value errors as Node does [skip ci] --- .../skeleton/src/builtin/web-crypto.js | 80 +++++--- examples/runtime/crypto/src/crypto.js | 49 +++++ examples/runtime/crypto/wit/crypto.wit | 1 + .../generated_types_crypto_exports.d.ts | 1 + tests/node_compat/config.jsonc | 30 +-- .../mapping-22.14.0-to-26.13.1.json | 172 ++++++++---------- tests/node_compat/report.md | 25 ++- tests/runtime/crypto.rs | 41 +++++ 8 files changed, 246 insertions(+), 153 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js b/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js index c6a50e07a..7adbc8c55 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js @@ -656,12 +656,23 @@ function isIntegerTypedArray(value) { value instanceof BigUint64Array; } +const kGetRandomValuesPrefix = "Failed to execute 'getRandomValues' on 'Crypto'"; + +function codedTypeError(message, code) { + const err = new TypeError(message); + err.code = code; + return err; +} + export function getRandomValues(typedArray) { + if (!ArrayBuffer.isView(typedArray)) { + throw codedTypeError(`${kGetRandomValuesPrefix}: 1st argument is not an ArrayBufferView.`, 'ERR_INVALID_ARG_TYPE'); + } if (!isIntegerTypedArray(typedArray)) { - throw new DOMException('The provided value is not of type \'(Int8Array or Int16Array or Int32Array or Uint8Array or Uint16Array or Uint32Array or Uint8ClampedArray or Float32Array or Float64Array or DataView or BigInt64Array or BigUint64Array)\'', 'TypeMismatchError'); + throw new DOMException('The data argument must be an integer-type TypedArray', 'TypeMismatchError'); } if (typedArray.byteLength > 65536) { - throw new DOMException('The ArrayBufferView\'s byte length (' + typedArray.byteLength + ') exceeds the number of bytes of entropy available via this API (65536)', 'QuotaExceededError'); + throw new DOMException('The requested length exceeds 65,536 bytes', 'QuotaExceededError'); } // Use a plain Uint8Array view to randomize the underlying buffer, // which works for all integer typed array types including Buffer subclasses @@ -3148,7 +3159,15 @@ class KeyObject { cryptoAlgorithm = { name: 'HKDF' }; } else if (normalizedAlgorithm.upperName === 'HMAC') { const requestedLength = getRequestedHmacLength(algorithm, keyLengthBits); - if (requestedLength === 0 || keyLengthBits === 0) { + if (requestedLength === 0 && typeof algorithm === 'object' && algorithm.length !== undefined) { + throw createDataError('HmacImportParams.length cannot be 0'); + } + ensureAllowedCryptoKeyUsages( + usages, + new Set(['sign', 'verify']), + 'Unsupported key usage for HMAC key', + ); + if (keyLengthBits === 0) { throw createDataError('Zero-length key is not supported'); } if (requestedLength !== keyLengthBits) { @@ -3161,11 +3180,6 @@ class KeyObject { if (usages.length === 0) { throw createSyntaxError('Usages cannot be empty when importing a secret key.'); } - ensureAllowedCryptoKeyUsages( - usages, - new Set(['sign', 'verify']), - 'Unsupported key usage for an HMAC key', - ); cryptoAlgorithm = { name: 'HMAC', hash: { name: normalizeToCryptoKeyHash(algorithm) }, @@ -3285,15 +3299,11 @@ Object.defineProperty(KeyObject.prototype, Symbol.toStringTag, { export { KeyObject }; function createDataError(message) { - const err = new Error(message); - err.name = 'DataError'; - return err; + return new DOMException(message, 'DataError'); } function createSyntaxError(message) { - const err = new Error(message); - err.name = 'SyntaxError'; - return err; + return new DOMException(message, 'SyntaxError'); } function normalizeToCryptoKeyAlgorithm(algorithm) { @@ -7818,23 +7828,30 @@ function concatBytesParts(...parts) { return result; } -function throwInvalidAccessError() { - throw new DOMException('The requested operation is not valid for the provided key', 'InvalidAccessError'); -} - function throwOperationError() { throw new DOMException('The operation failed for an operation-specific reason', 'OperationError'); } +const HMAC_JWK_ALGS = { 'SHA-1': 'HS1', 'SHA-256': 'HS256', 'SHA-384': 'HS384', 'SHA-512': 'HS512' }; + +// JWK "alg" for an HMAC hash; undefined for hashes without a registered value, such as SHA-3. +function getHmacJwkAlg(algorithm) { + return HMAC_JWK_ALGS[normalizeToCryptoKeyHash(algorithm)]; +} + +function throwUnusableKeyError(usage) { + throw new DOMException(`Unable to use this key to ${usage}`, 'InvalidAccessError'); +} + function validateKeyUsage(key, usage) { if (!key || !key._usages || !key._usages.includes(usage)) { - throwInvalidAccessError(); + throwUnusableKeyError(usage); } } function validateKeyAlgorithm(key, algorithmName) { if (!key || !key._algorithm || key._algorithm.name.toUpperCase() !== algorithmName.toUpperCase()) { - throwInvalidAccessError(); + throw new DOMException('Key algorithm mismatch', 'InvalidAccessError'); } } @@ -7996,7 +8013,7 @@ class SubtleCrypto { } for (const u of keyUsages) { if (u !== 'sign' && u !== 'verify') { - throw new DOMException('Unsupported key usage for an HMAC key', 'SyntaxError'); + throw new DOMException('Unsupported key usage for HMAC key', 'SyntaxError'); } } if (keyUsages.length === 0) { @@ -8261,6 +8278,12 @@ class SubtleCrypto { throw createDataError('Invalid keyData'); } if (keyData.kty === 'oct') { + if (name === 'HMAC' && keyData.alg !== undefined) { + const expected = getHmacJwkAlg(algorithm); + if (expected !== undefined && keyData.alg !== expected) { + throw createDataError('JWK "alg" does not match the requested algorithm'); + } + } const raw = base64UrlToBytes(keyData.k); const secretKey = createSecretKey(raw); return secretKey.toCryptoKey(algorithm, extractable, keyUsages); @@ -8312,6 +8335,10 @@ class SubtleCrypto { } jwk.key_ops = [...key._usages]; jwk.ext = key._extractable; + if (key._algorithm.name === 'HMAC') { + const alg = getHmacJwkAlg(key._algorithm); + if (alg !== undefined) jwk.alg = alg; + } return jwk; } if (format === 'spki') { @@ -8337,14 +8364,14 @@ class SubtleCrypto { } const name = algoName.toUpperCase(); + validateKeyAlgorithm(key, algoName); if (name === 'AES-KW') { if (!key._usages.includes('wrapKey') && !key._usages.includes('encrypt')) { - throwInvalidAccessError(); + throwUnusableKeyError('encrypt'); } } else { validateKeyUsage(key, 'encrypt'); } - validateKeyAlgorithm(key, algoName); const dataBytes = toBytes(data); if (name === 'AES-KW') { @@ -8417,14 +8444,14 @@ class SubtleCrypto { } const name = algoName.toUpperCase(); + validateKeyAlgorithm(key, algoName); if (name === 'AES-KW') { if (!key._usages.includes('unwrapKey') && !key._usages.includes('decrypt')) { - throwInvalidAccessError(); + throwUnusableKeyError('decrypt'); } } else { validateKeyUsage(key, 'decrypt'); } - validateKeyAlgorithm(key, algoName); const dataBytes = toBytes(data); try { @@ -8651,6 +8678,9 @@ class Crypto { getRandomValues(array) { assertCrypto(this); + if (arguments.length < 1) { + throw codedTypeError(`${kGetRandomValuesPrefix}: 1 argument required, but only 0 present.`, 'ERR_MISSING_ARGS'); + } return getRandomValues(array); } diff --git a/examples/runtime/crypto/src/crypto.js b/examples/runtime/crypto/src/crypto.js index 7a9a25db0..63f865cab 100644 --- a/examples/runtime/crypto/src/crypto.js +++ b/examples/runtime/crypto/src/crypto.js @@ -321,3 +321,52 @@ export function cryptoErrorContracts() { check('createPrivateKey der spki', () => createPrivateKey({ key: Buffer.alloc(0), format: 'der', type: 'spki' })); return lines; } + +export async function webcryptoErrorContracts() { + const lines = []; + const describe = (e) => `${e.name} ${e.code} ${e.message}`; + const check = (name, fn) => { + try { + fn(); + lines.push(`${name}: ok`); + } catch (e) { + lines.push(`${name}: ${describe(e)}`); + } + }; + const checkAsync = async (name, fn) => { + try { + const value = await fn(); + lines.push(`${name}: ok ${value}`); + } catch (e) { + lines.push(`${name}: ${describe(e)}`); + } + }; + const { subtle } = crypto; + check('getRandomValues()', () => crypto.getRandomValues()); + check('getRandomValues(ArrayBuffer)', () => crypto.getRandomValues(new ArrayBuffer(1))); + check('getRandomValues(Float32Array)', () => crypto.getRandomValues(new Float32Array(1))); + check('getRandomValues(65537 bytes)', () => crypto.getRandomValues(new Uint8Array(65537))); + + const iv = new Uint8Array(16); + const cbcDecrypt = await subtle.importKey('raw', new Uint8Array(16), { name: 'AES-CBC' }, false, ['decrypt']); + const cbcEncrypt = await subtle.importKey('raw', new Uint8Array(16), { name: 'AES-CBC' }, false, ['encrypt']); + await checkAsync('encrypt without usage', () => subtle.encrypt({ name: 'AES-CBC', iv }, cbcDecrypt, new Uint8Array(1))); + await checkAsync('decrypt without usage', () => subtle.decrypt({ name: 'AES-CBC', iv }, cbcEncrypt, new Uint8Array(16))); + await checkAsync('decrypt wrong algorithm without usage', () => subtle.decrypt({ name: 'AES-CTR', counter: iv, length: 64 }, cbcEncrypt, new Uint8Array(16))); + const hmacSign = await subtle.importKey('raw', new Uint8Array(32), { name: 'HMAC', hash: 'SHA-256' }, true, ['sign']); + await checkAsync('verify without usage', () => subtle.verify('HMAC', hmacSign, new Uint8Array(32), new Uint8Array(1))); + const kw = await subtle.importKey('raw', new Uint8Array(16), { name: 'AES-KW' }, false, ['unwrapKey']); + await checkAsync('wrapKey without usage', () => subtle.wrapKey('raw', hmacSign, kw, 'AES-KW')); + + const hmac = (length, usages) => subtle.importKey('raw', new Uint8Array(32), { name: 'HMAC', hash: 'SHA-256', length }, false, usages); + await checkAsync('HMAC usage deriveBits', () => hmac(undefined, ['deriveBits'])); + await checkAsync('HMAC length 0', () => hmac(0, ['sign'])); + await checkAsync('HMAC length 384', () => hmac(384, ['sign'])); + const jwk = await subtle.exportKey('jwk', hmacSign); + lines.push(`HMAC SHA-256 jwk alg: ${jwk.alg}`); + await checkAsync('HMAC jwk alg HS384', () => subtle.importKey('jwk', { ...jwk, alg: 'HS384' }, { name: 'HMAC', hash: 'SHA-256' }, true, ['sign'])); + await checkAsync('HMAC jwk without alg', async () => (await subtle.importKey('jwk', { ...jwk, alg: undefined }, { name: 'HMAC', hash: 'SHA-256' }, true, ['sign'])).algorithm.length); + const sha3 = await subtle.importKey('raw', new Uint8Array(32), { name: 'HMAC', hash: 'SHA3-256' }, true, ['sign']); + lines.push(`HMAC SHA3-256 jwk alg: ${(await subtle.exportKey('jwk', sha3)).alg}`); + return lines; +} diff --git a/examples/runtime/crypto/wit/crypto.wit b/examples/runtime/crypto/wit/crypto.wit index 535ae62b3..5e49286d1 100644 --- a/examples/runtime/crypto/wit/crypto.wit +++ b/examples/runtime/crypto/wit/crypto.wit @@ -36,4 +36,5 @@ world crypto { export subtle-sign-verify-ed25519: func(message: string) -> bool; export subtle-sign-verify-rsa-pss: func(message: string) -> bool; export crypto-error-contracts: func() -> list; + export webcrypto-error-contracts: func() -> list; } diff --git a/tests/goldenfiles/generated_types_crypto_exports.d.ts b/tests/goldenfiles/generated_types_crypto_exports.d.ts index 589ae973b..76e25a1c5 100644 --- a/tests/goldenfiles/generated_types_crypto_exports.d.ts +++ b/tests/goldenfiles/generated_types_crypto_exports.d.ts @@ -34,4 +34,5 @@ declare module 'crypto' { export function subtleSignVerifyEd25519(message: string): boolean; export function subtleSignVerifyRsaPss(message: string): boolean; export function cryptoErrorContracts(): string[]; + export function webcryptoErrorContracts(): string[]; } diff --git a/tests/node_compat/config.jsonc b/tests/node_compat/config.jsonc index 249a74e69..fc933b601 100644 --- a/tests/node_compat/config.jsonc +++ b/tests/node_compat/config.jsonc @@ -9701,9 +9701,9 @@ "parallel/test-webcrypto-encrypt-decrypt-aes.js": { "split": true, "subtests": { - "block_00_test_aes_cbc_vectors": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, - "block_01_test_aes_ctr_vectors": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, - "block_02_test_aes_gcm_vectors": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "block_00_test_aes_cbc_vectors": {}, + "block_01_test_aes_ctr_vectors": {}, + "block_02_test_aes_gcm_vectors": {}, "block_03_block_03": {} } }, @@ -9711,9 +9711,9 @@ "parallel/test-webcrypto-encrypt-decrypt.js": { "split": true, "subtests": { - "block_00_test_encrypt_decrypt_aes_ctr": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, - "block_01_test_encrypt_decrypt_aes_cbc": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, - "block_02_test_encrypt_decrypt_aes_gcm": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" } + "block_00_test_encrypt_decrypt_aes_ctr": {}, + "block_01_test_encrypt_decrypt_aes_cbc": {}, + "block_02_test_encrypt_decrypt_aes_gcm": {} } }, "parallel/test-webcrypto-export-import-cfrg.js": { "category": "known-gap", "reason": "OKP (Ed/X) key import/export compatibility is incomplete" }, @@ -9730,12 +9730,12 @@ "parallel/test-webcrypto-export-import.js": { "split": true, "subtests": { - "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Da" }, + "block_00_block_00": {}, "block_01_hmac_non_byte_key_lengths": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, - "block_02_import_export_hmac_secret_key": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Da" }, - "block_03_import_export_aes_secret_key": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Da" }, - "block_04_import_export_rsa_key_pairs": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Da" }, - "block_05_import_export_ec_key_pairs": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Da" }, + "block_02_import_export_hmac_secret_key": {}, + "block_03_import_export_aes_secret_key": {}, + "block_04_import_export_rsa_key_pairs": {}, + "block_05_import_export_ec_key_pairs": {}, "block_06_block_06": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, @@ -9759,10 +9759,10 @@ "parallel/test-webcrypto-random.js": { "split": true, "subtests": { - "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The error is expected to be an instance of \"TypeError\". Received \"DOMException\"" }, - "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The error is expected to be an instance of \"TypeError\". Received \"DOMException\"" }, - "block_02_block_02": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The error is expected to be an instance of \"TypeError\". Received \"DOMException\"" }, - "block_03_block_03": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The error is expected to be an instance of \"TypeError\". Received \"DOMException\"" } + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: QuotaExceededError is not defined (the Node 26 QuotaExceededError global is not implemented)" }, + "block_03_block_03": {} } }, "parallel/test-webcrypto-sign-verify-ecdsa.js": { "category": "known-gap", "reason": "ECDSA key import/sign/verify compatibility for test vectors is incomplete" }, diff --git a/tests/node_compat/mapping-22.14.0-to-26.13.1.json b/tests/node_compat/mapping-22.14.0-to-26.13.1.json index 3605bb9b3..4f9aeae8d 100644 --- a/tests/node_compat/mapping-22.14.0-to-26.13.1.json +++ b/tests/node_compat/mapping-22.14.0-to-26.13.1.json @@ -39,7 +39,7 @@ "unsplit / failed": 2, "unsplit / skipped": 6 }, - "baselineGapCases": 327, + "baselineGapCases": 313, "nowNodeInternalsCases": 45 }, "missingSources": [ @@ -5904,110 +5904,12 @@ }, "error": "Unhandled promise rejection (likely cause of mustCall failure): Error: Module status must not be unlinked or l" }, - { - "file": "parallel/test-webcrypto-encrypt-decrypt-aes.js", - "subtest": "block_00_test_aes_cbc_vectors", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "parallel/test-webcrypto-encrypt-decrypt-aes.js", - "subtest": "block_01_test_aes_ctr_vectors", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "parallel/test-webcrypto-encrypt-decrypt-aes.js", - "subtest": "block_02_test_aes_gcm_vectors", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "parallel/test-webcrypto-encrypt-decrypt.js", - "subtest": "block_00_test_encrypt_decrypt_aes_ctr", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "parallel/test-webcrypto-encrypt-decrypt.js", - "subtest": "block_01_test_encrypt_decrypt_aes_cbc", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "parallel/test-webcrypto-encrypt-decrypt.js", - "subtest": "block_02_test_encrypt_decrypt_aes_gcm", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "parallel/test-webcrypto-export-import.js", - "subtest": "block_00_block_00", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Da" - }, - { - "file": "parallel/test-webcrypto-export-import.js", - "subtest": "block_02_import_export_hmac_secret_key", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Da" - }, - { - "file": "parallel/test-webcrypto-export-import.js", - "subtest": "block_03_import_export_aes_secret_key", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Da" - }, - { - "file": "parallel/test-webcrypto-export-import.js", - "subtest": "block_04_import_export_rsa_key_pairs", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Da" - }, - { - "file": "parallel/test-webcrypto-export-import.js", - "subtest": "block_05_import_export_ec_key_pairs", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Da" - }, - { - "file": "parallel/test-webcrypto-random.js", - "subtest": "block_00_block_00", - "baseline": true, - "previous": {}, - "error": "The error is expected to be an instance of \"TypeError\". Received \"DOMException\"" - }, - { - "file": "parallel/test-webcrypto-random.js", - "subtest": "block_01_block_01", - "baseline": true, - "previous": {}, - "error": "The error is expected to be an instance of \"TypeError\". Received \"DOMException\"" - }, { "file": "parallel/test-webcrypto-random.js", "subtest": "block_02_block_02", "baseline": true, "previous": {}, - "error": "The error is expected to be an instance of \"TypeError\". Received \"DOMException\"" - }, - { - "file": "parallel/test-webcrypto-random.js", - "subtest": "block_03_block_03", - "baseline": true, - "previous": {}, - "error": "The error is expected to be an instance of \"TypeError\". Received \"DOMException\"" + "error": "QuotaExceededError is not defined" }, { "file": "parallel/test-webstorage.js", @@ -6276,6 +6178,76 @@ "file": "parallel/test-crypto-authenticated.js", "subtest": "block_13_final_in_gcm_mode_ocb_mode_and_for_chacha20_poly1305", "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" + }, + { + "file": "parallel/test-webcrypto-random.js", + "subtest": "block_00_block_00", + "fix": "crypto.getRandomValues rejects missing and non-ArrayBufferView arguments with Node's WebIDL TypeErrors (ERR_MISSING_ARGS, ERR_INVALID_ARG_TYPE) and reports TypeMismatchError and QuotaExceededError with Node's messages" + }, + { + "file": "parallel/test-webcrypto-random.js", + "subtest": "block_01_block_01", + "fix": "crypto.getRandomValues rejects missing and non-ArrayBufferView arguments with Node's WebIDL TypeErrors (ERR_MISSING_ARGS, ERR_INVALID_ARG_TYPE) and reports TypeMismatchError and QuotaExceededError with Node's messages" + }, + { + "file": "parallel/test-webcrypto-random.js", + "subtest": "block_03_block_03", + "fix": "crypto.getRandomValues rejects missing and non-ArrayBufferView arguments with Node's WebIDL TypeErrors (ERR_MISSING_ARGS, ERR_INVALID_ARG_TYPE) and reports TypeMismatchError and QuotaExceededError with Node's messages" + }, + { + "file": "parallel/test-webcrypto-encrypt-decrypt.js", + "subtest": "block_00_test_encrypt_decrypt_aes_ctr", + "fix": "SubtleCrypto encrypt/decrypt check the key algorithm before its usages and report 'Key algorithm mismatch' or 'Unable to use this key to ' as Node does" + }, + { + "file": "parallel/test-webcrypto-encrypt-decrypt.js", + "subtest": "block_01_test_encrypt_decrypt_aes_cbc", + "fix": "SubtleCrypto encrypt/decrypt check the key algorithm before its usages and report 'Key algorithm mismatch' or 'Unable to use this key to ' as Node does" + }, + { + "file": "parallel/test-webcrypto-encrypt-decrypt.js", + "subtest": "block_02_test_encrypt_decrypt_aes_gcm", + "fix": "SubtleCrypto encrypt/decrypt check the key algorithm before its usages and report 'Key algorithm mismatch' or 'Unable to use this key to ' as Node does" + }, + { + "file": "parallel/test-webcrypto-encrypt-decrypt-aes.js", + "subtest": "block_00_test_aes_cbc_vectors", + "fix": "SubtleCrypto encrypt/decrypt check the key algorithm before its usages and report 'Key algorithm mismatch' or 'Unable to use this key to ' as Node does" + }, + { + "file": "parallel/test-webcrypto-encrypt-decrypt-aes.js", + "subtest": "block_01_test_aes_ctr_vectors", + "fix": "SubtleCrypto encrypt/decrypt check the key algorithm before its usages and report 'Key algorithm mismatch' or 'Unable to use this key to ' as Node does" + }, + { + "file": "parallel/test-webcrypto-encrypt-decrypt-aes.js", + "subtest": "block_02_test_aes_gcm_vectors", + "fix": "SubtleCrypto encrypt/decrypt check the key algorithm before its usages and report 'Key algorithm mismatch' or 'Unable to use this key to ' as Node does" + }, + { + "file": "parallel/test-webcrypto-export-import.js", + "subtest": "block_00_block_00", + "fix": "HMAC import reports Node's usage and zero-length messages, and WebCrypto HMAC JWKs export and validate the registered 'alg' value (none for SHA-3) as Node does" + }, + { + "file": "parallel/test-webcrypto-export-import.js", + "subtest": "block_02_import_export_hmac_secret_key", + "fix": "HMAC import reports Node's usage and zero-length messages, and WebCrypto HMAC JWKs export and validate the registered 'alg' value (none for SHA-3) as Node does" + }, + { + "file": "parallel/test-webcrypto-export-import.js", + "subtest": "block_03_import_export_aes_secret_key", + "fix": "HMAC import reports Node's usage and zero-length messages, and WebCrypto HMAC JWKs export and validate the registered 'alg' value (none for SHA-3) as Node does" + }, + { + "file": "parallel/test-webcrypto-export-import.js", + "subtest": "block_04_import_export_rsa_key_pairs", + "fix": "HMAC import reports Node's usage and zero-length messages, and WebCrypto HMAC JWKs export and validate the registered 'alg' value (none for SHA-3) as Node does" + }, + { + "file": "parallel/test-webcrypto-export-import.js", + "subtest": "block_05_import_export_ec_key_pairs", + "fix": "HMAC import reports Node's usage and zero-length messages, and WebCrypto HMAC JWKs export and validate the registered 'alg' value (none for SHA-3) as Node does" } ] }, diff --git a/tests/node_compat/report.md b/tests/node_compat/report.md index 7d04599f9..93b90f7b5 100644 --- a/tests/node_compat/report.md +++ b/tests/node_compat/report.md @@ -8,21 +8,21 @@ This report is generated from `config.jsonc` and the pinned vendored Node.js sou Primary compatibility is measured over the public API surface we can provide: CI-enforced passing (`runnable`) plus `known-gap`. WASI-impossible tests, engine differences, unevaluated tests, and Node.js-internals tests are acknowledged separately and excluded from the primary percentage. -**Primary compatibility (CI-enforced):** 2880/4452 (64.7%) +**Primary compatibility (CI-enforced):** 2894/4452 (65.0%) When comparing revisions, read the runnable count and secondary full-public percentage alongside the primary percentage. Reclassifying a test into an excluded category can increase the primary percentage without increasing runnable coverage. | Classification | Count | Primary % | Public inventory % | All listed % | |----------------|-------|-----------|--------------------|--------------| -| ✅ passing (runnable) | 2880 | 64.7% | 30.0% | 26.7% | -| 🧩 known gap | 1572 | 35.3% | 16.4% | 14.6% | +| ✅ passing (runnable) | 2894 | 65.0% | 30.1% | 26.8% | +| 🧩 known gap | 1558 | 35.0% | 16.2% | 14.4% | | 🚫 WASI-impossible (excluded) | 1148 | — | 11.9% | 10.6% | | ⚙️ engine difference (excluded) | 167 | — | 1.7% | 1.5% | | ❔ unevaluated (excluded) | 3845 | — | 40.0% | 35.6% | | 🔒 Node.js internals (excluded) | 1175 | — | — | 10.9% | | **Total** | **10787** | | | **100.0%** | -Secondary full-public compatibility, including public tests that are currently excluded from primary: **2880/9612 (30.0%)**. +Secondary full-public compatibility, including public tests that are currently excluded from primary: **2894/9612 (30.1%)**. ## Inventory by Module @@ -84,7 +84,7 @@ Secondary full-public compatibility, including public tests that are currently e | util | 235 | 27 | 70 | 0 | 0 | 20 | 118 | 27.8% | 23.1% | | v8 | 57 | 14 | 1 | 0 | 30 | 12 | 0 | 93.3% | 24.6% | | vm | 173 | 68 | 44 | 3 | 13 | 45 | 0 | 60.7% | 39.3% | -| webcrypto | 175 | 29 | 36 | 1 | 0 | 62 | 47 | 44.6% | 22.7% | +| webcrypto | 175 | 43 | 22 | 1 | 0 | 62 | 47 | 66.2% | 33.6% | | webstreams | 89 | 65 | 2 | 0 | 0 | 21 | 1 | 97.0% | 73.9% | | whatwg | 322 | 41 | 37 | 0 | 0 | 59 | 185 | 52.6% | 29.9% | | worker_threads | 202 | 25 | 29 | 127 | 0 | 13 | 8 | 46.3% | 12.9% | @@ -964,14 +964,14 @@ Secondary full-public compatibility, including public tests that are currently e | `test-webcrypto-deduplicate-usages.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | | `test-webcrypto-derivebits.js` | 5 | 0 | 2 | 0 | 0 | 1 | 2 | | `test-webcrypto-derivekey.js` | 6 | 3 | 3 | 0 | 0 | 0 | 0 | -| `test-webcrypto-encrypt-decrypt-aes.js` | 4 | 1 | 3 | 0 | 0 | 0 | 0 | +| `test-webcrypto-encrypt-decrypt-aes.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | | `test-webcrypto-encrypt-decrypt-chacha20-poly1305.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | -| `test-webcrypto-encrypt-decrypt.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | +| `test-webcrypto-encrypt-decrypt.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-webcrypto-export-import-ec.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | -| `test-webcrypto-export-import.js` | 7 | 0 | 5 | 0 | 0 | 2 | 0 | +| `test-webcrypto-export-import.js` | 7 | 5 | 0 | 0 | 0 | 2 | 0 | | `test-webcrypto-keygen.js` | 9 | 0 | 0 | 0 | 0 | 0 | 9 | | `test-webcrypto-prototype-pollution.mjs` | 11 | 0 | 0 | 0 | 0 | 11 | 0 | -| `test-webcrypto-random.js` | 4 | 0 | 4 | 0 | 0 | 0 | 0 | +| `test-webcrypto-random.js` | 4 | 3 | 1 | 0 | 0 | 0 | 0 | | `test-webcrypto-sign-verify.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | | `test-webcrypto-util.js` | 5 | 0 | 0 | 0 | 0 | 0 | 5 | | `test-webcrypto-webidl.js` | 31 | 0 | 0 | 0 | 0 | 0 | 31 | @@ -1094,20 +1094,20 @@ Secondary full-public compatibility, including public tests that are currently e ## Classified Non-Runnable Tests -### known gap (1572) +### known gap (1558) | Reason | Count | Example entries | |--------|-------|-----------------| | node:http2 public API is a stub in WebAssembly runtime | 106 | `parallel/test-http2-head-request.js`, `parallel/test-http2-info-headers.js`, `parallel/test-http2-invalidargtypes-errors.js`, ... (+103) | | Node 26.13.1 baseline gap: Expected values to be strictly equal: | 65 | `es-module/test-require-module-twice.js`, `es-module/test-require-module.js#block_02_test_esm_that_import_cjs`, `parallel/test-console.js`, ... (+62) | | requires isolated process.execPath TypeScript entry execution and Node CLI flags; the direct process.features check requires a separate feature-disabled component | 30 | `es-module/test-typescript.mjs#test_00_expect_process_features_typescript_to_be_false_when_no_exper`, `es-module/test-typescript.mjs#test_01_execute_a_typescript_file`, `es-module/test-typescript.mjs#test_02_execute_a_typescript_file_with_imports`, ... (+27) | -| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly | 29 | `es-module/test-esm-import-attributes-errors.js`, `es-module/test-require-module-cached-tla.js`, `es-module/test-require-module-dynamic-import-1.js`, ... (+26) | | requires simulated process.execPath / Node CLI mode support deferred to follow-up PR | 29 | `es-module/test-esm-cjs-load-error-note.mjs`, `es-module/test-esm-detect-ambiguous.mjs#test_00_module_syntax_detection`, `es-module/test-esm-detect-ambiguous.mjs#test_01_wrapping_a_require_of_an_es_module_while_using_abort_on_unca`, ... (+26) | | Node 26.13.1 baseline gap: Failed to export key | 26 | `parallel/test-crypto-key-objects.js#block_00_block_00`, `parallel/test-crypto-key-objects.js#block_01_block_01`, `parallel/test-crypto-key-objects.js#block_02_block_02`, ... (+23) | | Node 26.13.1 baseline gap: not a function | 26 | `parallel/test-sqlite-session.js#test_00_creating_and_applying_a_changeset`, `parallel/test-sqlite-session.js#test_01_database_createsession_closed_database_results_in_exception`, `parallel/test-sqlite-session.js#test_02_session_changeset_closed_database_results_in_exception`, ... (+23) | | requires isolated process.execPath --eval execution, TypeScript input-type flags, and child warning/output/exit capture | 24 | `es-module/test-typescript-eval.mjs#test_00_eval_typescript_esm_syntax`, `es-module/test-typescript-eval.mjs#test_01_eval_typescript_esm_syntax_with_input_type_module`, `es-module/test-typescript-eval.mjs#test_02_eval_typescript_commonjs_syntax`, ... (+21) | | requires isolated process.execPath TypeScript entry execution and Node CLI default-module / require-module flag handling | 24 | `es-module/test-typescript-commonjs.mjs#test_00_require_a_ts_file_with_explicit_extension_succeeds`, `es-module/test-typescript-commonjs.mjs#test_01_eval_require_a_ts_file_with_implicit_extension_fails`, `es-module/test-typescript-commonjs.mjs#test_02_eval_require_a_cts_file_with_implicit_extension_fails`, ... (+21) | | Node 26.13.1 baseline gap: Expected values to be strictly deep-equal: | 23 | `es-module/test-esm-import-attributes-errors.mjs`, `es-module/test-esm-import-meta.mjs`, `es-module/test-require-module-error-catching.js`, ... (+20) | +| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly | 23 | `es-module/test-esm-import-attributes-errors.js`, `es-module/test-require-module-cached-tla.js`, `es-module/test-require-module-dynamic-import-1.js`, ... (+20) | | stream edge case not yet handled | 22 | `parallel/test-stream-compose.js#block_17_block_17`, `parallel/test-stream-drop-take.js#block_01_don_t_wait_for_next_item_in_the_original_stream_when_already`, `parallel/test-stream-duplex-from.js#block_17_block_17`, ... (+19) | | Node 26.13.1 baseline gap: mustCall verification failed: | 20 | `parallel/test-domain-with-abort-on-uncaught-exception.js`, `parallel/test-fs-watch-recursive-watch-file.js`, `parallel/test-http-outgoing-writableFinished.js#block_01_finish_the_end_callback_receives_the_write_error_instead`, ... (+17) | | process.permission and --permission CLI semantics are incomplete in execPath emulation | 19 | `parallel/test-cli-permission-deny-fs.js#block_00_block_00`, `parallel/test-cli-permission-deny-fs.js#block_01_block_01`, `parallel/test-cli-permission-deny-fs.js#block_02_block_02`, ... (+16) | @@ -1143,7 +1143,6 @@ Secondary full-public compatibility, including public tests that are currently e | same-process import.meta.resolve behavior is covered by runtime tests; remaining vendored failure requires child_process execPath emulation for --input-type/--import ESM CLI modes | 6 | `es-module/test-esm-import-meta-resolve.mjs#block_00_block_00`, `es-module/test-esm-import-meta-resolve.mjs#block_01_block_01`, `es-module/test-esm-import-meta-resolve.mjs#block_02_block_02`, ... (+3) | | the test's meaningful body requires rooted symlink targets; common.canCreateSymLink skips it under the supported relative-only WASI boundary | 6 | `parallel/test-fs-options-immutable.js#block_00_block_00`, `parallel/test-fs-options-immutable.js#block_01_block_01`, `parallel/test-fs-options-immutable.js#block_02_block_02`, ... (+3) | | Node 26.13.1 baseline gap: 5 test(s) failed | 5 | `parallel/test-sqlite-database.js#test_03_database_prototype_prepare`, `parallel/test-sqlite-database.js#test_04_database_prototype_exec`, `parallel/test-sqlite-database.js#test_06_database_prototype_location`, ... (+2) | -| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Da | 5 | `parallel/test-webcrypto-export-import.js#block_00_block_00`, `parallel/test-webcrypto-export-import.js#block_02_import_export_hmac_secret_key`, `parallel/test-webcrypto-export-import.js#block_03_import_export_aes_secret_key`, ... (+2) | | common-shim spawnPromisified child emulation does not support --experimental-webstorage/--localstorage-file flags | 5 | `parallel/test-webstorage.js#test_00_storage_instances_cannot_be_created_in_userland`, `parallel/test-webstorage.js#test_02_sessionstorage_is_not_persisted`, `parallel/test-webstorage.js#test_05_localstorage_is_not_persisted_if_it_is_unused`, ... (+2) | | inherited: buffer.transcode and ICU transcoding are not implemented | 5 | `parallel/test-icu-transcode.js#block_00_block_00`, `parallel/test-icu-transcode.js#block_01_block_01`, `parallel/test-icu-transcode.js#block_02_test_that_uint8array_arguments_are_okay`, ... (+2) | | inherited: perf_hooks PerformanceResourceTiming/markResourceTiming behavior is incomplete | 5 | `parallel/test-perf-hooks-resourcetiming.js#block_00_performanceresourcetiming_should_not_be_initialized_external`, `parallel/test-perf-hooks-resourcetiming.js#block_01_using_performance_getentries`, `parallel/test-perf-hooks-resourcetiming.js#block_02_default_values`, ... (+2) | @@ -1156,7 +1155,6 @@ Secondary full-public compatibility, including public tests that are currently e | Node 26.13.1 baseline gap: 3 test(s) failed | 4 | `parallel/test-sqlite-database.js#test_01_database_prototype_open`, `parallel/test-sqlite-database.js#test_05_database_prototype_istransaction`, `parallel/test-sqlite-named-parameters.js#test_01_statement_prototype_setallowunknownnamedparameters`, ... (+1) | | Node 26.13.1 baseline gap: 7 test(s) failed | 4 | `parallel/test-sqlite-data-types.js`, `parallel/test-sqlite-statement.js#test_01_statement_prototype_get`, `parallel/test-sqlite-statement.js#test_04_statement_prototype_run`, ... (+1) | | Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:; carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09) | 4 | `es-module/test-require-module-tla-nested.js`, `es-module/test-require-module-tla-rejected.js`, `es-module/test-require-module-tla-resolved.js`, ... (+1) | -| Node 26.13.1 baseline gap: The error is expected to be an instance of "TypeError". Received "DOMException" | 4 | `parallel/test-webcrypto-random.js#block_00_block_00`, `parallel/test-webcrypto-random.js#block_01_block_01`, `parallel/test-webcrypto-random.js#block_02_block_02`, ... (+1) | | Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception. | 4 | `parallel/test-fs-opendir.js#block_01_check_that_passing_a_positive_integer_as_buffersize_works`, `parallel/test-fs-opendir.js#block_02_check_read_throw_exceptions_on_invalid_callback`, `parallel/test-fs-opendir.js#block_03_check_if_directory_already_closed_the_callback_should_pass_a`, ... (+1) | | WASM child emulation does not support Node.js --test CLI output behavior | 4 | `parallel/test-runner-extraneous-async-activity.js#block_00_block_00`, `parallel/test-runner-extraneous-async-activity.js#block_01_block_01`, `parallel/test-runner-extraneous-async-activity.js#block_02_block_02`, ... (+1) | | inherited: --frozen-intrinsics flag semantics are not implemented | 4 | `parallel/test-freeze-intrinsics.js#block_00_ensure_we_can_extend_console`, `parallel/test-freeze-intrinsics.js#block_01_ensure_we_can_write_override_object_prototype_properties_on_`, `parallel/test-freeze-intrinsics.js#block_02_ensure_we_can_not_override_globalthis`, ... (+1) | @@ -1366,6 +1364,7 @@ Secondary full-public compatibility, including public tests that are currently e | Node 26.13.1 baseline gap: Missing expected exception.; carries 22.14.0 subtest block_02_guarantee_dot_left_numbers_are_ignored | 1 | `parallel/test-util-getcallsites.js#block_02_framecount_must_be_an_integer` | | Node 26.13.1 baseline gap: Missing expected exception.; the runnable assertions execute, while its common.hasIntl-gated invalid-IDNA matrix is covered separately by focused runtime tests | 1 | `parallel/test-url-parse-invalid-input.js` | | Node 26.13.1 baseline gap: Only --eval/-e, --input-type, and script files are supported in WASM child emulation; carries 22.14.0 subtest test_00_disabled_without_experimental_webstorage | 1 | `parallel/test-webstorage.js#test_08_disabled_with_no_webstorage` | +| Node 26.13.1 baseline gap: QuotaExceededError is not defined (the Node 26 QuotaExceededError global is not implemented) | 1 | `parallel/test-webcrypto-random.js#block_02_block_02` | | Node 26.13.1 baseline gap: The argument 'format' must be a valid string format. Received "grey" | 1 | `parallel/test-util-styletext.js` | | Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected "actual" to be strict | 1 | `parallel/test-stream-readable-to-web-termination.js#block_01_block_01` | | Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception (Ty | 1 | `parallel/test-vm-module-errors.js` | diff --git a/tests/runtime/crypto.rs b/tests/runtime/crypto.rs index e22a243b4..ca56719d0 100644 --- a/tests/runtime/crypto.rs +++ b/tests/runtime/crypto.rs @@ -1094,3 +1094,44 @@ async fn crypto_error_contracts( assert_eq!(lines, expected); Ok(()) } + +/// WebCrypto getRandomValues, key usage/algorithm and HMAC import/JWK error contracts, as Node.js 26.13.1 reports them. +#[test] +async fn webcrypto_error_contracts( + #[tagged_as("crypto")] compiled: &CompiledTest, +) -> anyhow::Result<()> { + let (result, _output) = + invoke_and_capture_output(compiled.wasm_path(), None, "webcrypto-error-contracts", &[]) + .await; + + let lines = match result? { + Some(Val::List(vals)) => vals + .into_iter() + .map(|v| match v { + Val::String(s) => Ok(s), + other => Err(anyhow!("Expected string, got {other:?}")), + }) + .collect::>>()?, + _ => return Err(anyhow!("Expected list result")), + }; + let expected = [ + "getRandomValues(): TypeError ERR_MISSING_ARGS Failed to execute 'getRandomValues' on 'Crypto': 1 argument required, but only 0 present.", + "getRandomValues(ArrayBuffer): TypeError ERR_INVALID_ARG_TYPE Failed to execute 'getRandomValues' on 'Crypto': 1st argument is not an ArrayBufferView.", + "getRandomValues(Float32Array): TypeMismatchError 17 The data argument must be an integer-type TypedArray", + "getRandomValues(65537 bytes): QuotaExceededError 22 The requested length exceeds 65,536 bytes", + "encrypt without usage: InvalidAccessError 15 Unable to use this key to encrypt", + "decrypt without usage: InvalidAccessError 15 Unable to use this key to decrypt", + "decrypt wrong algorithm without usage: InvalidAccessError 15 Key algorithm mismatch", + "verify without usage: InvalidAccessError 15 Unable to use this key to verify", + "wrapKey without usage: InvalidAccessError 15 Unable to use this key to wrapKey", + "HMAC usage deriveBits: SyntaxError 12 Unsupported key usage for HMAC key", + "HMAC length 0: DataError 0 HmacImportParams.length cannot be 0", + "HMAC length 384: DataError 0 Invalid key length", + "HMAC SHA-256 jwk alg: HS256", + "HMAC jwk alg HS384: DataError 0 JWK \"alg\" does not match the requested algorithm", + "HMAC jwk without alg: ok 256", + "HMAC SHA3-256 jwk alg: undefined", + ]; + assert_eq!(lines, expected); + Ok(()) +} From 2256afc8317dc68f7ba3f4ddd48b0242da702949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 16 Nov 2026 23:25:06 +0000 Subject: [PATCH 14/55] Validate crypto arguments as Node 26 does [skip ci] --- .../skeleton/src/builtin/web-crypto.js | 32 +++++++- examples/runtime/crypto/src/crypto.js | 15 +++- tests/node_compat/config.jsonc | 12 +-- .../mapping-22.14.0-to-26.13.1.json | 74 ++++++++----------- tests/node_compat/report.md | 22 +++--- tests/runtime/crypto.rs | 8 +- 6 files changed, 98 insertions(+), 65 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js b/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js index 7adbc8c55..3dad7491b 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js @@ -166,13 +166,31 @@ function isAnyArrayBuffer(data) { return data instanceof ArrayBuffer || data instanceof SharedArrayBuffer; } +const intrinsicGetter = (proto, name) => Function.prototype.call.bind(Object.getOwnPropertyDescriptor(proto, name).get); +const TypedArrayPrototype = Object.getPrototypeOf(Uint8Array.prototype); +const typedArrayBuffer = intrinsicGetter(TypedArrayPrototype, 'buffer'); +const typedArrayByteOffset = intrinsicGetter(TypedArrayPrototype, 'byteOffset'); +const typedArrayByteLength = intrinsicGetter(TypedArrayPrototype, 'byteLength'); +const dataViewBuffer = intrinsicGetter(DataView.prototype, 'buffer'); +const dataViewByteOffset = intrinsicGetter(DataView.prototype, 'byteOffset'); +const dataViewByteLength = intrinsicGetter(DataView.prototype, 'byteLength'); + +// Read the view's real backing range, as Node does, so user-defined +// `buffer`/`byteOffset`/`byteLength` properties cannot change it. +function viewBytes(view) { + if (view instanceof DataView) { + return new Uint8Array(dataViewBuffer(view), dataViewByteOffset(view), dataViewByteLength(view)); + } + return new Uint8Array(typedArrayBuffer(view), typedArrayByteOffset(view), typedArrayByteLength(view)); +} + function toHkdfByteSource(data, name) { if (typeof data === 'string') { return toBytes(data); } if (ArrayBuffer.isView(data)) { - return new Uint8Array(data.buffer, data.byteOffset, data.byteLength); + return viewBytes(data); } if (isAnyArrayBuffer(data)) { @@ -461,7 +479,7 @@ function trackCipherOutputEncoding(currentEncoding, outputEncoding) { throw new ERR_UNKNOWN_ENCODING(outputEncoding); } if (currentEncoding !== null && currentEncoding !== normalizedEncoding) { - throw new Error('Cannot change encoding'); + throw new ERR_INVALID_ARG_VALUE('outputEncoding', outputEncoding, `cannot be changed from '${currentEncoding}'`); } return normalizedEncoding; } @@ -1979,7 +1997,9 @@ function validateDecipherAuthTagLength(decipher, actualLength) { if (actualLength !== decipher._authTagLength) { throwInvalidAuthTagLength(actualLength); } - } else if (!isValidGcmAuthTagLength(actualLength)) { + } else if (actualLength !== 16) { + // Node 26 removed implicit short GCM tags (DEP0182): without + // authTagLength, only a full 16-byte tag is accepted. throwInvalidAuthTagLength(actualLength); } return; @@ -6338,6 +6358,8 @@ function createInvalidKeygenPropertyError(propertyName, value) { return err; } +const KEY_PAIR_TYPES = new Set(['rsa', 'rsa-pss', 'dsa', 'ec', 'ed25519', 'ed448', 'x25519', 'x448', 'dh']); + function createUnsupportedKeyTypeError(type_) { const err = new TypeError(`The argument 'type' must be a supported key type. Received ${formatInvalidArgValue(type_)}`); err.code = 'ERR_INVALID_ARG_VALUE'; @@ -6636,6 +6658,10 @@ export function generateKeyPair(type_, options, callback) { } options = normalizeGenerateKeyPairOptions(type_, options); + // Node validates the key type synchronously; only generation failures reach the callback. + if (!KEY_PAIR_TYPES.has(type_)) { + throw createUnsupportedKeyTypeError(type_); + } if (type_ === 'rsa' || type_ === 'rsa-pss') { if (type_ === 'rsa-pss') { validateRsaPssKeyPairOptions(options); diff --git a/examples/runtime/crypto/src/crypto.js b/examples/runtime/crypto/src/crypto.js index 63f865cab..d418601b9 100644 --- a/examples/runtime/crypto/src/crypto.js +++ b/examples/runtime/crypto/src/crypto.js @@ -1,4 +1,4 @@ -import { createHash, createHmac, hash, getHashes, getCiphers, getCurves, constants, randomBytes, randomInt, timingSafeEqual, pbkdf2Sync, scryptSync, hkdfSync, createCipheriv, createDecipheriv, generateKeyPairSync, createSign, createVerify, createPublicKey, createPrivateKey, sign, verify } from 'node:crypto'; +import { createHash, createHmac, hash, getHashes, getCiphers, getCurves, constants, randomBytes, randomInt, timingSafeEqual, pbkdf2Sync, scryptSync, hkdfSync, createCipheriv, createDecipheriv, generateKeyPair, generateKeyPairSync, createSign, createVerify, createPublicKey, createPrivateKey, sign, verify } from 'node:crypto'; export function newUuids() { const uuid1 = crypto.randomUUID() @@ -319,6 +319,19 @@ export function cryptoErrorContracts() { check('keygen passphrase without cipher', () => generateKeyPairSync('ed25519', { privateKeyEncoding: { format: 'jwk', passphrase: 'x' } })); check('keygen public pkcs8', () => generateKeyPairSync('ed25519', { publicKeyEncoding: { format: 'pem', type: 'pkcs8' } })); check('createPrivateKey der spki', () => createPrivateKey({ key: Buffer.alloc(0), format: 'der', type: 'spki' })); + const shortTag = createDecipheriv('aes-256-gcm', Buffer.alloc(32), Buffer.alloc(12)); + check('gcm implicit 12-byte tag', () => shortTag.setAuthTag(Buffer.alloc(12))); + check('gcm authTagLength 12-byte tag', () => createDecipheriv('aes-256-gcm', Buffer.alloc(32), Buffer.alloc(12), { authTagLength: 12 }).setAuthTag(Buffer.alloc(12)) && 'set'); + const info = new Uint8Array(2048); + Object.defineProperty(info, 'byteLength', { get() { return 1; } }); + check('hkdfSync info with fake byteLength', () => hkdfSync('sha256', 'a', '', info, 10)); + check('cipher output encoding change', () => { + const cipher = createCipheriv('aes-256-cbc', Buffer.alloc(32), Buffer.alloc(16)); + cipher.update('test', 'utf-8', 'utf-8'); + return cipher.final('hex'); + }); + check('generateKeyPair Ed25519', () => generateKeyPair('Ed25519', () => {})); + check('generateKeyPair toString', () => generateKeyPair('toString', () => {})); return lines; } diff --git a/tests/node_compat/config.jsonc b/tests/node_compat/config.jsonc index fc933b601..81db2a7ad 100644 --- a/tests/node_compat/config.jsonc +++ b/tests/node_compat/config.jsonc @@ -1676,8 +1676,8 @@ "parallel/test-crypto-encoding-validation-error.js": { "split": true, "subtests": { - "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, - "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "block_00_block_00": {}, + "block_01_block_01": {}, "block_02_block_02": {}, "block_03_block_03": {} } @@ -1692,7 +1692,7 @@ "block_02_block_02": {} } }, - "parallel/test-crypto-gcm-implicit-short-tag.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, + "parallel/test-crypto-gcm-implicit-short-tag.js": {}, "parallel/test-crypto-getcipherinfo.js": {}, "parallel/test-crypto-hash-stream-pipe.js": {}, "parallel/test-crypto-hash.js": { @@ -1704,7 +1704,7 @@ "block_03_block_03": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, - "parallel/test-crypto-hkdf.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, + "parallel/test-crypto-hkdf.js": {}, "parallel/test-crypto-hmac.js": { "split": true, "subtests": { @@ -1763,7 +1763,7 @@ "parallel/test-crypto-keygen-async-rsa.js": {}, "parallel/test-crypto-keygen-bit-length.js": {}, "parallel/test-crypto-keygen-dh-classic.js": {}, - "parallel/test-crypto-keygen-eddsa.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." }, + "parallel/test-crypto-keygen-eddsa.js": {}, "parallel/test-crypto-keygen-empty-passphrase-no-error.js": {}, "parallel/test-crypto-keygen-empty-passphrase-no-prompt.js": { "category": "known-gap", "reason": "decoding empty-passphrase encrypted PEM traps in the WASM crypto backend" }, "parallel/test-crypto-keygen-invalid-parameter-encoding-dsa.js": {}, @@ -1782,7 +1782,7 @@ "split": true, "subtests": { "block_00_test_invalid_parameter_encoding": {}, - "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." }, + "block_01_block_01": {}, "block_02_block_02": {}, "block_03_block_03": {}, "block_04_test_rsa_parameters": {}, diff --git a/tests/node_compat/mapping-22.14.0-to-26.13.1.json b/tests/node_compat/mapping-22.14.0-to-26.13.1.json index 4f9aeae8d..a408c4038 100644 --- a/tests/node_compat/mapping-22.14.0-to-26.13.1.json +++ b/tests/node_compat/mapping-22.14.0-to-26.13.1.json @@ -39,7 +39,7 @@ "unsplit / failed": 2, "unsplit / skipped": 6 }, - "baselineGapCases": 313, + "baselineGapCases": 307, "nowNodeInternalsCases": 45 }, "missingSources": [ @@ -4110,34 +4110,6 @@ "previous": {}, "error": "Missing expected exception (TypeError)." }, - { - "file": "parallel/test-crypto-encoding-validation-error.js", - "subtest": "block_00_block_00", - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "parallel/test-crypto-encoding-validation-error.js", - "subtest": "block_01_block_01", - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "parallel/test-crypto-gcm-implicit-short-tag.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Missing expected exception." - }, - { - "file": "parallel/test-crypto-hkdf.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Missing expected exception." - }, { "file": "parallel/test-crypto-key-objects.js", "subtest": "block_00_block_00", @@ -4249,20 +4221,6 @@ "previous": {}, "error": "Failed to export key" }, - { - "file": "parallel/test-crypto-keygen-eddsa.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Missing expected exception (TypeError)." - }, - { - "file": "parallel/test-crypto-keygen.js", - "subtest": "block_01_block_01", - "baseline": true, - "previous": {}, - "error": "Missing expected exception (TypeError)." - }, { "file": "parallel/test-crypto-sign-verify.js", "subtest": "block_00_block_00", @@ -6248,6 +6206,36 @@ "file": "parallel/test-webcrypto-export-import.js", "subtest": "block_05_import_export_ec_key_pairs", "fix": "HMAC import reports Node's usage and zero-length messages, and WebCrypto HMAC JWKs export and validate the registered 'alg' value (none for SHA-3) as Node does" + }, + { + "file": "parallel/test-crypto-gcm-implicit-short-tag.js", + "subtest": null, + "fix": "Decipheriv#setAuthTag accepts only a 16-byte GCM tag when authTagLength is not set, as Node 26 does after removing implicit short tags (DEP0182)" + }, + { + "file": "parallel/test-crypto-hkdf.js", + "subtest": null, + "fix": "hkdf and hkdfSync read the info view's intrinsic byte range, so a user-defined byteLength cannot bypass the 1024-byte limit" + }, + { + "file": "parallel/test-crypto-encoding-validation-error.js", + "subtest": "block_00_block_00", + "fix": "Cipheriv/Decipheriv report an output-encoding change as ERR_INVALID_ARG_VALUE \"The argument 'outputEncoding' cannot be changed from ''\"" + }, + { + "file": "parallel/test-crypto-encoding-validation-error.js", + "subtest": "block_01_block_01", + "fix": "Cipheriv/Decipheriv report an output-encoding change as ERR_INVALID_ARG_VALUE \"The argument 'outputEncoding' cannot be changed from ''\"" + }, + { + "file": "parallel/test-crypto-keygen-eddsa.js", + "subtest": null, + "fix": "generateKeyPair rejects unsupported key types synchronously with ERR_INVALID_ARG_VALUE, as generateKeyPairSync and Node do" + }, + { + "file": "parallel/test-crypto-keygen.js", + "subtest": "block_01_block_01", + "fix": "generateKeyPair rejects unsupported key types synchronously with ERR_INVALID_ARG_VALUE, as generateKeyPairSync and Node do" } ] }, diff --git a/tests/node_compat/report.md b/tests/node_compat/report.md index 93b90f7b5..8e108ebc4 100644 --- a/tests/node_compat/report.md +++ b/tests/node_compat/report.md @@ -8,21 +8,21 @@ This report is generated from `config.jsonc` and the pinned vendored Node.js sou Primary compatibility is measured over the public API surface we can provide: CI-enforced passing (`runnable`) plus `known-gap`. WASI-impossible tests, engine differences, unevaluated tests, and Node.js-internals tests are acknowledged separately and excluded from the primary percentage. -**Primary compatibility (CI-enforced):** 2894/4452 (65.0%) +**Primary compatibility (CI-enforced):** 2900/4452 (65.1%) When comparing revisions, read the runnable count and secondary full-public percentage alongside the primary percentage. Reclassifying a test into an excluded category can increase the primary percentage without increasing runnable coverage. | Classification | Count | Primary % | Public inventory % | All listed % | |----------------|-------|-----------|--------------------|--------------| -| ✅ passing (runnable) | 2894 | 65.0% | 30.1% | 26.8% | -| 🧩 known gap | 1558 | 35.0% | 16.2% | 14.4% | +| ✅ passing (runnable) | 2900 | 65.1% | 30.2% | 26.9% | +| 🧩 known gap | 1552 | 34.9% | 16.1% | 14.4% | | 🚫 WASI-impossible (excluded) | 1148 | — | 11.9% | 10.6% | | ⚙️ engine difference (excluded) | 167 | — | 1.7% | 1.5% | | ❔ unevaluated (excluded) | 3845 | — | 40.0% | 35.6% | | 🔒 Node.js internals (excluded) | 1175 | — | — | 10.9% | | **Total** | **10787** | | | **100.0%** | -Secondary full-public compatibility, including public tests that are currently excluded from primary: **2894/9612 (30.1%)**. +Secondary full-public compatibility, including public tests that are currently excluded from primary: **2900/9612 (30.2%)**. ## Inventory by Module @@ -39,7 +39,7 @@ Secondary full-public compatibility, including public tests that are currently e | common | 16 | 1 | 8 | 0 | 0 | 7 | 0 | 11.1% | 6.2% | | compile | 29 | 0 | 0 | 0 | 15 | 14 | 0 | 0.0% | 0.0% | | console | 32 | 28 | 2 | 0 | 0 | 1 | 1 | 93.3% | 90.3% | -| crypto | 398 | 153 | 60 | 7 | 0 | 171 | 7 | 71.8% | 39.1% | +| crypto | 398 | 159 | 54 | 7 | 0 | 171 | 7 | 74.6% | 40.7% | | dgram | 141 | 22 | 74 | 7 | 0 | 24 | 14 | 22.9% | 17.3% | | diagnostics_channel | 102 | 23 | 7 | 1 | 2 | 69 | 0 | 76.7% | 22.5% | | dns | 54 | 2 | 29 | 0 | 0 | 9 | 14 | 6.5% | 5.0% | @@ -208,7 +208,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-crypto-dh-stateless.js` | 8 | 0 | 8 | 0 | 0 | 0 | 0 | | `test-crypto-dh.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-crypto-ecb.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | -| `test-crypto-encoding-validation-error.js` | 4 | 2 | 2 | 0 | 0 | 0 | 0 | +| `test-crypto-encoding-validation-error.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | | `test-crypto-gcm-explicit-short-tag.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-crypto-hash.js` | 4 | 3 | 0 | 0 | 0 | 1 | 0 | | `test-crypto-hmac.js` | 10 | 7 | 0 | 0 | 0 | 3 | 0 | @@ -217,7 +217,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-crypto-key-objects.js` | 20 | 0 | 16 | 0 | 0 | 4 | 0 | | `test-crypto-key-store.js` | 10 | 0 | 0 | 0 | 0 | 10 | 0 | | `test-crypto-keygen-raw.js` | 12 | 0 | 0 | 0 | 0 | 12 | 0 | -| `test-crypto-keygen.js` | 10 | 9 | 1 | 0 | 0 | 0 | 0 | +| `test-crypto-keygen.js` | 10 | 10 | 0 | 0 | 0 | 0 | 0 | | `test-crypto-keyobject-hidden-slots.js` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | | `test-crypto-negative-zero.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | | `test-crypto-pbkdf2.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | @@ -1094,7 +1094,7 @@ Secondary full-public compatibility, including public tests that are currently e ## Classified Non-Runnable Tests -### known gap (1558) +### known gap (1552) | Reason | Count | Example entries | |--------|-------|-----------------| @@ -1106,16 +1106,16 @@ Secondary full-public compatibility, including public tests that are currently e | Node 26.13.1 baseline gap: not a function | 26 | `parallel/test-sqlite-session.js#test_00_creating_and_applying_a_changeset`, `parallel/test-sqlite-session.js#test_01_database_createsession_closed_database_results_in_exception`, `parallel/test-sqlite-session.js#test_02_session_changeset_closed_database_results_in_exception`, ... (+23) | | requires isolated process.execPath --eval execution, TypeScript input-type flags, and child warning/output/exit capture | 24 | `es-module/test-typescript-eval.mjs#test_00_eval_typescript_esm_syntax`, `es-module/test-typescript-eval.mjs#test_01_eval_typescript_esm_syntax_with_input_type_module`, `es-module/test-typescript-eval.mjs#test_02_eval_typescript_commonjs_syntax`, ... (+21) | | requires isolated process.execPath TypeScript entry execution and Node CLI default-module / require-module flag handling | 24 | `es-module/test-typescript-commonjs.mjs#test_00_require_a_ts_file_with_explicit_extension_succeeds`, `es-module/test-typescript-commonjs.mjs#test_01_eval_require_a_ts_file_with_implicit_extension_fails`, `es-module/test-typescript-commonjs.mjs#test_02_eval_require_a_cts_file_with_implicit_extension_fails`, ... (+21) | -| Node 26.13.1 baseline gap: Expected values to be strictly deep-equal: | 23 | `es-module/test-esm-import-attributes-errors.mjs`, `es-module/test-esm-import-meta.mjs`, `es-module/test-require-module-error-catching.js`, ... (+20) | | Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly | 23 | `es-module/test-esm-import-attributes-errors.js`, `es-module/test-require-module-cached-tla.js`, `es-module/test-require-module-dynamic-import-1.js`, ... (+20) | | stream edge case not yet handled | 22 | `parallel/test-stream-compose.js#block_17_block_17`, `parallel/test-stream-drop-take.js#block_01_don_t_wait_for_next_item_in_the_original_stream_when_already`, `parallel/test-stream-duplex-from.js#block_17_block_17`, ... (+19) | +| Node 26.13.1 baseline gap: Expected values to be strictly deep-equal: | 21 | `es-module/test-esm-import-attributes-errors.mjs`, `es-module/test-esm-import-meta.mjs`, `es-module/test-require-module-error-catching.js`, ... (+18) | | Node 26.13.1 baseline gap: mustCall verification failed: | 20 | `parallel/test-domain-with-abort-on-uncaught-exception.js`, `parallel/test-fs-watch-recursive-watch-file.js`, `parallel/test-http-outgoing-writableFinished.js#block_01_finish_the_end_callback_receives_the_write_error_instead`, ... (+17) | | process.permission and --permission CLI semantics are incomplete in execPath emulation | 19 | `parallel/test-cli-permission-deny-fs.js#block_00_block_00`, `parallel/test-cli-permission-deny-fs.js#block_01_block_01`, `parallel/test-cli-permission-deny-fs.js#block_02_block_02`, ... (+16) | -| Node 26.13.1 baseline gap: Missing expected exception. | 16 | `parallel/test-assert-deep.js#test_02_date`, `parallel/test-assert-deep.js#test_03_regexp`, `parallel/test-assert-deep.js#test_07_gh_14441_circular_structures_should_be_consistent`, ... (+13) | -| Node 26.13.1 baseline gap: Missing expected exception (TypeError). | 14 | `parallel/test-buffer-pool-untransferable.js`, `parallel/test-crypto-dh-stateless.js#block_00_block_00`, `parallel/test-crypto-dh-stateless.js#block_01_block_01`, ... (+11) | +| Node 26.13.1 baseline gap: Missing expected exception. | 14 | `parallel/test-assert-deep.js#test_02_date`, `parallel/test-assert-deep.js#test_03_regexp`, `parallel/test-assert-deep.js#test_07_gh_14441_circular_structures_should_be_consistent`, ... (+11) | | wasi:sockets UDP implementation crashes in wasmtime | 14 | `parallel/test-dgram-connect-send-callback-buffer.js`, `parallel/test-dgram-connect-send-callback-multi-buffer.js`, `parallel/test-dgram-connect-send-default-host.js`, ... (+11) | | domain module depends on async_hooks, not fully working | 13 | `parallel/test-domain-promise.js#block_00_block_00`, `parallel/test-domain-promise.js#block_01_block_01`, `parallel/test-domain-promise.js#block_03_block_03`, ... (+10) | | the shared fixture creates rooted symlink targets that cannot be resolved inside a WASI preopen | 13 | `sequential/test-fs-opendir-recursive.js#block_00_block_00`, `sequential/test-fs-opendir-recursive.js#block_01_block_01`, `sequential/test-fs-opendir-recursive.js#block_02_block_02`, ... (+10) | +| Node 26.13.1 baseline gap: Missing expected exception (TypeError). | 12 | `parallel/test-buffer-pool-untransferable.js`, `parallel/test-crypto-dh-stateless.js#block_00_block_00`, `parallel/test-crypto-dh-stateless.js#block_01_block_01`, ... (+9) | | node:readline module is not yet supported in WebAssembly environment | 12 | `parallel/test-readline-keys.js`, `parallel/test-readline-position.js`, `parallel/test-readline-reopen.js`, ... (+9) | | inherited: dns.getServers()/setServers default-server behavior and validation are not Node-compatible | 11 | `parallel/test-dns.js#block_00_verify_that_setservers_handles_arrays_with_holes_and_other_o`, `parallel/test-dns.js#block_01_block_01`, `parallel/test-dns.js#block_02_block_02`, ... (+8) | | inherited: process.permission and --permission CLI semantics are incomplete in execPath emulation | 11 | `parallel/test-permission-allow-child-process-cli.js#block_00_guarantee_the_initial_state`, `parallel/test-permission-allow-child-process-cli.js#block_01_to_spawn_unless_allow_child_process_is_sent`, `parallel/test-permission-allow-wasi-cli.js#block_00_guarantee_the_initial_state`, ... (+8) | diff --git a/tests/runtime/crypto.rs b/tests/runtime/crypto.rs index ca56719d0..7765d342d 100644 --- a/tests/runtime/crypto.rs +++ b/tests/runtime/crypto.rs @@ -1055,7 +1055,7 @@ async fn crypto_subtle_sign_verify_rsa_pss( } } -/// Error contracts of AEAD decryption and key encoding options, as Node.js 26.13.1 reports them. +/// Error contracts of AEAD decryption, key encoding options and crypto argument validation, as Node.js 26.13.1 reports them. #[test] async fn crypto_error_contracts( #[tagged_as("crypto")] compiled: &CompiledTest, @@ -1090,6 +1090,12 @@ async fn crypto_error_contracts( "keygen passphrase without cipher: TypeError ERR_INVALID_ARG_VALUE The property 'options.privateKeyEncoding.cipher' is required when a passphrase is specified. Received undefined", "keygen public pkcs8: TypeError ERR_INVALID_ARG_VALUE The property 'options.publicKeyEncoding.type' is invalid. Received 'pkcs8'", "createPrivateKey der spki: TypeError ERR_INVALID_ARG_VALUE The property 'key.type' is invalid. Received 'spki'", + "gcm implicit 12-byte tag: TypeError ERR_CRYPTO_INVALID_AUTH_TAG Invalid authentication tag length: 12", + "gcm authTagLength 12-byte tag: ok set", + "hkdfSync info with fake byteLength: RangeError ERR_OUT_OF_RANGE The value of \"info\" is out of range. It must be must not contain more than 1024 bytes. Received 2048", + "cipher output encoding change: TypeError ERR_INVALID_ARG_VALUE The argument 'outputEncoding' cannot be changed from 'utf8'. Received 'hex'", + "generateKeyPair Ed25519: TypeError ERR_INVALID_ARG_VALUE The argument 'type' must be a supported key type. Received 'Ed25519'", + "generateKeyPair toString: TypeError ERR_INVALID_ARG_VALUE The argument 'type' must be a supported key type. Received 'toString'", ]; assert_eq!(lines, expected); Ok(()) From 85600f7908d87b0614a1657bf749f287295f9ea2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 16 Nov 2026 23:47:51 +0000 Subject: [PATCH 15/55] Report changed same-name subtests matched by position [skip ci] --- tests/migrate_config_split.rs | 57 ++++++++++++++++++++++++++--------- 1 file changed, 43 insertions(+), 14 deletions(-) diff --git a/tests/migrate_config_split.rs b/tests/migrate_config_split.rs index f5f33c475..e9ae338b8 100644 --- a/tests/migrate_config_split.rs +++ b/tests/migrate_config_split.rs @@ -552,13 +552,25 @@ fn migrate( consumed.insert(old.clone()); } } - if same_names && origin.iter().all(|(name, (old, _))| name == old) { - continue; - } let current_text: BTreeMap<&str, &str> = discovered_subtests .iter() .map(|(name, text)| (name.as_str(), text.as_str())) .collect(); + // A generated name kept by position whose source changed is audited even when + // the entry itself needs no rewrite. + for name in &names { + if origin.get(name).is_some_and(|(old, _)| old == name) + && subtest_description(name).is_none() + && previous_text.get(name.as_str()) != current_text.get(name.as_str()) + { + report + .matched_by_position + .push(json!({ "file": path, "subtest": name })); + } + } + if same_names && origin.iter().all(|(name, (old, _))| name == old) { + continue; + } let mut subtests = Vec::new(); for name in &names { let value = match origin.get(name) { @@ -568,17 +580,7 @@ fn migrate( .push(json!({ "file": path, "from": old, "to": name, "by": by })); existing[old.as_str()].clone() } - Some((old, _)) => { - if subtest_description(name).is_none() - && previous_text.get(name.as_str()) - != current_text.get(name.as_str()) - { - report - .matched_by_position - .push(json!({ "file": path, "subtest": name })); - } - existing[old.as_str()].clone() - } + Some((old, _)) => existing[old.as_str()].clone(), None => { report .new_subtests @@ -897,6 +899,33 @@ mod contract { ); } + #[test] + #[test_r::tag(migration_contract)] + fn changed_blocks_with_unchanged_names_are_reported() { + let fixture = Fixture::new(); + fixture + .previous("parallel/test-a.js", "{ passes(1); }\n{ gap(); }\n") + .source("parallel/test-a.js", "{ passes(2); }\n{ gap(); }\n"); + let tests = r#" "parallel/test-a.js": { + "split": true, + "subtests": { + "block_00_block_00": { "category": "runnable" }, + "block_01_block_01": { "category": "known-gap", "reason": "gap" } + } + }"#; + let migration = fixture.migrate(tests); + assert!(migration.content.contains(tests)); + assert_eq!( + migration.report, + MigrationReport { + matched_by_position: vec![ + json!({ "file": "parallel/test-a.js", "subtest": "block_00_block_00" }) + ], + ..MigrationReport::default() + } + ); + } + #[test] #[test_r::tag(migration_contract)] fn changed_subtests_require_the_previous_suite() { From 198a339d00539f77736fb9b59dab9dfd3245391a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Tue, 17 Nov 2026 00:36:14 +0000 Subject: [PATCH 16/55] Deliver one-shot sign and verify errors through the callback [skip ci] --- .../skeleton/src/builtin/web-crypto.js | 54 ++++++++++++++----- .../skeleton/src/builtin/web_crypto.rs | 3 +- examples/runtime/crypto/src/crypto.js | 34 +++++++++++- tests/node_compat/config.jsonc | 4 +- .../mapping-22.14.0-to-26.13.1.json | 26 ++++----- tests/node_compat/report.md | 16 +++--- tests/runtime/crypto.rs | 9 +++- 7 files changed, 103 insertions(+), 43 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js b/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js index 3dad7491b..ff098b20b 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js @@ -2378,9 +2378,12 @@ DiffieHellman.prototype.computeSecret = function(otherPublicKey, inputEncoding, const pubBytes = toBytes(otherPublicKey, inputEncoding); const result = webCryptoNative.dh_compute_secret_err(this._handle, pubBytes); if (result[0] === 'error') { - const err = new Error(result[1]); - err.message = result[1]; - throw err; + if (result[1] === 'Supplied key is too small' || result[1] === 'Supplied key is too large') { + const err = new RangeError(result[1]); + err.code = 'ERR_CRYPTO_INVALID_KEYLEN'; + throw err; + } + throw new Error(result[1]); } const hexStr = result[1]; const bytes = new Uint8Array(hexStr.length / 2); @@ -7304,12 +7307,12 @@ export function sign(algorithm, data, key, callback) { const normalizedData = toBytes(data); const s = new Sign(algo); s.update(normalizedData); - const result = s.sign(key); - if (callback) { - process.nextTick(() => callback(null, result)); - return; + // A missing key fails synchronously, as in Node.js. + if (!callback || key === null || key === undefined) { + return s.sign(key); } - return result; + const preparedKey = prepareOneShotKey(key, createPrivateKey); + runOneShotJob(() => s.sign(preparedKey), callback); } export function verify(algorithm, data, key, signature, callback) { @@ -7324,12 +7327,37 @@ export function verify(algorithm, data, key, signature, callback) { throw new ERR_INVALID_ARG_TYPE('signature', ['Buffer', 'TypedArray', 'DataView'], signature); } - const result = v.verify(key, signature); - if (callback) { - process.nextTick(() => callback(null, result)); - return; + if (!callback || key === null || key === undefined) { + return v.verify(key, signature); } - return result; + const preparedKey = prepareOneShotKey(key, (k) => + typeof k === 'object' && k.passphrase !== undefined ? createPublicKey(createPrivateKey(k)) : createPublicKey(k)); + runOneShotJob(() => v.verify(preparedKey, signature), callback); +} + +// Node.js validates one-shot sign()/verify() options and parses the key +// synchronously; only errors of the signing job itself reach the callback. +function prepareOneShotKey(key, toKeyObject) { + if (key instanceof KeyObject) { + return key; + } + if (typeof key === 'object' && key.key !== undefined) { + getSignVerifyIntOption('padding', key); + getSignVerifyIntOption('saltLength', key); + return key.key instanceof KeyObject ? key : { ...key, key: toKeyObject(key) }; + } + return toKeyObject(key); +} + +function runOneShotJob(job, callback) { + let error = null; + let result; + try { + result = job(); + } catch (err) { + error = err; + } + process.nextTick(() => (error ? callback(error) : callback(null, result))); } function rsaCacheKey(bytes, padding) { diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/web_crypto.rs b/crates/wasm-rquickjs/skeleton/src/builtin/web_crypto.rs index cdd188f10..0e2106b1a 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/web_crypto.rs +++ b/crates/wasm-rquickjs/skeleton/src/builtin/web_crypto.rs @@ -4978,7 +4978,8 @@ fn dh_compute_secret_impl(id: u32, other_pub_bytes: &[u8]) -> Result, St if other_pub.is_zero() || other_pub.is_one() { return Err("Supplied key is too small".to_string()); } - if other_pub >= state.p { + // DH_check_pub_key: a valid peer key lies in [2, p - 2]. + if other_pub >= &state.p - BigUint::one() { return Err("Supplied key is too large".to_string()); } let priv_key = state.priv_key.as_ref().ok_or("No private key set")?; diff --git a/examples/runtime/crypto/src/crypto.js b/examples/runtime/crypto/src/crypto.js index d418601b9..f6b1b5026 100644 --- a/examples/runtime/crypto/src/crypto.js +++ b/examples/runtime/crypto/src/crypto.js @@ -1,4 +1,4 @@ -import { createHash, createHmac, hash, getHashes, getCiphers, getCurves, constants, randomBytes, randomInt, timingSafeEqual, pbkdf2Sync, scryptSync, hkdfSync, createCipheriv, createDecipheriv, generateKeyPair, generateKeyPairSync, createSign, createVerify, createPublicKey, createPrivateKey, sign, verify } from 'node:crypto'; +import { createHash, createHmac, hash, getHashes, getCiphers, getCurves, constants, randomBytes, randomInt, timingSafeEqual, pbkdf2Sync, scryptSync, hkdfSync, createCipheriv, createDecipheriv, generateKeyPair, generateKeyPairSync, createSign, createVerify, createPublicKey, createPrivateKey, sign, verify, getDiffieHellman, createDiffieHellman } from 'node:crypto'; export function newUuids() { const uuid1 = crypto.randomUUID() @@ -276,7 +276,7 @@ export async function subtleSignVerifyRsaPss(message) { return await crypto.subtle.verify(pss, keyPair.publicKey, signature, data); } -export function cryptoErrorContracts() { +export async function cryptoErrorContracts() { const lines = []; const check = (name, fn) => { try { @@ -332,6 +332,36 @@ export function cryptoErrorContracts() { }); check('generateKeyPair Ed25519', () => generateKeyPair('Ed25519', () => {})); check('generateKeyPair toString', () => generateKeyPair('toString', () => {})); + + // One-shot sign()/verify() validate synchronously but deliver errors of the + // signing job to the callback, after returning. + const viaCallback = (name, fn) => new Promise((resolve) => { + let returned = false; + const done = (outcome) => { + lines.push(`${name}: ${returned ? '' : 'before return '}${outcome}`); + resolve(); + }; + try { + fn((err, value) => done(err ? `callback ${err.name} ${err.code}` : `callback ok ${value}`)); + returned = true; + } catch (e) { + lines.push(`${name}: throws ${e.name} ${e.code}`); + resolve(); + } + }); + const x25519 = generateKeyPairSync('x25519'); + await viaCallback('sign digest too big for key', (cb) => sign('sha512', Buffer.from('message'), rsa.privateKey, cb)); + await viaCallback('verify with x25519 key', (cb) => verify(undefined, Buffer.from('message'), x25519.publicKey, Buffer.alloc(16), cb)); + await viaCallback('sign invalid padding', (cb) => sign('sha256', Buffer.from('message'), { key: rsa.privateKey, padding: 'x' }, cb)); + await viaCallback('verify mismatching signature', (cb) => verify('sha256', Buffer.from('message'), rsa.publicKey, Buffer.alloc(64), cb)); + + const modp14 = getDiffieHellman('modp14'); + const alice = createDiffieHellman(modp14.getPrime(), modp14.getGenerator()); + alice.generateKeys(); + const pMinus1 = Buffer.from(modp14.getPrime()); + pMinus1[pMinus1.length - 1] -= 1; + check('DH computeSecret(1)', () => alice.computeSecret(Buffer.from([1]))); + check('DH computeSecret(p - 1)', () => alice.computeSecret(pMinus1)); return lines; } diff --git a/tests/node_compat/config.jsonc b/tests/node_compat/config.jsonc index 81db2a7ad..bba630fa9 100644 --- a/tests/node_compat/config.jsonc +++ b/tests/node_compat/config.jsonc @@ -1578,8 +1578,8 @@ "split": true, "subtests": { "block_00_test_parallel_execution_w_keyobject_is_threadsafe_in_openssl": {}, - "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: error:06000068:public key routines::operation not supported for this keytype" }, - "block_02_block_02": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: error:0408006C:rsa routines::digest too big for rsa key" } + "block_01_block_01": {}, + "block_02_block_02": {} } }, "parallel/test-crypto-authenticated-stream.js": {}, diff --git a/tests/node_compat/mapping-22.14.0-to-26.13.1.json b/tests/node_compat/mapping-22.14.0-to-26.13.1.json index a408c4038..86745f368 100644 --- a/tests/node_compat/mapping-22.14.0-to-26.13.1.json +++ b/tests/node_compat/mapping-22.14.0-to-26.13.1.json @@ -39,7 +39,7 @@ "unsplit / failed": 2, "unsplit / skipped": 6 }, - "baselineGapCases": 307, + "baselineGapCases": 305, "nowNodeInternalsCases": 45 }, "missingSources": [ @@ -4005,20 +4005,6 @@ "previous": {}, "error": "Expected values to be strictly equal:" }, - { - "file": "parallel/test-crypto-async-sign-verify.js", - "subtest": "block_01_block_01", - "baseline": true, - "previous": {}, - "error": "error:06000068:public key routines::operation not supported for this keytype" - }, - { - "file": "parallel/test-crypto-async-sign-verify.js", - "subtest": "block_02_block_02", - "baseline": true, - "previous": {}, - "error": "error:0408006C:rsa routines::digest too big for rsa key" - }, { "file": "parallel/test-crypto-cipheriv-decipheriv.js", "subtest": "block_00_block_00", @@ -6236,6 +6222,16 @@ "file": "parallel/test-crypto-keygen.js", "subtest": "block_01_block_01", "fix": "generateKeyPair rejects unsupported key types synchronously with ERR_INVALID_ARG_VALUE, as generateKeyPairSync and Node do" + }, + { + "file": "parallel/test-crypto-async-sign-verify.js", + "subtest": "block_01_block_01", + "fix": "One-shot sign() and verify() validate options and parse the key synchronously and deliver errors of the signing job itself (such as an RSA key too small for the digest or a non-signing x25519 key) to the callback, as Node does" + }, + { + "file": "parallel/test-crypto-async-sign-verify.js", + "subtest": "block_02_block_02", + "fix": "One-shot sign() and verify() validate options and parse the key synchronously and deliver errors of the signing job itself (such as an RSA key too small for the digest or a non-signing x25519 key) to the callback, as Node does" } ] }, diff --git a/tests/node_compat/report.md b/tests/node_compat/report.md index 8e108ebc4..04985debc 100644 --- a/tests/node_compat/report.md +++ b/tests/node_compat/report.md @@ -8,21 +8,21 @@ This report is generated from `config.jsonc` and the pinned vendored Node.js sou Primary compatibility is measured over the public API surface we can provide: CI-enforced passing (`runnable`) plus `known-gap`. WASI-impossible tests, engine differences, unevaluated tests, and Node.js-internals tests are acknowledged separately and excluded from the primary percentage. -**Primary compatibility (CI-enforced):** 2900/4452 (65.1%) +**Primary compatibility (CI-enforced):** 2902/4452 (65.2%) When comparing revisions, read the runnable count and secondary full-public percentage alongside the primary percentage. Reclassifying a test into an excluded category can increase the primary percentage without increasing runnable coverage. | Classification | Count | Primary % | Public inventory % | All listed % | |----------------|-------|-----------|--------------------|--------------| -| ✅ passing (runnable) | 2900 | 65.1% | 30.2% | 26.9% | -| 🧩 known gap | 1552 | 34.9% | 16.1% | 14.4% | +| ✅ passing (runnable) | 2902 | 65.2% | 30.2% | 26.9% | +| 🧩 known gap | 1550 | 34.8% | 16.1% | 14.4% | | 🚫 WASI-impossible (excluded) | 1148 | — | 11.9% | 10.6% | | ⚙️ engine difference (excluded) | 167 | — | 1.7% | 1.5% | | ❔ unevaluated (excluded) | 3845 | — | 40.0% | 35.6% | | 🔒 Node.js internals (excluded) | 1175 | — | — | 10.9% | | **Total** | **10787** | | | **100.0%** | -Secondary full-public compatibility, including public tests that are currently excluded from primary: **2900/9612 (30.2%)**. +Secondary full-public compatibility, including public tests that are currently excluded from primary: **2902/9612 (30.2%)**. ## Inventory by Module @@ -39,7 +39,7 @@ Secondary full-public compatibility, including public tests that are currently e | common | 16 | 1 | 8 | 0 | 0 | 7 | 0 | 11.1% | 6.2% | | compile | 29 | 0 | 0 | 0 | 15 | 14 | 0 | 0.0% | 0.0% | | console | 32 | 28 | 2 | 0 | 0 | 1 | 1 | 93.3% | 90.3% | -| crypto | 398 | 159 | 54 | 7 | 0 | 171 | 7 | 74.6% | 40.7% | +| crypto | 398 | 161 | 52 | 7 | 0 | 171 | 7 | 75.6% | 41.2% | | dgram | 141 | 22 | 74 | 7 | 0 | 24 | 14 | 22.9% | 17.3% | | diagnostics_channel | 102 | 23 | 7 | 1 | 2 | 69 | 0 | 76.7% | 22.5% | | dns | 54 | 2 | 29 | 0 | 0 | 9 | 14 | 6.5% | 5.0% | @@ -200,7 +200,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-console-group.js` | 8 | 8 | 0 | 0 | 0 | 0 | 0 | | `test-console-instance.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | | `test-crypto-argon2.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | -| `test-crypto-async-sign-verify.js` | 3 | 1 | 2 | 0 | 0 | 0 | 0 | +| `test-crypto-async-sign-verify.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-crypto-authenticated.js` | 17 | 16 | 0 | 0 | 0 | 1 | 0 | | `test-crypto-certificate.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-crypto-cipheriv-decipheriv.js` | 4 | 0 | 4 | 0 | 0 | 0 | 0 | @@ -1094,7 +1094,7 @@ Secondary full-public compatibility, including public tests that are currently e ## Classified Non-Runnable Tests -### known gap (1552) +### known gap (1550) | Reason | Count | Example entries | |--------|-------|-----------------| @@ -1376,8 +1376,6 @@ Secondary full-public compatibility, including public tests that are currently e | Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): TypeError: not a function | 1 | `parallel/test-fs-promises-file-handle-dispose.js` | | Node 26.13.1 baseline gap: Unhandled promise rejection: AssertionError: 'a\rb' !== 'a\nb'; carries 22.14.0 subtest block_32_block_32 | 1 | `parallel/test-blob.js#block_33_block_33` | | Node 26.13.1 baseline gap: _checkInvalidHeaderChar('\x01\x02\x03\x04\x05\x06\x07\b', true) unexpectedly failed in lenient mode | 1 | `parallel/test-http-invalidheaderfield2.js` | -| Node 26.13.1 baseline gap: error:0408006C:rsa routines::digest too big for rsa key | 1 | `parallel/test-crypto-async-sign-verify.js#block_02_block_02` | -| Node 26.13.1 baseline gap: error:06000068:public key routines::operation not supported for this keytype | 1 | `parallel/test-crypto-async-sign-verify.js#block_01_block_01` | | Node 26.13.1 baseline gap: path.win32.join resolves .. through a CON: device-name segment | 1 | `parallel/test-path-join.js` | | Node 26.13.1 baseline gap: path.win32.resolve("\\\\.\\PHYSICALDRIVE0") | 1 | `parallel/test-path-resolve.js` | | Node 26.13.1 baseline gap: util.inspect prints the symbol key of a boxed String as [Symbol(foo)]; 26.13.1 expects Symbol(foo); carries 22.14.0 subtest block_90_block_90 | 1 | `parallel/test-util-inspect.js#block_100_block_100` | diff --git a/tests/runtime/crypto.rs b/tests/runtime/crypto.rs index 7765d342d..fd82cdac3 100644 --- a/tests/runtime/crypto.rs +++ b/tests/runtime/crypto.rs @@ -1055,7 +1055,8 @@ async fn crypto_subtle_sign_verify_rsa_pss( } } -/// Error contracts of AEAD decryption, key encoding options and crypto argument validation, as Node.js 26.13.1 reports them. +/// Error contracts of AEAD decryption, key encoding options, crypto argument validation, one-shot sign/verify +/// callback delivery and DH peer key limits, as Node.js 26.13.1 reports them. #[test] async fn crypto_error_contracts( #[tagged_as("crypto")] compiled: &CompiledTest, @@ -1096,6 +1097,12 @@ async fn crypto_error_contracts( "cipher output encoding change: TypeError ERR_INVALID_ARG_VALUE The argument 'outputEncoding' cannot be changed from 'utf8'. Received 'hex'", "generateKeyPair Ed25519: TypeError ERR_INVALID_ARG_VALUE The argument 'type' must be a supported key type. Received 'Ed25519'", "generateKeyPair toString: TypeError ERR_INVALID_ARG_VALUE The argument 'type' must be a supported key type. Received 'toString'", + "sign digest too big for key: callback Error ERR_OSSL_RSA_DIGEST_TOO_BIG_FOR_RSA_KEY", + "verify with x25519 key: callback Error ERR_OSSL_EVP_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE", + "sign invalid padding: throws TypeError ERR_INVALID_ARG_VALUE", + "verify mismatching signature: callback ok false", + "DH computeSecret(1): RangeError ERR_CRYPTO_INVALID_KEYLEN Supplied key is too small", + "DH computeSecret(p - 1): RangeError ERR_CRYPTO_INVALID_KEYLEN Supplied key is too large", ]; assert_eq!(lines, expected); Ok(()) From e0772f332d7afcecda856a87209f420727677532 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Tue, 17 Nov 2026 07:42:12 +0000 Subject: [PATCH 17/55] Check one-shot sign and verify key types before the job [skip ci] --- .../skeleton/src/builtin/web-crypto.js | 36 ++++++++++++------- examples/runtime/crypto/src/crypto.js | 25 +++++++++++-- tests/runtime/crypto.rs | 11 +++++- 3 files changed, 56 insertions(+), 16 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js b/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js index ff098b20b..64023d91f 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js @@ -7311,7 +7311,7 @@ export function sign(algorithm, data, key, callback) { if (!callback || key === null || key === undefined) { return s.sign(key); } - const preparedKey = prepareOneShotKey(key, createPrivateKey); + const preparedKey = prepareOneShotKey(key, createPrivateKey, createPrivateKey, ['private'], 'private'); runOneShotJob(() => s.sign(preparedKey), callback); } @@ -7330,23 +7330,35 @@ export function verify(algorithm, data, key, signature, callback) { if (!callback || key === null || key === undefined) { return v.verify(key, signature); } - const preparedKey = prepareOneShotKey(key, (k) => - typeof k === 'object' && k.passphrase !== undefined ? createPublicKey(createPrivateKey(k)) : createPublicKey(k)); + const preparedKey = prepareOneShotKey( + key, + createPublicKey, + (k) => (k.passphrase !== undefined ? createPublicKey(createPrivateKey(k)) : createPublicKey(k)), + ['public', 'private'], + 'private or public'); runOneShotJob(() => v.verify(preparedKey, signature), callback); } -// Node.js validates one-shot sign()/verify() options and parses the key -// synchronously; only errors of the signing job itself reach the callback. -function prepareOneShotKey(key, toKeyObject) { +// Node.js validates one-shot sign()/verify() options, parses the key and +// checks its type synchronously; only errors of the signing job itself reach +// the callback. The job gets the options read here, including inherited ones. +function prepareOneShotKey(key, fromKey, fromKeyOptions, allowedTypes, expectedType) { + let keyObject; + let padding; + let saltLength; if (key instanceof KeyObject) { - return key; + keyObject = key; + } else if (typeof key === 'object' && key.key !== undefined) { + padding = getSignVerifyIntOption('padding', key); + saltLength = getSignVerifyIntOption('saltLength', key); + keyObject = key.key instanceof KeyObject ? key.key : fromKeyOptions(key); + } else { + keyObject = fromKey(key); } - if (typeof key === 'object' && key.key !== undefined) { - getSignVerifyIntOption('padding', key); - getSignVerifyIntOption('saltLength', key); - return key.key instanceof KeyObject ? key : { ...key, key: toKeyObject(key) }; + if (!allowedTypes.includes(keyObject.type)) { + throw new ERR_CRYPTO_INVALID_KEY_OBJECT_TYPE(keyObject.type, expectedType); } - return toKeyObject(key); + return { key: keyObject, padding, saltLength }; } function runOneShotJob(job, callback) { diff --git a/examples/runtime/crypto/src/crypto.js b/examples/runtime/crypto/src/crypto.js index f6b1b5026..774780561 100644 --- a/examples/runtime/crypto/src/crypto.js +++ b/examples/runtime/crypto/src/crypto.js @@ -1,4 +1,4 @@ -import { createHash, createHmac, hash, getHashes, getCiphers, getCurves, constants, randomBytes, randomInt, timingSafeEqual, pbkdf2Sync, scryptSync, hkdfSync, createCipheriv, createDecipheriv, generateKeyPair, generateKeyPairSync, createSign, createVerify, createPublicKey, createPrivateKey, sign, verify, getDiffieHellman, createDiffieHellman } from 'node:crypto'; +import { createHash, createHmac, hash, getHashes, getCiphers, getCurves, constants, randomBytes, randomInt, timingSafeEqual, pbkdf2Sync, scryptSync, hkdfSync, createCipheriv, createDecipheriv, generateKeyPair, generateKeyPairSync, createSign, createVerify, createPublicKey, createPrivateKey, sign, verify, getDiffieHellman, createDiffieHellman, createSecretKey } from 'node:crypto'; export function newUuids() { const uuid1 = crypto.randomUUID() @@ -335,14 +335,14 @@ export async function cryptoErrorContracts() { // One-shot sign()/verify() validate synchronously but deliver errors of the // signing job to the callback, after returning. - const viaCallback = (name, fn) => new Promise((resolve) => { + const viaCallback = (name, fn, show = (value) => value) => new Promise((resolve) => { let returned = false; const done = (outcome) => { lines.push(`${name}: ${returned ? '' : 'before return '}${outcome}`); resolve(); }; try { - fn((err, value) => done(err ? `callback ${err.name} ${err.code}` : `callback ok ${value}`)); + fn((err, value) => done(err ? `callback ${err.name} ${err.code}` : `callback ok ${show(value)}`)); returned = true; } catch (e) { lines.push(`${name}: throws ${e.name} ${e.code}`); @@ -355,6 +355,25 @@ export async function cryptoErrorContracts() { await viaCallback('sign invalid padding', (cb) => sign('sha256', Buffer.from('message'), { key: rsa.privateKey, padding: 'x' }, cb)); await viaCallback('verify mismatching signature', (cb) => verify('sha256', Buffer.from('message'), rsa.publicKey, Buffer.alloc(64), cb)); + // A key of the wrong type is rejected synchronously and never reaches the callback. + const secretKey = createSecretKey(Buffer.alloc(32, 1)); + const message = Buffer.from('message'); + await viaCallback('sign with public KeyObject', (cb) => sign('sha256', message, rsa.publicKey, cb)); + await viaCallback('sign with nested secret KeyObject', (cb) => sign('sha256', message, { key: secretKey }, cb)); + await viaCallback('verify with secret KeyObject', (cb) => verify('sha256', message, secretKey, Buffer.alloc(64), cb)); + await viaCallback('verify with nested private KeyObject', (cb) => verify('sha256', message, { key: rsa.privateKey }, sign('sha256', message, rsa.privateKey), cb)); + + // Inherited and non-enumerable padding/saltLength options reach the job. + const pss = { padding: constants.RSA_PKCS1_PSS_PADDING, saltLength: 20 }; + const privatePem = rsa.privateKey.export({ format: 'pem', type: 'pkcs8' }); + const signatureKind = (signature) => `pkcs1=${verify('sha256', message, rsa.publicKey, signature)} pss=${verify('sha256', message, { key: rsa.publicKey, ...pss }, signature)}`; + await viaCallback('sign inherited PSS options', (cb) => sign('sha256', message, Object.assign(Object.create(pss), { key: privatePem }), cb), signatureKind); + await viaCallback('sign non-enumerable PSS options', (cb) => sign('sha256', message, Object.defineProperties({ key: privatePem }, { padding: { value: pss.padding }, saltLength: { value: pss.saltLength } }), cb), signatureKind); + await viaCallback('sign default padding', (cb) => sign('sha256', message, { key: privatePem }, cb), signatureKind); + const pssSignature = sign('sha256', message, { key: rsa.privateKey, ...pss }); + await viaCallback('verify inherited PSS options', (cb) => verify('sha256', message, Object.assign(Object.create(pss), { key: rsa.publicKey.export({ format: 'pem', type: 'spki' }) }), pssSignature, cb)); + await viaCallback('verify PSS signature with default padding', (cb) => verify('sha256', message, { key: rsa.publicKey }, pssSignature, cb)); + const modp14 = getDiffieHellman('modp14'); const alice = createDiffieHellman(modp14.getPrime(), modp14.getGenerator()); alice.generateKeys(); diff --git a/tests/runtime/crypto.rs b/tests/runtime/crypto.rs index fd82cdac3..8f2d83772 100644 --- a/tests/runtime/crypto.rs +++ b/tests/runtime/crypto.rs @@ -1056,7 +1056,7 @@ async fn crypto_subtle_sign_verify_rsa_pss( } /// Error contracts of AEAD decryption, key encoding options, crypto argument validation, one-shot sign/verify -/// callback delivery and DH peer key limits, as Node.js 26.13.1 reports them. +/// key type checks, option resolution, callback delivery and DH peer key limits, as Node.js 26.13.1 reports them. #[test] async fn crypto_error_contracts( #[tagged_as("crypto")] compiled: &CompiledTest, @@ -1101,6 +1101,15 @@ async fn crypto_error_contracts( "verify with x25519 key: callback Error ERR_OSSL_EVP_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE", "sign invalid padding: throws TypeError ERR_INVALID_ARG_VALUE", "verify mismatching signature: callback ok false", + "sign with public KeyObject: throws TypeError ERR_CRYPTO_INVALID_KEY_OBJECT_TYPE", + "sign with nested secret KeyObject: throws TypeError ERR_CRYPTO_INVALID_KEY_OBJECT_TYPE", + "verify with secret KeyObject: throws TypeError ERR_CRYPTO_INVALID_KEY_OBJECT_TYPE", + "verify with nested private KeyObject: callback ok true", + "sign inherited PSS options: callback ok pkcs1=false pss=true", + "sign non-enumerable PSS options: callback ok pkcs1=false pss=true", + "sign default padding: callback ok pkcs1=true pss=false", + "verify inherited PSS options: callback ok true", + "verify PSS signature with default padding: callback ok false", "DH computeSecret(1): RangeError ERR_CRYPTO_INVALID_KEYLEN Supplied key is too small", "DH computeSecret(p - 1): RangeError ERR_CRYPTO_INVALID_KEYLEN Supplied key is too large", ]; From d37588e89371f7371c567f9d474fd597d0364130 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Tue, 17 Nov 2026 13:58:04 +0000 Subject: [PATCH 18/55] Require decisions for changed subtests matched by position [skip ci] --- tests/common/mod.rs | 2 +- tests/migrate_config_split.rs | 1042 ++++++++++++++++++++++++++++++++- tests/node_compat/README.md | 70 ++- 3 files changed, 1086 insertions(+), 28 deletions(-) diff --git a/tests/common/mod.rs b/tests/common/mod.rs index 62a46a836..9ffad37d3 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -2921,7 +2921,7 @@ fn is_unevaluated_node_compat_reason(reason: &str) -> bool { r == "newly discovered, not yet evaluated" || r.starts_with("inherited: newly discovered") } -fn node_compat_category_from_entry( +pub fn node_compat_category_from_entry( path: &str, entry: &serde_json::Value, inherited: Option, diff --git a/tests/migrate_config_split.rs b/tests/migrate_config_split.rs index e9ae338b8..80665d80d 100644 --- a/tests/migrate_config_split.rs +++ b/tests/migrate_config_split.rs @@ -14,6 +14,14 @@ //! with identical source, so an unchanged block that moved to another index (and therefore another //! generated name such as `block_05_block_05`) keeps its own classification. //! +//! A changed subtest with a generated name keeps the metadata of the previous subtest at its +//! position only as a proposal. The run fails until each one has an accepted decision in the file +//! named by `NODE_COMPAT_MIGRATION_DECISIONS`. A decision is bound to the previous and current +//! suite versions, to the parsed `tests` object of the input config, and to both versions of the +//! test file, and it records the previous metadata, which the migration recomputes and compares. +//! A decision that stops running a formerly runnable subtest, or that excludes a former known gap, +//! must state how that obligation is kept. +//! //! The contract tests run against temporary fixtures: //! `cargo test --test migrate_config_split -- ':tag:migration_contract'`. @@ -24,7 +32,7 @@ test_r::enable!(); mod common; use crate::common::js_subtest_parser::{SubtestDiscovery, discover_subtests_with_options}; -use crate::common::strip_jsonc_comments; +use crate::common::{NodeCompatCategory, node_compat_category_from_entry, strip_jsonc_comments}; use anyhow::{anyhow, bail}; use serde_json::{Map, Value, json}; use std::collections::{BTreeMap, BTreeSet}; @@ -61,9 +69,20 @@ struct MigrationReport { /// unchanged description (`"by": "description"`). renamed: Vec, /// Subtests with a generated name whose source changed; they keep the metadata of the - /// previous subtest at the same position. Review them when that file's subtests have - /// different classifications. + /// previous subtest at the same position unless a decision accepted another value. matched_by_position: Vec, + /// The inputs a decision for these subtests is bound to (suite versions and the hash of the + /// input `tests` object); set when `matched_by_position` is not empty. + #[serde(skip_serializing_if = "Option::is_none")] + position_inputs: Option, + /// Subtests matched by position without an accepted decision, with the hashes and previous + /// metadata a decision must record, and the problem of a rejected decision. Needs a decision. + pending_position_decisions: Vec, + /// Decisions that match no subtest matched by position. Needs a fix of the decisions file. + unused_decisions: Vec, + /// Accepted decisions that changed the classification of a formerly runnable or known-gap + /// subtest, with the obligation that keeps it accounted for. + obligations: Vec, /// Subtests without a previous entry. new_subtests: Vec, /// Subtests that are gone, with their previous metadata. Needs a mapping. @@ -76,7 +95,11 @@ struct MigrationReport { impl MigrationReport { fn needs_review(&self) -> usize { - self.removed_subtests.len() + self.missing_sources.len() + self.needs_decision.len() + self.removed_subtests.len() + + self.missing_sources.len() + + self.needs_decision.len() + + self.pending_position_decisions.len() + + self.unused_decisions.len() } } @@ -440,19 +463,365 @@ fn new_subtest_value(meta: &Map) -> Value { } } +/// Keys of a positional decision. +const DECISION_KEYS: [&str; 11] = [ + "file", + "subtest", + "previousBlake3", + "currentBlake3", + "previous", + "entry", + "assertions", + "note", + "obligation", + "movedTo", + "evidence", +]; +/// What a decision says about the assertions of the previous subtest. +const ASSERTIONS: [&str; 4] = ["kept", "changed", "moved", "none"]; +/// How a decision keeps a formerly runnable or known-gap subtest accounted for. +const OBLIGATIONS: [&str; 3] = ["baseline-gap", "moved", "target-change"]; + +/// Accepted mapping decisions for subtests matched by position, by file and subtest. +type Decisions = BTreeMap<(String, String), Map>; +/// Accepted decisions that moved their assertions, with the `movedTo` targets. +type Moves = Vec<((String, String), Vec)>; + +fn blake3_hex(bytes: &[u8]) -> String { + blake3::hash(bytes).to_hex().to_string() +} + +/// The hash a decisions file binds the input config to: the parsed `tests` object, so that +/// comments and `nodeVersion` do not matter but every entry does. +fn tests_digest(tests: &Map) -> String { + blake3_hex(Value::Object(tests.clone()).to_string().as_bytes()) +} + +fn suite_version(root: &Path) -> anyhow::Result { + let version = fs::read_to_string(root.join("NODE_VERSION")) + .map_err(|e| anyhow!("{} has no NODE_VERSION: {e}", root.display()))?; + Ok(version.trim().to_string()) +} + +fn category_name(category: NodeCompatCategory) -> &'static str { + match category { + NodeCompatCategory::Runnable => "runnable", + NodeCompatCategory::KnownGap => "known-gap", + NodeCompatCategory::WasmImpossible => "wasi-impossible", + NodeCompatCategory::EngineDifference => "engine-difference", + NodeCompatCategory::NodeInternals => "node-internals", + NodeCompatCategory::Unevaluated => "unevaluated", + } +} + +/// The category, reason and flaky flag the harness gives a subtest of `file` in `suite_root`. +fn effective( + path: &str, + file: &Map, + subtest: &Value, + suite_root: &Path, +) -> anyhow::Result<(NodeCompatCategory, Value)> { + let file_category = + node_compat_category_from_entry(path, &Value::Object(file.clone()), None, suite_root)?; + let category = node_compat_category_from_entry(path, subtest, Some(file_category), suite_root)?; + let reason = subtest + .get("reason") + .and_then(Value::as_str) + .or_else(|| file.get("reason").and_then(Value::as_str)); + let flaky = subtest + .get("flaky") + .and_then(Value::as_bool) + .unwrap_or(file.get("flaky").and_then(Value::as_bool).unwrap_or(false)); + Ok(( + category, + json!({ "category": category_name(category), "reason": reason, "flaky": flaky }), + )) +} + +/// Reads a decisions file and rejects it unless it is for these suite versions and this input +/// config, and every row is well formed and unique. +fn load_decisions( + text: &str, + previous_root: &Path, + suite_root: &Path, + tests_hash: &str, +) -> anyhow::Result { + let record: Value = serde_json::from_str(text)?; + let (from, to) = (suite_version(previous_root)?, suite_version(suite_root)?); + if record["from"] != json!(from) || record["to"] != json!(to) { + bail!( + "the decisions are for {} -> {}, but the suites are {from} -> {to}", + record["from"], + record["to"] + ); + } + let bound = &record["previousConfig"]["testsBlake3"]; + if *bound != json!(tests_hash) { + bail!( + "the decisions are bound to an input config whose tests hash to {bound}, but this config's tests hash to {tests_hash:?}; restore the config named by previousConfig.revision instead of applying them to another config" + ); + } + let rows = record["positionDecisions"] + .as_array() + .ok_or_else(|| anyhow!("the decisions lack a positionDecisions array"))?; + let mut decisions = Decisions::new(); + for row in rows { + let row = row + .as_object() + .ok_or_else(|| anyhow!("decision {row} is not an object"))?; + if let Some(key) = row.keys().find(|k| !DECISION_KEYS.contains(&k.as_str())) { + bail!("decision {row:?} has an unknown key {key:?}"); + } + let text = |key: &str| { + row.get(key) + .and_then(Value::as_str) + .filter(|s| !s.trim().is_empty()) + }; + let (Some(file), Some(subtest)) = (text("file"), text("subtest")) else { + bail!("decision {row:?} needs a file and a subtest"); + }; + let at = format!("{file}#{subtest}"); + for key in ["previousBlake3", "currentBlake3", "note"] { + if text(key).is_none() { + bail!("the decision for {at} needs a non-empty {key}"); + } + } + if !row.get("previous").is_some_and(Value::is_object) + || !row.get("entry").is_some_and(Value::is_object) + { + bail!("the decision for {at} needs previous and entry objects"); + } + let assertions = text("assertions").filter(|a| ASSERTIONS.contains(a)); + if assertions.is_none() { + bail!("the decision for {at} needs assertions, one of {ASSERTIONS:?}"); + } + let obligation = + match row.get("obligation") { + None => None, + Some(o) => Some(o.as_str().filter(|o| OBLIGATIONS.contains(o)).ok_or_else( + || { + anyhow!( + "the decision for {at} has an obligation other than {OBLIGATIONS:?}" + ) + }, + )?), + }; + let moved = assertions == Some("moved") || obligation == Some("moved"); + match row.get("movedTo") { + None if moved => bail!("the decision for {at} moves its assertions but has no movedTo"), + Some(_) if !moved => bail!("the decision for {at} has movedTo without moving"), + Some(targets) + if !targets.as_array().is_some_and(|t| { + !t.is_empty() && t.iter().all(|t| t.as_str().is_some_and(|t| !t.is_empty())) + }) => + { + bail!("the movedTo of the decision for {at} must list file or file#subtest targets") + } + _ => {} + } + let target_change = obligation == Some("target-change"); + if target_change && text("evidence").is_none() { + bail!("the target-change decision for {at} needs non-empty evidence"); + } + if !target_change && row.contains_key("evidence") { + bail!("the decision for {at} has evidence without a target-change obligation"); + } + if decisions + .insert((file.to_string(), subtest.to_string()), row.clone()) + .is_some() + { + bail!("duplicate decision for {at}"); + } + } + Ok(decisions) +} + +/// Checks a decision against the subtest it maps. `Ok(Err(problem))` rejects the decision; on +/// acceptance it returns the entry to write and, when the decision changes the classification of +/// a formerly runnable or known-gap subtest, the obligation to report. +fn check_decision( + decision: &Map, + pending: &Value, + meta: &Map, + suite_root: &Path, +) -> anyhow::Result), String>> { + for key in ["previousBlake3", "currentBlake3"] { + if decision[key] != pending[key] { + return Ok(Err(format!( + "stale: {key} {} differs from the vendored file's {}", + decision[key], pending[key] + ))); + } + } + if decision["previous"] != pending["previous"] { + return Ok(Err(format!( + "previousMismatch: the recorded previous metadata {} differs from the input config's {}", + decision["previous"], pending["previous"] + ))); + } + let path = pending["file"].as_str().unwrap_or_default(); + let entry = decision["entry"].clone(); + let (now, now_effective) = match effective(path, meta, &entry, suite_root) { + Ok(resolved) => resolved, + Err(e) => return Ok(Err(format!("invalidEntry: {e}"))), + }; + let before = NodeCompatCategory::from_config_value( + pending["previous"]["effective"]["category"] + .as_str() + .unwrap_or_default(), + )?; + let obligation = decision.get("obligation").and_then(Value::as_str); + let needed = (before == NodeCompatCategory::Runnable && now != NodeCompatCategory::Runnable) + || (before == NodeCompatCategory::KnownGap && !now.is_primary_surface()); + if needed && obligation.is_none() { + return Ok(Err(format!( + "obligationViolation: the formerly {} subtest becomes {}; an obligation (baseline-gap, moved or target-change) must keep it accounted for", + category_name(before), + category_name(now) + ))); + } + if obligation == Some("baseline-gap") + && (before != NodeCompatCategory::Runnable + || now != NodeCompatCategory::KnownGap + || now_effective["reason"] + .as_str() + .is_none_or(|r| r.trim().is_empty())) + { + return Ok(Err( + "obligationViolation: a baseline-gap obligation needs a formerly runnable subtest that becomes a known gap with a reason" + .to_string(), + )); + } + let reported = (before.is_primary_surface() && now != before).then(|| { + json!({ + "file": path, + "subtest": pending["subtest"], + "previous": category_name(before), + "entry": category_name(now), + "obligation": obligation, + "movedTo": decision.get("movedTo"), + "evidence": decision.get("evidence"), + }) + }); + Ok(Ok((entry, reported))) +} + +/// The category the migrated config gives a `file` or `file#subtest` target. +fn target_category( + tests: &Map, + target: &str, + suite_root: &Path, +) -> Result { + let (file, subtest) = match target.split_once('#') { + Some((file, subtest)) => (file, Some(subtest)), + None => (target, None), + }; + let entry = tests + .get(file) + .and_then(Value::as_object) + .ok_or_else(|| format!("movedTo target {target} is not in the migrated config"))?; + let resolved = match subtest { + None => { + node_compat_category_from_entry(file, &Value::Object(entry.clone()), None, suite_root) + } + Some(subtest) => { + let value = entry + .get("subtests") + .and_then(|s| s.get(subtest)) + .ok_or_else(|| format!("movedTo target {target} is not in the migrated config"))?; + effective(file, entry, value, suite_root).map(|(category, _)| category) + } + }; + resolved.map_err(|e| format!("movedTo target {target}: {e}")) +} + fn migrate( content: &str, suite_root: &Path, previous_suite: Option<&Path>, + decisions: Option<&str>, ) -> anyhow::Result { let config: Value = serde_json::from_str(&strip_jsonc_comments(content))?; let tests = config .get("tests") .and_then(Value::as_object) .ok_or_else(|| anyhow!("config.jsonc missing 'tests' object"))?; + let decisions = match (decisions, previous_suite) { + (None, _) => None, + (Some(_), None) => bail!("mapping decisions need NODE_COMPAT_MIGRATION_PREVIOUS_SUITE"), + (Some(text), Some(previous_root)) => Some(load_decisions( + text, + previous_root, + suite_root, + &tests_digest(tests), + )?), + }; + // A decision whose movedTo targets do not keep its assertions running is rejected, which can + // in turn invalidate a decision that moved its assertions to that subtest. + let mut rejected: BTreeMap<(String, String), String> = BTreeMap::new(); + loop { + let (migration, moves) = migrate_once( + content, + tests, + suite_root, + previous_suite, + decisions.as_ref(), + &rejected, + )?; + let migrated: Value = serde_json::from_str(&strip_jsonc_comments(&migration.content))?; + let migrated_tests = migrated["tests"].as_object().cloned().unwrap_or_default(); + let baseline_gaps: BTreeSet = migration + .report + .obligations + .iter() + .filter(|o| o["obligation"] == "baseline-gap") + .map(|o| { + format!( + "{}#{}", + o["file"].as_str().unwrap_or_default(), + o["subtest"].as_str().unwrap_or_default() + ) + }) + .collect(); + let mut newly = BTreeMap::new(); + for (key, targets) in moves { + let problem = targets.iter().find_map(|target| { + match target_category(&migrated_tests, target, suite_root) { + Ok(NodeCompatCategory::Runnable) => None, + Ok(_) if baseline_gaps.contains(target) => None, + Ok(category) => Some(format!( + "obligationViolation: movedTo target {target} is {}, neither runnable nor a baseline gap", + category_name(category) + )), + Err(problem) => Some(format!("obligationViolation: {problem}")), + } + }); + if let Some(problem) = problem { + newly.insert(key, problem); + } + } + if newly.is_empty() { + return Ok(migration); + } + rejected.extend(newly); + } +} + +/// One migration pass; decisions in `rejected` are reported as pending with their problem. +/// Returns the accepted decisions whose assertions moved, with their targets. +fn migrate_once( + content: &str, + tests: &Map, + suite_root: &Path, + previous_suite: Option<&Path>, + decisions: Option<&Decisions>, + rejected: &BTreeMap<(String, String), String>, +) -> anyhow::Result<(Migration, Moves)> { let layout = tests_layout(content)?; let mut report = MigrationReport::default(); let mut replacements: Vec<(usize, usize, String)> = Vec::new(); + let mut used: BTreeSet<(String, String)> = BTreeSet::new(); + let mut moves = Vec::new(); for (path, opts) in tests { let opts = opts @@ -557,7 +926,9 @@ fn migrate( .map(|(name, text)| (name.as_str(), text.as_str())) .collect(); // A generated name kept by position whose source changed is audited even when - // the entry itself needs no rewrite. + // the entry itself needs no rewrite, and keeps its previous metadata only until + // a decision accepts it or another value. + let mut decided: BTreeMap<&String, Value> = BTreeMap::new(); for name in &names { if origin.get(name).is_some_and(|(old, _)| old == name) && subtest_description(name).is_none() @@ -566,9 +937,55 @@ fn migrate( report .matched_by_position .push(json!({ "file": path, "subtest": name })); + let raw = &existing[name.as_str()]; + let (_, previous_effective) = effective(path, &meta, raw, previous_root)?; + let mut pending = json!({ + "file": path, + "subtest": name, + "previousBlake3": blake3_hex(previous_source.as_bytes()), + "currentBlake3": blake3_hex(source.as_bytes()), + "previous": { + "raw": raw, + "fileEntry": meta, + "effective": previous_effective, + }, + }); + let key = (path.clone(), name.clone()); + let Some(decision) = decisions.and_then(|d| d.get(&key)) else { + report.pending_position_decisions.push(pending); + continue; + }; + used.insert(key.clone()); + let checked = match rejected.get(&key) { + Some(problem) => Err(problem.clone()), + None => check_decision(decision, &pending, &meta, suite_root)?, + }; + match checked { + Ok((entry, obligation)) => { + if let Some(targets) = decision.get("movedTo") { + let targets = targets + .as_array() + .into_iter() + .flatten() + .filter_map(Value::as_str) + .map(str::to_string) + .collect(); + moves.push((key, targets)); + } + report.obligations.extend(obligation); + decided.insert(name, entry); + } + Err(problem) => { + pending["problem"] = json!(problem); + report.pending_position_decisions.push(pending); + } + } } } - if same_names && origin.iter().all(|(name, (old, _))| name == old) { + let unchanged = decided + .iter() + .all(|(name, entry)| existing[name.as_str()] == *entry); + if same_names && unchanged && origin.iter().all(|(name, (old, _))| name == old) { continue; } let mut subtests = Vec::new(); @@ -580,7 +997,10 @@ fn migrate( .push(json!({ "file": path, "from": old, "to": name, "by": by })); existing[old.as_str()].clone() } - Some((old, _)) => existing[old.as_str()].clone(), + Some((old, _)) => decided + .get(name) + .cloned() + .unwrap_or_else(|| existing[old.as_str()].clone()), None => { report .new_subtests @@ -605,6 +1025,22 @@ fn migrate( let (start, end) = layout.values[path.as_str()]; replacements.push((start, end, replacement)); } + for (file, subtest) in decisions.into_iter().flat_map(BTreeMap::keys) { + if !used.contains(&(file.clone(), subtest.clone())) { + report.unused_decisions.push(json!({ + "file": file, + "subtest": subtest, + "problem": "no changed subtest with a generated name is matched by position here", + })); + } + } + if !report.matched_by_position.is_empty() { + report.position_inputs = Some(json!({ + "from": previous_suite.and_then(|root| suite_version(root).ok()), + "to": suite_version(suite_root).ok(), + "testsBlake3": tests_digest(tests), + })); + } let mut migrated = content.to_string(); let added: Vec = discover_suite_files(suite_root)? @@ -648,10 +1084,13 @@ fn migrate( } // The result must still be a valid config with the same top-level shape. tests_layout(&migrated)?; - Ok(Migration { - content: migrated, - report, - }) + Ok(( + Migration { + content: migrated, + report, + }, + moves, + )) } #[test] @@ -660,6 +1099,10 @@ fn migrate_config_split() -> anyhow::Result<()> { let report_path = std::env::var("NODE_COMPAT_MIGRATION_REPORT") .unwrap_or_else(|_| "target/node-compat-migration-report.json".to_string()); let previous_suite = std::env::var("NODE_COMPAT_MIGRATION_PREVIOUS_SUITE").ok(); + let decisions = std::env::var("NODE_COMPAT_MIGRATION_DECISIONS") + .ok() + .map(|path| fs::read_to_string(&path).map_err(|e| anyhow!("cannot read {path}: {e}"))) + .transpose()?; let content = fs::read_to_string(config_path)?; let Migration { content: migrated, @@ -668,6 +1111,7 @@ fn migrate_config_split() -> anyhow::Result<()> { &content, Path::new("tests/node_compat/suite"), previous_suite.as_deref().map(Path::new), + decisions.as_deref(), )?; fs::write(config_path, migrated)?; if let Some(parent) = Path::new(&report_path).parent() { @@ -688,6 +1132,15 @@ fn migrate_config_split() -> anyhow::Result<()> { " changed generated-name subtests matched by position: {}", report.matched_by_position.len() ); + println!( + " of which pending a decision: {}", + report.pending_position_decisions.len() + ); + println!(" unused decisions: {}", report.unused_decisions.len()); + println!( + " accepted classification changes: {}", + report.obligations.len() + ); println!(" new subtests: {}", report.new_subtests.len()); println!(" removed subtests: {}", report.removed_subtests.len()); println!( @@ -724,10 +1177,13 @@ mod contract { impl Fixture { fn new() -> Self { - Self { + let fixture = Self { temp: Utf8TempDir::new().unwrap(), previous: Utf8TempDir::new().unwrap(), - } + }; + fs::write(fixture.temp.path().join("NODE_VERSION"), "26.13.1\n").unwrap(); + fs::write(fixture.previous.path().join("NODE_VERSION"), "22.14.0\n").unwrap(); + fixture } fn source(&self, path: &str, source: &str) -> &Self { @@ -746,18 +1202,29 @@ mod contract { } fn migrate(&self, tests: &str) -> Migration { - let content = format!( - "{{\n \"nodeVersion\": \"22.14.0\",\n // \"parallel/test-a.js\" is quoted here\n \"tests\": {{\n{tests}\n }}\n}}\n" - ); + self.migrate_with(&config(tests), None).unwrap() + } + + fn migrate_with( + &self, + content: &str, + decisions: Option<&Value>, + ) -> anyhow::Result { migrate( - &content, + content, self.temp.path().as_std_path(), Some(self.previous.path().as_std_path()), + decisions.map(Value::to_string).as_deref(), ) - .unwrap() } } + fn config(tests: &str) -> String { + format!( + "{{\n \"nodeVersion\": \"22.14.0\",\n // \"parallel/test-a.js\" is quoted here\n \"tests\": {{\n{tests}\n }}\n}}\n" + ) + } + fn entries(migration: &Migration) -> Map { let config: Value = serde_json::from_str(&strip_jsonc_comments(&migration.content)).unwrap(); @@ -915,15 +1382,33 @@ mod contract { }"#; let migration = fixture.migrate(tests); assert!(migration.content.contains(tests)); + let parsed: Value = serde_json::from_str(&format!("{{{tests}}}")).unwrap(); assert_eq!( migration.report, MigrationReport { matched_by_position: vec![ json!({ "file": "parallel/test-a.js", "subtest": "block_00_block_00" }) ], + position_inputs: Some(json!({ + "from": "22.14.0", + "to": "26.13.1", + "testsBlake3": blake3::hash(parsed.to_string().as_bytes()).to_hex().to_string(), + })), + pending_position_decisions: vec![json!({ + "file": "parallel/test-a.js", + "subtest": "block_00_block_00", + "previousBlake3": blake3::hash(b"{ passes(1); }\n{ gap(); }\n").to_hex().to_string(), + "currentBlake3": blake3::hash(b"{ passes(2); }\n{ gap(); }\n").to_hex().to_string(), + "previous": { + "raw": { "category": "runnable" }, + "fileEntry": {}, + "effective": { "category": "runnable", "reason": null, "flaky": false }, + }, + })], ..MigrationReport::default() } ); + assert_eq!(migration.report.needs_review(), 1); } #[test] @@ -935,7 +1420,7 @@ mod contract { &node_tests(&["alpha", "beta", "gamma"]), ); let content = "{ \"nodeVersion\": \"22.14.0\", \"tests\": { \"parallel/test-a.js\": { \"split\": true, \"subtests\": { \"test_00_alpha\": {}, \"test_01_beta\": {} } } } }"; - let error = migrate(content, fixture.temp.path().as_std_path(), None) + let error = migrate(content, fixture.temp.path().as_std_path(), None, None) .err() .unwrap(); assert!( @@ -1044,7 +1529,13 @@ mod contract { .source("parallel/test-a.js", TWO_TESTS) .source("parallel/test-b.mjs", ""); let first = fixture.migrate(r#" "parallel/test-a.js": { "category": "known-gap" }"#); - let second = migrate(&first.content, fixture.temp.path().as_std_path(), None).unwrap(); + let second = migrate( + &first.content, + fixture.temp.path().as_std_path(), + None, + None, + ) + .unwrap(); assert_eq!(second.content, first.content); assert_eq!(second.report, MigrationReport::default()); } @@ -1054,9 +1545,518 @@ mod contract { fn duplicate_entries_are_rejected() { let fixture = Fixture::new(); let content = "{ \"nodeVersion\": \"22.14.0\", \"tests\": { \"parallel/test-a.js\": {}, \"parallel/test-a.js\": { \"category\": \"known-gap\" } } }"; - let error = migrate(content, fixture.temp.path().as_std_path(), None) + let error = migrate(content, fixture.temp.path().as_std_path(), None, None) .err() .unwrap(); assert!(error.to_string().contains("duplicate"), "{error:#}"); } + + // The next four cases use only the interface of the migration before decisions existed, so + // they also show what it got wrong: a changed block was silently accepted by position. + + #[test] + #[test_r::tag(migration_contract)] + fn a_changed_runnable_block_needs_a_decision() { + let fixture = Fixture::new(); + fixture + .previous("parallel/test-a.js", "{ passes(1); }\n{ gap(); }\n") + .source("parallel/test-a.js", "{ passes(2); }\n{ gap(); }\n"); + let tests = r#" "parallel/test-a.js": { "split": true, "subtests": { "block_00_block_00": {}, "block_01_block_01": { "category": "known-gap", "reason": "gap" } } }"#; + let migration = fixture.migrate(tests); + assert!(migration.content.contains(tests)); + assert_eq!(migration.report.needs_review(), 1); + } + + #[test] + #[test_r::tag(migration_contract)] + fn a_changed_excluded_block_needs_a_decision() { + let fixture = Fixture::new(); + fixture + .previous("parallel/test-a.js", "{ internals(1); }\n{ passes(); }\n") + .source("parallel/test-a.js", "{ internals(2); }\n{ passes(); }\n"); + let tests = r#" "parallel/test-a.js": { "split": true, "subtests": { "block_00_block_00": { "category": "node-internals", "reason": "internal" }, "block_01_block_01": {} } }"#; + let migration = fixture.migrate(tests); + assert!(migration.content.contains(tests)); + assert_eq!(migration.report.needs_review(), 1); + } + + #[test] + #[test_r::tag(migration_contract)] + fn a_changed_block_with_an_unchanged_entry_but_new_internals_needs_a_decision() { + let fixture = Fixture::new(); + fixture + .previous("parallel/test-a.js", "{ passes(1); }\n{ passes(); }\n") + .source( + "parallel/test-a.js", + "{ passes(2); internalBinding('x'); }\n{ passes(); }\n", + ); + let tests = r#" "parallel/test-a.js": { "split": true, "subtests": { "block_00_block_00": {}, "block_01_block_01": {} } }"#; + let migration = fixture.migrate(tests); + assert!(migration.content.contains(tests)); + assert_eq!(migration.report.needs_review(), 1); + } + + #[test] + #[test_r::tag(migration_contract)] + fn a_block_moved_with_identical_source_needs_no_decision() { + let fixture = Fixture::new(); + fixture + .previous("parallel/test-a.js", "{ gap(); }\n{ passes(); }\n") + .source( + "parallel/test-a.js", + "{ added(); }\n{ gap(); }\n{ passes(); }\n", + ); + let migration = fixture.migrate( + r#" "parallel/test-a.js": { "split": true, "subtests": { "block_00_block_00": { "category": "known-gap", "reason": "gap" }, "block_01_block_01": {} } }"#, + ); + let subtests = &entries(&migration)["parallel/test-a.js"]["subtests"]; + assert_eq!( + subtests["block_01_block_01"], + json!({ "category": "known-gap", "reason": "gap" }) + ); + assert_eq!(subtests["block_02_block_02"], json!({})); + assert_eq!(migration.report.needs_review(), 0); + } + + /// Three blocks: the first two change, the third does not. + const PREVIOUS_BLOCKS: &str = "{ one(1); }\n{ two(1); }\n{ three(); }\n"; + const CURRENT_BLOCKS: &str = "{ one(2); }\n{ two(2); }\n{ three(); }\n"; + + fn blocks(first: &str, second: &str, third: &str) -> String { + format!( + " \"parallel/test-a.js\": {{ \"split\": true, \"subtests\": {{ \"block_00_block_00\": {first}, \"block_01_block_01\": {second}, \"block_02_block_02\": {third} }} }}" + ) + } + + fn pending<'a>(migration: &'a Migration, subtest: &str) -> &'a Value { + migration + .report + .pending_position_decisions + .iter() + .find(|row| row["subtest"] == subtest) + .unwrap_or_else(|| panic!("{subtest} is not pending: {:#?}", migration.report)) + } + + /// A decision built from the pending row of `subtest`, with `extra` keys. + fn decision(proposal: &Migration, subtest: &str, entry: Value, extra: Value) -> Value { + let row = pending(proposal, subtest); + let mut decision = json!({ + "file": row["file"], + "subtest": subtest, + "previousBlake3": row["previousBlake3"], + "currentBlake3": row["currentBlake3"], + "previous": row["previous"], + "entry": entry, + "assertions": "kept", + "note": "reviewed against both versions", + }); + for (key, value) in extra.as_object().unwrap() { + decision[key] = value.clone(); + } + decision + } + + fn record(proposal: &Migration, rows: Vec) -> Value { + let inputs = proposal.report.position_inputs.as_ref().unwrap(); + json!({ + "from": inputs["from"], + "to": inputs["to"], + "previousConfig": { + "revision": "fixture", + "path": "tests/node_compat/config.jsonc", + "testsBlake3": inputs["testsBlake3"], + }, + "positionDecisions": rows, + }) + } + + fn blocks_fixture() -> Fixture { + let fixture = Fixture::new(); + fixture + .previous("parallel/test-a.js", PREVIOUS_BLOCKS) + .source("parallel/test-a.js", CURRENT_BLOCKS); + fixture + } + + #[test] + #[test_r::tag(migration_contract)] + fn accepted_decisions_replace_the_positional_proposal() { + let fixture = blocks_fixture(); + let input = config(&blocks("{}", "{}", "{}")); + let proposal = fixture.migrate_with(&input, None).unwrap(); + let gap = json!({ "category": "known-gap", "reason": "the new assertion needs X" }); + let decisions = record( + &proposal, + vec![ + decision( + &proposal, + "block_00_block_00", + json!({}), + json!({ "assertions": "none" }), + ), + decision( + &proposal, + "block_01_block_01", + gap.clone(), + json!({ "assertions": "changed", "obligation": "baseline-gap" }), + ), + ], + ); + let migration = fixture.migrate_with(&input, Some(&decisions)).unwrap(); + let subtests = &entries(&migration)["parallel/test-a.js"]["subtests"]; + assert_eq!(subtests["block_00_block_00"], json!({})); + assert_eq!(subtests["block_01_block_01"], gap); + assert_eq!(subtests["block_02_block_02"], json!({})); + // The audit list stays complete; only the decisions are settled. + assert_eq!(migration.report.matched_by_position.len(), 2); + assert_eq!( + migration.report.obligations, + [json!({ + "file": "parallel/test-a.js", + "subtest": "block_01_block_01", + "previous": "runnable", + "entry": "known-gap", + "obligation": "baseline-gap", + "movedTo": null, + "evidence": null, + })] + ); + assert_eq!(migration.report.needs_review(), 0); + // The same decisions on the same input give the same result. + let again = fixture.migrate_with(&input, Some(&decisions)).unwrap(); + assert_eq!(again.content, migration.content); + assert_eq!(again.report, migration.report); + // They are bound to the input config, so they do not apply to the migrated one. + let error = fixture + .migrate_with(&migration.content, Some(&decisions)) + .err() + .unwrap(); + assert!( + error.to_string().contains("testsBlake3") || error.to_string().contains("tests hash"), + "{error:#}" + ); + } + + #[test] + #[test_r::tag(migration_contract)] + fn a_kept_decision_leaves_the_config_untouched() { + let fixture = blocks_fixture(); + let input = config(&blocks( + "{}", + r#"{ "category": "node-internals", "reason": "internal" }"#, + "{}", + )); + let proposal = fixture.migrate_with(&input, None).unwrap(); + assert_eq!(proposal.content, input); + let decisions = record( + &proposal, + vec![ + decision(&proposal, "block_00_block_00", json!({}), json!({})), + decision( + &proposal, + "block_01_block_01", + json!({ "category": "node-internals", "reason": "internal" }), + json!({}), + ), + ], + ); + let migration = fixture.migrate_with(&input, Some(&decisions)).unwrap(); + assert_eq!(migration.content, input); + assert!(migration.report.obligations.is_empty()); + assert_eq!(migration.report.needs_review(), 0); + } + + #[test] + #[test_r::tag(migration_contract)] + fn decisions_must_keep_old_obligations_accounted_for() { + let fixture = blocks_fixture(); + let input = config(&blocks( + "{}", + r#"{ "category": "known-gap", "reason": "gap" }"#, + "{}", + )); + let proposal = fixture.migrate_with(&input, None).unwrap(); + let impossible = json!({ "category": "wasi-impossible", "reason": "needs a socket" }); + let problem = |rows: Vec| { + let migration = fixture + .migrate_with(&input, Some(&record(&proposal, rows))) + .unwrap(); + assert!(migration.content.contains(&blocks( + "{}", + r#"{ "category": "known-gap", "reason": "gap" }"#, + "{}" + ))); + migration + .report + .pending_position_decisions + .iter() + .map(|row| row["problem"].as_str().unwrap_or("none").to_string()) + .collect::>() + }; + let gap = json!({ "category": "known-gap", "reason": "gap" }); + // A runnable subtest that stops running, and a known gap that becomes excluded, each + // need an obligation of the right kind. + let rejected = problem(vec![ + decision( + &proposal, + "block_00_block_00", + gap.clone(), + json!({ "assertions": "changed" }), + ), + decision( + &proposal, + "block_01_block_01", + impossible.clone(), + json!({ "assertions": "changed", "obligation": "baseline-gap" }), + ), + ]); + assert_eq!(rejected.len(), 2); + assert!( + rejected + .iter() + .all(|p| p.starts_with("obligationViolation")), + "{rejected:?}" + ); + // A baseline gap needs a reason. + let rejected = problem(vec![decision( + &proposal, + "block_00_block_00", + json!({ "category": "known-gap" }), + json!({ "assertions": "changed", "obligation": "baseline-gap" }), + )]); + assert!( + rejected[0].starts_with("obligationViolation"), + "{rejected:?}" + ); + + let accepted = fixture + .migrate_with( + &input, + Some(&record( + &proposal, + vec![ + decision( + &proposal, + "block_00_block_00", + gap.clone(), + json!({ "assertions": "changed", "obligation": "baseline-gap" }), + ), + decision( + &proposal, + "block_01_block_01", + impossible.clone(), + json!({ + "assertions": "changed", + "obligation": "target-change", + "evidence": "Node 26 rewrote the block to need a listening socket", + }), + ), + ], + )), + ) + .unwrap(); + assert_eq!(accepted.report.needs_review(), 0); + assert_eq!(accepted.report.obligations.len(), 2); + assert_eq!( + entries(&accepted)["parallel/test-a.js"]["subtests"]["block_01_block_01"], + impossible + ); + } + + #[test] + #[test_r::tag(migration_contract)] + fn an_unchanged_entry_whose_effective_category_changed_needs_an_obligation() { + let fixture = Fixture::new(); + fixture + .previous("parallel/test-a.js", "{ passes(1); }\n{ passes(); }\n") + .source( + "parallel/test-a.js", + "{ passes(2); internalBinding('x'); }\n{ passes(); }\n", + ); + let input = config( + r#" "parallel/test-a.js": { "split": true, "subtests": { "block_00_block_00": {}, "block_01_block_01": {} } }"#, + ); + let proposal = fixture.migrate_with(&input, None).unwrap(); + assert_eq!( + pending(&proposal, "block_00_block_00")["previous"]["effective"]["category"], + "runnable" + ); + let kept = record( + &proposal, + vec![decision( + &proposal, + "block_00_block_00", + json!({}), + json!({}), + )], + ); + let migration = fixture.migrate_with(&input, Some(&kept)).unwrap(); + let row = pending(&migration, "block_00_block_00"); + assert!( + row["problem"] + .as_str() + .unwrap() + .contains("becomes node-internals"), + "{row:#}" + ); + let decided = record( + &proposal, + vec![decision( + &proposal, + "block_00_block_00", + json!({}), + json!({ "obligation": "target-change", "evidence": "Node 26 exposes internals here" }), + )], + ); + let migration = fixture.migrate_with(&input, Some(&decided)).unwrap(); + assert_eq!(migration.report.needs_review(), 0); + assert_eq!(migration.report.obligations[0]["entry"], "node-internals"); + } + + #[test] + #[test_r::tag(migration_contract)] + fn moved_assertions_must_land_on_a_runnable_subtest() { + let fixture = blocks_fixture(); + let input = config(&blocks( + "{}", + "{}", + r#"{ "category": "known-gap", "reason": "gap" }"#, + )); + let proposal = fixture.migrate_with(&input, None).unwrap(); + let gap = json!({ "category": "known-gap", "reason": "split elsewhere" }); + let moved = |target: &str| { + decision( + &proposal, + "block_00_block_00", + gap.clone(), + json!({ "assertions": "moved", "obligation": "moved", "movedTo": [target] }), + ) + }; + let kept = decision(&proposal, "block_01_block_01", json!({}), json!({})); + let run = |rows| { + fixture + .migrate_with(&input, Some(&record(&proposal, rows))) + .unwrap() + }; + let accepted = run(vec![ + moved("parallel/test-a.js#block_01_block_01"), + kept.clone(), + ]); + assert_eq!(accepted.report.needs_review(), 0); + for target in [ + "parallel/test-a.js#block_02_block_02", + "parallel/test-missing.js", + ] { + let rejected = run(vec![moved(target), kept.clone()]); + let row = pending(&rejected, "block_00_block_00"); + assert!( + row["problem"] + .as_str() + .unwrap() + .starts_with("obligationViolation"), + "{row:#}" + ); + assert_eq!(rejected.report.needs_review(), 1); + } + // The target itself is a changed subtest; when its own decision stops it running + // without a baseline gap, the decision that moved assertions to it is rejected too. + let target_moved = decision( + &proposal, + "block_01_block_01", + json!({ "category": "wasi-impossible", "reason": "socket" }), + json!({ "assertions": "changed", "obligation": "target-change", "evidence": "socket" }), + ); + let rejected = run(vec![ + moved("parallel/test-a.js#block_01_block_01"), + target_moved, + ]); + assert_eq!(rejected.report.pending_position_decisions.len(), 1); + assert_eq!( + pending(&rejected, "block_00_block_00")["file"], + "parallel/test-a.js" + ); + } + + #[test] + #[test_r::tag(migration_contract)] + fn stale_mismatched_and_unused_decisions_fail() { + let fixture = blocks_fixture(); + let input = config(&blocks("{}", "{}", "{}")); + let proposal = fixture.migrate_with(&input, None).unwrap(); + let mut stale = decision(&proposal, "block_00_block_00", json!({}), json!({})); + stale["currentBlake3"] = json!(blake3::hash(b"another source").to_hex().to_string()); + let mut mismatched = decision(&proposal, "block_01_block_01", json!({}), json!({})); + mismatched["previous"]["effective"]["category"] = json!("known-gap"); + let mut unused = decision(&proposal, "block_01_block_01", json!({}), json!({})); + unused["subtest"] = json!("block_02_block_02"); + let migration = fixture + .migrate_with( + &input, + Some(&record(&proposal, vec![stale, mismatched, unused])), + ) + .unwrap(); + assert_eq!(migration.content, input); + let problems: Vec<&str> = migration + .report + .pending_position_decisions + .iter() + .map(|row| row["problem"].as_str().unwrap()) + .collect(); + assert!(problems[0].starts_with("stale"), "{problems:?}"); + assert!(problems[1].starts_with("previousMismatch"), "{problems:?}"); + assert_eq!( + migration.report.unused_decisions, + [json!({ + "file": "parallel/test-a.js", + "subtest": "block_02_block_02", + "problem": "no changed subtest with a generated name is matched by position here", + })] + ); + assert_eq!(migration.report.needs_review(), 3); + } + + #[test] + #[test_r::tag(migration_contract)] + fn decisions_for_other_inputs_or_malformed_rows_are_rejected() { + let fixture = blocks_fixture(); + let input = config(&blocks("{}", "{}", "{}")); + let proposal = fixture.migrate_with(&input, None).unwrap(); + let row = decision(&proposal, "block_00_block_00", json!({}), json!({})); + let error = |decisions: Value| { + fixture + .migrate_with(&input, Some(&decisions)) + .err() + .unwrap_or_else(|| panic!("accepted {decisions:#}")) + .to_string() + }; + let mut versions = record(&proposal, vec![row.clone()]); + versions["to"] = json!("24.15.0"); + assert!(error(versions).contains("24.15.0")); + let mut config_hash = record(&proposal, vec![row.clone()]); + config_hash["previousConfig"]["testsBlake3"] = json!("0".repeat(64)); + assert!(error(config_hash).contains("tests hash")); + assert!(error(record(&proposal, vec![row.clone(), row.clone()])).contains("duplicate")); + let mut unknown = row.clone(); + unknown["category"] = json!("runnable"); + assert!(error(record(&proposal, vec![unknown])).contains("unknown key")); + let mut no_note = row.clone(); + no_note["note"] = json!(" "); + assert!(error(record(&proposal, vec![no_note])).contains("note")); + let mut no_evidence = row.clone(); + no_evidence["obligation"] = json!("target-change"); + assert!(error(record(&proposal, vec![no_evidence])).contains("evidence")); + let without_previous = migrate( + &input, + fixture.temp.path().as_std_path(), + None, + Some(&record(&proposal, vec![row]).to_string()), + ) + .err() + .unwrap(); + assert!( + without_previous + .to_string() + .contains("NODE_COMPAT_MIGRATION_PREVIOUS_SUITE") + ); + } } diff --git a/tests/node_compat/README.md b/tests/node_compat/README.md index f1a60ff9e..caa15b2f1 100644 --- a/tests/node_compat/README.md +++ b/tests/node_compat/README.md @@ -69,20 +69,78 @@ and of each surviving subtest: name, or of the one with the same unique description. A new subtest starts `unevaluated` unless the file is already excluded from the runner. - A changed subtest with a generated name keeps the metadata of the previous - subtest at its position. The report lists these under `matchedByPosition`; check - them where the file's subtests have different classifications. + subtest at its position only as a proposal. The report lists every such subtest + under `matchedByPosition`, including excluded ones, and the run fails until each + has an accepted mapping decision (see below). - A split file that no longer splits becomes one entry only when all its subtests carried identical metadata; otherwise it is left unchanged for a decision. - Unlisted vendored `test-*.js` and `test-*.mjs` files are added as `unevaluated`. -It never deletes an entry. Configured files without a source, removed subtests and -undecided unsplits are written to `target/node-compat-migration-report.json` -(override with `NODE_COMPAT_MIGRATION_REPORT`), and the run fails until each one -is mapped by reading both versions. The tool's contract tests run with +It never deletes an entry. Configured files without a source, removed subtests, +undecided unsplits, positional subtests without an accepted decision and unused +decisions are written to `target/node-compat-migration-report.json` (override with +`NODE_COMPAT_MIGRATION_REPORT`), and the run fails until each one is mapped by +reading both versions. The tool's contract tests run with `cargo test --test migrate_config_split -- ':tag:migration_contract'`. +### Mapping decisions for subtests matched by position + +Read both versions of each subtest in `pendingPositionDecisions`, then record a +decision for it in a JSON file and rerun the migration on the same input config +with `NODE_COMPAT_MIGRATION_DECISIONS=/path/to/decisions.json`: + +```json +{ + "from": "22.14.0", + "to": "26.13.1", + "previousConfig": { + "revision": "", + "path": "tests/node_compat/config.jsonc", + "testsBlake3": "" + }, + "positionDecisions": [ + { + "file": "parallel/test-a.js", + "subtest": "block_03_block_03", + "previousBlake3": "", + "currentBlake3": "", + "previous": { "raw": {}, "fileEntry": {}, "effective": { "category": "runnable", "reason": null, "flaky": false } }, + "entry": { "category": "known-gap", "reason": "the new assertion needs X" }, + "assertions": "changed", + "obligation": "baseline-gap", + "note": "what the old and new block assert" + } + ] +} +``` + +- `from` and `to` must be the `NODE_VERSION` of the previous and current suites, + and `testsBlake3` the hash of the input config's `tests` object that the report + prints under `positionInputs`; otherwise the run fails before writing. A + decisions file therefore applies only to the config it was written for: after + changing an entry, restore that config (`revision` records where it came from) + and rerun, rather than applying the decisions to the migrated config. +- `previousBlake3` and `currentBlake3` hash both versions of the whole test file, + and `previous` must equal the raw entry, the file's metadata and the effective + category, reason and flaky flag the harness gave the subtest in the previous + suite. A changed file or a different previous classification leaves the + subtest pending with a `stale` or `previousMismatch` problem. The hashes do not + cover helpers the test imports or the harness itself. +- `entry` is written as the subtest's metadata. `assertions` (`kept`, `changed`, + `moved` or `none`) and `note` record what happened to the old assertions. +- A formerly runnable subtest that no longer runs, and a former known gap that + leaves the primary surface, need an `obligation`: `baseline-gap` (runnable to a + known gap with a reason), `moved` with `movedTo` naming `file` or + `file#subtest` targets that run or are themselves baseline gaps, or + `target-change` with `evidence`. The report lists these under `obligations` for + review; the tool checks their shape, not whether the old assertions really are + kept. +- Duplicate or malformed decisions fail the run; a decision that matches no + pending subtest is listed under `unusedDecisions` and fails it. A decision for + an excluded subtest is required too. + ## Target Selection The harness is pinned to Node.js 22.14.0. NJ-01 selected Node.js 26.13.1 (npm 11.20.0) as the From 1d4689cde464a7112ea5bfe4a40b9aee4ab32829 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Tue, 17 Nov 2026 14:26:42 +0000 Subject: [PATCH 19/55] Reject move targets the runner does not select [skip ci] --- tests/migrate_config_split.rs | 121 +++++++++++++++++++++++++++++++++- tests/node_compat/README.md | 9 ++- 2 files changed, 126 insertions(+), 4 deletions(-) diff --git a/tests/migrate_config_split.rs b/tests/migrate_config_split.rs index 80665d80d..48a8a03ef 100644 --- a/tests/migrate_config_split.rs +++ b/tests/migrate_config_split.rs @@ -706,7 +706,9 @@ fn check_decision( Ok(Ok((entry, reported))) } -/// The category the migrated config gives a `file` or `file#subtest` target. +/// The category the migrated config gives a `file` or `file#subtest` target. Like the runner, a +/// split file with subtests is run only as its subtests and any other file only as a whole, so +/// a target must name the test the runner selects. fn target_category( tests: &Map, target: &str, @@ -720,7 +722,22 @@ fn target_category( .get(file) .and_then(Value::as_object) .ok_or_else(|| format!("movedTo target {target} is not in the migrated config"))?; + let runs_subtests = bool_option(entry, "split") + && entry + .get("subtests") + .and_then(Value::as_object) + .is_some_and(|subtests| !subtests.is_empty()); let resolved = match subtest { + None if runs_subtests => { + return Err(format!( + "movedTo target {target} is split, so the runner runs its subtests, not the file; name a file#subtest target" + )); + } + Some(_) if !runs_subtests => { + return Err(format!( + "movedTo target {target} is a subtest of a file the runner runs whole; name the file" + )); + } None => { node_compat_category_from_entry(file, &Value::Object(entry.clone()), None, suite_root) } @@ -1977,6 +1994,108 @@ mod contract { ); } + #[test] + #[test_r::tag(migration_contract)] + fn moved_assertions_must_land_on_a_test_the_runner_selects() { + let fixture = blocks_fixture(); + let internals = r#"{ "category": "node-internals", "reason": "internal" }"#; + fixture + .previous("parallel/test-b.js", "{ b(1); }\n{ b(2); }\n") + .source("parallel/test-b.js", "{ b(1); }\n{ b(2); }\n") + .source("parallel/test-c.js", "{ c(1); }\n{ c(2); }\n") + .source("parallel/test-d.js", "d();\n"); + // test-b is split and every subtest it runs is excluded; test-c runs whole and is + // excluded, although its listed subtest is runnable; test-d runs whole. + let input = config(&format!( + "{},\n \"parallel/test-b.js\": {{ \"split\": true, \"subtests\": {{ \"block_00_block_00\": {internals}, \"block_01_block_01\": {internals} }} }},\n \"parallel/test-c.js\": {{ \"category\": \"wasi-impossible\", \"reason\": \"socket\", \"split\": false, \"subtests\": {{ \"block_00_block_00\": {{ \"category\": \"runnable\" }} }} }},\n \"parallel/test-d.js\": {{}}", + blocks("{}", "{}", internals) + )); + let proposal = fixture.migrate_with(&input, None).unwrap(); + let impossible = json!({ "category": "wasi-impossible", "reason": "needs a socket" }); + let moved = |target: &str| { + decision( + &proposal, + "block_00_block_00", + impossible.clone(), + json!({ "assertions": "moved", "obligation": "moved", "movedTo": [target] }), + ) + }; + let second = + |entry: Value, extra: Value| decision(&proposal, "block_01_block_01", entry, extra); + let kept = second(json!({}), json!({})); + let excluded = second( + impossible.clone(), + json!({ "assertions": "changed", "obligation": "target-change", "evidence": "socket" }), + ); + let run = |rows: Vec| { + fixture + .migrate_with(&input, Some(&record(&proposal, rows))) + .unwrap() + }; + let first_entry = |migration: &Migration| { + entries(migration)["parallel/test-a.js"]["subtests"]["block_00_block_00"].clone() + }; + for (target, other) in [ + // The file's own parent, whose subtests are now all excluded. + ("parallel/test-a.js", excluded.clone()), + // A split parent is never run itself, even while one of its subtests is. + ("parallel/test-a.js", kept.clone()), + ("parallel/test-b.js", kept.clone()), + // A listed subtest of a file the runner runs whole. + ("parallel/test-c.js#block_00_block_00", kept.clone()), + ] { + let rejected = run(vec![moved(target), other]); + let row = pending(&rejected, "block_00_block_00"); + assert!( + row["problem"] + .as_str() + .unwrap() + .starts_with("obligationViolation"), + "{target}: {row:#}" + ); + assert_eq!(first_entry(&rejected), json!({}), "{target}"); + assert_eq!(rejected.report.needs_review(), 1, "{target}"); + assert_eq!(rejected.report.matched_by_position.len(), 2, "{target}"); + assert!( + rejected + .report + .obligations + .iter() + .all(|o| o["subtest"] != "block_00_block_00"), + "{target}" + ); + } + let gap = json!({ "category": "known-gap", "reason": "the new assertion needs X" }); + for (target, other) in [ + ("parallel/test-a.js#block_01_block_01", kept.clone()), + ("parallel/test-d.js", kept.clone()), + ( + "parallel/test-a.js#block_01_block_01", + second( + gap, + json!({ "assertions": "changed", "obligation": "baseline-gap" }), + ), + ), + ] { + let accepted = run(vec![moved(target), other]); + assert_eq!( + accepted.report.needs_review(), + 0, + "{target}: {:#?}", + accepted.report + ); + assert_eq!(first_entry(&accepted), impossible, "{target}"); + assert!( + accepted + .report + .obligations + .iter() + .any(|o| o["subtest"] == "block_00_block_00" && o["obligation"] == "moved"), + "{target}" + ); + } + } + #[test] #[test_r::tag(migration_contract)] fn stale_mismatched_and_unused_decisions_fail() { diff --git a/tests/node_compat/README.md b/tests/node_compat/README.md index caa15b2f1..93927d50f 100644 --- a/tests/node_compat/README.md +++ b/tests/node_compat/README.md @@ -132,9 +132,12 @@ with `NODE_COMPAT_MIGRATION_DECISIONS=/path/to/decisions.json`: `moved` or `none`) and `note` record what happened to the old assertions. - A formerly runnable subtest that no longer runs, and a former known gap that leaves the primary surface, need an `obligation`: `baseline-gap` (runnable to a - known gap with a reason), `moved` with `movedTo` naming `file` or - `file#subtest` targets that run or are themselves baseline gaps, or - `target-change` with `evidence`. The report lists these under `obligations` for + known gap with a reason), `moved` with `movedTo` naming tests the runner + selects that run or are themselves baseline gaps, or `target-change` with + `evidence`. The runner runs a split file with subtests only as its subtests and + any other file only as a whole, so a target is a `file#subtest` of a split file + with subtests and otherwise the `file`; a split parent or a subtest listed + under an unsplit file is rejected. The report lists these under `obligations` for review; the tool checks their shape, not whether the old assertions really are kept. - Duplicate or malformed decisions fail the run; a decision that matches no From 5f0fbe02fd854cb22cac6aeda1ce4a3f7ecc91d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Wed, 18 Nov 2026 23:30:28 +0000 Subject: [PATCH 20/55] Relabel shifted Node 26 subtests by content [skip ci] --- tests/node_compat/config.jsonc | 36 +-- .../mapping-22.14.0-to-26.13.1.json | 211 ++++++++++++++---- tests/node_compat/report.md | 69 +++--- 3 files changed, 226 insertions(+), 90 deletions(-) diff --git a/tests/node_compat/config.jsonc b/tests/node_compat/config.jsonc index d37775edd..d9e60e0cd 100644 --- a/tests/node_compat/config.jsonc +++ b/tests/node_compat/config.jsonc @@ -209,10 +209,10 @@ "block_26_statement_26": { "category": "runnable" }, "block_27_statement_27": { "category": "runnable" }, "block_28_statement_28": { "category": "known-gap", "reason": "fetch does not resolve registered blob:nodedata URLs; requests currently require wasi:http transport" }, - "block_29_statement_29": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_29_statement_29": { "category": "node-internals", "reason": "Asserts internal webstreams kState" }, "block_30_statement_30": { "category": "known-gap", "reason": "Blob byte-stream BYOB final read does not settle at end of stream" }, "block_31_statement_31": { "category": "node-internals", "reason": "Asserts internal webstreams kState" }, - "block_32_statement_32": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_32_statement_32": { "category": "node-internals", "reason": "Asserts internal webstreams kState" }, "block_33_block_33": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection: AssertionError: 'a\\rb' !== 'a\\nb'; carries 22.14.0 subtest block_32_block_32" }, "block_34_block_34": { "category": "runnable" }, "block_35_statement_35": { "category": "runnable" }, @@ -417,9 +417,9 @@ "block_20_test_for_property_descriptors": {}, "block_21_exceptions_should_print_the_error_message_not": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, "block_22_block_22": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_23_block_23": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_23_block_23": {}, "block_24_block_24": {}, - "block_25_block_25": {}, + "block_25_block_25": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_23_block_23" }, "block_26_prevent_enumerable_error_properties_from_being_printed": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, "block_27_doesn_t_capture_stack_trace": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, "block_28_https_github_com_nodejs_node_v0_x_archive_issues_1944": {}, @@ -1715,7 +1715,7 @@ "block_04_block_04": {}, "block_05_check_initialized_uninitialized_state_transition_after_calli": {}, "block_06_calls_to_update_omitted_intentionally": {}, - "block_07_block_07": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_07_block_07": { "category": "runnable" }, "block_08_block_08": {}, "block_09_block_09": {} } @@ -1735,7 +1735,7 @@ "block_07_importing_an_okp_private_jwk_where_x_does_not_match_d_should": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "block_08_importing_an_ec_private_jwk_where_x_does_not_match_d_should_": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "block_09_block_09": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, - "block_10_block_10": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_10_block_10": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key; carries 22.14.0 subtest block_09_block_09" }, "block_11_block_11": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, "block_12_block_12": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, "block_13_block_13": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key; carries 22.14.0 subtest block_12_block_12" }, @@ -1980,14 +1980,14 @@ "block_00_block_00": {}, "block_01_block_01": {}, "block_02_block_02": {}, - "block_03_block_03": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "block_03_block_03": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "block_04_block_04": {}, "block_05_block_05": {}, "block_06_block_06": {}, "block_07_block_07": {}, "block_08_block_08": {}, "block_09_block_09": {}, - "block_10_block_10": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_10_block_10": { "category": "runnable" }, "block_11_block_11": {}, "block_12_block_12": {}, "block_13_block_13": {}, @@ -7503,8 +7503,8 @@ "subtests": { "block_00_block_00": {}, "block_01_block_01": { "category": "known-gap", "reason": "inherited: process.permission and --permission CLI semantics are incomplete in execPath emulation" }, - "block_02_block_02": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: AssertionError: Missing expected exception." }, - "block_03_block_03": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } + "block_02_block_02": { "category": "known-gap", "reason": "inherited: process.permission and --permission CLI semantics are incomplete in execPath emulation" }, + "block_03_block_03": { "category": "runnable" } } }, "parallel/test-permission-fs-relative-path.js": { "category": "known-gap", "reason": "process.permission and --permission CLI semantics are incomplete in execPath emulation" }, @@ -8842,10 +8842,10 @@ "block_05_block_05": {}, "block_06_block_06": {}, "block_07_block_07": {}, - "block_08_block_08": { "category": "wasi-impossible", "reason": "requires full-duplex HTTP request/response streaming semantics not provided by wasi:http" }, - "block_09_block_09": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Test timed out after 120s" }, + "block_08_block_08": { "category": "runnable" }, + "block_09_block_09": { "category": "wasi-impossible", "reason": "requires full-duplex HTTP request/response streaming semantics not provided by wasi:http" }, "block_10_block_10": {}, - "block_11_block_11": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_11_block_11": { "category": "runnable" }, "block_12_block_12": {}, "block_13_block_13": {}, "block_14_block_14": {}, @@ -8912,9 +8912,9 @@ "block_75_block_75": {}, "block_76_block_76": { "category": "known-gap", "reason": "stream edge case not yet handled" }, "block_77_block_77": {}, - "block_78_block_78": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, + "block_78_block_78": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "block_79_block_79": {}, - "block_80_block_80": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, + "block_80_block_80": { "category": "runnable" }, "block_81_block_81": {"category": "runnable", "reason": "carries 22.14.0 subtest block_79_block_79"}, "block_82_block_82": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "block_83_block_83": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } @@ -10074,9 +10074,9 @@ "block_68_block_68": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" }, "block_69_block_69": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" }, "block_70_block_70": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" }, - "block_71_block_71": {}, + "block_71_block_71": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" }, "block_72_block_72": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" }, - "block_73_block_73": {}, + "block_73_block_73": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" }, "block_74_block_74": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" }, "block_75_block_75": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" }, "block_76_block_76": { "category": "node-internals", "reason": "requires --expose-internals and internal/webstreams/readablestream" }, @@ -10316,7 +10316,7 @@ "block_05_block_05": {}, "block_06_block_06": { "category": "node-internals", "reason": "requires --expose-internals and internal/worker/js_transferable" }, "block_07_block_07": { "category": "node-internals", "reason": "requires --expose-internals and internal/worker/js_transferable" }, - "block_08_block_08": {} + "block_08_block_08": { "category": "node-internals", "reason": "requires --expose-internals and internal/worker/js_transferable" } } }, "parallel/test-windows-abort-exitcode.js": { "category": "wasi-impossible", "reason": "Windows-only abort/exitcode behavior is not available on WASI" }, diff --git a/tests/node_compat/mapping-22.14.0-to-26.13.1.json b/tests/node_compat/mapping-22.14.0-to-26.13.1.json index 43abe1c5b..b563c31d7 100644 --- a/tests/node_compat/mapping-22.14.0-to-26.13.1.json +++ b/tests/node_compat/mapping-22.14.0-to-26.13.1.json @@ -4360,6 +4360,13 @@ "previous": {}, "error": "Failed to export key" }, + { + "file": "parallel/test-crypto-key-objects.js", + "subtest": "block_10_block_10", + "baseline": true, + "previous": {}, + "error": "Failed to export key" + }, { "file": "parallel/test-crypto-keygen-eddsa.js", "subtest": null, @@ -4849,13 +4856,6 @@ "previous": {}, "error": "path.win32.resolve(\"\\\\\\\\.\\\\PHYSICALDRIVE0\")" }, - { - "file": "parallel/test-permission-fs-read.js", - "subtest": "block_02_block_02", - "baseline": true, - "previous": {}, - "error": "AssertionError: Missing expected exception." - }, { "file": "parallel/test-process-getgroups.js", "subtest": null, @@ -5325,13 +5325,6 @@ "previous": {}, "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, - { - "file": "parallel/test-stream-consumers.js", - "subtest": "block_03_block_03", - "baseline": true, - "previous": {}, - "error": "not a function" - }, { "file": "parallel/test-stream-finished.js", "subtest": "block_40_block_40", @@ -5342,20 +5335,6 @@ }, "error": "Cannot find module 'internal/streams/end-of-stream'" }, - { - "file": "parallel/test-stream-pipeline.js", - "subtest": "block_09_block_09", - "baseline": true, - "previous": {}, - "error": "Test timed out after 120s" - }, - { - "file": "parallel/test-stream-pipeline.js", - "subtest": "block_78_block_78", - "baseline": true, - "previous": {}, - "error": "mustCall verification failed:" - }, { "file": "parallel/test-stream-push-strings.js", "subtest": null, @@ -5562,15 +5541,6 @@ }, "error": "Expected values to be strictly equal:" }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_23_block_23", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, { "file": "parallel/test-util-inspect.js", "subtest": "block_26_prevent_enumerable_error_properties_from_being_printed", @@ -6306,6 +6276,13 @@ "category": "unevaluated" }, "error": "util.inspect prints the symbol key of a boxed String as [Symbol(foo)]; 26.13.1 expects Symbol(foo)" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_25_block_25", + "baseline": true, + "previous": {}, + "error": "Expected values to be strictly equal:" } ], "passedOnRerun": [], @@ -6838,5 +6815,163 @@ "file": "sequential/test-performance-eventloopdelay.js", "subtest": "block_02_block_02" } - ] + ], + "positionCorrections": { + "note": "Blocks the 22.14.0 to 26.13.1 migration matched by position although upstream inserted blocks before them. Each entry was relabelled after reading both versions and running the 26.13.1 block; the label follows the 22.14.0 content it holds.", + "cases": [ + { + "file": "parallel/test-blob.js", + "subtest": "block_29_statement_29", + "entry": { + "category": "node-internals", + "reason": "Asserts internal webstreams kState" + }, + "evidence": "holds 22.14.0 node-internals block_28_statement_28" + }, + { + "file": "parallel/test-blob.js", + "subtest": "block_32_statement_32", + "entry": { + "category": "node-internals", + "reason": "Asserts internal webstreams kState" + }, + "evidence": "holds 22.14.0 node-internals block_31_statement_31" + }, + { + "file": "parallel/test-crypto-hmac.js", + "subtest": "block_07_block_07", + "entry": { + "category": "runnable" + }, + "evidence": "holds 22.14.0 block_04_block_04 (passed); passes twice" + }, + { + "file": "parallel/test-crypto-key-objects.js", + "subtest": "block_10_block_10", + "entry": { + "category": "known-gap", + "reason": "Node 26.13.1 baseline gap: Failed to export key; carries 22.14.0 subtest block_09_block_09" + }, + "evidence": "holds 22.14.0 block_09_block_09 (passed); fails twice" + }, + { + "file": "parallel/test-permission-fs-read.js", + "subtest": "block_02_block_02", + "entry": { + "category": "known-gap", + "reason": "inherited: process.permission and --permission CLI semantics are incomplete in execPath emulation" + }, + "evidence": "holds 22.14.0 known-gap block_01_block_01, not the passing block_02" + }, + { + "file": "parallel/test-permission-fs-read.js", + "subtest": "block_03_block_03", + "entry": { + "category": "runnable" + }, + "evidence": "byte-identical to 22.14.0 block_02_block_02 (passed); passes twice" + }, + { + "file": "parallel/test-stream-consumers.js", + "subtest": "block_03_block_03", + "entry": { + "category": "unevaluated", + "reason": "newly discovered subtest, not yet evaluated" + }, + "evidence": "new block; 22.14.0 block_03_block_03 is now block_04_block_04 and passes" + }, + { + "file": "parallel/test-stream-consumers.js", + "subtest": "block_10_block_10", + "entry": { + "category": "runnable" + }, + "evidence": "holds 22.14.0 block_09_block_09 (passed); passes twice" + }, + { + "file": "parallel/test-stream-pipeline.js", + "subtest": "block_08_block_08", + "entry": { + "category": "runnable" + }, + "evidence": "holds 22.14.0 block_07_block_07 (passed); passes twice" + }, + { + "file": "parallel/test-stream-pipeline.js", + "subtest": "block_09_block_09", + "entry": { + "category": "wasi-impossible", + "reason": "requires full-duplex HTTP request/response streaming semantics not provided by wasi:http" + }, + "evidence": "holds 22.14.0 wasi-impossible block_08_block_08; 22.14.0 block_09_block_09 is now block_10_block_10 and passes" + }, + { + "file": "parallel/test-stream-pipeline.js", + "subtest": "block_11_block_11", + "entry": { + "category": "runnable" + }, + "evidence": "holds 22.14.0 block_10_block_10 (passed); passes twice" + }, + { + "file": "parallel/test-stream-pipeline.js", + "subtest": "block_78_block_78", + "entry": { + "category": "unevaluated", + "reason": "newly discovered subtest, not yet evaluated" + }, + "evidence": "new block; 22.14.0 block_78_block_78 is now block_80_block_80 and passes" + }, + { + "file": "parallel/test-stream-pipeline.js", + "subtest": "block_80_block_80", + "entry": { + "category": "runnable" + }, + "evidence": "holds 22.14.0 block_78_block_78 (passed); passes twice" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_23_block_23", + "entry": {}, + "evidence": "new block under the node-internals file default; 22.14.0 block_23_block_23 is now block_25_block_25" + }, + { + "file": "parallel/test-util-inspect.js", + "subtest": "block_25_block_25", + "entry": { + "category": "known-gap", + "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_23_block_23" + }, + "evidence": "holds 22.14.0 runnable block_23_block_23; fails" + }, + { + "file": "parallel/test-whatwg-readablestream.js", + "subtest": "block_71_block_71", + "entry": { + "category": "node-internals", + "reason": "requires --expose-internals and internal/webstreams/readablestream" + }, + "evidence": "holds 22.14.0 node-internals block_70_block_70" + }, + { + "file": "parallel/test-whatwg-readablestream.js", + "subtest": "block_73_block_73", + "entry": { + "category": "node-internals", + "reason": "requires --expose-internals and internal/webstreams/readablestream" + }, + "evidence": "holds 22.14.0 node-internals block_72_block_72" + }, + { + "file": "parallel/test-whatwg-writablestream.js", + "subtest": "block_08_block_08", + "entry": { + "category": "node-internals", + "reason": "requires --expose-internals and internal/worker/js_transferable" + }, + "evidence": "holds 22.14.0 node-internals block_06_block_06" + } + ] + } } diff --git a/tests/node_compat/report.md b/tests/node_compat/report.md index 150058497..92027f432 100644 --- a/tests/node_compat/report.md +++ b/tests/node_compat/report.md @@ -8,21 +8,21 @@ This report is generated from `config.jsonc` and the pinned vendored Node.js sou Primary compatibility is measured over the public API surface we can provide: CI-enforced passing (`runnable`) plus `known-gap`. WASI-impossible tests, engine differences, unevaluated tests, and Node.js-internals tests are acknowledged separately and excluded from the primary percentage. -**Primary compatibility (CI-enforced):** 2864/4452 (64.3%) +**Primary compatibility (CI-enforced):** 2870/4456 (64.4%) When comparing revisions, read the runnable count and secondary full-public percentage alongside the primary percentage. Reclassifying a test into an excluded category can increase the primary percentage without increasing runnable coverage. | Classification | Count | Primary % | Public inventory % | All listed % | |----------------|-------|-----------|--------------------|--------------| -| ✅ passing (runnable) | 2864 | 64.3% | 29.8% | 26.6% | -| 🧩 known gap | 1588 | 35.7% | 16.5% | 14.7% | +| ✅ passing (runnable) | 2870 | 64.4% | 29.9% | 26.6% | +| 🧩 known gap | 1586 | 35.6% | 16.5% | 14.7% | | 🚫 WASI-impossible (excluded) | 1148 | — | 11.9% | 10.6% | | ⚙️ engine difference (excluded) | 167 | — | 1.7% | 1.5% | -| ❔ unevaluated (excluded) | 3845 | — | 40.0% | 35.6% | -| 🔒 Node.js internals (excluded) | 1175 | — | — | 10.9% | +| ❔ unevaluated (excluded) | 3836 | — | 39.9% | 35.6% | +| 🔒 Node.js internals (excluded) | 1180 | — | — | 10.9% | | **Total** | **10787** | | | **100.0%** | -Secondary full-public compatibility, including public tests that are currently excluded from primary: **2864/9612 (29.8%)**. +Secondary full-public compatibility, including public tests that are currently excluded from primary: **2870/9607 (29.9%)**. ## Inventory by Module @@ -31,7 +31,7 @@ Secondary full-public compatibility, including public tests that are currently e | abort | 29 | 26 | 1 | 0 | 0 | 0 | 2 | 96.3% | 96.3% | | assert | 109 | 66 | 13 | 0 | 0 | 30 | 0 | 83.5% | 60.6% | | async_hooks | 58 | 4 | 28 | 4 | 0 | 20 | 2 | 12.5% | 7.1% | -| blob | 47 | 37 | 3 | 0 | 0 | 6 | 1 | 92.5% | 80.4% | +| blob | 47 | 37 | 3 | 0 | 0 | 4 | 3 | 92.5% | 84.1% | | buffer | 278 | 167 | 5 | 4 | 1 | 95 | 6 | 97.1% | 61.4% | | child_process | 217 | 40 | 64 | 88 | 0 | 10 | 15 | 38.5% | 19.8% | | cli | 37 | 9 | 21 | 0 | 0 | 5 | 2 | 30.0% | 25.7% | @@ -39,7 +39,7 @@ Secondary full-public compatibility, including public tests that are currently e | common | 16 | 1 | 8 | 0 | 0 | 7 | 0 | 11.1% | 6.2% | | compile | 29 | 0 | 0 | 0 | 15 | 14 | 0 | 0.0% | 0.0% | | console | 32 | 28 | 2 | 0 | 0 | 1 | 1 | 93.3% | 90.3% | -| crypto | 398 | 137 | 76 | 7 | 0 | 171 | 7 | 64.3% | 35.0% | +| crypto | 398 | 138 | 77 | 7 | 0 | 169 | 7 | 64.2% | 35.3% | | dgram | 141 | 22 | 74 | 7 | 0 | 24 | 14 | 22.9% | 17.3% | | diagnostics_channel | 102 | 23 | 7 | 1 | 2 | 69 | 0 | 76.7% | 22.5% | | dns | 54 | 2 | 29 | 0 | 0 | 9 | 14 | 6.5% | 5.0% | @@ -62,7 +62,7 @@ Secondary full-public compatibility, including public tests that are currently e | other | 2402 | 184 | 232 | 58 | 11 | 1733 | 184 | 44.2% | 8.3% | | path | 17 | 12 | 4 | 0 | 0 | 1 | 0 | 75.0% | 70.6% | | perf_hooks | 123 | 4 | 28 | 1 | 0 | 88 | 2 | 12.5% | 3.3% | -| permission | 162 | 3 | 40 | 9 | 2 | 106 | 2 | 7.0% | 1.9% | +| permission | 162 | 4 | 40 | 9 | 2 | 105 | 2 | 9.1% | 2.5% | | process | 118 | 42 | 34 | 4 | 0 | 26 | 12 | 55.3% | 39.6% | | promises | 24 | 4 | 11 | 0 | 7 | 2 | 0 | 26.7% | 16.7% | | querystring | 15 | 14 | 0 | 0 | 0 | 1 | 0 | 100.0% | 93.3% | @@ -73,7 +73,7 @@ Secondary full-public compatibility, including public tests that are currently e | snapshot | 61 | 0 | 0 | 0 | 57 | 4 | 0 | 0.0% | 0.0% | | sqlite | 117 | 2 | 57 | 0 | 0 | 58 | 0 | 3.4% | 1.7% | | stdio | 23 | 12 | 7 | 3 | 0 | 0 | 1 | 63.2% | 54.5% | -| stream | 872 | 673 | 42 | 2 | 0 | 114 | 41 | 94.1% | 81.0% | +| stream | 872 | 677 | 39 | 2 | 0 | 113 | 41 | 94.6% | 81.5% | | string_decoder | 5 | 3 | 0 | 0 | 0 | 2 | 0 | 100.0% | 60.0% | | test_runner | 344 | 84 | 41 | 21 | 1 | 188 | 9 | 67.2% | 25.1% | | timers | 112 | 45 | 6 | 0 | 0 | 20 | 41 | 88.2% | 63.4% | @@ -86,7 +86,7 @@ Secondary full-public compatibility, including public tests that are currently e | vm | 173 | 68 | 44 | 3 | 13 | 45 | 0 | 60.7% | 39.3% | | webcrypto | 175 | 29 | 36 | 1 | 0 | 62 | 47 | 44.6% | 22.7% | | webstreams | 89 | 65 | 2 | 0 | 0 | 21 | 1 | 97.0% | 73.9% | -| whatwg | 322 | 41 | 37 | 0 | 0 | 59 | 185 | 52.6% | 29.9% | +| whatwg | 322 | 41 | 37 | 0 | 0 | 56 | 188 | 52.6% | 30.6% | | worker_threads | 202 | 25 | 29 | 127 | 0 | 13 | 8 | 46.3% | 12.9% | | zlib | 324 | 44 | 16 | 0 | 0 | 260 | 4 | 73.3% | 13.8% | @@ -136,7 +136,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-bench-cli-reporters.js` | 8 | 0 | 0 | 0 | 0 | 8 | 0 | | `test-bench-cli.js` | 12 | 0 | 0 | 0 | 0 | 12 | 0 | | `test-bench-run-exit-code.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | -| `test-blob.js` | 44 | 35 | 3 | 0 | 0 | 5 | 1 | +| `test-blob.js` | 44 | 35 | 3 | 0 | 0 | 3 | 3 | | `test-blocklist.js` | 63 | 17 | 0 | 0 | 0 | 46 | 0 | | `test-broadcastchannel-custom-inspect.js` | 4 | 0 | 0 | 4 | 0 | 0 | 0 | | `test-buffer-alloc-alignment.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | @@ -211,10 +211,10 @@ Secondary full-public compatibility, including public tests that are currently e | `test-crypto-encoding-validation-error.js` | 4 | 2 | 2 | 0 | 0 | 0 | 0 | | `test-crypto-gcm-explicit-short-tag.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-crypto-hash.js` | 4 | 3 | 0 | 0 | 0 | 1 | 0 | -| `test-crypto-hmac.js` | 10 | 7 | 0 | 0 | 0 | 3 | 0 | +| `test-crypto-hmac.js` | 10 | 8 | 0 | 0 | 0 | 2 | 0 | | `test-crypto-job-error-parity.js` | 13 | 0 | 0 | 0 | 0 | 13 | 0 | | `test-crypto-key-objects-raw.js` | 18 | 0 | 0 | 0 | 0 | 18 | 0 | -| `test-crypto-key-objects.js` | 20 | 0 | 16 | 0 | 0 | 4 | 0 | +| `test-crypto-key-objects.js` | 20 | 0 | 17 | 0 | 0 | 3 | 0 | | `test-crypto-key-store.js` | 10 | 0 | 0 | 0 | 0 | 10 | 0 | | `test-crypto-keygen-raw.js` | 12 | 0 | 0 | 0 | 0 | 12 | 0 | | `test-crypto-keygen.js` | 10 | 9 | 1 | 0 | 0 | 0 | 0 | @@ -559,7 +559,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-permission-drop-fs-write.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | | `test-permission-drop-net.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-permission-drop-worker.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | -| `test-permission-fs-read.js` | 4 | 1 | 2 | 0 | 0 | 1 | 0 | +| `test-permission-fs-read.js` | 4 | 2 | 2 | 0 | 0 | 0 | 0 | | `test-permission-fs-require.js` | 4 | 2 | 2 | 0 | 0 | 0 | 0 | | `test-permission-fs-symlink-target-write.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | | `test-permission-fs-symlink.js` | 4 | 0 | 4 | 0 | 0 | 0 | 0 | @@ -748,7 +748,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-stream-catch-rejections.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-stream-compose.js` | 23 | 20 | 2 | 0 | 0 | 1 | 0 | | `test-stream-construct.js` | 12 | 12 | 0 | 0 | 0 | 0 | 0 | -| `test-stream-consumers.js` | 18 | 15 | 1 | 0 | 0 | 2 | 0 | +| `test-stream-consumers.js` | 18 | 16 | 0 | 0 | 0 | 2 | 0 | | `test-stream-destroy.js` | 7 | 6 | 0 | 0 | 0 | 1 | 0 | | `test-stream-drop-take.js` | 6 | 5 | 1 | 0 | 0 | 0 | 0 | | `test-stream-duplex-destroy.js` | 16 | 16 | 0 | 0 | 0 | 0 | 0 | @@ -775,7 +775,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-stream-pipe-objectmode-to-non-objectmode.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-stream-pipe-same-destination-twice.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-stream-pipe-unpipe-streams.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | -| `test-stream-pipeline.js` | 84 | 75 | 3 | 1 | 0 | 5 | 0 | +| `test-stream-pipeline.js` | 84 | 78 | 1 | 1 | 0 | 4 | 0 | | `test-stream-promises.js` | 9 | 9 | 0 | 0 | 0 | 0 | 0 | | `test-stream-readable-aborted.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | | `test-stream-readable-async-iterators.js` | 17 | 0 | 7 | 0 | 0 | 10 | 0 | @@ -996,7 +996,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-whatwg-headers.js` | 19 | 0 | 0 | 0 | 0 | 19 | 0 | | `test-whatwg-readablebytestream-bad-buffers-and-views.js` | 4 | 0 | 4 | 0 | 0 | 0 | 0 | | `test-whatwg-readablebytestream.js` | 11 | 0 | 0 | 0 | 0 | 0 | 11 | -| `test-whatwg-readablestream.js` | 83 | 0 | 0 | 0 | 0 | 2 | 81 | +| `test-whatwg-readablestream.js` | 83 | 0 | 0 | 0 | 0 | 0 | 83 | | `test-whatwg-readablestream.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-whatwg-transformstream-parked-write-error.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-whatwg-transformstream.js` | 7 | 0 | 0 | 0 | 0 | 0 | 7 | @@ -1016,7 +1016,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-whatwg-webstreams-adapters-to-writablestream.js` | 12 | 0 | 0 | 0 | 0 | 3 | 9 | | `test-whatwg-webstreams-encoding.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | | `test-whatwg-webstreams-transfer.js` | 13 | 0 | 0 | 0 | 0 | 0 | 13 | -| `test-whatwg-writablestream.js` | 9 | 0 | 0 | 0 | 0 | 2 | 7 | +| `test-whatwg-writablestream.js` | 9 | 0 | 0 | 0 | 0 | 1 | 8 | | `test-worker-broadcastchannel-wpt.js` | 6 | 0 | 0 | 6 | 0 | 0 | 0 | | `test-worker-broadcastchannel.js` | 9 | 0 | 0 | 9 | 0 | 0 | 0 | | `test-worker-eval-typescript.js` | 7 | 0 | 0 | 7 | 0 | 0 | 0 | @@ -1094,22 +1094,22 @@ Secondary full-public compatibility, including public tests that are currently e ## Classified Non-Runnable Tests -### known gap (1588) +### known gap (1586) | Reason | Count | Example entries | |--------|-------|-----------------| | node:http2 public API is a stub in WebAssembly runtime | 106 | `parallel/test-http2-head-request.js`, `parallel/test-http2-info-headers.js`, `parallel/test-http2-invalidargtypes-errors.js`, ... (+103) | -| Node 26.13.1 baseline gap: Expected values to be strictly equal: | 65 | `es-module/test-require-module-twice.js`, `es-module/test-require-module.js#block_02_test_esm_that_import_cjs`, `parallel/test-console.js`, ... (+62) | +| Node 26.13.1 baseline gap: Expected values to be strictly equal: | 64 | `es-module/test-require-module-twice.js`, `es-module/test-require-module.js#block_02_test_esm_that_import_cjs`, `parallel/test-console.js`, ... (+61) | | requires isolated process.execPath TypeScript entry execution and Node CLI flags; the direct process.features check requires a separate feature-disabled component | 30 | `es-module/test-typescript.mjs#test_00_expect_process_features_typescript_to_be_false_when_no_exper`, `es-module/test-typescript.mjs#test_01_execute_a_typescript_file`, `es-module/test-typescript.mjs#test_02_execute_a_typescript_file_with_imports`, ... (+27) | | Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly | 29 | `es-module/test-esm-import-attributes-errors.js`, `es-module/test-require-module-cached-tla.js`, `es-module/test-require-module-dynamic-import-1.js`, ... (+26) | | requires simulated process.execPath / Node CLI mode support deferred to follow-up PR | 29 | `es-module/test-esm-cjs-load-error-note.mjs`, `es-module/test-esm-detect-ambiguous.mjs#test_00_module_syntax_detection`, `es-module/test-esm-detect-ambiguous.mjs#test_01_wrapping_a_require_of_an_es_module_while_using_abort_on_unca`, ... (+26) | | Node 26.13.1 baseline gap: Failed to export key | 26 | `parallel/test-crypto-key-objects.js#block_00_block_00`, `parallel/test-crypto-key-objects.js#block_01_block_01`, `parallel/test-crypto-key-objects.js#block_02_block_02`, ... (+23) | -| Node 26.13.1 baseline gap: not a function | 26 | `parallel/test-sqlite-session.js#test_00_creating_and_applying_a_changeset`, `parallel/test-sqlite-session.js#test_01_database_createsession_closed_database_results_in_exception`, `parallel/test-sqlite-session.js#test_02_session_changeset_closed_database_results_in_exception`, ... (+23) | +| Node 26.13.1 baseline gap: not a function | 25 | `parallel/test-sqlite-session.js#test_00_creating_and_applying_a_changeset`, `parallel/test-sqlite-session.js#test_01_database_createsession_closed_database_results_in_exception`, `parallel/test-sqlite-session.js#test_02_session_changeset_closed_database_results_in_exception`, ... (+22) | | requires isolated process.execPath --eval execution, TypeScript input-type flags, and child warning/output/exit capture | 24 | `es-module/test-typescript-eval.mjs#test_00_eval_typescript_esm_syntax`, `es-module/test-typescript-eval.mjs#test_01_eval_typescript_esm_syntax_with_input_type_module`, `es-module/test-typescript-eval.mjs#test_02_eval_typescript_commonjs_syntax`, ... (+21) | | requires isolated process.execPath TypeScript entry execution and Node CLI default-module / require-module flag handling | 24 | `es-module/test-typescript-commonjs.mjs#test_00_require_a_ts_file_with_explicit_extension_succeeds`, `es-module/test-typescript-commonjs.mjs#test_01_eval_require_a_ts_file_with_implicit_extension_fails`, `es-module/test-typescript-commonjs.mjs#test_02_eval_require_a_cts_file_with_implicit_extension_fails`, ... (+21) | | Node 26.13.1 baseline gap: Expected values to be strictly deep-equal: | 23 | `es-module/test-esm-import-attributes-errors.mjs`, `es-module/test-esm-import-meta.mjs`, `es-module/test-require-module-error-catching.js`, ... (+20) | | stream edge case not yet handled | 22 | `parallel/test-stream-compose.js#block_17_block_17`, `parallel/test-stream-drop-take.js#block_01_don_t_wait_for_next_item_in_the_original_stream_when_already`, `parallel/test-stream-duplex-from.js#block_17_block_17`, ... (+19) | -| Node 26.13.1 baseline gap: mustCall verification failed: | 20 | `parallel/test-domain-with-abort-on-uncaught-exception.js`, `parallel/test-fs-watch-recursive-watch-file.js`, `parallel/test-http-outgoing-writableFinished.js#block_01_finish_the_end_callback_receives_the_write_error_instead`, ... (+17) | +| Node 26.13.1 baseline gap: mustCall verification failed: | 19 | `parallel/test-domain-with-abort-on-uncaught-exception.js`, `parallel/test-fs-watch-recursive-watch-file.js`, `parallel/test-http-outgoing-writableFinished.js#block_01_finish_the_end_callback_receives_the_write_error_instead`, ... (+16) | | process.permission and --permission CLI semantics are incomplete in execPath emulation | 19 | `parallel/test-cli-permission-deny-fs.js#block_00_block_00`, `parallel/test-cli-permission-deny-fs.js#block_01_block_01`, `parallel/test-cli-permission-deny-fs.js#block_02_block_02`, ... (+16) | | Node 26.13.1 baseline gap: Missing expected exception. | 16 | `parallel/test-assert-deep.js#test_02_date`, `parallel/test-assert-deep.js#test_03_regexp`, `parallel/test-assert-deep.js#test_07_gh_14441_circular_structures_should_be_consistent`, ... (+13) | | Node 26.13.1 baseline gap: Missing expected exception (TypeError). | 14 | `parallel/test-buffer-pool-untransferable.js`, `parallel/test-crypto-dh-stateless.js#block_00_block_00`, `parallel/test-crypto-dh-stateless.js#block_01_block_01`, ... (+11) | @@ -1117,9 +1117,9 @@ Secondary full-public compatibility, including public tests that are currently e | Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input: | 13 | `parallel/test-crypto-authenticated.js#block_00_non_authenticating_mode`, `parallel/test-crypto-authenticated.js#block_01_throw`, `parallel/test-crypto-authenticated.js#block_03_test_that_gcm_can_produce_shorter_authentication_tags_than_1`, ... (+10) | | domain module depends on async_hooks, not fully working | 13 | `parallel/test-domain-promise.js#block_00_block_00`, `parallel/test-domain-promise.js#block_01_block_01`, `parallel/test-domain-promise.js#block_03_block_03`, ... (+10) | | the shared fixture creates rooted symlink targets that cannot be resolved inside a WASI preopen | 13 | `sequential/test-fs-opendir-recursive.js#block_00_block_00`, `sequential/test-fs-opendir-recursive.js#block_01_block_01`, `sequential/test-fs-opendir-recursive.js#block_02_block_02`, ... (+10) | +| inherited: process.permission and --permission CLI semantics are incomplete in execPath emulation | 12 | `parallel/test-permission-allow-child-process-cli.js#block_00_guarantee_the_initial_state`, `parallel/test-permission-allow-child-process-cli.js#block_01_to_spawn_unless_allow_child_process_is_sent`, `parallel/test-permission-allow-wasi-cli.js#block_00_guarantee_the_initial_state`, ... (+9) | | node:readline module is not yet supported in WebAssembly environment | 12 | `parallel/test-readline-keys.js`, `parallel/test-readline-position.js`, `parallel/test-readline-reopen.js`, ... (+9) | | inherited: dns.getServers()/setServers default-server behavior and validation are not Node-compatible | 11 | `parallel/test-dns.js#block_00_verify_that_setservers_handles_arrays_with_holes_and_other_o`, `parallel/test-dns.js#block_01_block_01`, `parallel/test-dns.js#block_02_block_02`, ... (+8) | -| inherited: process.permission and --permission CLI semantics are incomplete in execPath emulation | 11 | `parallel/test-permission-allow-child-process-cli.js#block_00_guarantee_the_initial_state`, `parallel/test-permission-allow-child-process-cli.js#block_01_to_spawn_unless_allow_child_process_is_sent`, `parallel/test-permission-allow-wasi-cli.js#block_00_guarantee_the_initial_state`, ... (+8) | | inherited: the shared fixture assumes common.hasIntl=false means fatal TextDecoder construction throws ERR_NO_ICU, but this runtime supports fatal decoding without claiming full Intl/ICU compatibility | 11 | `parallel/test-whatwg-encoding-custom-textdecoder.js#block_00_test_textdecoder_utf_8_fatal_false_ignorebom_false`, `parallel/test-whatwg-encoding-custom-textdecoder.js#block_01_test_textdecoder_utf_8_fatal_false_ignorebom_true`, `parallel/test-whatwg-encoding-custom-textdecoder.js#block_02_invalid_encoders`, ... (+8) | | remaining failures run through spawnSync(process.execPath, ...) and assert exact child-process status/stderr cycle diagnostics; direct node modules app same-process module graph coverage lives in tests/node_modules_apps | 11 | `es-module/test-require-module-cycle-esm-cjs-esm-esm.js#block_00_a_mjs_b_cjs_c_mjs_a_mjs`, `es-module/test-require-module-cycle-esm-cjs-esm-esm.js#block_01_b_cjs_c_mjs_a_mjs_b_cjs`, `es-module/test-require-module-cycle-esm-cjs-esm-esm.js#block_02_c_mjs_a_mjs_b_cjs_c_mjs`, ... (+8) | | rooted symlink targets cannot be resolved inside a WASI preopen; the adapter rejects them at creation, while persistent relative symlinks are covered by runtime tests | 11 | `es-module/test-esm-preserve-symlinks-main.js`, `es-module/test-esm-preserve-symlinks.js`, `es-module/test-esm-symlink-main.js`, ... (+8) | @@ -1134,8 +1134,8 @@ Secondary full-public compatibility, including public tests that are currently e | util.format output formatting differences | 9 | `parallel/test-util-format.js#block_00_block_00`, `parallel/test-util-format.js#block_01_string_format_specifier_including_tostring_properties_on_the`, `parallel/test-util-format.js#block_02_symbol_toprimitive_handling_for_string_format_specifier`, ... (+6) | | Readable.prototype.drop.length is 2 instead of Node's 1; later iterator-helper assertions are not reached | 8 | `parallel/test-stream-iterator-helpers-test262-tests.mjs#block_00_that_happen_before_stream_conversion_were_not_ported`, `parallel/test-stream-iterator-helpers-test262-tests.mjs#block_01_block_01`, `parallel/test-stream-iterator-helpers-test262-tests.mjs#block_02_block_02`, ... (+5) | | vm.constants.DONT_CONTEXTIFY and vanilla-context behavior are not implemented | 8 | `parallel/test-vm-context-dont-contextify.js#block_00_block_00`, `parallel/test-vm-context-dont-contextify.js#block_01_block_01`, `parallel/test-vm-context-dont-contextify.js#block_02_block_02`, ... (+5) | -| Node 26.13.1 baseline gap: Test timed out after 120s | 7 | `parallel/test-fs-promises-watch.js`, `parallel/test-http-client-abort-destroy.js#block_03_block_03`, `parallel/test-http-client-abort-destroy.js#block_04_block_04`, ... (+4) | | Node 26.13.1 baseline gap: 4 test(s) failed | 6 | `parallel/test-sqlite-named-parameters.js#test_00_named_parameters`, `parallel/test-sqlite-statement.js#test_15_options_readbigints`, `parallel/test-sqlite-statement.js#test_17_options_allowbarenamedparameters`, ... (+3) | +| Node 26.13.1 baseline gap: Test timed out after 120s | 6 | `parallel/test-fs-promises-watch.js`, `parallel/test-http-client-abort-destroy.js#block_03_block_03`, `parallel/test-http-client-abort-destroy.js#block_04_block_04`, ... (+3) | | WebAssembly global is missing in current runtime | 6 | `es-module/test-wasm-memory-out-of-bound.js`, `es-module/test-wasm-simple.js`, `es-module/test-wasm-web-api.js`, ... (+3) | | all assertions are gated by common.hasIntl; URL-only IDNA formatting is covered by focused runtime tests while the broader Intl API remains unavailable | 6 | `parallel/test-url-format-whatwg.js#test_00_should_format`, `parallel/test-url-format-whatwg.js#test_01_handle_invalid_arguments`, `parallel/test-url-format-whatwg.js#test_02_any_falsy_value_other_than_undefined_will_be_treated_as_fals`, ... (+3) | | fork() AbortSignal handling is incomplete (exit code/signal/error semantics differ from Node) | 6 | `parallel/test-child-process-fork-abort-signal.js#block_00_block_00`, `parallel/test-child-process-fork-abort-signal.js#block_01_block_01`, `parallel/test-child-process-fork-abort-signal.js#block_02_block_02`, ... (+3) | @@ -1352,15 +1352,16 @@ Secondary full-public compatibility, including public tests that are currently e | Node 26.13.1 baseline gap: 26 test(s) failed | 1 | `parallel/test-sqlite-database.js#test_00_database_constructor` | | Node 26.13.1 baseline gap: 7 test(s) failed; carries 22.14.0 parallel/test-sqlite-database-sync.js (upstream f2b698f1cf); parallel/test-sqlite-statement-sync.js (upstream f2b698f1cf) | 1 | `parallel/test-sqlite-statement-columns.js` | | Node 26.13.1 baseline gap: 8 test(s) failed | 1 | `parallel/test-sqlite-statement.js#test_08_statement_prototype_resetstats` | -| Node 26.13.1 baseline gap: AssertionError: Missing expected exception. | 1 | `parallel/test-permission-fs-read.js#block_02_block_02` | | Node 26.13.1 baseline gap: Cannot find module 'internal/streams/end-of-stream'; carries 22.14.0 subtest block_39_block_39 | 1 | `parallel/test-stream-finished.js#block_40_block_40` | | Node 26.13.1 baseline gap: Conversion from string failed: invalid utf-8 sequence of 1 bytes from index 300 | 1 | `parallel/test-buffer-bytelength.js` | | Node 26.13.1 baseline gap: ERR_INVALID_FILE_URL_PATH has no err.input URL; the historical code assertion passes; carries 22.14.0 parallel/test-url-fileurltopath.js subtest test_03_fileurltopath_with_invalid_path | 1 | `parallel/test-url-invalid-file-url-path-input.js` | +| Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_23_block_23 | 1 | `parallel/test-util-inspect.js#block_25_block_25` | | Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_63_block_63 | 1 | `parallel/test-util-inspect.js#block_65_block_65` | | Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_77_block_77 | 1 | `parallel/test-util-inspect.js#block_85_block_85` | | Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_91_block_91 | 1 | `parallel/test-util-inspect.js#block_101_block_101` | | Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_95_block_95 | 1 | `parallel/test-util-inspect.js#block_106_block_106` | | Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_98_block_98 | 1 | `parallel/test-util-inspect.js#block_109_block_109` | +| Node 26.13.1 baseline gap: Failed to export key; carries 22.14.0 subtest block_09_block_09 | 1 | `parallel/test-crypto-key-objects.js#block_10_block_10` | | Node 26.13.1 baseline gap: Failed to export key; carries 22.14.0 subtest block_12_block_12 | 1 | `parallel/test-crypto-key-objects.js#block_13_block_13` | | Node 26.13.1 baseline gap: Failed to export key; carries 22.14.0 subtest block_15_block_15 | 1 | `parallel/test-crypto-key-objects.js#block_16_block_16` | | Node 26.13.1 baseline gap: Failed to export key; carries 22.14.0 subtest block_17_block_17 | 1 | `parallel/test-crypto-sign-verify.js#block_15_block_15` | @@ -1922,7 +1923,7 @@ Secondary full-public compatibility, including public tests that are currently e | requires external shell pipeline and cat subprocess via child_process | 1 | `parallel/test-http-chunk-problem.js` | | requires external shell pipeline tooling (e.g. head), unavailable in WASM | 1 | `parallel/test-pipe-head.js` | | requires external touch/date commands via child_process.spawnSync | 1 | `parallel/test-fs-utimes-y2K38.js` | -| requires full-duplex HTTP request/response streaming semantics not provided by wasi:http | 1 | `parallel/test-stream-pipeline.js#block_08_block_08` | +| requires full-duplex HTTP request/response streaming semantics not provided by wasi:http | 1 | `parallel/test-stream-pipeline.js#block_09_block_09` | | requires http.get({ createConnection }) to create and abort a raw node:net socket; node:http outbound requests always use wasi:http | 1 | `parallel/test-http-client-abort-no-agent.js` | | requires http.get({ createConnection }) to redirect requests through a custom node:net socket; node:http outbound requests always use wasi:http | 1 | `parallel/test-http-host-header-ipv6-fail.js` | | requires http.get({ createConnection }) to replace the client transport with a raw socket; node:http outbound requests always use wasi:http | 1 | `parallel/test-http-createConnection.js` | @@ -2017,18 +2018,18 @@ Secondary full-public compatibility, including public tests that are currently e | vm.Script.createCachedData relies on V8 code cache internals unavailable in QuickJS | 1 | `parallel/test-vm-createcacheddata.js` | | vm.SourceTextModule dynamic import referrer realm semantics depend on Node VM realm behavior not modeled by the QuickJS host | 1 | `parallel/test-vm-module-referrer-realm.mjs` | -### unevaluated (3845) +### unevaluated (3836) | Reason | Count | Example entries | |--------|-------|-----------------| -| newly discovered, not yet evaluated | 3636 | `es-module/test-cjs-defer-static-import-eval.mjs`, `es-module/test-defer-import-builtin-module.mjs`, `es-module/test-defer-import-eval-with-tla.mjs`, ... (+3633) | -| newly discovered subtest, not yet evaluated | 209 | `es-module/test-esm-json.mjs#test_01_should_load_json_with_import_calls`, `parallel/test-assert-deep.js#test_01_loose_deepequal`, `parallel/test-assert-deep.js#test_08_deepstrictequal_handles_shared_expected_array_elements_after`, ... (+206) | +| newly discovered, not yet evaluated | 3633 | `es-module/test-cjs-defer-static-import-eval.mjs`, `es-module/test-defer-import-builtin-module.mjs`, `es-module/test-defer-import-eval-with-tla.mjs`, ... (+3630) | +| newly discovered subtest, not yet evaluated | 203 | `es-module/test-esm-json.mjs#test_01_should_load_json_with_import_calls`, `parallel/test-assert-deep.js#test_01_loose_deepequal`, `parallel/test-assert-deep.js#test_08_deepstrictequal_handles_shared_expected_array_elements_after`, ... (+200) | -### Node.js internals (1175) +### Node.js internals (1180) | Reason | Count | Example entries | |--------|-------|-----------------| -| requires --expose-internals and internal/webstreams/readablestream | 81 | `parallel/test-whatwg-readablestream.js#block_00_block_00`, `parallel/test-whatwg-readablestream.js#block_01_block_01`, `parallel/test-whatwg-readablestream.js#block_02_block_02`, ... (+78) | +| requires --expose-internals and internal/webstreams/readablestream | 83 | `parallel/test-whatwg-readablestream.js#block_00_block_00`, `parallel/test-whatwg-readablestream.js#block_01_block_01`, `parallel/test-whatwg-readablestream.js#block_02_block_02`, ... (+80) | | requires internal/util/inspect via --expose-internals | 78 | `parallel/test-readline-interface.js#block_00_block_00`, `parallel/test-readline-interface.js#block_01_block_01`, `parallel/test-readline-interface.js#block_02_block_02`, ... (+75) | | requires --expose-internals plus internal/test/binding internalBinding('js_stream'/'util') | 61 | `parallel/test-util-inspect.js#block_00_special_function_inspection`, `parallel/test-util-inspect.js#block_01_block_01`, `parallel/test-util-inspect.js#block_02_block_02`, ... (+58) | | requires --expose-internals and internal/webstreams/adapters | 60 | `parallel/test-whatwg-webstreams-adapters-streambase.js#block_00_block_00`, `parallel/test-whatwg-webstreams-adapters-streambase.js#block_01_block_01`, `parallel/test-whatwg-webstreams-adapters-streambase.js#block_02_block_02`, ... (+57) | @@ -2042,8 +2043,8 @@ Secondary full-public compatibility, including public tests that are currently e | depends on internal/util.customPromisifyArgs symbol | 19 | `parallel/test-util-promisify.js#block_00_block_00`, `parallel/test-util-promisify.js#block_01_block_01`, `parallel/test-util-promisify.js#block_02_block_02`, ... (+16) | | inherited: requires internal/event_target, ERR_INVALID_ARG_TYPE validation, returnValue/cancelBubble/srcElement properties | 19 | `parallel/test-events-customevent.js#block_00_block_00`, `parallel/test-events-customevent.js#block_02_block_02`, `parallel/test-events-customevent.js#block_03_block_03`, ... (+16) | | requires internalBinding('async_wrap') | 18 | `sequential/test-async-wrap-getasyncid.js#block_00_make_sure_that_all_providers_are_tested`, `sequential/test-async-wrap-getasyncid.js#block_01_block_01`, `sequential/test-async-wrap-getasyncid.js#block_02_block_02`, ... (+15) | +| requires --expose-internals and internal/worker/js_transferable | 16 | `parallel/test-whatwg-transformstream.js#block_00_block_00`, `parallel/test-whatwg-transformstream.js#block_01_block_01`, `parallel/test-whatwg-transformstream.js#block_02_block_02`, ... (+13) | | requires --expose-internals and internal/event_target | 15 | `parallel/test-events-on-async-iterator.js`, `parallel/test-eventtarget-brandcheck.js`, `parallel/test-global-customevent.js`, ... (+12) | -| requires --expose-internals and internal/worker/js_transferable | 15 | `parallel/test-whatwg-transformstream.js#block_00_block_00`, `parallel/test-whatwg-transformstream.js#block_01_block_01`, `parallel/test-whatwg-transformstream.js#block_02_block_02`, ... (+12) | | uses --expose-internals plus internal/errors and internal/util/inspect | 15 | `parallel/test-errors-systemerror.js#block_00_block_00`, `parallel/test-errors-systemerror.js#block_01_block_01`, `parallel/test-errors-systemerror.js#block_02_block_02`, ... (+12) | | inherited: requires --expose-internals and internal/validators | 13 | `parallel/test-internal-validators-validateoneof.js#block_00_block_00`, `parallel/test-internal-validators-validateoneof.js#block_01_block_01`, `parallel/test-internal-validators-validateoneof.js#block_02_block_02`, ... (+10) | | requires --expose-internals and internal/webstreams/* modules | 13 | `parallel/test-whatwg-webstreams-transfer.js#block_00_block_00`, `parallel/test-whatwg-webstreams-transfer.js#block_01_block_01`, `parallel/test-whatwg-webstreams-transfer.js#block_02_block_02`, ... (+10) | @@ -2088,6 +2089,7 @@ Secondary full-public compatibility, including public tests that are currently e | requires internal/util.sleep | 4 | `parallel/test-timers-nested.js`, `parallel/test-timers-next-tick.js`, `parallel/test-util-sleep.js`, ... (+1) | | uses --expose-internals and internal/dgram kStateSymbol | 4 | `parallel/test-dgram-close-during-bind.js`, `parallel/test-dgram-close.js`, `parallel/test-dgram-recv-error.js`, ... (+1) | | uses --expose-internals with internal/errors and internal/test/binding | 4 | `parallel/test-buffer-fill.js#block_00_block_00`, `parallel/test-buffer-fill.js#block_01_block_01`, `parallel/test-buffer-fill.js#block_02_symbol_toprimitive`, ... (+1) | +| Asserts internal webstreams kState | 3 | `parallel/test-blob.js#block_29_statement_29`, `parallel/test-blob.js#block_31_statement_31`, `parallel/test-blob.js#block_32_statement_32` | | directly tests internal/fs/utils getDirents with internal constants | 3 | `parallel/test-fs-utils-get-dirents.js#block_00_block_00`, `parallel/test-fs-utils-get-dirents.js#block_01_getdirents`, `parallel/test-fs-utils-get-dirents.js#block_02_block_02` | | inherited: requires --expose-internals and internal/crypto/x509 | 3 | `parallel/test-crypto-x509.js#block_00_block_00`, `parallel/test-crypto-x509.js#block_01_block_01`, `parallel/test-crypto-x509.js#block_02_block_02` | | inherited: requires --expose-internals and internal/fixed_queue | 3 | `parallel/test-fixed-queue.js#block_00_block_00`, `parallel/test-fixed-queue.js#block_01_block_01`, `parallel/test-fixed-queue.js#block_02_block_02` | @@ -2139,7 +2141,6 @@ Secondary full-public compatibility, including public tests that are currently e | uses --expose-internals with internalBinding('tls_wrap') | 2 | `parallel/test-tls-enable-trace-cli.js`, `parallel/test-tls-enable-trace.js` | | uses common/net.hasMultiLocalhost(), which depends on internalBinding('tcp_wrap') | 2 | `parallel/test-http-localaddress.js`, `parallel/test-https-localaddress.js` | | uses private server/socket _handle internals | 2 | `parallel/test-net-server-keepalive.js`, `parallel/test-net-server-nodelay.js` | -| Asserts internal webstreams kState | 1 | `parallel/test-blob.js#block_31_statement_31` | | Common test harness setup only; no public API assertion | 1 | `parallel/test-structuredClone-global.js#block_00_statement_00` | | Windows-only test that also imports node:internal/modules/esm/resolve and internal/modules/run_main | 1 | `es-module/test-esm-long-path-win.js` | | asserts exact process.moduleLoadList bootstrap internals | 1 | `parallel/test-bootstrap-modules.js` | From c9e18f6d0149a818ace31505296f88008d737ba9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Thu, 19 Nov 2026 19:54:38 +0000 Subject: [PATCH 21/55] Let move decisions label new destinations [skip ci] --- tests/migrate_config_split.rs | 286 +++++++++++++++++++++++++++++++++- tests/node_compat/README.md | 10 ++ 2 files changed, 294 insertions(+), 2 deletions(-) diff --git a/tests/migrate_config_split.rs b/tests/migrate_config_split.rs index 48a8a03ef..b031844fb 100644 --- a/tests/migrate_config_split.rs +++ b/tests/migrate_config_split.rs @@ -83,6 +83,9 @@ struct MigrationReport { /// Accepted decisions that changed the classification of a formerly runnable or known-gap /// subtest, with the obligation that keeps it accounted for. obligations: Vec, + /// Newly discovered subtests whose entry an accepted decision set because it moved its + /// assertions there, with the evidence and the exact previous case they came from. + labelled_targets: Vec, /// Subtests without a previous entry. new_subtests: Vec, /// Subtests that are gone, with their previous metadata. Needs a mapping. @@ -464,7 +467,7 @@ fn new_subtest_value(meta: &Map) -> Value { } /// Keys of a positional decision. -const DECISION_KEYS: [&str; 11] = [ +const DECISION_KEYS: [&str; 12] = [ "file", "subtest", "previousBlake3", @@ -475,6 +478,7 @@ const DECISION_KEYS: [&str; 11] = [ "note", "obligation", "movedTo", + "movedToEntries", "evidence", ]; /// What a decision says about the assertions of the previous subtest. @@ -565,6 +569,7 @@ fn load_decisions( .as_array() .ok_or_else(|| anyhow!("the decisions lack a positionDecisions array"))?; let mut decisions = Decisions::new(); + let mut labelled = BTreeSet::new(); for row in rows { let row = row .as_object() @@ -619,6 +624,54 @@ fn load_decisions( } _ => {} } + // A move may label the newly discovered subtests of the same file it moved to; the + // evidence must name the exact previous case, so the label says what it was checked on. + if let Some(labels) = row.get("movedToEntries") { + let targets: Vec<&str> = row + .get("movedTo") + .and_then(Value::as_array) + .into_iter() + .flatten() + .filter_map(Value::as_str) + .collect(); + let labels = labels.as_object().filter(|l| !l.is_empty()).ok_or_else(|| { + anyhow!("the movedToEntries of the decision for {at} must map movedTo targets to an entry and evidence") + })?; + let old = format!("{from} {at}"); + for (target, label) in labels { + if !targets.contains(&target.as_str()) { + bail!( + "the decision for {at} labels {target}, which is not one of its movedTo targets" + ); + } + if target.split_once('#').map(|(f, _)| f) != Some(file) { + bail!( + "the decision for {at} labels {target}, but it can label only a subtest of {file}" + ); + } + let label = label + .as_object() + .filter(|l| { + l.keys().all(|k| k == "entry" || k == "evidence") + && l.get("entry").is_some_and(Value::is_object) + }) + .ok_or_else(|| { + anyhow!("the label of {target} in the decision for {at} needs an entry object and evidence") + })?; + if !label + .get("evidence") + .and_then(Value::as_str) + .is_some_and(|e| e.contains(&old)) + { + bail!( + "the evidence for {target} in the decision for {at} must name the exact old case \"{old}\"" + ); + } + if !labelled.insert(target.clone()) { + bail!("{target} is labelled by more than one decision"); + } + } + } let target_change = obligation == Some("target-change"); if target_change && text("evidence").is_none() { bail!("the target-change decision for {at} needs non-empty evidence"); @@ -799,10 +852,53 @@ fn migrate( o["subtest"].as_str().unwrap_or_default() ) }) + .chain( + // A labelled known gap that carries a formerly runnable case is its baseline gap. + migration + .report + .labelled_targets + .iter() + .filter(|l| { + l["previous"] == "runnable" + && l["entry"]["category"] == "known-gap" + && l["entry"]["reason"] + .as_str() + .is_some_and(|r| !r.trim().is_empty()) + }) + .map(|l| { + format!( + "{}#{}", + l["file"].as_str().unwrap_or_default(), + l["subtest"].as_str().unwrap_or_default() + ) + }), + ) + .collect(); + let labelled: BTreeSet = migration + .report + .labelled_targets + .iter() + .map(|l| { + format!( + "{}#{}", + l["file"].as_str().unwrap_or_default(), + l["subtest"].as_str().unwrap_or_default() + ) + }) .collect(); let mut newly = BTreeMap::new(); for (key, targets) in moves { + let labels = decisions + .as_ref() + .and_then(|d| d.get(&key)) + .and_then(|d| d.get("movedToEntries")) + .and_then(Value::as_object); let problem = targets.iter().find_map(|target| { + if labels.is_some_and(|l| l.contains_key(target)) && !labelled.contains(target) { + return Some(format!( + "obligationViolation: movedTo target {target} is labelled by this decision but is not a newly discovered subtest" + )); + } match target_category(&migrated_tests, target, suite_root) { Ok(NodeCompatCategory::Runnable) => None, Ok(_) if baseline_gaps.contains(target) => None, @@ -946,6 +1042,8 @@ fn migrate_once( // the entry itself needs no rewrite, and keeps its previous metadata only until // a decision accepts it or another value. let mut decided: BTreeMap<&String, Value> = BTreeMap::new(); + // Entries accepted decisions give the newly discovered subtests they moved to. + let mut labels: BTreeMap = BTreeMap::new(); for name in &names { if origin.get(name).is_some_and(|(old, _)| old == name) && subtest_description(name).is_none() @@ -989,6 +1087,29 @@ fn migrate_once( .collect(); moves.push((key, targets)); } + let labelled = decision + .get("movedToEntries") + .and_then(Value::as_object) + .into_iter() + .flatten(); + for (target, label) in labelled { + let (_, subtest) = target.split_once('#').unwrap_or_default(); + labels.insert( + subtest.to_string(), + ( + label["entry"].clone(), + json!({ + "file": path, + "subtest": subtest, + "entry": label["entry"], + "evidence": label["evidence"], + "movedFrom": format!("{path}#{name}"), + "previous": pending["previous"]["effective"]["category"], + "previousBlake3": pending["previousBlake3"], + }), + ), + ); + } report.obligations.extend(obligation); decided.insert(name, entry); } @@ -1022,7 +1143,13 @@ fn migrate_once( report .new_subtests .push(json!({ "file": path, "subtest": name })); - new_subtest_value(&meta) + match labels.remove(name) { + Some((entry, labelled)) => { + report.labelled_targets.push(labelled); + entry + } + None => new_subtest_value(&meta), + } } }; subtests.push((name.clone(), value)); @@ -2096,6 +2223,161 @@ mod contract { } } + #[test] + #[test_r::tag(migration_contract)] + fn a_move_may_label_its_newly_discovered_destination() { + // Upstream inserts a block, so the formerly runnable block_01 now holds other content and + // its slightly rewritten assertions sit in the newly discovered block_02. + let fixture = Fixture::new(); + fixture + .previous("parallel/test-a.js", "{ first(); }\n{ moved(1); }\n") + .source( + "parallel/test-a.js", + "{ first(); }\n{ inserted(); }\n{ moved(2); }\n", + ); + let input = config( + r#" "parallel/test-a.js": { "split": true, "subtests": { "block_00_block_00": {}, "block_01_block_01": {} } }"#, + ); + let proposal = fixture.migrate_with(&input, None).unwrap(); + let target = "parallel/test-a.js#block_02_block_02"; + let old = "22.14.0 parallel/test-a.js#block_01_block_01"; + let moved = |target: &str, labels: Option| { + let mut extra = + json!({ "assertions": "moved", "obligation": "moved", "movedTo": [target] }); + if let Some(labels) = labels { + extra["movedToEntries"] = labels; + } + decision( + &proposal, + "block_01_block_01", + json!({ "category": "known-gap", "reason": "the inserted block needs X" }), + extra, + ) + }; + let label = |entry: Value| json!({ target: { "entry": entry, "evidence": format!("holds {old}; passes") } }); + let run = |row: Value| { + fixture + .migrate_with(&input, Some(&record(&proposal, vec![row]))) + .unwrap() + }; + let destination = |m: &Migration| { + entries(m)["parallel/test-a.js"]["subtests"]["block_02_block_02"].clone() + }; + let unevaluated = json!({ "category": "unevaluated", "reason": NEW_SUBTEST_REASON }); + + // Accepted: a runnable label, and a known gap with a reason that carries the old case. + for entry in [ + json!({ "category": "runnable" }), + json!({ "category": "known-gap", "reason": "Node 26.13.1 baseline gap: X; carries 22.14.0 subtest block_01_block_01" }), + ] { + let accepted = run(moved(target, Some(label(entry.clone())))); + assert_eq!( + accepted.report.needs_review(), + 0, + "{entry}: {:#?}", + accepted.report + ); + assert_eq!(destination(&accepted), entry); + let labelled = &accepted.report.labelled_targets; + assert_eq!(labelled.len(), 1, "{entry}"); + assert_eq!( + labelled[0]["movedFrom"], + "parallel/test-a.js#block_01_block_01" + ); + assert_eq!( + labelled[0]["previousBlake3"], + pending(&proposal, "block_01_block_01")["previousBlake3"] + ); + } + // Rejected, leaving the destination unevaluated: no label, a label that does not keep the + // assertions running, and a label on a subtest that is not newly discovered. + for (row, labelled) in [ + (moved(target, None), false), + (moved(target, Some(label(unevaluated.clone()))), false), + ( + moved( + target, + Some(label( + json!({ "category": "node-internals", "reason": "internal" }), + )), + ), + false, + ), + ( + moved( + target, + Some(label(json!({ "category": "known-gap", "reason": " " }))), + ), + false, + ), + ( + moved( + "parallel/test-a.js#block_00_block_00", + Some( + json!({ "parallel/test-a.js#block_00_block_00": { "entry": { "category": "runnable" }, "evidence": format!("holds {old}") } }), + ), + ), + true, + ), + ] { + let rejected = run(row.clone()); + let problem = pending(&rejected, "block_01_block_01")["problem"] + .as_str() + .unwrap() + .to_string(); + assert!( + problem.starts_with("obligationViolation"), + "{row:#}: {problem}" + ); + assert_eq!(destination(&rejected), unevaluated, "{row:#}"); + assert!(rejected.report.labelled_targets.is_empty(), "{row:#}"); + assert_eq!( + problem.contains("not a newly discovered subtest"), + labelled, + "{problem}" + ); + } + // A label of a decision rejected for another reason is not applied. + let mut stale = moved(target, Some(label(json!({ "category": "runnable" })))); + stale["currentBlake3"] = json!(blake3::hash(b"another source").to_hex().to_string()); + let rejected = run(stale); + assert!( + pending(&rejected, "block_01_block_01")["problem"] + .as_str() + .unwrap() + .starts_with("stale") + ); + assert_eq!(destination(&rejected), unevaluated); + + // Malformed labels fail the run: evidence that does not name the exact old case, a label + // for a target that is not moved to, a label in another file, two labels for one target. + let error = |rows: Vec| { + fixture + .migrate_with(&input, Some(&record(&proposal, rows))) + .err() + .unwrap_or_else(|| panic!("accepted")) + .to_string() + }; + let vague = json!({ target: { "entry": { "category": "runnable" }, "evidence": "holds the old block_01" } }); + assert!(error(vec![moved(target, Some(vague))]).contains("exact old case")); + let other = json!({ "parallel/test-a.js#block_00_block_00": { "entry": { "category": "runnable" }, "evidence": format!("holds {old}") } }); + assert!(error(vec![moved(target, Some(other))]).contains("not one of its movedTo targets")); + let elsewhere = "parallel/test-b.js#block_00_block_00"; + let foreign = json!({ elsewhere: { "entry": { "category": "runnable" }, "evidence": format!("holds {old}") } }); + assert!(error(vec![moved(elsewhere, Some(foreign))]).contains("only a subtest of")); + let mut twice = moved(target, Some(label(json!({ "category": "runnable" })))); + twice["subtest"] = json!("block_00_block_00"); + twice["movedToEntries"][target]["evidence"] = + json!("holds 22.14.0 parallel/test-a.js#block_00_block_00"); + assert!( + error(vec![ + moved(target, Some(label(json!({ "category": "runnable" })))), + twice + ]) + .contains("more than one decision") + ); + } + #[test] #[test_r::tag(migration_contract)] fn stale_mismatched_and_unused_decisions_fail() { diff --git a/tests/node_compat/README.md b/tests/node_compat/README.md index 6f46fa825..79525f1f7 100644 --- a/tests/node_compat/README.md +++ b/tests/node_compat/README.md @@ -141,6 +141,16 @@ with `NODE_COMPAT_MIGRATION_DECISIONS=/path/to/decisions.json`: under an unsplit file is rejected. The report lists these under `obligations` for review; the tool checks their shape, not whether the old assertions really are kept. +- When upstream inserted blocks, the old assertions can sit in a newly discovered + subtest, which the migration writes as `unevaluated`, so a move to it is rejected. + A move decision may then label that subtest in `movedToEntries`, keyed by its + `movedTo` target, with the `entry` to write and `evidence` naming the exact old + case as ` #`, for example + `"evidence": "holds 22.14.0 parallel/test-a.js#block_02_block_02 byte for byte; passes twice"`. + Only a newly discovered subtest of the decision's own file can be labelled, by one + decision. The label is checked like any target: it must be `runnable`, or a + `known-gap` with a reason when the old case was runnable (its baseline gap). The + report lists the labels under `labelledTargets`, with the old case and file hash. - Duplicate or malformed decisions fail the run; a decision that matches no pending subtest is listed under `unusedDecisions` and fails it. A decision for an excluded subtest is required too. From 1e21c8ff7f0f87f681f3328621743bb190c0beea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Fri, 20 Nov 2026 11:38:12 +0000 Subject: [PATCH 22/55] Make fs.Dir path a brand-checked getter [skip ci] --- .../wasm-rquickjs/skeleton/src/builtin/fs.js | 10 +++++- tests/node_compat/config.jsonc | 10 +++--- .../mapping-22.14.0-to-26.13.1.json | 35 ------------------- tests/node_compat/report.md | 17 +++++---- 4 files changed, 22 insertions(+), 50 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/fs.js b/crates/wasm-rquickjs/skeleton/src/builtin/fs.js index 7da0995e8..de04f5dbd 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/fs.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/fs.js @@ -5,6 +5,7 @@ import { ERR_DIR_CONCURRENT_OPERATION, ERR_FS_FILE_TOO_LARGE, ERR_INVALID_ARG_TYPE, + ERR_INVALID_THIS, ERR_OUT_OF_RANGE, } from '__wasm_rquickjs_builtin/internal/errors'; import { @@ -715,19 +716,26 @@ export let Dirent = class Dirent { // --- Dir class --- export let Dir = class Dir { + #path; + constructor(path, entries) { if (path === undefined) { const err = new TypeError('The "path" argument must be of type string. Received undefined'); err.code = 'ERR_MISSING_ARGS'; throw err; } - this.path = path; + this.#path = path; this._entries = entries; this._index = 0; this._closed = false; this._pendingAsyncOps = 0; } + get path() { + if (!(#path in this)) throw new ERR_INVALID_THIS('Dir'); + return this.#path; + } + _assertNotClosed() { if (this._closed) throw new ERR_DIR_CLOSED(); } diff --git a/tests/node_compat/config.jsonc b/tests/node_compat/config.jsonc index d9e60e0cd..2e341ea76 100644 --- a/tests/node_compat/config.jsonc +++ b/tests/node_compat/config.jsonc @@ -754,11 +754,11 @@ "parallel/test-fs-opendir.js": { "split": true, "subtests": { - "block_00_check_the_opendir_sync_version": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, - "block_01_check_that_passing_a_positive_integer_as_buffersize_works": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception." }, - "block_02_check_read_throw_exceptions_on_invalid_callback": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception." }, - "block_03_check_if_directory_already_closed_the_callback_should_pass_a": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception." }, - "block_04_check_if_directory_already_closed_throw_an_promise_exception": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception." } + "block_00_check_the_opendir_sync_version": {}, + "block_01_check_that_passing_a_positive_integer_as_buffersize_works": {}, + "block_02_check_read_throw_exceptions_on_invalid_callback": {}, + "block_03_check_if_directory_already_closed_the_callback_should_pass_a": {}, + "block_04_check_if_directory_already_closed_throw_an_promise_exception": {} } }, "parallel/test-fs-operations-with-surrogate-pairs.js": {}, diff --git a/tests/node_compat/mapping-22.14.0-to-26.13.1.json b/tests/node_compat/mapping-22.14.0-to-26.13.1.json index b563c31d7..15f53e1f0 100644 --- a/tests/node_compat/mapping-22.14.0-to-26.13.1.json +++ b/tests/node_compat/mapping-22.14.0-to-26.13.1.json @@ -4622,41 +4622,6 @@ "previous": {}, "error": "Expected values to be strictly equal:" }, - { - "file": "parallel/test-fs-opendir.js", - "subtest": "block_00_check_the_opendir_sync_version", - "baseline": true, - "previous": {}, - "error": "Missing expected exception." - }, - { - "file": "parallel/test-fs-opendir.js", - "subtest": "block_01_check_that_passing_a_positive_integer_as_buffersize_works", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception." - }, - { - "file": "parallel/test-fs-opendir.js", - "subtest": "block_02_check_read_throw_exceptions_on_invalid_callback", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception." - }, - { - "file": "parallel/test-fs-opendir.js", - "subtest": "block_03_check_if_directory_already_closed_the_callback_should_pass_a", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception." - }, - { - "file": "parallel/test-fs-opendir.js", - "subtest": "block_04_check_if_directory_already_closed_throw_an_promise_exception", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception." - }, { "file": "parallel/test-fs-promises-appendfile.js", "subtest": null, diff --git a/tests/node_compat/report.md b/tests/node_compat/report.md index 92027f432..40787cb2d 100644 --- a/tests/node_compat/report.md +++ b/tests/node_compat/report.md @@ -8,21 +8,21 @@ This report is generated from `config.jsonc` and the pinned vendored Node.js sou Primary compatibility is measured over the public API surface we can provide: CI-enforced passing (`runnable`) plus `known-gap`. WASI-impossible tests, engine differences, unevaluated tests, and Node.js-internals tests are acknowledged separately and excluded from the primary percentage. -**Primary compatibility (CI-enforced):** 2870/4456 (64.4%) +**Primary compatibility (CI-enforced):** 2875/4456 (64.5%) When comparing revisions, read the runnable count and secondary full-public percentage alongside the primary percentage. Reclassifying a test into an excluded category can increase the primary percentage without increasing runnable coverage. | Classification | Count | Primary % | Public inventory % | All listed % | |----------------|-------|-----------|--------------------|--------------| -| ✅ passing (runnable) | 2870 | 64.4% | 29.9% | 26.6% | -| 🧩 known gap | 1586 | 35.6% | 16.5% | 14.7% | +| ✅ passing (runnable) | 2875 | 64.5% | 29.9% | 26.7% | +| 🧩 known gap | 1581 | 35.5% | 16.5% | 14.7% | | 🚫 WASI-impossible (excluded) | 1148 | — | 11.9% | 10.6% | | ⚙️ engine difference (excluded) | 167 | — | 1.7% | 1.5% | | ❔ unevaluated (excluded) | 3836 | — | 39.9% | 35.6% | | 🔒 Node.js internals (excluded) | 1180 | — | — | 10.9% | | **Total** | **10787** | | | **100.0%** | -Secondary full-public compatibility, including public tests that are currently excluded from primary: **2870/9607 (29.9%)**. +Secondary full-public compatibility, including public tests that are currently excluded from primary: **2875/9607 (29.9%)**. ## Inventory by Module @@ -49,7 +49,7 @@ Secondary full-public compatibility, including public tests that are currently e | eslint | 31 | 0 | 0 | 0 | 0 | 7 | 24 | 0.0% | 0.0% | | events | 96 | 59 | 2 | 0 | 0 | 3 | 32 | 96.7% | 92.2% | | fetch | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 100.0% | 100.0% | -| fs | 558 | 294 | 78 | 21 | 5 | 86 | 74 | 79.0% | 60.7% | +| fs | 558 | 299 | 73 | 21 | 5 | 86 | 74 | 80.4% | 61.8% | | global | 9 | 4 | 3 | 0 | 0 | 0 | 2 | 57.1% | 57.1% | | heap | 26 | 0 | 0 | 15 | 8 | 3 | 0 | 0.0% | 0.0% | | http | 1019 | 231 | 280 | 301 | 2 | 129 | 76 | 45.2% | 24.5% | @@ -343,7 +343,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-fs-mkdir.js` | 21 | 21 | 0 | 0 | 0 | 0 | 0 | | `test-fs-mkdtemp.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | | `test-fs-mkdtempDisposableSync.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | -| `test-fs-opendir.js` | 5 | 0 | 5 | 0 | 0 | 0 | 0 | +| `test-fs-opendir.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | | `test-fs-options-immutable.js` | 6 | 0 | 6 | 0 | 0 | 0 | 0 | | `test-fs-promises.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | | `test-fs-promisified.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | @@ -1094,7 +1094,7 @@ Secondary full-public compatibility, including public tests that are currently e ## Classified Non-Runnable Tests -### known gap (1586) +### known gap (1581) | Reason | Count | Example entries | |--------|-------|-----------------| @@ -1111,7 +1111,7 @@ Secondary full-public compatibility, including public tests that are currently e | stream edge case not yet handled | 22 | `parallel/test-stream-compose.js#block_17_block_17`, `parallel/test-stream-drop-take.js#block_01_don_t_wait_for_next_item_in_the_original_stream_when_already`, `parallel/test-stream-duplex-from.js#block_17_block_17`, ... (+19) | | Node 26.13.1 baseline gap: mustCall verification failed: | 19 | `parallel/test-domain-with-abort-on-uncaught-exception.js`, `parallel/test-fs-watch-recursive-watch-file.js`, `parallel/test-http-outgoing-writableFinished.js#block_01_finish_the_end_callback_receives_the_write_error_instead`, ... (+16) | | process.permission and --permission CLI semantics are incomplete in execPath emulation | 19 | `parallel/test-cli-permission-deny-fs.js#block_00_block_00`, `parallel/test-cli-permission-deny-fs.js#block_01_block_01`, `parallel/test-cli-permission-deny-fs.js#block_02_block_02`, ... (+16) | -| Node 26.13.1 baseline gap: Missing expected exception. | 16 | `parallel/test-assert-deep.js#test_02_date`, `parallel/test-assert-deep.js#test_03_regexp`, `parallel/test-assert-deep.js#test_07_gh_14441_circular_structures_should_be_consistent`, ... (+13) | +| Node 26.13.1 baseline gap: Missing expected exception. | 15 | `parallel/test-assert-deep.js#test_02_date`, `parallel/test-assert-deep.js#test_03_regexp`, `parallel/test-assert-deep.js#test_07_gh_14441_circular_structures_should_be_consistent`, ... (+12) | | Node 26.13.1 baseline gap: Missing expected exception (TypeError). | 14 | `parallel/test-buffer-pool-untransferable.js`, `parallel/test-crypto-dh-stateless.js#block_00_block_00`, `parallel/test-crypto-dh-stateless.js#block_01_block_01`, ... (+11) | | wasi:sockets UDP implementation crashes in wasmtime | 14 | `parallel/test-dgram-connect-send-callback-buffer.js`, `parallel/test-dgram-connect-send-callback-multi-buffer.js`, `parallel/test-dgram-connect-send-default-host.js`, ... (+11) | | Node 26.13.1 baseline gap: The input did not match the regular expression /Unsupported state or unable to authenticate data/. Input: | 13 | `parallel/test-crypto-authenticated.js#block_00_non_authenticating_mode`, `parallel/test-crypto-authenticated.js#block_01_throw`, `parallel/test-crypto-authenticated.js#block_03_test_that_gcm_can_produce_shorter_authentication_tags_than_1`, ... (+10) | @@ -1158,7 +1158,6 @@ Secondary full-public compatibility, including public tests that are currently e | Node 26.13.1 baseline gap: 7 test(s) failed | 4 | `parallel/test-sqlite-data-types.js`, `parallel/test-sqlite-statement.js#test_01_statement_prototype_get`, `parallel/test-sqlite-statement.js#test_04_statement_prototype_run`, ... (+1) | | Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:; carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09) | 4 | `es-module/test-require-module-tla-nested.js`, `es-module/test-require-module-tla-rejected.js`, `es-module/test-require-module-tla-resolved.js`, ... (+1) | | Node 26.13.1 baseline gap: The error is expected to be an instance of "TypeError". Received "DOMException" | 4 | `parallel/test-webcrypto-random.js#block_00_block_00`, `parallel/test-webcrypto-random.js#block_01_block_01`, `parallel/test-webcrypto-random.js#block_02_block_02`, ... (+1) | -| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception. | 4 | `parallel/test-fs-opendir.js#block_01_check_that_passing_a_positive_integer_as_buffersize_works`, `parallel/test-fs-opendir.js#block_02_check_read_throw_exceptions_on_invalid_callback`, `parallel/test-fs-opendir.js#block_03_check_if_directory_already_closed_the_callback_should_pass_a`, ... (+1) | | WASM child emulation does not support Node.js --test CLI output behavior | 4 | `parallel/test-runner-extraneous-async-activity.js#block_00_block_00`, `parallel/test-runner-extraneous-async-activity.js#block_01_block_01`, `parallel/test-runner-extraneous-async-activity.js#block_02_block_02`, ... (+1) | | inherited: --frozen-intrinsics flag semantics are not implemented | 4 | `parallel/test-freeze-intrinsics.js#block_00_ensure_we_can_extend_console`, `parallel/test-freeze-intrinsics.js#block_01_ensure_we_can_write_override_object_prototype_properties_on_`, `parallel/test-freeze-intrinsics.js#block_02_ensure_we_can_not_override_globalthis`, ... (+1) | | inherited: common-shim mustCall()/mustCallAtLeast() argument validation differs from Node's test harness | 4 | `parallel/test-common.js#block_00_test_for_leaked_global_detection`, `parallel/test-common.js#block_01_test_for_disabling_leaked_global_detection`, `parallel/test-common.js#block_02_test_tmpdir`, ... (+1) | From 707d6823fd81b0c9b34b02c91e51367e454abe21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Fri, 20 Nov 2026 12:07:02 +0000 Subject: [PATCH 23/55] Make Readable.read return one chunk at a time [skip ci] --- .../src/builtin/internal/streams/readable.js | 4 ++++ tests/node_compat/config.jsonc | 4 ++-- .../mapping-22.14.0-to-26.13.1.json | 14 -------------- tests/node_compat/report.md | 18 +++++++++--------- 4 files changed, 15 insertions(+), 25 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/readable.js b/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/readable.js index 0b276dc8a..d733b33f8 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/readable.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/readable.js @@ -379,6 +379,10 @@ function howMuchToRead(n, state) { return 1; } if (Number.isNaN(n)) { + // Without a decoder, read() returns the next buffered chunk, as in Node 26. + if (!state.decoder && state.length) { + return state.buffer.first().length; + } // Only flow one buffer at a time. if (state.flowing && state.length) { return state.buffer.first().length; diff --git a/tests/node_compat/config.jsonc b/tests/node_compat/config.jsonc index d9e60e0cd..42e896a26 100644 --- a/tests/node_compat/config.jsonc +++ b/tests/node_compat/config.jsonc @@ -3558,7 +3558,7 @@ "block_00_block_00": {}, "block_01_block_01": {}, "block_02_block_02": {}, - "block_03_block_03": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "block_03_block_03": {}, "block_04_block_04": {} } }, @@ -8967,7 +8967,7 @@ "block_00_block_00": {}, "block_01_block_01": {}, "block_02_block_02": {}, - "block_03_block_03": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "block_03_block_03": {}, "block_04_block_04": {} } }, diff --git a/tests/node_compat/mapping-22.14.0-to-26.13.1.json b/tests/node_compat/mapping-22.14.0-to-26.13.1.json index b563c31d7..5ef0e38a1 100644 --- a/tests/node_compat/mapping-22.14.0-to-26.13.1.json +++ b/tests/node_compat/mapping-22.14.0-to-26.13.1.json @@ -5363,20 +5363,6 @@ "previous": {}, "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected \"actual\" to be strict" }, - { - "file": "parallel/test-stream-typedarray.js", - "subtest": "block_03_block_03", - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "parallel/test-stream-uint8array.js", - "subtest": "block_03_block_03", - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly deep-equal:" - }, { "file": "parallel/test-stream-writable-write-error.js", "subtest": null, diff --git a/tests/node_compat/report.md b/tests/node_compat/report.md index 92027f432..d4dc8dffc 100644 --- a/tests/node_compat/report.md +++ b/tests/node_compat/report.md @@ -8,21 +8,21 @@ This report is generated from `config.jsonc` and the pinned vendored Node.js sou Primary compatibility is measured over the public API surface we can provide: CI-enforced passing (`runnable`) plus `known-gap`. WASI-impossible tests, engine differences, unevaluated tests, and Node.js-internals tests are acknowledged separately and excluded from the primary percentage. -**Primary compatibility (CI-enforced):** 2870/4456 (64.4%) +**Primary compatibility (CI-enforced):** 2872/4456 (64.5%) When comparing revisions, read the runnable count and secondary full-public percentage alongside the primary percentage. Reclassifying a test into an excluded category can increase the primary percentage without increasing runnable coverage. | Classification | Count | Primary % | Public inventory % | All listed % | |----------------|-------|-----------|--------------------|--------------| -| ✅ passing (runnable) | 2870 | 64.4% | 29.9% | 26.6% | -| 🧩 known gap | 1586 | 35.6% | 16.5% | 14.7% | +| ✅ passing (runnable) | 2872 | 64.5% | 29.9% | 26.6% | +| 🧩 known gap | 1584 | 35.5% | 16.5% | 14.7% | | 🚫 WASI-impossible (excluded) | 1148 | — | 11.9% | 10.6% | | ⚙️ engine difference (excluded) | 167 | — | 1.7% | 1.5% | | ❔ unevaluated (excluded) | 3836 | — | 39.9% | 35.6% | | 🔒 Node.js internals (excluded) | 1180 | — | — | 10.9% | | **Total** | **10787** | | | **100.0%** | -Secondary full-public compatibility, including public tests that are currently excluded from primary: **2870/9607 (29.9%)**. +Secondary full-public compatibility, including public tests that are currently excluded from primary: **2872/9607 (29.9%)**. ## Inventory by Module @@ -73,7 +73,7 @@ Secondary full-public compatibility, including public tests that are currently e | snapshot | 61 | 0 | 0 | 0 | 57 | 4 | 0 | 0.0% | 0.0% | | sqlite | 117 | 2 | 57 | 0 | 0 | 58 | 0 | 3.4% | 1.7% | | stdio | 23 | 12 | 7 | 3 | 0 | 0 | 1 | 63.2% | 54.5% | -| stream | 872 | 677 | 39 | 2 | 0 | 113 | 41 | 94.6% | 81.5% | +| stream | 872 | 679 | 37 | 2 | 0 | 113 | 41 | 94.8% | 81.7% | | string_decoder | 5 | 3 | 0 | 0 | 0 | 2 | 0 | 100.0% | 60.0% | | test_runner | 344 | 84 | 41 | 21 | 1 | 188 | 9 | 67.2% | 25.1% | | timers | 112 | 45 | 6 | 0 | 0 | 20 | 41 | 88.2% | 63.4% | @@ -802,8 +802,8 @@ Secondary full-public compatibility, including public tests that are currently e | `test-stream-toArray.js` | 6 | 6 | 0 | 0 | 0 | 0 | 0 | | `test-stream-transform-destroy.js` | 8 | 8 | 0 | 0 | 0 | 0 | 0 | | `test-stream-transform-split-highwatermark.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | -| `test-stream-typedarray.js` | 5 | 4 | 1 | 0 | 0 | 0 | 0 | -| `test-stream-uint8array.js` | 5 | 4 | 1 | 0 | 0 | 0 | 0 | +| `test-stream-typedarray.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | +| `test-stream-uint8array.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | | `test-stream-unpipe-event.js` | 6 | 6 | 0 | 0 | 0 | 0 | 0 | | `test-stream-wrap-encoding.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | | `test-stream-writable-aborted.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | @@ -1094,7 +1094,7 @@ Secondary full-public compatibility, including public tests that are currently e ## Classified Non-Runnable Tests -### known gap (1586) +### known gap (1584) | Reason | Count | Example entries | |--------|-------|-----------------| @@ -1107,8 +1107,8 @@ Secondary full-public compatibility, including public tests that are currently e | Node 26.13.1 baseline gap: not a function | 25 | `parallel/test-sqlite-session.js#test_00_creating_and_applying_a_changeset`, `parallel/test-sqlite-session.js#test_01_database_createsession_closed_database_results_in_exception`, `parallel/test-sqlite-session.js#test_02_session_changeset_closed_database_results_in_exception`, ... (+22) | | requires isolated process.execPath --eval execution, TypeScript input-type flags, and child warning/output/exit capture | 24 | `es-module/test-typescript-eval.mjs#test_00_eval_typescript_esm_syntax`, `es-module/test-typescript-eval.mjs#test_01_eval_typescript_esm_syntax_with_input_type_module`, `es-module/test-typescript-eval.mjs#test_02_eval_typescript_commonjs_syntax`, ... (+21) | | requires isolated process.execPath TypeScript entry execution and Node CLI default-module / require-module flag handling | 24 | `es-module/test-typescript-commonjs.mjs#test_00_require_a_ts_file_with_explicit_extension_succeeds`, `es-module/test-typescript-commonjs.mjs#test_01_eval_require_a_ts_file_with_implicit_extension_fails`, `es-module/test-typescript-commonjs.mjs#test_02_eval_require_a_cts_file_with_implicit_extension_fails`, ... (+21) | -| Node 26.13.1 baseline gap: Expected values to be strictly deep-equal: | 23 | `es-module/test-esm-import-attributes-errors.mjs`, `es-module/test-esm-import-meta.mjs`, `es-module/test-require-module-error-catching.js`, ... (+20) | | stream edge case not yet handled | 22 | `parallel/test-stream-compose.js#block_17_block_17`, `parallel/test-stream-drop-take.js#block_01_don_t_wait_for_next_item_in_the_original_stream_when_already`, `parallel/test-stream-duplex-from.js#block_17_block_17`, ... (+19) | +| Node 26.13.1 baseline gap: Expected values to be strictly deep-equal: | 21 | `es-module/test-esm-import-attributes-errors.mjs`, `es-module/test-esm-import-meta.mjs`, `es-module/test-require-module-error-catching.js`, ... (+18) | | Node 26.13.1 baseline gap: mustCall verification failed: | 19 | `parallel/test-domain-with-abort-on-uncaught-exception.js`, `parallel/test-fs-watch-recursive-watch-file.js`, `parallel/test-http-outgoing-writableFinished.js#block_01_finish_the_end_callback_receives_the_write_error_instead`, ... (+16) | | process.permission and --permission CLI semantics are incomplete in execPath emulation | 19 | `parallel/test-cli-permission-deny-fs.js#block_00_block_00`, `parallel/test-cli-permission-deny-fs.js#block_01_block_01`, `parallel/test-cli-permission-deny-fs.js#block_02_block_02`, ... (+16) | | Node 26.13.1 baseline gap: Missing expected exception. | 16 | `parallel/test-assert-deep.js#test_02_date`, `parallel/test-assert-deep.js#test_03_regexp`, `parallel/test-assert-deep.js#test_07_gh_14441_circular_structures_should_be_consistent`, ... (+13) | From 67c1e15328e846aeb188f8e350fc44f978e003a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Fri, 20 Nov 2026 12:29:09 +0000 Subject: [PATCH 24/55] Correct Node 26 mapping record from source reads [skip ci] --- tests/node_compat/README.md | 6 +- tests/node_compat/config.jsonc | 4 +- .../mapping-22.14.0-to-26.13.1.json | 70 +++++++++++-------- tests/node_compat/report.md | 4 +- tests/node_compat_config_report.rs | 26 +++++++ 5 files changed, 73 insertions(+), 37 deletions(-) diff --git a/tests/node_compat/README.md b/tests/node_compat/README.md index 79525f1f7..e996afb9b 100644 --- a/tests/node_compat/README.md +++ b/tests/node_compat/README.md @@ -163,8 +163,10 @@ runtime, npm and `agentic_ts` lanes are still 22.14.0 and npm 10.9.2 until the n 22.14.0 baseline cases that the switch could not carry over unchanged are recorded, with their disposition, in [`mapping-22.14.0-to-26.13.1.json`](mapping-22.14.0-to-26.13.1.json). Cases that regressed on 26.13.1 are `known-gap` entries whose reason starts with `Node 26.13.1 baseline gap: ` -and are listed in the record's `baselineGaps`. They are outstanding repairs, not accepted gaps: a -repair makes the entry `runnable` and removes it from `baselineGaps`. See +and are listed in the record's `baselineGaps`; `node_compat_report` fails when the two lists differ. +They are outstanding repairs, not accepted gaps: a repair makes the entry `runnable` and removes it +from `baselineGaps`. A 22.14.0 case whose assertion upstream reversed is a target change, not a +baseline gap. See [`target-selection.md`](target-selection.md) for pin provenance, measured suite, API and npm 10.9.2-to-11.20.0 differences, required harness changes and switching instructions, and [`target-mapping-22.14.0.json`](target-mapping-22.14.0.json) for the mapping of every 22.14.0 diff --git a/tests/node_compat/config.jsonc b/tests/node_compat/config.jsonc index d9e60e0cd..6b39acd62 100644 --- a/tests/node_compat/config.jsonc +++ b/tests/node_compat/config.jsonc @@ -360,7 +360,7 @@ "subtests": { "block_00_block_00": {}, "block_01_block_01": {}, - "block_02_framecount_must_be_an_integer": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception.; carries 22.14.0 subtest block_02_guarantee_dot_left_numbers_are_ignored" }, + "block_02_framecount_must_be_an_integer": { "category": "known-gap", "reason": "util.getCallSites() accepts a fractional frameCount; Node 26.13.1 requires an integer and throws ERR_OUT_OF_RANGE" }, "block_03_block_03": {}, "block_04_block_04": {}, "block_05_scriptid_is_a_string": {}, @@ -12608,7 +12608,7 @@ }, "parallel/test-fs-negative-zero.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, "parallel/test-fs-openAsBlobSync.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, - "parallel/test-fs-promises-appendfile.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Ab; carries 22.14.0 parallel/test-fs-promises-writefile-typedarray.js (upstream 3ac95f2d0c); parallel/test-fs-promises-writefile-with-fd.js (upstream 3ac95f2d0c)" }, + "parallel/test-fs-promises-appendfile.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Ab; carries 22.14.0 parallel/test-fs-promises-writefile-typedarray.js (upstream 3ac95f2d0c)" }, "parallel/test-fs-promises-file-handle-pull.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, "parallel/test-fs-promises-file-handle-pullsync.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, "parallel/test-fs-promises-file-handle-readLines.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, diff --git a/tests/node_compat/mapping-22.14.0-to-26.13.1.json b/tests/node_compat/mapping-22.14.0-to-26.13.1.json index b563c31d7..813e5c5b4 100644 --- a/tests/node_compat/mapping-22.14.0-to-26.13.1.json +++ b/tests/node_compat/mapping-22.14.0-to-26.13.1.json @@ -8,17 +8,18 @@ "byDisposition": { "same": 2835, "newly-split": 16, - "renamed": 299, + "renamed": 298, "target-change-eol": 48, "moved": 26, - "target-change-removed-upstream": 7, + "target-change-removed-upstream": 8, "moved-to-top-level": 10, "unsplit": 8, "unmapped-moved-to-unvendored-dir": 11 }, "byDispositionAndStatus": { - "moved / failed": 5, + "moved / failed": 4, "moved / failed,passed": 21, + "moved / passed": 1, "moved-to-top-level / failed": 1, "moved-to-top-level / failed,skipped": 4, "moved-to-top-level / passed": 3, @@ -26,7 +27,7 @@ "newly-split / failed": 7, "newly-split / failed,passed": 5, "newly-split / passed": 4, - "renamed / failed": 106, + "renamed / failed": 105, "renamed / passed": 189, "renamed / skipped": 4, "same / failed": 167, @@ -34,12 +35,11 @@ "same / skipped": 35, "target-change-eol / -": 38, "target-change-eol / skipped": 10, - "target-change-removed-upstream / -": 7, + "target-change-removed-upstream / -": 8, "unmapped-moved-to-unvendored-dir / -": 11, "unsplit / failed": 2, "unsplit / skipped": 6 }, - "baselineGapCases": 343, "nowNodeInternalsCases": 45 }, "missingSources": [ @@ -296,7 +296,8 @@ "es-module/test-require-module-tla-unresolved.js" ], "unvendoredReplacementDirs": null, - "disposition": "moved" + "disposition": "moved", + "note": "split into the six test-require-module-tla-* files with the improved ERR_REQUIRE_ASYNC_MODULE message; the --experimental-print-required-tla case now asserts the required module and source line instead of 'I am executed'" }, { "file": "es-module/test-typescript-transform.mjs", @@ -527,10 +528,11 @@ "doc,test: widen fsPromises.appendFile()'s data type, add missing tests" ], "replacements": [ - "parallel/test-fs-promises-appendfile.js" + "parallel/test-fs-promises-file-handle-writeFile.js" ], "unvendoredReplacementDirs": null, - "disposition": "moved" + "disposition": "moved", + "note": "source-read correction: the same commit moved the write-at-position check (bytesWritten 5, then 'HelloWorld') into test-fs-promises-file-handle-writeFile.js, not into test-fs-promises-appendfile.js" }, { "file": "parallel/test-fs-rmdir-recursive-sync-warns-not-found.js", @@ -2160,7 +2162,7 @@ "assert(result.equals(plain));" ], "disposition": "renamed", - "note": "rewritten as a superset: testAllOrders also covers ChaCha20-Poly1305 and AAD ordering" + "note": "rewritten as a superset over aes-256-gcm/ocb and chacha20-poly1305 (all tag/AAD/update orders); the 22.14.0 aes-128 key size is no longer used" }, { "file": "parallel/test-crypto-authenticated.js", @@ -2176,7 +2178,7 @@ }, "assertionLinesMissing": [], "disposition": "renamed", - "note": "same issue 38035 check, now skipped when aes-128-ccm is unavailable and compared with a control tag" + "note": "same issue 38035 check, now skipped when aes-128-ccm is unavailable; final() without update() may now either throw (ERR_OSSL_TAG_NOT_SET / Unsupported state, as before) or return an empty buffer with the control tag (openssl/openssl#32427)" }, { "file": "parallel/test-crypto-authenticated.js", @@ -2301,7 +2303,8 @@ "assertionLinesMissing": [ "assert.throws(() => createPrivateKey(privateDsa), hasOpenSSL3 ? {" ], - "disposition": "renamed" + "disposition": "renamed", + "note": "changed upstream: hasOpenSSL3 became hasOpenSSL(3), the bad-decrypt message also accepts BAD_DECRYPT, and the passphrase-protected DSA key is re-exported as aes-256-cbc PKCS#8 before createPrivateKey; type and asymmetricKeyType assertions kept" }, { "file": "parallel/test-crypto-key-objects.js", @@ -2375,7 +2378,8 @@ "replacedValue": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" - } + }, + "note": "changed upstream: the second key pair is x25519 instead of ed448; the KeyObject.equals() inequality assertions are kept" }, { "file": "parallel/test-crypto-keygen.js", @@ -2525,7 +2529,8 @@ "block_02_test_handling_of_exceptional_conditions": 4 }, "assertionLinesMissing": [], - "disposition": "renamed" + "disposition": "renamed", + "note": "expected message changed upstream from 'The \"key.key\" property' to 'The \"privateKey.key\" property'" }, { "file": "parallel/test-crypto-sign-verify.js", @@ -2824,7 +2829,7 @@ }, "assertionLinesMissing": [], "disposition": "renamed", - "note": "the math-functions check is now one case of the build-time SQL API suite" + "note": "the math-functions check is now one case of the build-time SQL API suite; DatabaseSync is renamed Database (upstream f2b698f1cf)" }, { "file": "parallel/test-stream-finished.js", @@ -3019,7 +3024,13 @@ "block_01_block_01": 1 }, "assertionLinesMissing": [], - "disposition": "renamed" + "disposition": "target-change-removed-upstream", + "commit": [ + "74c36584653346fa4940194380b2ab5201942dd0", + "2026-01-28", + "build: enable -DV8_ENABLE_CHECKS flag" + ], + "note": "the 22.14.0 block asserted that getCallSites(3.6) returns 3 call sites; this commit made frameCount validateInteger and rewrote the block to expect ERR_OUT_OF_RANGE, so the old assertion is reversed, not carried. The 26.13.1 block_02_framecount_must_be_an_integer is an ordinary known gap." }, { "file": "parallel/test-util-getcallsites.js", @@ -3034,7 +3045,8 @@ "block_02_framecount_must_be_an_integer": 10 }, "assertionLinesMissing": [], - "disposition": "renamed" + "disposition": "renamed", + "note": "kept; upstream d4e9ae57d4 adds getCallSites(0.5) -> ERR_OUT_OF_RANGE" }, { "file": "parallel/test-util-getcallsites.js", @@ -3147,7 +3159,8 @@ "assert.throws(() => util.inspect(x), /TypeError: Converting circular structure to JSON/);" ], "disposition": "renamed", - "replacedValue": {} + "replacedValue": {}, + "note": "expectations changed upstream: symbol keys print without brackets, a throwing Symbol.toStringTag getter no longer makes inspect() throw ('ThrowingClass {}'), and the circular getter case is formatted instead of throwing" }, { "file": "parallel/test-util-inspect.js", @@ -3166,7 +3179,8 @@ }, "assertionLinesMissing": [], "disposition": "renamed", - "replacedValue": {} + "replacedValue": {}, + "note": "kept with a scoped-package path (@namespace/bar), mustCallAtLeast and RegExp.escape" }, { "file": "parallel/test-util-inspect.js", @@ -3239,7 +3253,8 @@ }, "assertionLinesMissing": [], "disposition": "renamed", - "replacedValue": {} + "replacedValue": {}, + "note": "expected output changed upstream: ArrayBuffer byteLength prints as [byteLength]" }, { "file": "parallel/test-util-inspect.js", @@ -3257,7 +3272,8 @@ }, "assertionLinesMissing": [], "disposition": "renamed", - "replacedValue": {} + "replacedValue": {}, + "note": "expected output changed upstream: an error whose stack is an array of symbols prints as '[Error\\n [\\n Symbol(foo)\\n ]]'" }, { "file": "parallel/test-webcrypto-constructors.js", @@ -3362,7 +3378,8 @@ "replacedValue": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" - } + }, + "note": "target change: Web Storage is enabled by default in 26.13.1, so the case now disables it with --no-webstorage; the assertion that the APIs are absent when disabled is kept" }, { "file": "parallel/test-webstorage.js", @@ -6259,15 +6276,6 @@ }, "error": "ERR_INVALID_FILE_URL_PATH has no err.input URL; the historical code assertion passes" }, - { - "file": "parallel/test-util-getcallsites.js", - "subtest": "block_02_framecount_must_be_an_integer", - "baseline": true, - "previous": { - "category": "unevaluated" - }, - "error": "Missing expected exception." - }, { "file": "parallel/test-util-inspect.js", "subtest": "block_100_block_100", diff --git a/tests/node_compat/report.md b/tests/node_compat/report.md index 92027f432..f5ce6eaae 100644 --- a/tests/node_compat/report.md +++ b/tests/node_compat/report.md @@ -1365,7 +1365,6 @@ Secondary full-public compatibility, including public tests that are currently e | Node 26.13.1 baseline gap: Failed to export key; carries 22.14.0 subtest block_12_block_12 | 1 | `parallel/test-crypto-key-objects.js#block_13_block_13` | | Node 26.13.1 baseline gap: Failed to export key; carries 22.14.0 subtest block_15_block_15 | 1 | `parallel/test-crypto-key-objects.js#block_16_block_16` | | Node 26.13.1 baseline gap: Failed to export key; carries 22.14.0 subtest block_17_block_17 | 1 | `parallel/test-crypto-sign-verify.js#block_15_block_15` | -| Node 26.13.1 baseline gap: Missing expected exception.; carries 22.14.0 subtest block_02_guarantee_dot_left_numbers_are_ignored | 1 | `parallel/test-util-getcallsites.js#block_02_framecount_must_be_an_integer` | | Node 26.13.1 baseline gap: Missing expected exception.; the runnable assertions execute, while its common.hasIntl-gated invalid-IDNA matrix is covered separately by focused runtime tests | 1 | `parallel/test-url-parse-invalid-input.js` | | Node 26.13.1 baseline gap: Only --eval/-e, --input-type, and script files are supported in WASM child emulation; carries 22.14.0 subtest test_00_disabled_without_experimental_webstorage | 1 | `parallel/test-webstorage.js#test_08_disabled_with_no_webstorage` | | Node 26.13.1 baseline gap: The argument 'format' must be a valid string format. Received "grey" | 1 | `parallel/test-util-styletext.js` | @@ -1375,7 +1374,7 @@ Secondary full-public compatibility, including public tests that are currently e | Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected "actual" to be strict | 1 | `parallel/test-stream-readable-to-web-termination.js#block_01_block_01` | | Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception (Ty | 1 | `parallel/test-vm-module-errors.js` | | Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Ab | 1 | `parallel/test-fs-promises-file-handle-append-file.js` | -| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Ab; carries 22.14.0 parallel/test-fs-promises-writefile-typedarray.js (upstream 3ac95f2d0c); parallel/test-fs-promises-writefile-with-fd.js (upstream 3ac95f2d0c) | 1 | `parallel/test-fs-promises-appendfile.js` | +| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Ab; carries 22.14.0 parallel/test-fs-promises-writefile-typedarray.js (upstream 3ac95f2d0c) | 1 | `parallel/test-fs-promises-appendfile.js` | | Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): Error: Module status must not be unlinked or l | 1 | `parallel/test-vm-module-synthetic.js` | | Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): TypeError: Error converting from js 'string' i | 1 | `parallel/test-fs-promises-file-handle-read.js` | | Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): TypeError: The "original" argument must be of | 1 | `parallel/test-zlib-empty-buffer.js` | @@ -1743,6 +1742,7 @@ Secondary full-public compatibility, including public tests that are currently e | uses child_process spawn path (spawnPromisified) | 1 | `parallel/test-find-package-json.js#test_07_should_be_able_to_resolve_both_root_and_closest_package_json` | | util.MIMEType parsing API is not implemented | 1 | `parallel/test-mime-whatwg.js` | | util.debuglog formatting/callback behavior is not fully Node-compatible | 1 | `sequential/test-util-debug.js` | +| util.getCallSites() accepts a fractional frameCount; Node 26.13.1 requires an integer and throws ERR_OUT_OF_RANGE | 1 | `parallel/test-util-getcallsites.js#block_02_framecount_must_be_an_integer` | | util.getSystemErrorName is not implemented | 1 | `parallel/test-child-process-execfile.js#block_01_block_01` | | v8.setFlagsFromString argument validation error fidelity is incomplete | 1 | `parallel/test-v8-flag-type-check.js` | | valid EC key vectors fail to import | 1 | `parallel/test-webcrypto-export-import-ec.js#block_00_block_00` | diff --git a/tests/node_compat_config_report.rs b/tests/node_compat_config_report.rs index 6f17f6286..6bae041cd 100644 --- a/tests/node_compat_config_report.rs +++ b/tests/node_compat_config_report.rs @@ -349,6 +349,32 @@ fn module_related_known_gaps_are_deferred_or_covered() -> anyhow::Result<()> { Ok(()) } +#[test] +#[test_r::tag(report_contract)] +fn target_baseline_gaps_match_the_mapping_record() -> anyhow::Result<()> { + let recorded = recorded_target_baseline_gaps()?; + let labelled: BTreeSet = expand_entries(&load_node_compat_config(CONFIG_PATH)?) + .into_iter() + .filter(|item| { + item.category == NodeCompatCategory::KnownGap + && item + .reason + .as_deref() + .is_some_and(|reason| reason.starts_with(TARGET_BASELINE_GAP_REASON_PREFIX)) + }) + .map(|item| item.key) + .collect(); + + let unrecorded: Vec<_> = labelled.difference(&recorded).collect(); + let unlabelled: Vec<_> = recorded.difference(&labelled).collect(); + assert!( + unrecorded.is_empty() && unlabelled.is_empty(), + "baseline-gap entries in {CONFIG_PATH} and baselineGaps.cases in {TARGET_MAPPING_RECORD_PATH} differ\nlabelled but not recorded:\n{unrecorded:#?}\nrecorded but not a labelled known gap:\n{unlabelled:#?}" + ); + + Ok(()) +} + #[test] #[test_r::tag(report_contract)] fn module_known_gap_deferrals_require_an_exact_reason() { From 0067f89b57cdbba76a5cbb77079e0b5857e3ed1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Fri, 20 Nov 2026 14:04:14 +0000 Subject: [PATCH 25/55] Run CI From c419ddbbe9c7eac53f044136216d5c8a7e9d98f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Fri, 20 Nov 2026 15:57:19 +0000 Subject: [PATCH 26/55] Vendor Node 26 trace_events tests [skip ci] --- tests/common/mod.rs | 5 +- tests/migrate_config_split.rs | 2 +- tests/node_compat/README.md | 5 +- tests/node_compat/config.jsonc | 21 ++- .../mapping-22.14.0-to-26.13.1.json | 143 ++++++++++-------- tests/node_compat/report.md | 18 +-- tests/node_compat/target-selection.md | 7 +- tests/node_compat/vendor.sh | 8 +- 8 files changed, 122 insertions(+), 87 deletions(-) diff --git a/tests/common/mod.rs b/tests/common/mod.rs index 67a77fac3..ad6eef9bc 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -3286,7 +3286,8 @@ pub fn setup_node_compat_test_files(temp: &Utf8Path, test_rel_path: &str) -> any } } - // Copy vendored ESM common helpers that are not replaced by local shims. + // Copy vendored ESM common helpers and the trace_events helper that are not replaced by + // local shims. let vendored_common_dir = std::path::Path::new("tests/node_compat/suite/common"); if vendored_common_dir.exists() { for entry in fs::read_dir(vendored_common_dir)? { @@ -3294,7 +3295,7 @@ pub fn setup_node_compat_test_files(temp: &Utf8Path, test_rel_path: &str) -> any let file_name = entry.file_name(); let file_name_str = file_name.to_string_lossy(); if entry.file_type()?.is_file() - && file_name_str.ends_with(".mjs") + && (file_name_str.ends_with(".mjs") || file_name_str == "trace_events.js") && !common_dir.join(file_name_str.as_ref()).exists() { fs::copy(entry.path(), common_dir.join(file_name_str.as_ref()))?; diff --git a/tests/migrate_config_split.rs b/tests/migrate_config_split.rs index b031844fb..0928d7699 100644 --- a/tests/migrate_config_split.rs +++ b/tests/migrate_config_split.rs @@ -40,7 +40,7 @@ use std::fs; use std::path::Path; use test_r::test; -const SUITES: [&str; 3] = ["parallel", "sequential", "es-module"]; +const SUITES: [&str; 4] = ["parallel", "sequential", "es-module", "trace_events"]; const NEW_FILE_REASON: &str = "newly discovered, not yet evaluated"; const NEW_SUBTEST_REASON: &str = "newly discovered subtest, not yet evaluated"; /// Keys written first, in this order; any other key follows alphabetically, then `split` and diff --git a/tests/node_compat/README.md b/tests/node_compat/README.md index e996afb9b..f1172bedf 100644 --- a/tests/node_compat/README.md +++ b/tests/node_compat/README.md @@ -14,6 +14,7 @@ tests/node_compat/ │ ├── common/ # Node.js test/common/ infrastructure │ ├── fixtures/ # Node.js test/fixtures/ data files │ ├── sqlite/ # Node.js test/sqlite/ helpers (next-db.js in newer releases) +│ ├── trace_events/ # Node.js test/trace_events/ (test-trace-events-*.js since Node 26) │ └── NODE_VERSION # Version string (e.g., "26.13.1") ├── common-shim/ # Our WASM-compatible shim for test/common │ └── index.js @@ -35,8 +36,8 @@ To fetch (or update) the vendored test suite: ``` This sparse-checkouts `test/parallel/`, `test/sequential/`, `test/es-module/`, -`test/common/`, `test/fixtures/`, and `test/sqlite/` from the Node.js repository at the -specified tag. The `suite/` directory is gitignored — each +`test/common/`, `test/fixtures/`, `test/sqlite/`, and `test/trace_events/` from the Node.js +repository at the specified tag. The `suite/` directory is gitignored — each developer runs the vendor script to populate it. Configuration loading and report generation inspect these pinned sources to diff --git a/tests/node_compat/config.jsonc b/tests/node_compat/config.jsonc index 6b39acd62..0e33b2a82 100644 --- a/tests/node_compat/config.jsonc +++ b/tests/node_compat/config.jsonc @@ -17331,6 +17331,25 @@ "sequential/test-watch-mode-worker.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, "sequential/test-watch-mode.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, "sequential/test-without-async-context-frame.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, - "sequential/test-zlib-crc32-fast-api.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" } + "sequential/test-zlib-crc32-fast-api.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + + // === newly discovered tests (not yet evaluated) === + "trace_events/test-trace-events-all.js": { "category": "runnable", "reason": "carries 22.14.0 parallel/test-trace-events-all.js (upstream e7d8ab529b)" }, + "trace_events/test-trace-events-api.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "trace_events/test-trace-events-async-hooks-worker.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "trace_events/test-trace-events-async-hooks.js": { "category": "runnable", "reason": "carries 22.14.0 parallel/test-trace-events-async-hooks.js (upstream e7d8ab529b)" }, + "trace_events/test-trace-events-bootstrap.js": { "category": "runnable", "reason": "carries 22.14.0 parallel/test-trace-events-bootstrap.js (upstream e7d8ab529b)" }, + "trace_events/test-trace-events-environment.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "trace_events/test-trace-events-file-pattern.js": { "category": "runnable", "reason": "carries 22.14.0 parallel/test-trace-events-file-pattern.js (upstream e7d8ab529b)" }, + "trace_events/test-trace-events-fs-sync.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "trace_events/test-trace-events-http.js": { "category": "runnable", "reason": "carries 22.14.0 parallel/test-trace-events-http.js (upstream e7d8ab529b)" }, + "trace_events/test-trace-events-net-abstract-socket.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "trace_events/test-trace-events-net.js": { "category": "runnable", "reason": "carries 22.14.0 parallel/test-trace-events-net.js (upstream e7d8ab529b)" }, + "trace_events/test-trace-events-none.js": { "category": "runnable", "reason": "carries 22.14.0 parallel/test-trace-events-none.js (upstream e7d8ab529b)" }, + "trace_events/test-trace-events-process-exit.js": { "category": "runnable", "reason": "carries 22.14.0 parallel/test-trace-events-process-exit.js (upstream e7d8ab529b)" }, + "trace_events/test-trace-events-promises.js": { "category": "runnable", "reason": "carries 22.14.0 parallel/test-trace-events-promises.js (upstream e7d8ab529b)" }, + "trace_events/test-trace-events-threadpool.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, + "trace_events/test-trace-events-v8.js": { "category": "runnable", "reason": "carries 22.14.0 parallel/test-trace-events-v8.js (upstream e7d8ab529b)" }, + "trace_events/test-trace-events-vm.js": { "category": "runnable", "reason": "carries 22.14.0 parallel/test-trace-events-vm.js (upstream e7d8ab529b)" } } } diff --git a/tests/node_compat/mapping-22.14.0-to-26.13.1.json b/tests/node_compat/mapping-22.14.0-to-26.13.1.json index 813e5c5b4..39444745b 100644 --- a/tests/node_compat/mapping-22.14.0-to-26.13.1.json +++ b/tests/node_compat/mapping-22.14.0-to-26.13.1.json @@ -10,16 +10,15 @@ "newly-split": 16, "renamed": 298, "target-change-eol": 48, - "moved": 26, + "moved": 37, "target-change-removed-upstream": 8, "moved-to-top-level": 10, - "unsplit": 8, - "unmapped-moved-to-unvendored-dir": 11 + "unsplit": 8 }, "byDispositionAndStatus": { "moved / failed": 4, "moved / failed,passed": 21, - "moved / passed": 1, + "moved / passed": 12, "moved-to-top-level / failed": 1, "moved-to-top-level / failed,skipped": 4, "moved-to-top-level / passed": 3, @@ -36,7 +35,6 @@ "target-change-eol / -": 38, "target-change-eol / skipped": 10, "target-change-removed-upstream / -": 8, - "unmapped-moved-to-unvendored-dir / -": 11, "unsplit / failed": 2, "unsplit / skipped": 6 }, @@ -1521,11 +1519,12 @@ "2026-09-24", "test: enable trace_events tests with perfetto" ], - "replacements": null, - "unvendoredReplacementDirs": [ - "trace_events" + "replacements": [ + "trace_events/test-trace-events-all.js" ], - "disposition": "unmapped-moved-to-unvendored-dir" + "unvendoredReplacementDirs": null, + "disposition": "moved", + "note": "same-basename move to test/trace_events/ with legacy-JSON/Perfetto helpers from common/trace_events.js; the harness runs it with hasPerfetto false, the legacy JSON path" }, { "file": "parallel/test-trace-events-api.js", @@ -1539,10 +1538,10 @@ "2026-09-24", "test: enable trace_events tests with perfetto" ], - "replacements": null, - "unvendoredReplacementDirs": [ - "trace_events" + "replacements": [ + "trace_events/test-trace-events-api.js" ], + "unvendoredReplacementDirs": null, "disposition": "dropped-no-baseline-case" }, { @@ -1557,10 +1556,10 @@ "2026-09-24", "test: enable trace_events tests with perfetto" ], - "replacements": null, - "unvendoredReplacementDirs": [ - "trace_events" + "replacements": [ + "trace_events/test-trace-events-async-hooks-worker.js" ], + "unvendoredReplacementDirs": null, "disposition": "dropped-no-baseline-case" }, { @@ -1572,11 +1571,12 @@ "2026-09-24", "test: enable trace_events tests with perfetto" ], - "replacements": null, - "unvendoredReplacementDirs": [ - "trace_events" + "replacements": [ + "trace_events/test-trace-events-async-hooks.js" ], - "disposition": "unmapped-moved-to-unvendored-dir" + "unvendoredReplacementDirs": null, + "disposition": "moved", + "note": "same-basename move to test/trace_events/ with legacy-JSON/Perfetto helpers from common/trace_events.js; the harness runs it with hasPerfetto false, the legacy JSON path" }, { "file": "parallel/test-trace-events-bootstrap.js", @@ -1587,11 +1587,12 @@ "2026-09-24", "test: enable trace_events tests with perfetto" ], - "replacements": null, - "unvendoredReplacementDirs": [ - "trace_events" + "replacements": [ + "trace_events/test-trace-events-bootstrap.js" ], - "disposition": "unmapped-moved-to-unvendored-dir" + "unvendoredReplacementDirs": null, + "disposition": "moved", + "note": "same-basename move to test/trace_events/ with legacy-JSON/Perfetto helpers from common/trace_events.js; the harness runs it with hasPerfetto false, the legacy JSON path" }, { "file": "parallel/test-trace-events-environment.js", @@ -1605,10 +1606,10 @@ "2026-09-24", "test: enable trace_events tests with perfetto" ], - "replacements": null, - "unvendoredReplacementDirs": [ - "trace_events" + "replacements": [ + "trace_events/test-trace-events-environment.js" ], + "unvendoredReplacementDirs": null, "disposition": "dropped-no-baseline-case" }, { @@ -1620,11 +1621,12 @@ "2026-09-24", "test: enable trace_events tests with perfetto" ], - "replacements": null, - "unvendoredReplacementDirs": [ - "trace_events" + "replacements": [ + "trace_events/test-trace-events-file-pattern.js" ], - "disposition": "unmapped-moved-to-unvendored-dir" + "unvendoredReplacementDirs": null, + "disposition": "moved", + "note": "same-basename move to test/trace_events/ with legacy-JSON/Perfetto helpers from common/trace_events.js; the harness runs it with hasPerfetto false, the legacy JSON path" }, { "file": "parallel/test-trace-events-fs-sync.js", @@ -1638,10 +1640,10 @@ "2026-09-24", "test: enable trace_events tests with perfetto" ], - "replacements": null, - "unvendoredReplacementDirs": [ - "trace_events" + "replacements": [ + "trace_events/test-trace-events-fs-sync.js" ], + "unvendoredReplacementDirs": null, "disposition": "dropped-no-baseline-case" }, { @@ -1653,11 +1655,12 @@ "2026-09-24", "test: enable trace_events tests with perfetto" ], - "replacements": null, - "unvendoredReplacementDirs": [ - "trace_events" + "replacements": [ + "trace_events/test-trace-events-http.js" ], - "disposition": "unmapped-moved-to-unvendored-dir" + "unvendoredReplacementDirs": null, + "disposition": "moved", + "note": "same-basename move to test/trace_events/ with legacy-JSON/Perfetto helpers from common/trace_events.js; the harness runs it with hasPerfetto false, the legacy JSON path" }, { "file": "parallel/test-trace-events-net-abstract-socket.js", @@ -1671,10 +1674,10 @@ "2026-09-24", "test: enable trace_events tests with perfetto" ], - "replacements": null, - "unvendoredReplacementDirs": [ - "trace_events" + "replacements": [ + "trace_events/test-trace-events-net-abstract-socket.js" ], + "unvendoredReplacementDirs": null, "disposition": "dropped-no-baseline-case" }, { @@ -1686,11 +1689,12 @@ "2026-09-24", "test: enable trace_events tests with perfetto" ], - "replacements": null, - "unvendoredReplacementDirs": [ - "trace_events" + "replacements": [ + "trace_events/test-trace-events-net.js" ], - "disposition": "unmapped-moved-to-unvendored-dir" + "unvendoredReplacementDirs": null, + "disposition": "moved", + "note": "same-basename move to test/trace_events/ with legacy-JSON/Perfetto helpers from common/trace_events.js; the harness runs it with hasPerfetto false, the legacy JSON path" }, { "file": "parallel/test-trace-events-none.js", @@ -1701,11 +1705,12 @@ "2026-09-24", "test: enable trace_events tests with perfetto" ], - "replacements": null, - "unvendoredReplacementDirs": [ - "trace_events" + "replacements": [ + "trace_events/test-trace-events-none.js" ], - "disposition": "unmapped-moved-to-unvendored-dir" + "unvendoredReplacementDirs": null, + "disposition": "moved", + "note": "same-basename move to test/trace_events/ with legacy-JSON/Perfetto helpers from common/trace_events.js; the harness runs it with hasPerfetto false, the legacy JSON path" }, { "file": "parallel/test-trace-events-process-exit.js", @@ -1716,11 +1721,12 @@ "2026-09-24", "test: enable trace_events tests with perfetto" ], - "replacements": null, - "unvendoredReplacementDirs": [ - "trace_events" + "replacements": [ + "trace_events/test-trace-events-process-exit.js" ], - "disposition": "unmapped-moved-to-unvendored-dir" + "unvendoredReplacementDirs": null, + "disposition": "moved", + "note": "same-basename move to test/trace_events/ with legacy-JSON/Perfetto helpers from common/trace_events.js; the harness runs it with hasPerfetto false, the legacy JSON path" }, { "file": "parallel/test-trace-events-promises.js", @@ -1731,11 +1737,12 @@ "2026-09-24", "test: enable trace_events tests with perfetto" ], - "replacements": null, - "unvendoredReplacementDirs": [ - "trace_events" + "replacements": [ + "trace_events/test-trace-events-promises.js" ], - "disposition": "unmapped-moved-to-unvendored-dir" + "unvendoredReplacementDirs": null, + "disposition": "moved", + "note": "same-basename move to test/trace_events/ with legacy-JSON/Perfetto helpers from common/trace_events.js; the harness runs it with hasPerfetto false, the legacy JSON path" }, { "file": "parallel/test-trace-events-threadpool.js", @@ -1749,10 +1756,10 @@ "2026-09-24", "test: enable trace_events tests with perfetto" ], - "replacements": null, - "unvendoredReplacementDirs": [ - "trace_events" + "replacements": [ + "trace_events/test-trace-events-threadpool.js" ], + "unvendoredReplacementDirs": null, "disposition": "dropped-no-baseline-case" }, { @@ -1764,11 +1771,12 @@ "2026-09-24", "test: enable trace_events tests with perfetto" ], - "replacements": null, - "unvendoredReplacementDirs": [ - "trace_events" + "replacements": [ + "trace_events/test-trace-events-v8.js" ], - "disposition": "unmapped-moved-to-unvendored-dir" + "unvendoredReplacementDirs": null, + "disposition": "moved", + "note": "same-basename move to test/trace_events/ with legacy-JSON/Perfetto helpers from common/trace_events.js; the harness runs it with hasPerfetto false, the legacy JSON path" }, { "file": "parallel/test-trace-events-vm.js", @@ -1779,11 +1787,12 @@ "2026-09-24", "test: enable trace_events tests with perfetto" ], - "replacements": null, - "unvendoredReplacementDirs": [ - "trace_events" + "replacements": [ + "trace_events/test-trace-events-vm.js" ], - "disposition": "unmapped-moved-to-unvendored-dir" + "unvendoredReplacementDirs": null, + "disposition": "moved", + "note": "same-basename move to test/trace_events/ with legacy-JSON/Perfetto helpers from common/trace_events.js; the harness runs it with hasPerfetto false, the legacy JSON path" }, { "file": "parallel/test-util-getcallsite.js", diff --git a/tests/node_compat/report.md b/tests/node_compat/report.md index f5ce6eaae..07cfe559c 100644 --- a/tests/node_compat/report.md +++ b/tests/node_compat/report.md @@ -8,21 +8,21 @@ This report is generated from `config.jsonc` and the pinned vendored Node.js sou Primary compatibility is measured over the public API surface we can provide: CI-enforced passing (`runnable`) plus `known-gap`. WASI-impossible tests, engine differences, unevaluated tests, and Node.js-internals tests are acknowledged separately and excluded from the primary percentage. -**Primary compatibility (CI-enforced):** 2870/4456 (64.4%) +**Primary compatibility (CI-enforced):** 2881/4467 (64.5%) When comparing revisions, read the runnable count and secondary full-public percentage alongside the primary percentage. Reclassifying a test into an excluded category can increase the primary percentage without increasing runnable coverage. | Classification | Count | Primary % | Public inventory % | All listed % | |----------------|-------|-----------|--------------------|--------------| -| ✅ passing (runnable) | 2870 | 64.4% | 29.9% | 26.6% | -| 🧩 known gap | 1586 | 35.6% | 16.5% | 14.7% | +| ✅ passing (runnable) | 2881 | 64.5% | 29.9% | 26.7% | +| 🧩 known gap | 1586 | 35.5% | 16.5% | 14.7% | | 🚫 WASI-impossible (excluded) | 1148 | — | 11.9% | 10.6% | | ⚙️ engine difference (excluded) | 167 | — | 1.7% | 1.5% | -| ❔ unevaluated (excluded) | 3836 | — | 39.9% | 35.6% | +| ❔ unevaluated (excluded) | 3842 | — | 39.9% | 35.6% | | 🔒 Node.js internals (excluded) | 1180 | — | — | 10.9% | -| **Total** | **10787** | | | **100.0%** | +| **Total** | **10804** | | | **100.0%** | -Secondary full-public compatibility, including public tests that are currently excluded from primary: **2870/9607 (29.9%)**. +Secondary full-public compatibility, including public tests that are currently excluded from primary: **2881/9624 (29.9%)**. ## Inventory by Module @@ -78,7 +78,7 @@ Secondary full-public compatibility, including public tests that are currently e | test_runner | 344 | 84 | 41 | 21 | 1 | 188 | 9 | 67.2% | 25.1% | | timers | 112 | 45 | 6 | 0 | 0 | 20 | 41 | 88.2% | 63.4% | | tls | 264 | 4 | 7 | 177 | 0 | 65 | 11 | 36.4% | 1.6% | -| trace_events | 18 | 1 | 7 | 5 | 0 | 2 | 3 | 12.5% | 6.7% | +| trace_events | 35 | 12 | 7 | 5 | 0 | 8 | 3 | 63.2% | 37.5% | | tty | 5 | 0 | 3 | 0 | 0 | 0 | 2 | 0.0% | 0.0% | | url | 51 | 16 | 13 | 0 | 0 | 21 | 1 | 55.2% | 32.0% | | util | 235 | 27 | 70 | 0 | 0 | 20 | 118 | 27.8% | 23.1% | @@ -2018,11 +2018,11 @@ Secondary full-public compatibility, including public tests that are currently e | vm.Script.createCachedData relies on V8 code cache internals unavailable in QuickJS | 1 | `parallel/test-vm-createcacheddata.js` | | vm.SourceTextModule dynamic import referrer realm semantics depend on Node VM realm behavior not modeled by the QuickJS host | 1 | `parallel/test-vm-module-referrer-realm.mjs` | -### unevaluated (3836) +### unevaluated (3842) | Reason | Count | Example entries | |--------|-------|-----------------| -| newly discovered, not yet evaluated | 3633 | `es-module/test-cjs-defer-static-import-eval.mjs`, `es-module/test-defer-import-builtin-module.mjs`, `es-module/test-defer-import-eval-with-tla.mjs`, ... (+3630) | +| newly discovered, not yet evaluated | 3639 | `es-module/test-cjs-defer-static-import-eval.mjs`, `es-module/test-defer-import-builtin-module.mjs`, `es-module/test-defer-import-eval-with-tla.mjs`, ... (+3636) | | newly discovered subtest, not yet evaluated | 203 | `es-module/test-esm-json.mjs#test_01_should_load_json_with_import_calls`, `parallel/test-assert-deep.js#test_01_loose_deepequal`, `parallel/test-assert-deep.js#test_08_deepstrictequal_handles_shared_expected_array_elements_after`, ... (+200) | ### Node.js internals (1180) diff --git a/tests/node_compat/target-selection.md b/tests/node_compat/target-selection.md index 13e7f8597..3b3444af2 100644 --- a/tests/node_compat/target-selection.md +++ b/tests/node_compat/target-selection.md @@ -112,7 +112,8 @@ The 75 Node 26-only cases break down as follows: coverage: `assert.CallTracker` (10), multi-argument `assert.fail` (5), `fs.rmdir` with `recursive` (10), keygen `hash`/`mgf1Hash` (2), dgram deprecations (1), FileHandle close on GC (1), and `_stream_*` aliases (1). -- 11 are `test-trace-events-*` tests that moved to `test/trace_events/`, which is not vendored. +- 11 are `test-trace-events-*` tests that moved to `test/trace_events/`, which was not vendored + at qualification time. It is vendored now, and all 11 replacements pass as runnable. - 3 are sqlite tests renamed by "sqlite: rename DatabaseSync and StatementSync" (`f2b698f1cf`). - 8 are renamed-unmapped. - 23 are failing cases in 20 files: stream 6, crypto/webcrypto 6, buffer 2, sqlite 2, and one each @@ -318,8 +319,8 @@ All of this is required for either target unless marked "26 only". 4. **Vendoring.** Vendor `test/sqlite/`, which `test-sqlite*.js` now load as `../sqlite/next-db.js`, and copy it in `setup_node_compat_test_files`. `test/sea/` and `test/trace_events/` (26 only) are where moved tests now live; vendor them only if those cases stay classified. - `test/sqlite/` vendoring and copying are in place; `test/sea/` and `test/trace_events/` are - still open. + `test/sqlite/` and `test/trace_events/` vendoring and copying are in place, including the + `common/trace_events.js` helper; `test/sea/` is still open. 5. **Shim helpers.** - Both targets need `hasFIPS` and `isBoringSSL` in `common-shim/crypto.js`, plus `hasInspector`, `hasSQLite`, `skipIfSQLiteMissing`, `expectRequireStack`, diff --git a/tests/node_compat/vendor.sh b/tests/node_compat/vendor.sh index 0a279a7ad..b83f2d6d6 100755 --- a/tests/node_compat/vendor.sh +++ b/tests/node_compat/vendor.sh @@ -6,7 +6,7 @@ # # If no version is specified, defaults to the version in NODE_VERSION below. # The script sparse-checkouts test/parallel/, test/sequential/, test/es-module/, -# test/common/, test/fixtures/, and test/sqlite/ from the nodejs/node repository at the given tag. +# test/common/, test/fixtures/, test/sqlite/, and test/trace_events/ from the nodejs/node repository at the given tag. set -euo pipefail @@ -31,7 +31,7 @@ git clone --depth 1 --sparse --branch "${TAG}" --single-branch \ https://github.com/nodejs/node.git "${TMPDIR_CLONE}/node" cd "${TMPDIR_CLONE}/node" -git sparse-checkout set test/parallel test/sequential test/es-module test/common test/fixtures test/sqlite +git sparse-checkout set test/parallel test/sequential test/es-module test/common test/fixtures test/sqlite test/trace_events echo "==> Copying test files..." cp -r test/parallel "${SUITE_DIR}/parallel" @@ -41,6 +41,10 @@ cp -r test/common "${SUITE_DIR}/common" cp -r test/fixtures "${SUITE_DIR}/fixtures" # Newer test-sqlite*.js files load shared helpers such as ../sqlite/next-db.js. cp -r test/sqlite "${SUITE_DIR}/sqlite" +# Node 26 moved the test-trace-events-*.js files from parallel/ to trace_events/; older tags lack it. +if [ -d test/trace_events ]; then + cp -r test/trace_events "${SUITE_DIR}/trace_events" +fi # Record the version echo "${NODE_VERSION}" > "${SUITE_DIR}/NODE_VERSION" From 48c3b3e96a92a3fdf9d1d7b59285505cdb5d03f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Fri, 20 Nov 2026 16:13:13 +0000 Subject: [PATCH 27/55] Run CI From 59cdaa0ccc1a75c65dc7a4f4066b373b3554894f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 23 Nov 2026 15:47:10 +0000 Subject: [PATCH 28/55] Port Node 26 crypto key and webcrypto behavior [skip ci] --- .../src/builtin/internal/crypto/util.js | 33 ++ .../skeleton/src/builtin/internal/mod.rs | 5 + .../skeleton/src/builtin/web-crypto.js | 295 ++++++++++++++++-- .../skeleton/src/builtin/web_crypto.rs | 118 +++---- 4 files changed, 361 insertions(+), 90 deletions(-) create mode 100644 crates/wasm-rquickjs/skeleton/src/builtin/internal/crypto/util.js diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/internal/crypto/util.js b/crates/wasm-rquickjs/skeleton/src/builtin/internal/crypto/util.js new file mode 100644 index 000000000..671c61bc8 --- /dev/null +++ b/crates/wasm-rquickjs/skeleton/src/builtin/internal/crypto/util.js @@ -0,0 +1,33 @@ +// Web Crypto algorithm names supported by KeyObject#toCryptoKey, keyed by their +// upper-case spelling for case-insensitive lookup. +export const TO_CRYPTO_KEY_ALGORITHM_NAMES = { + 'AES-CTR': 'AES-CTR', + 'AES-CBC': 'AES-CBC', + 'AES-GCM': 'AES-GCM', + 'AES-KW': 'AES-KW', + 'PBKDF2': 'PBKDF2', + 'HKDF': 'HKDF', + 'HMAC': 'HMAC', + 'ED25519': 'Ed25519', + 'ED448': 'Ed448', + 'X25519': 'X25519', + 'X448': 'X448', + 'RSASSA-PKCS1-V1_5': 'RSASSA-PKCS1-v1_5', + 'RSA-PSS': 'RSA-PSS', + 'RSA-OAEP': 'RSA-OAEP', + 'ECDH': 'ECDH', + 'ECDSA': 'ECDSA', +}; + +// Mirrors the shape of Node's internal/crypto/util kSupportedAlgorithms for the +// operations exposed here: each operation maps a supported algorithm name to null. +function namesOf(names) { + const table = { __proto__: null }; + for (const name of names) table[name] = null; + return table; +} + +export const kSupportedAlgorithms = { + digest: namesOf(['SHA-1', 'SHA-256', 'SHA-384', 'SHA-512']), + importKey: namesOf(Object.values(TO_CRYPTO_KEY_ALGORITHM_NAMES)), +}; diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/internal/mod.rs b/crates/wasm-rquickjs/skeleton/src/builtin/internal/mod.rs index a4e60eb1c..ae2d3132c 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/internal/mod.rs +++ b/crates/wasm-rquickjs/skeleton/src/builtin/internal/mod.rs @@ -15,6 +15,7 @@ pub fn add_to_resolver(resolver: BuiltinResolver) -> BuiltinResolver { .with_module("__wasm_rquickjs_builtin/internal/validators") .with_module("__wasm_rquickjs_builtin/internal/weak_collections") .with_module("__wasm_rquickjs_builtin/internal/clone_policy") + .with_module("__wasm_rquickjs_builtin/internal/crypto/util") .with_module("__wasm_rquickjs_builtin/internal/streams/add-abort-signal") .with_module("__wasm_rquickjs_builtin/internal/binding/util_native") .with_module("__wasm_rquickjs_builtin/internal/binding/util") @@ -91,6 +92,10 @@ pub fn module_loader() -> BuiltinLoader { "__wasm_rquickjs_builtin/internal/clone_policy", include_str!("clone_policy.js"), ) + .with_module( + "__wasm_rquickjs_builtin/internal/crypto/util", + include_str!("crypto/util.js"), + ) .with_module( "__wasm_rquickjs_builtin/internal/binding/util", include_str!("binding/util.js"), diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js b/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js index 64023d91f..7dfa947e4 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js @@ -1,5 +1,6 @@ import { registerCloneAdapter } from '__wasm_rquickjs_builtin/internal/clone_policy'; import * as webCryptoNative from '__wasm_rquickjs_builtin/web_crypto_native' +import { TO_CRYPTO_KEY_ALGORITHM_NAMES } from '__wasm_rquickjs_builtin/internal/crypto/util'; import Transform from '__wasm_rquickjs_builtin/internal/streams/transform' import { DOMException } from '__wasm_rquickjs_builtin/abort_controller' import { @@ -1817,9 +1818,28 @@ function parseAeadOptions(algorithm, options) { }; } +// Node 26 options.xtsStandard selects the SM4-XTS tweak standard. The +// runtime has no SM4-XTS cipher, so a valid value is unsupported for every +// cipher it has. +function validateXtsStandard(options) { + if (options === null || options === undefined) return; + const xtsStandard = options.xtsStandard; + if (xtsStandard === undefined || xtsStandard === null) return; + if (typeof xtsStandard !== 'string') { + throw new ERR_INVALID_ARG_TYPE('options.xtsStandard', 'string', xtsStandard); + } + if (xtsStandard !== 'GB' && xtsStandard !== 'IEEE') { + throw new ERR_INVALID_ARG_VALUE('options.xtsStandard', xtsStandard, "must be one of: 'GB', 'IEEE'"); + } + const err = new Error('xtsStandard is only supported for XTS ciphers'); + err.code = 'ERR_CRYPTO_UNSUPPORTED_OPERATION'; + throw err; +} + function Cipheriv(algorithm, key, iv, options) { if (!(this instanceof Cipheriv)) return new Cipheriv(algorithm, key, iv, options); this._algorithm = normalizeCipherAlgorithm(algorithm); + validateXtsStandard(options); this._aeadConfig = parseAeadOptions(this._algorithm, options); this._authTagLength = this._aeadConfig.authTagLength; this._authTagLengthExplicit = this._aeadConfig.hasAuthTagLength; @@ -2015,6 +2035,7 @@ function validateDecipherAuthTagLength(decipher, actualLength) { function Decipheriv(algorithm, key, iv, options) { if (!(this instanceof Decipheriv)) return new Decipheriv(algorithm, key, iv, options); this._algorithm = normalizeCipherAlgorithm(algorithm); + validateXtsStandard(options); this._aeadConfig = parseAeadOptions(this._algorithm, options); this._authTagLength = this._aeadConfig.authTagLength; this._authTagLengthExplicit = this._aeadConfig.hasAuthTagLength; @@ -2832,24 +2853,6 @@ export function setFips(_val) { export const fips = false; -const TO_CRYPTO_KEY_ALGORITHM_NAMES = { - 'AES-CTR': 'AES-CTR', - 'AES-CBC': 'AES-CBC', - 'AES-GCM': 'AES-GCM', - 'AES-KW': 'AES-KW', - 'PBKDF2': 'PBKDF2', - 'HKDF': 'HKDF', - 'HMAC': 'HMAC', - 'ED25519': 'Ed25519', - 'ED448': 'Ed448', - 'X25519': 'X25519', - 'X448': 'X448', - 'RSASSA-PKCS1-V1_5': 'RSASSA-PKCS1-v1_5', - 'RSA-PSS': 'RSA-PSS', - 'RSA-OAEP': 'RSA-OAEP', - 'ECDH': 'ECDH', - 'ECDSA': 'ECDSA', -}; const KEY_OBJECT_TYPES = new Set(['secret', 'public', 'private']); const PRIVATE_KEY_CACHE = new Map(); @@ -2934,6 +2937,171 @@ function isRawKeyFormat(format) { return format === 'raw-public' || format === 'raw-private' || format === 'raw-seed'; } +// Raw key formats (Node 24+): bare key bytes for OKP and EC keys. They are +// converted to and from the DER and JWK encodings the native layer supports. +const RAW_EC_CURVES = { + 'P-256': [0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07], + 'secp256k1': [0x06, 0x05, 0x2b, 0x81, 0x04, 0x00, 0x0a], + 'P-384': [0x06, 0x05, 0x2b, 0x81, 0x04, 0x00, 0x22], + 'P-521': [0x06, 0x05, 0x2b, 0x81, 0x04, 0x00, 0x23], +}; +const RAW_EC_CURVE_ALIASES = { + 'prime256v1': 'P-256', 'secp256r1': 'P-256', 'P-256': 'P-256', + 'secp256k1': 'secp256k1', + 'secp384r1': 'P-384', 'P-384': 'P-384', + 'secp521r1': 'P-521', 'P-521': 'P-521', +}; +const RAW_EC_ECDH_NAMES = { + 'P-256': 'prime256v1', 'secp256k1': 'secp256k1', 'P-384': 'secp384r1', 'P-521': 'secp521r1', +}; +const EC_PUBLIC_KEY_OID = [0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01]; + +// The native ECDH has no P-521, so derive a raw P-521 private key's public +// point (d * G, uncompressed) with BigInt affine arithmetic. +const P521_P = (1n << 521n) - 1n; +const P521_B = 0x0051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00n; +const P521_G = [ + 0x00c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66n, + 0x011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650n, +]; + +function p521PublicPoint(privateBytes) { + const mod = (a) => { a %= P521_P; return a < 0n ? a + P521_P : a; }; + const inv = (a) => { + let t = 0n, nt = 1n, r = P521_P, nr = mod(a); + while (nr) { const q = r / nr; [t, nt] = [nt, t - q * nt]; [r, nr] = [nr, r - q * nr]; } + return mod(t); + }; + const add = (p1, p2) => { + if (!p1) return p2; + if (!p2) return p1; + const [x1, y1] = p1, [x2, y2] = p2; + let l; + if (x1 === x2) { + if (mod(y1 + y2) === 0n) return null; + l = mod((3n * x1 * x1 - 3n) * inv(2n * y1)); + } else { + l = mod((y2 - y1) * inv(x2 - x1)); + } + const x3 = mod(l * l - x1 - x2); + return [x3, mod(l * (x1 - x3) - y1)]; + }; + let k = 0n; + for (const b of privateBytes) k = (k << 8n) | BigInt(b); + let r = null, q = P521_G; + for (; k; k >>= 1n) { + if (k & 1n) r = add(r, q); + q = add(q, q); + } + if (!r) throw new ERR_INVALID_ARG_VALUE('key.key', 'invalid private key'); + const out = [0x04]; + for (const c of r) { + const hex = c.toString(16).padStart(132, '0'); + for (let i = 0; i < hex.length; i += 2) out.push(parseInt(hex.slice(i, i + 2), 16)); + } + return out; +} + +function derTlv(tag, content) { + const n = content.length; + const len = n < 0x80 ? [n] : n < 0x100 ? [0x81, n] : [0x82, n >> 8, n & 0xff]; + return [tag, ...len, ...content]; +} + +function rawKeyBuffer(bytes) { + return Buffer.from(bytes); +} + +function exportRawKey(key, format, type_) { + const keyType = key.asymmetricKeyType; + if (key._type === 'secret' || format === 'raw-seed' || + (format === 'raw-private' && key._type !== 'private')) { + throw new ERR_INVALID_ARG_VALUE('options.format', format); + } + const okp = OKP_TYPE_INFO[keyType]; + if (okp) { + // The key bytes end both the PKCS#8 and the SPKI encoding. + if (format === 'raw-private') { + const der = new Uint8Array(key.export({ format: 'der', type: 'pkcs8' })); + return rawKeyBuffer(der.slice(der.length - okp.privateLength)); + } + const pub = key._type === 'public' ? key : createPublicKey(key); + const der = new Uint8Array(pub.export({ format: 'der', type: 'spki' })); + return rawKeyBuffer(der.slice(der.length - okp.publicLength)); + } + if (keyType === 'ec') { + const jwk = key.export({ format: 'jwk' }); + if (format === 'raw-private') { + return rawKeyBuffer(base64UrlToBytes(jwk.d)); + } + const x = base64UrlToBytes(jwk.x); + const y = base64UrlToBytes(jwk.y); + if (type_ === 'compressed') { + return rawKeyBuffer([0x02 | (y[y.length - 1] & 1), ...x]); + } + if (type_ !== undefined && type_ !== null && type_ !== 'uncompressed') { + throw new ERR_INVALID_ARG_VALUE('options.type', type_); + } + return rawKeyBuffer([0x04, ...x, ...y]); + } + throw new ERR_INVALID_ARG_VALUE('options.format', format); +} + +function importRawKey(key, isPrivate) { + const { format, asymmetricKeyType: keyType } = key; + if (format === 'raw-seed' || (format === 'raw-private') !== isPrivate) { + throw new ERR_INVALID_ARG_VALUE('key.format', format); + } + const bytes = [...toBytes(key.key)]; + const okp = OKP_TYPE_INFO[keyType]; + if (okp) { + const length = isPrivate ? okp.privateLength : okp.publicLength; + if (bytes.length !== length) { + throw new ERR_INVALID_ARG_VALUE('key.key', key.key); + } + const der = Buffer.from([...(isPrivate ? okp.privatePrefix : okp.publicPrefix), ...bytes]); + return isPrivate + ? createPrivateKeyFromData(der, 'der', undefined, 'pkcs8') + : createPublicKeyFromData(der, 'der'); + } + if (keyType === 'ec') { + const crv = RAW_EC_CURVE_ALIASES[key.namedCurve]; + if (crv === undefined) { + throw new ERR_INVALID_ARG_VALUE('key.namedCurve', key.namedCurve); + } + const oid = RAW_EC_CURVES[crv]; + let point = bytes; + if (isPrivate) { + if (crv === 'P-521') { + point = p521PublicPoint(bytes); + } else { + const ecdh = createECDH(RAW_EC_ECDH_NAMES[crv]); + ecdh.setPrivateKey(Buffer.from(bytes)); + point = [...ecdh.getPublicKey(undefined, 'uncompressed')]; + } + } + if (point[0] === 0x04) { + const size = (point.length - 1) / 2; + const jwk = { + kty: 'EC', crv, + x: bytesToBase64Url(new Uint8Array(point.slice(1, 1 + size))), + y: bytesToBase64Url(new Uint8Array(point.slice(1 + size))), + }; + if (isPrivate) { + jwk.d = bytesToBase64Url(new Uint8Array(bytes)); + return createPrivateKeyFromData(jwk, 'jwk'); + } + return createPublicKeyFromData(jwk, 'jwk'); + } + const der = derTlv(0x30, [ + ...derTlv(0x30, [...EC_PUBLIC_KEY_OID, ...oid]), + ...derTlv(0x03, [0x00, ...bytes]), + ]); + return createPublicKeyFromData(Buffer.from(der), 'der'); + } + throw new ERR_INVALID_ARG_VALUE('key.asymmetricKeyType', keyType); +} + // ===== KeyObject ===== class KeyObject { @@ -3020,6 +3188,16 @@ class KeyObject { } export(options) { + if (options !== null && typeof options === 'object' && isRawKeyFormat(options.format)) { + return exportRawKey(this, options.format, options.type); + } + // Private encodings are never valid for a public key, including the + // derived and JWK-backed public keys exported by the custom paths. + if (this._type === 'public' && options !== null && typeof options === 'object' && + (options.format === 'pem' || options.format === 'der') && + (options.type === 'pkcs8' || options.type === 'sec1')) { + throw new ERR_INVALID_ARG_VALUE('options.type', options.type); + } if (this._customData) { const customExport = tryExportCustomKeyObject(this, options); if (customExport !== undefined) { @@ -3058,7 +3236,6 @@ class KeyObject { if (!isPublic && options.passphrase !== undefined && format !== 'pem' && format !== 'der') { throw new ERR_CRYPTO_INCOMPATIBLE_KEY_OPTIONS(format, 'does not support encryption'); } - // Raw formats keep the native path; they are not implemented, and fail there. let type_ = options.type || null; let cipher; let passphrase; @@ -3177,7 +3354,7 @@ class KeyObject { ensureAllowedCryptoKeyUsages( usages, new Set(['deriveBits', 'deriveKey']), - 'Unsupported key usage for an HKDF key', + 'Unsupported key usage for a HKDF key', ); cryptoAlgorithm = { name: 'HKDF' }; } else if (normalizedAlgorithm.upperName === 'HMAC') { @@ -5150,11 +5327,44 @@ function exportDsaCustomKeyObject(keyObject, options) { throw err; } const dsa = keyObject._customData.dsa; + if (keyObject._type === 'private' && (options.type === 'pkcs8' || options.cipher != null)) { + const der = dsaPrivateDerToPkcs8(dsa.der); + if (options.cipher != null) { + const encrypted = webCryptoNative.encrypt_pkcs8_der( + der, normalizeCipherAlgorithm(options.cipher), toBytes(options.passphrase)); + if (encrypted === null || encrypted === undefined) { + throw new Error('Failed to export encrypted key'); + } + if (format === 'pem') return encodeDerAsPem('ENCRYPTED PRIVATE KEY', new Uint8Array(encrypted)); + return toBinaryOutput(new Uint8Array(encrypted)); + } + if (format === 'pem') return encodeDerAsPem('PRIVATE KEY', der); + return toBinaryOutput(der); + } if (format === 'pem') return dsa.pem; if (format === 'der') return toBinaryOutput(dsa.der); return undefined; } +// Converts an OpenSSL traditional DSA private key (SEQUENCE of version, p, q, g, y, x) +// to PKCS#8; PKCS#8 input is returned unchanged. +function dsaPrivateDerToPkcs8(der) { + const root = readAsn1Element(der, 0); + const top = readAsn1Children(der, root.valueStart, root.valueEnd); + if (top.length !== 6 || !top.every((element) => element.tag === 0x02)) { + return der; + } + const tlv = (element) => der.slice(element.start, element.nextOffset); + return encodeAsn1Sequence([ + encodeAsn1Integer(new Uint8Array([0])), + encodeAsn1Sequence([ + encodeAsn1Oid(DSA_OID), + encodeAsn1Sequence([tlv(top[1]), tlv(top[2]), tlv(top[3])]), + ]), + encodeAsn1OctetString(tlv(top[5])), + ]); +} + const PSS_HASH_OIDS = { '1.3.14.3.2.26': 'sha1', '2.16.840.1.101.3.4.2.1': 'sha256', @@ -5820,6 +6030,9 @@ export function createPrivateKey(key) { throw new ERR_INVALID_ARG_TYPE('key.key', ['string', 'ArrayBuffer', 'Buffer', 'TypedArray', 'DataView'], innerKey); } const format = key.format || 'pem'; + if (isRawKeyFormat(format)) { + return importRawKey(key, true); + } if (format === 'der' && key.type !== undefined && key.type !== 'pkcs1' && key.type !== 'pkcs8' && key.type !== 'sec1') { // Node 26 names input encoding options after the `key` argument. throw new ERR_INVALID_ARG_VALUE('key.type', key.type); @@ -5928,6 +6141,12 @@ export function createPublicKey(key) { throw new ERR_CRYPTO_INVALID_KEY_OBJECT_TYPE(key.key.type, 'private'); } const format = key.format || 'pem'; + if (format === 'raw-private') { + return createPublicKey(importRawKey(key, true)); + } + if (isRawKeyFormat(format)) { + return importRawKey(key, false); + } const normalizedKeyData = normalizeAsymmetricKeyDataForEncoding(key.key, format, key.encoding); const normalizedPassphrase = normalizeAsymmetricPassphraseForEncoding(key.passphrase, key.encoding); return createPublicKeyFromData(normalizedKeyData, format, normalizedPassphrase); @@ -7297,6 +7516,27 @@ export function createVerify(algorithm) { return new Verify(algorithm); } +// Ed25519ctx/Ed448 context strings need OpenSSL 3.2 in Node.js; this +// runtime has no context support, so only an empty context is accepted. +function validateSignContext(options) { + if (options === null || typeof options !== 'object' || options.context === undefined) { + return; + } + if (!ArrayBuffer.isView(options.context)) { + throw new ERR_INVALID_ARG_TYPE('options.context', ['Buffer', 'TypedArray', 'DataView'], options.context); + } + if (options.context.byteLength > 255) { + const err = new RangeError('context string must be at most 255 bytes'); + err.code = 'ERR_OUT_OF_RANGE'; + throw err; + } + if (options.context.byteLength > 0) { + const err = new Error('Context parameter is unsupported'); + err.code = 'ERR_CRYPTO_OPERATION_FAILED'; + throw err; + } +} + export function sign(algorithm, data, key, callback) { const algo = algorithm !== null && algorithm !== undefined ? String(algorithm).toLowerCase() : null; if (algo !== null && !HASH_ALIASES[algo]) { @@ -7305,6 +7545,7 @@ export function sign(algorithm, data, key, callback) { throw err; } const normalizedData = toBytes(data); + validateSignContext(key); const s = new Sign(algo); s.update(normalizedData); // A missing key fails synchronously, as in Node.js. @@ -7322,10 +7563,16 @@ export function verify(algorithm, data, key, signature, callback) { v.update(normalizedData); // Match Node.js one-shot verify() validation order: signature type is - // validated before key parsing. - if (!ArrayBuffer.isView(signature)) { - throw new ERR_INVALID_ARG_TYPE('signature', ['Buffer', 'TypedArray', 'DataView'], signature); - } + // validated before key parsing. Node 26 also accepts strings (UTF-8) and + // ArrayBuffers, like getArrayBufferOrView(). + if (typeof signature === 'string') { + signature = Buffer.from(signature, 'utf8'); + } else if (isAnyArrayBuffer(signature)) { + signature = new Uint8Array(signature); + } else if (!ArrayBuffer.isView(signature)) { + throw new ERR_INVALID_ARG_TYPE('signature', ['string', 'ArrayBuffer', 'Buffer', 'TypedArray', 'DataView'], signature); + } + validateSignContext(key); if (!callback || key === null || key === undefined) { return v.verify(key, signature); diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/web_crypto.rs b/crates/wasm-rquickjs/skeleton/src/builtin/web_crypto.rs index 0e2106b1a..f5ab76660 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/web_crypto.rs +++ b/crates/wasm-rquickjs/skeleton/src/builtin/web_crypto.rs @@ -2755,68 +2755,8 @@ impl KeyData { } } - fn export_pkcs8_encrypted_pem(&self, passphrase: &[u8]) -> Option { - use pkcs8::EncodePrivateKey; - let rng = rand_core_06::OsRng; - match self { - KeyData::EcP256Private(sk) => sk - .to_pkcs8_encrypted_pem(rng, passphrase, pkcs8::LineEnding::LF) - .ok() - .map(|s| s.to_string()), - #[cfg(feature = "crypto-full")] - KeyData::EcP384Private(sk) => sk - .to_pkcs8_encrypted_pem(rng, passphrase, pkcs8::LineEnding::LF) - .ok() - .map(|s| s.to_string()), - #[cfg(feature = "crypto-full")] - KeyData::EcK256Private(sk) => sk - .to_pkcs8_encrypted_pem(rng, passphrase, pkcs8::LineEnding::LF) - .ok() - .map(|s| s.to_string()), - #[cfg(feature = "crypto-full")] - KeyData::RsaPrivate(sk) => sk - .to_pkcs8_encrypted_pem(rng, passphrase, pkcs8::LineEnding::LF) - .ok() - .map(|s| s.to_string()), - #[cfg(feature = "crypto-full")] - KeyData::DsaPrivate(sk) => sk - .to_pkcs8_encrypted_pem(rng, passphrase, pkcs8::LineEnding::LF) - .ok() - .map(|s| s.to_string()), - _ => None, - } - } - - fn export_pkcs8_encrypted_der(&self, passphrase: &[u8]) -> Option> { - use pkcs8::EncodePrivateKey; - let rng = rand_core_06::OsRng; - match self { - KeyData::EcP256Private(sk) => sk - .to_pkcs8_encrypted_der(rng, passphrase) - .ok() - .map(|d| d.as_bytes().to_vec()), - #[cfg(feature = "crypto-full")] - KeyData::EcP384Private(sk) => sk - .to_pkcs8_encrypted_der(rng, passphrase) - .ok() - .map(|d| d.as_bytes().to_vec()), - #[cfg(feature = "crypto-full")] - KeyData::EcK256Private(sk) => sk - .to_pkcs8_encrypted_der(rng, passphrase) - .ok() - .map(|d| d.as_bytes().to_vec()), - #[cfg(feature = "crypto-full")] - KeyData::RsaPrivate(sk) => sk - .to_pkcs8_encrypted_der(rng, passphrase) - .ok() - .map(|d| d.as_bytes().to_vec()), - #[cfg(feature = "crypto-full")] - KeyData::DsaPrivate(sk) => sk - .to_pkcs8_encrypted_der(rng, passphrase) - .ok() - .map(|d| d.as_bytes().to_vec()), - _ => None, - } + fn export_pkcs8_encrypted_der(&self, cipher_name: &str, passphrase: &[u8]) -> Option> { + encrypt_pkcs8_der_impl(&self.export_private_der()?, cipher_name, passphrase) } fn export_jwk(&self) -> Option { @@ -3320,6 +3260,30 @@ fn decrypt_traditional_pem(pem: &str, passphrase: &[u8]) -> Option> { Some(output) } +/// Encrypts a PKCS#8 private key like OpenSSL's `PEM_write_bio_PKCS8PrivateKey`: +/// PBES2 with PBKDF2-HMAC-SHA256 (2048 iterations) and the requested AES-CBC cipher. +fn encrypt_pkcs8_der_impl(der: &[u8], cipher_name: &str, passphrase: &[u8]) -> Option> { + use pkcs8::der::Decode; + use pkcs8::pkcs5::pbes2; + use rand_core_06::RngCore; + let info = pkcs8::PrivateKeyInfo::from_der(der).ok()?; + let mut salt = [0u8; 16]; + let mut iv = [0u8; 16]; + rand_core_06::OsRng.fill_bytes(&mut salt); + rand_core_06::OsRng.fill_bytes(&mut iv); + let kdf: pbes2::Kdf<'_> = pbes2::Pbkdf2Params::hmac_with_sha256(2048, &salt) + .ok()? + .into(); + let encryption = match cipher_name { + "aes-128-cbc" | "aes128" => pbes2::EncryptionScheme::Aes128Cbc { iv: &iv }, + "aes-192-cbc" | "aes192" => pbes2::EncryptionScheme::Aes192Cbc { iv: &iv }, + _ => pbes2::EncryptionScheme::Aes256Cbc { iv: &iv }, + }; + let params = pbes2::Parameters { kdf, encryption }; + let doc = info.encrypt_with_params(params, passphrase).ok()?; + Some(doc.as_bytes().to_vec()) +} + fn key_export_encrypted_impl( id: u32, format: &str, @@ -3330,9 +3294,14 @@ fn key_export_encrypted_impl( let store = KEY_STORE.lock().unwrap(); let key = store.get(&id)?; match (format, type_) { - ("pem", "pkcs8") => key - .export_pkcs8_encrypted_pem(passphrase) - .map(|s| s.into_bytes()), + ("pem", "pkcs8") => { + let der = key.export_pkcs8_encrypted_der(cipher_name, passphrase)?; + pkcs8::der::Document::try_from(der) + .ok()? + .to_pem("ENCRYPTED PRIVATE KEY", pkcs8::LineEnding::LF) + .ok() + .map(String::into_bytes) + } ("pem", "pkcs1") => { let der = key.export_pkcs1_private_der()?; let encrypted_pem = @@ -3345,7 +3314,7 @@ fn key_export_encrypted_impl( encrypt_traditional_pem(&der, cipher_name, passphrase, "EC PRIVATE KEY")?; Some(encrypted_pem.into_bytes()) } - ("der", "pkcs8") => key.export_pkcs8_encrypted_der(passphrase), + ("der", "pkcs8") => key.export_pkcs8_encrypted_der(cipher_name, passphrase), _ => None, } } @@ -5813,6 +5782,23 @@ pub mod native_module { super::create_private_key_from_encrypted_pem(&pem, slice) } + #[rquickjs::function] + pub fn encrypt_pkcs8_der( + der: TypedArray<'_, u8>, + cipher_name: String, + passphrase: TypedArray<'_, u8>, + ) -> Option> { + let der = der + .as_raw() + .map(|raw| unsafe { std::slice::from_raw_parts(raw.cast::().as_ptr(), raw.len()) }) + .unwrap_or(&[]); + let passphrase = passphrase + .as_raw() + .map(|raw| unsafe { std::slice::from_raw_parts(raw.cast::().as_ptr(), raw.len()) }) + .unwrap_or(&[]); + super::encrypt_pkcs8_der_impl(der, &cipher_name, passphrase) + } + #[rquickjs::function] pub fn decrypt_pkcs8_pem_to_der( pem: String, From 3f0086c1e730fcf6edc72e0e2afafd1dbcfd5204 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 23 Nov 2026 15:47:10 +0000 Subject: [PATCH 29/55] Port Node 26 util inspect, styleText and path behavior [skip ci] --- .../skeleton/src/builtin/internal/util.js | 56 +- .../src/builtin/internal/util/inspect.js | 85 +- .../src/builtin/internal/util/types.js | 13 +- .../skeleton/src/builtin/path.js | 980 +++++++++++++----- .../skeleton/src/builtin/util.js | 194 ++-- 5 files changed, 934 insertions(+), 394 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/internal/util.js b/crates/wasm-rquickjs/skeleton/src/builtin/internal/util.js index 16f7f2526..175c09a26 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/internal/util.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/internal/util.js @@ -86,7 +86,7 @@ export function emitExperimentalWarning(feature) { // Mark that a method should not be used. // Returns a modified function which warns once by default. // If --no-deprecation is set, then it is a no-op. -export function deprecate(fn, msg, code) { +export function deprecate(fn, msg, code, useEmitSync, modifyPrototype = true) { // TODO(kt3k): Uncomment this // if (process.noDeprecation === true) { // return fn; @@ -115,18 +115,57 @@ export function deprecate(fn, msg, code) { return Reflect.apply(fn, this, args); } - // The wrapper will keep the same prototype as fn to maintain prototype chain - Object.setPrototypeOf(deprecated, fn); - if (fn.prototype) { - // Setting this (rather than using Object.setPrototype, as above) ensures - // that calling the unwrapped constructor gives an instanceof the wrapped - // constructor. - deprecated.prototype = fn.prototype; + if (modifyPrototype) { + // The wrapper will keep the same prototype as fn to maintain prototype chain + Object.setPrototypeOf(deprecated, fn); + if (fn.prototype) { + // Setting this (rather than using Object.setPrototype, as above) ensures + // that calling the unwrapped constructor gives an instanceof the wrapped + // constructor. + deprecated.prototype = fn.prototype; + } + + Object.defineProperty(deprecated, 'length', { + __proto__: null, + ...Object.getOwnPropertyDescriptor(fn, 'length'), + }); } return deprecated; } +function isPendingDeprecation() { + const execArgv = globalThis.process?.execArgv; + return (Array.isArray(execArgv) && execArgv.includes('--pending-deprecation')) || + globalThis.process?.env?.NODE_PENDING_DEPRECATION === '1'; +} + +// Like deprecate(), but warns only with --pending-deprecation. +export function pendingDeprecate(fn, msg, code) { + let warned = false; + function deprecated(...args) { + if (!warned && isPendingDeprecation()) { + warned = true; + if (code !== undefined) { + if (!codesWarned.has(code)) { + process.emitWarning(msg, "DeprecationWarning", code, deprecated); + codesWarned.add(code); + } + } else { + process.emitWarning(msg, "DeprecationWarning", deprecated); + } + } + return Reflect.apply(fn, this, args); + } + + Object.defineProperty(deprecated, 'length', { + __proto__: null, + ...Object.getOwnPropertyDescriptor(fn, 'length'), + }); + + return deprecated; +} + // In addition to being accessible through util.promisify.custom, // this symbol is registered globally and can be accessed in any environment as // Symbol.for('nodejs.util.promisify.custom'). @@ -252,6 +291,7 @@ export default { sleep, once, deprecate, + pendingDeprecate, emitExperimentalWarning, promisify, removeColors, diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/internal/util/inspect.js b/crates/wasm-rquickjs/skeleton/src/builtin/internal/util/inspect.js index 3c0c4e006..54a4dddcb 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/internal/util/inspect.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/internal/util/inspect.js @@ -660,14 +660,11 @@ function formatRaw(ctx, value, recurseTimes, typedArray) { protoProps = undefined; } - let tag; + let tag = ""; try { tag = value[Symbol.toStringTag]; - } catch (err) { - if (err?.name === "TypeError" && err.message === "circular reference") { - err.message = "Converting circular structure to JSON"; - } - throw err; + } catch { + // Node 26 ignores a throwing Symbol.toStringTag getter. } // Only list the tag in case it's non-enumerable / not an own property. // Otherwise we'd print this twice. @@ -697,6 +694,7 @@ function formatRaw(ctx, value, recurseTimes, typedArray) { const filter = ctx.showHidden ? ALL_PROPERTIES : ONLY_ENUMERABLE; let extrasType = kObjectType; + let extraKeys; // Iterators and the rest are split to reduce checks. // We have to check all values in case the constructor is set to null. @@ -891,14 +889,14 @@ function formatRaw(ctx, value, recurseTimes, typedArray) { (formatter) = formatArrayBuffer; } else if (keys.length === 0 && protoProps === undefined) { return prefix + - `{ byteLength: ${formatNumber(ctx.stylize, value.byteLength, ctx.numericSeparator)} }`; + `{ [byteLength]: ${formatNumber(ctx.stylize, value.byteLength, ctx.numericSeparator)} }`; } braces[0] = `${prefix}{`; - Array.prototype.unshift.call(keys, "byteLength"); + extraKeys = ["byteLength"]; } else if (types.isDataView(value) || (constructor === null && nullProtoConstructor === "DataView")) { braces[0] = `${getPrefix(constructor, tag, "DataView")}{`; // .buffer goes last, it's not a primitive like the others. - Array.prototype.unshift.call(keys, "byteLength", "byteOffset", "buffer"); + extraKeys = ["byteLength", "byteOffset", "buffer"]; } else if ( types.isPromise(value) || (constructor === null && (nullProtoConstructor === "Promise" || isNullProtoPromise(value))) @@ -977,6 +975,18 @@ function formatRaw(ctx, value, recurseTimes, typedArray) { const indentationLvl = ctx.indentationLvl; try { output = formatter(ctx, value, recurseTimes); + if (extraKeys !== undefined) { + for (i = 0; i < extraKeys.length; i++) { + let formatted; + try { + formatted = formatExtraProperties(ctx, value, recurseTimes, extraKeys[i], typedArray); + } catch { + const tempValue = { [extraKeys[i]]: value.buffer[extraKeys[i]] }; + formatted = formatExtraProperties(ctx, tempValue, recurseTimes, extraKeys[i], typedArray); + } + output.push(formatted); + } + } for (i = 0; i < keys.length; i++) { output.push( formatProperty(ctx, value, recurseTimes, keys[i], extrasType), @@ -1629,13 +1639,14 @@ function formatError( if (typeof stackValue === "string") { stack = stackValue; } else { + // Node 26 prints a non-string stack below the error's own summary line. const stackCtx = { ...ctx, compact: false, - indentationLvl: 0, - seen: [], + indentationLvl: ctx.indentationLvl + 4, + seen: [...ctx.seen, err], }; - stack = formatValue(stackCtx, stackValue, 0); + stack = `${Error.prototype.toString.call(err)}\n ${formatValue(stackCtx, stackValue, 0)}`; } } else { stack = Error.prototype.toString.call(err); @@ -2048,6 +2059,17 @@ function formatWeakMap(ctx, value, recurseTimes) { return formatMapIterInner(ctx, recurseTimes, entries, kWeak); } +function formatExtraProperties(ctx, value, recurseTimes, key, typedArray) { + // Read the value before indenting: the getter throws for a detached + // DataView, and formatRaw() then retries with a fallback value. + const extraValue = value[key]; + ctx.indentationLvl += 2; + const str = formatValue(ctx, extraValue, recurseTimes, typedArray); + ctx.indentationLvl -= 2; + const name = ctx.stylize(`[${key}]`, "string"); + return `${name}: ${str}`; +} + function formatProperty( ctx, value, @@ -2083,26 +2105,22 @@ function formatProperty( (ctx.getters === "get" && desc.set === undefined) || (ctx.getters === "set" && desc.set !== undefined)) ) { + ctx.indentationLvl += 2; try { const tmp = desc.get.call(original); - ctx.indentationLvl += 2; if (tmp === null) { str = `${s(`[${label}:`, sp)} ${s("null", "null")}${s("]", sp)}`; - } else if (typeof tmp === "object") { + } else if (typeof tmp === "object" || typeof tmp === "function") { str = `${s(`[${label}]`, sp)} ${formatValue(ctx, tmp, recurseTimes)}`; } else { const primitive = formatPrimitive(s, tmp, ctx); str = `${s(`[${label}:`, sp)} ${primitive}${s("]", sp)}`; } - ctx.indentationLvl -= 2; } catch (err) { - let errMessage = err?.message; - if (err?.name === "TypeError" && errMessage === "not a symbol") { - errMessage = "Symbol.prototype.toString requires that 'this' be a Symbol"; - } - const message = ``; + const message = ``; str = `${s(`[${label}:`, sp)} ${message}${s("]", sp)}`; } + ctx.indentationLvl -= 2; } else { str = ctx.stylize(`[${label}]`, sp); } @@ -2116,20 +2134,16 @@ function formatProperty( } if (typeof key === "symbol") { const tmp = key.toString().replace(strEscapeSequencesReplacer, escapeFn); - - name = `[${ctx.stylize(tmp, "symbol")}]`; - } else if (key === "__proto__") { - name = "['__proto__']"; - } else if (desc.enumerable === false) { - const tmp = key.replace(strEscapeSequencesReplacer, escapeFn); - - name = `[${tmp}]`; + name = ctx.stylize(tmp, "symbol"); } else if (keyStrRegExp.test(key)) { - name = ctx.stylize(key, "name"); + name = key === "__proto__" ? "['__proto__']" : ctx.stylize(key, "name"); } else { name = ctx.stylize(strEscape(key), "string"); } + if (desc.enumerable === false) { + name = `[${name}]`; + } return `${name}:${extra}${str}`; } @@ -2718,11 +2732,14 @@ function formatSetIterInner( // Adopted from https://github.com/chalk/ansi-regex/blob/HEAD/index.js // License: MIT, authors: @sindresorhus, Qix-, arjunmehta and LitoMore // Matches all ansi escape code sequences in a string -const ansiPattern = "[\\u001B\\u009B][[\\]()#;?]*" + - "(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*" + - "|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))" + - "|(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"; -const ansi = new RegExp(ansiPattern, "g"); +// Node 26 lib/internal/util/inspect.js: OSC sequences (such as hyperlinks) end at BEL, +// ESC \\ or ST; CSI parameters may also be separated by colons. +const ansi = new RegExp( + '(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))' + + '|[\\u001B\\u009B][[\\]()#;?]*' + + '(?:\\d{1,4}(?:[;:]\\d{0,4})*)?' + + '[\\dA-PR-TZcf-nq-uy=><~]', 'g', +); /** * Returns the number of columns required to display the given string. diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/internal/util/types.js b/crates/wasm-rquickjs/skeleton/src/builtin/internal/util/types.js index de81a42b5..f1051aa90 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/internal/util/types.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/internal/util/types.js @@ -21,7 +21,18 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. -const _toString = Object.prototype.toString; +const _objectToString = Object.prototype.toString; +// These brand checks read Symbol.toStringTag, which V8's native checks never do, +// so a throwing user getter must not escape them. +const _toString = { + call(value) { + try { + return _objectToString.call(value); + } catch { + return ""; + } + }, +}; const _getPrototypeOf = Object.getPrototypeOf; const _isObjectLike = (value) => diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/path.js b/crates/wasm-rquickjs/skeleton/src/builtin/path.js index 027618f51..30708efd6 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/path.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/path.js @@ -1,9 +1,25 @@ -// node:path implementation — pure JavaScript port of Node.js v22.14.0 lib/path.js +// node:path implementation — JavaScript port of Node.js v26.13.1 lib/path.js // Provides both POSIX and win32 path utilities. import { validateString, validateObject } from '__wasm_rquickjs_builtin/internal/validators'; -// Character code constants +const uncurryThis = (fn) => (self, ...args) => Reflect.apply(fn, self, args); +const ArrayPrototypeIncludes = uncurryThis(Array.prototype.includes); +const ArrayPrototypeJoin = uncurryThis(Array.prototype.join); +const ArrayPrototypePush = uncurryThis(Array.prototype.push); +const ArrayPrototypeSlice = uncurryThis(Array.prototype.slice); +const StringPrototypeCharCodeAt = uncurryThis(String.prototype.charCodeAt); +const StringPrototypeIncludes = uncurryThis(String.prototype.includes); +const StringPrototypeIndexOf = uncurryThis(String.prototype.indexOf); +const StringPrototypeLastIndexOf = uncurryThis(String.prototype.lastIndexOf); +const StringPrototypeRepeat = uncurryThis(String.prototype.repeat); +const StringPrototypeReplace = uncurryThis(String.prototype.replace); +const StringPrototypeSlice = uncurryThis(String.prototype.slice); +const StringPrototypeSplit = uncurryThis(String.prototype.split); +const StringPrototypeToLowerCase = uncurryThis(String.prototype.toLowerCase); +const StringPrototypeToUpperCase = uncurryThis(String.prototype.toUpperCase); +const FunctionPrototypeBind = uncurryThis(Function.prototype.bind); + const CHAR_UPPERCASE_A = 65; const CHAR_LOWERCASE_A = 97; const CHAR_UPPERCASE_Z = 90; @@ -13,6 +29,70 @@ const CHAR_FORWARD_SLASH = 47; const CHAR_BACKWARD_SLASH = 92; const CHAR_COLON = 58; const CHAR_QUESTION_MARK = 63; +// The component is a POSIX host. +const isWindows = false; + +function _matchesGlob(path, pattern, isWindows) { + validateString(path, 'path'); + validateString(pattern, 'pattern'); + + if (isWindows) { + path = path.replace(/\\/g, '/'); + pattern = pattern.replace(/\\/g, '/'); + } + + // Build regex from glob pattern, preserving [...] character classes + let regexStr = ''; + let i = 0; + while (i < pattern.length) { + const c = pattern[i]; + if (c === '[') { + // Find closing bracket — pass through as regex character class + const start = i; + i++; + // Handle negation: [!...] -> [^...] + if (i < pattern.length && pattern[i] === '!') { + regexStr += '[^'; + i++; + } else { + regexStr += '['; + } + while (i < pattern.length && pattern[i] !== ']') { + regexStr += pattern[i]; + i++; + } + if (i < pattern.length) { + regexStr += ']'; + i++; + } + } else if (c === '*') { + if (i + 1 < pattern.length && pattern[i + 1] === '*') { + // ** matches everything including / + regexStr += '.*'; + i += 2; + // skip trailing separator after ** + if (i < pattern.length && pattern[i] === '/') { + i++; + } + } else { + regexStr += '[^/]*'; + i++; + } + } else if (c === '?') { + regexStr += '[^/]'; + i++; + } else if ('.+^${}()|\\'.indexOf(c) !== -1) { + regexStr += '\\' + c; + i++; + } else { + regexStr += c; + i++; + } + } + + const regex = new RegExp(`^${regexStr}$`); + return regex.test(path); +} function isPathSeparator(code) { return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH; @@ -22,11 +102,25 @@ function isPosixPathSeparator(code) { return code === CHAR_FORWARD_SLASH; } +const WINDOWS_RESERVED_NAMES = [ + 'CON', 'PRN', 'AUX', 'NUL', + 'COM1', 'COM2', 'COM3', 'COM4', 'COM5', 'COM6', 'COM7', 'COM8', 'COM9', + 'LPT1', 'LPT2', 'LPT3', 'LPT4', 'LPT5', 'LPT6', 'LPT7', 'LPT8', 'LPT9', + 'COM\xb9', 'COM\xb2', 'COM\xb3', + 'LPT\xb9', 'LPT\xb2', 'LPT\xb3', +]; + +function isWindowsReservedName(path, colonIndex) { + const devicePart = StringPrototypeToUpperCase(StringPrototypeSlice(path, 0, colonIndex)); + return ArrayPrototypeIncludes(WINDOWS_RESERVED_NAMES, devicePart); +} + function isWindowsDeviceRoot(code) { return (code >= CHAR_UPPERCASE_A && code <= CHAR_UPPERCASE_Z) || (code >= CHAR_LOWERCASE_A && code <= CHAR_LOWERCASE_Z); } +// Resolves . and .. elements in a path with directory names function normalizeString(path, allowAboveRoot, separator, isPathSeparator) { let res = ''; let lastSegmentLength = 0; @@ -35,7 +129,7 @@ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) { let code = 0; for (let i = 0; i <= path.length; ++i) { if (i < path.length) - code = path.charCodeAt(i); + code = StringPrototypeCharCodeAt(path, i); else if (isPathSeparator(code)) break; else @@ -46,17 +140,17 @@ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) { // NOOP } else if (dots === 2) { if (res.length < 2 || lastSegmentLength !== 2 || - res.charCodeAt(res.length - 1) !== CHAR_DOT || - res.charCodeAt(res.length - 2) !== CHAR_DOT) { + StringPrototypeCharCodeAt(res, res.length - 1) !== CHAR_DOT || + StringPrototypeCharCodeAt(res, res.length - 2) !== CHAR_DOT) { if (res.length > 2) { - const lastSlashIndex = res.lastIndexOf(separator); + const lastSlashIndex = res.length - lastSegmentLength - 1; if (lastSlashIndex === -1) { res = ''; lastSegmentLength = 0; } else { - res = res.slice(0, lastSlashIndex); + res = StringPrototypeSlice(res, 0, lastSlashIndex); lastSegmentLength = - res.length - 1 - res.lastIndexOf(separator); + res.length - 1 - StringPrototypeLastIndexOf(res, separator); } lastSlash = i; dots = 0; @@ -75,9 +169,9 @@ function normalizeString(path, allowAboveRoot, separator, isPathSeparator) { } } else { if (res.length > 0) - res += `${separator}${path.slice(lastSlash + 1, i)}`; + res += `${separator}${StringPrototypeSlice(path, lastSlash + 1, i)}`; else - res = path.slice(lastSlash + 1, i); + res = StringPrototypeSlice(path, lastSlash + 1, i); lastSegmentLength = i - lastSlash - 1; } lastSlash = i; @@ -95,6 +189,17 @@ function formatExt(ext) { return ext ? `${ext[0] === '.' ? '' : '.'}${ext}` : ''; } +/** + * @param {string} sep + * @param {{ + * dir?: string; + * root?: string; + * base?: string; + * name?: string; + * ext?: string; + * }} pathObject + * @returns {string} + */ function _format(sep, pathObject) { validateObject(pathObject, 'pathObject'); const dir = pathObject.dir || pathObject.root; @@ -106,71 +211,14 @@ function _format(sep, pathObject) { return dir === pathObject.root ? `${dir}${base}` : `${dir}${sep}${base}`; } -function _matchesGlob(path, pattern, isWindows) { - validateString(path, 'path'); - validateString(pattern, 'pattern'); - - if (isWindows) { - path = path.replace(/\\/g, '/'); - pattern = pattern.replace(/\\/g, '/'); - } - - // Build regex from glob pattern, preserving [...] character classes - let regexStr = ''; - let i = 0; - while (i < pattern.length) { - const c = pattern[i]; - if (c === '[') { - // Find closing bracket — pass through as regex character class - const start = i; - i++; - // Handle negation: [!...] -> [^...] - if (i < pattern.length && pattern[i] === '!') { - regexStr += '[^'; - i++; - } else { - regexStr += '['; - } - while (i < pattern.length && pattern[i] !== ']') { - regexStr += pattern[i]; - i++; - } - if (i < pattern.length) { - regexStr += ']'; - i++; - } - } else if (c === '*') { - if (i + 1 < pattern.length && pattern[i + 1] === '*') { - // ** matches everything including / - regexStr += '.*'; - i += 2; - // skip trailing separator after ** - if (i < pattern.length && pattern[i] === '/') { - i++; - } - } else { - regexStr += '[^/]*'; - i++; - } - } else if (c === '?') { - regexStr += '[^/]'; - i++; - } else if ('.+^${}()|\\'.indexOf(c) !== -1) { - regexStr += '\\' + c; - i++; - } else { - regexStr += c; - i++; - } - } - - const regex = new RegExp(`^${regexStr}$`); - return regex.test(path); -} - -// ======================== win32 ======================== +const forwardSlashRegExp = /\//g; const win32 = { + /** + * path.resolve([from ...], to) + * @param {...string} args + * @returns {string} + */ resolve(...args) { let resolvedDevice = ''; let resolvedTail = ''; @@ -181,17 +229,35 @@ const win32 = { if (i >= 0) { path = args[i]; validateString(path, `paths[${i}]`); + + // Skip empty entries if (path.length === 0) { continue; } } else if (resolvedDevice.length === 0) { path = process.cwd(); + // Fast path for current directory + if (args.length === 0 || ((args.length === 1 && (args[0] === '' || args[0] === '.')) && + isPathSeparator(StringPrototypeCharCodeAt(path, 0)))) { + if (!isWindows) { + path = StringPrototypeReplace(path, forwardSlashRegExp, '\\'); + } + return path; + } } else { - path = process.cwd(); + // Windows has the concept of drive-specific current working + // directories. If we've resolved a drive letter but not yet an + // absolute path, get cwd for that drive, or the process cwd if + // the drive cwd is not available. We're sure the device is not + // a UNC path at this points, because UNC paths are always absolute. + path = process.env[`=${resolvedDevice}`] || process.cwd(); + + // Verify that a cwd was found and that it actually points + // to our drive. If not, default to the drive's root. if (path === undefined || - (path.slice(0, 2).toLowerCase() !== - resolvedDevice.toLowerCase() && - path.charCodeAt(2) === CHAR_BACKWARD_SLASH)) { + (StringPrototypeToLowerCase(StringPrototypeSlice(path, 0, 2)) !== + StringPrototypeToLowerCase(resolvedDevice) && + StringPrototypeCharCodeAt(path, 2) === CHAR_BACKWARD_SLASH)) { path = `${resolvedDevice}\\`; } } @@ -200,36 +266,59 @@ const win32 = { let rootEnd = 0; let device = ''; let isAbsolute = false; - const code = path.charCodeAt(0); + const code = StringPrototypeCharCodeAt(path, 0); + // Try to match a root if (len === 1) { if (isPathSeparator(code)) { + // `path` contains just a path separator rootEnd = 1; isAbsolute = true; } } else if (isPathSeparator(code)) { + // Possible UNC root + + // If we started with a separator, we know we at least have an + // absolute path of some kind (UNC or otherwise) isAbsolute = true; - if (isPathSeparator(path.charCodeAt(1))) { + if (isPathSeparator(StringPrototypeCharCodeAt(path, 1))) { + // Matched double path separator at beginning let j = 2; let last = j; - while (j < len && !isPathSeparator(path.charCodeAt(j))) { + // Match 1 or more non-path separators + while (j < len && + !isPathSeparator(StringPrototypeCharCodeAt(path, j))) { j++; } if (j < len && j !== last) { - const firstPart = path.slice(last, j); + const firstPart = StringPrototypeSlice(path, last, j); + // Matched! last = j; - while (j < len && isPathSeparator(path.charCodeAt(j))) { + // Match 1 or more path separators + while (j < len && + isPathSeparator(StringPrototypeCharCodeAt(path, j))) { j++; } if (j < len && j !== last) { + // Matched! last = j; - while (j < len && !isPathSeparator(path.charCodeAt(j))) { + // Match 1 or more non-path separators + while (j < len && + !isPathSeparator(StringPrototypeCharCodeAt(path, j))) { j++; } if (j === len || j !== last) { - device = `\\\\${firstPart}\\${path.slice(last, j)}`; - rootEnd = j; + if (firstPart !== '.' && firstPart !== '?') { + // We matched a UNC root + device = + `\\\\${firstPart}\\${StringPrototypeSlice(path, last, j)}`; + rootEnd = j; + } else { + // We matched a device root (e.g. \\\\.\\PHYSICALDRIVE0) + device = `\\\\${firstPart}`; + rootEnd = 4; + } } } } @@ -237,10 +326,13 @@ const win32 = { rootEnd = 1; } } else if (isWindowsDeviceRoot(code) && - path.charCodeAt(1) === CHAR_COLON) { - device = path.slice(0, 2); + StringPrototypeCharCodeAt(path, 1) === CHAR_COLON) { + // Possible device root + device = StringPrototypeSlice(path, 0, 2); rootEnd = 2; - if (len > 2 && isPathSeparator(path.charCodeAt(2))) { + if (len > 2 && isPathSeparator(StringPrototypeCharCodeAt(path, 2))) { + // Treat separator following drive name as an absolute path + // indicator isAbsolute = true; rootEnd = 3; } @@ -248,7 +340,9 @@ const win32 = { if (device.length > 0) { if (resolvedDevice.length > 0) { - if (device.toLowerCase() !== resolvedDevice.toLowerCase()) + if (StringPrototypeToLowerCase(device) !== + StringPrototypeToLowerCase(resolvedDevice)) + // This path points to another device so it is not applicable continue; } else { resolvedDevice = device; @@ -259,7 +353,8 @@ const win32 = { if (resolvedDevice.length > 0) break; } else { - resolvedTail = `${path.slice(rootEnd)}\\${resolvedTail}`; + resolvedTail = + `${StringPrototypeSlice(path, rootEnd)}\\${resolvedTail}`; resolvedAbsolute = isAbsolute; if (isAbsolute && resolvedDevice.length > 0) { break; @@ -267,6 +362,11 @@ const win32 = { } } + // At this point the path should be resolved to a full absolute path, + // but handle relative paths to be safe (might happen when process.cwd() + // fails) + + // Normalize the tail path resolvedTail = normalizeString(resolvedTail, !resolvedAbsolute, '\\', isPathSeparator); @@ -275,6 +375,10 @@ const win32 = { `${resolvedDevice}${resolvedTail}` || '.'; }, + /** + * @param {string} path + * @returns {string} + */ normalize(path) { validateString(path, 'path'); const len = path.length; @@ -283,73 +387,124 @@ const win32 = { let rootEnd = 0; let device; let isAbsolute = false; - const code = path.charCodeAt(0); + const code = StringPrototypeCharCodeAt(path, 0); + // Try to match a root if (len === 1) { + // `path` contains just a single char, exit early to avoid + // unnecessary work return isPosixPathSeparator(code) ? '\\' : path; } if (isPathSeparator(code)) { + // Possible UNC root + + // If we started with a separator, we know we at least have an absolute + // path of some kind (UNC or otherwise) isAbsolute = true; - if (isPathSeparator(path.charCodeAt(1))) { + if (isPathSeparator(StringPrototypeCharCodeAt(path, 1))) { + // Matched double path separator at beginning let j = 2; let last = j; - while (j < len && !isPathSeparator(path.charCodeAt(j))) { + // Match 1 or more non-path separators + while (j < len && + !isPathSeparator(StringPrototypeCharCodeAt(path, j))) { j++; } if (j < len && j !== last) { - const firstPart = path.slice(last, j); + const firstPart = StringPrototypeSlice(path, last, j); + // Matched! last = j; - while (j < len && isPathSeparator(path.charCodeAt(j))) { + // Match 1 or more path separators + while (j < len && + isPathSeparator(StringPrototypeCharCodeAt(path, j))) { j++; } if (j < len && j !== last) { + // Matched! last = j; - while (j < len && !isPathSeparator(path.charCodeAt(j))) { + // Match 1 or more non-path separators + while (j < len && + !isPathSeparator(StringPrototypeCharCodeAt(path, j))) { j++; } - if (j === len) { - return `\\\\${firstPart}\\${path.slice(last)}\\`; - } - if (j !== last) { - device = `\\\\${firstPart}\\${path.slice(last, j)}`; - rootEnd = j; + if (j === len || j !== last) { + if (firstPart === '.' || firstPart === '?') { + // We matched a device root (e.g. \\\\.\\PHYSICALDRIVE0) + device = `\\\\${firstPart}`; + rootEnd = 4; + const colonIndex = StringPrototypeIndexOf(path, ':'); + // Special case: handle \\?\COM1: or similar reserved device paths + const possibleDevice = StringPrototypeSlice(path, 4, colonIndex + 1); + if (isWindowsReservedName(possibleDevice, possibleDevice.length - 1)) { + device = `\\\\?\\${possibleDevice}`; + rootEnd = 4 + possibleDevice.length; + } + } else if (j === len) { + // We matched a UNC root only + // Return the normalized version of the UNC root since there + // is nothing left to process + return `\\\\${firstPart}\\${StringPrototypeSlice(path, last)}\\`; + } else { + // We matched a UNC root with leftovers + device = + `\\\\${firstPart}\\${StringPrototypeSlice(path, last, j)}`; + rootEnd = j; + } } } } } else { rootEnd = 1; } - } else if (isWindowsDeviceRoot(code) && - path.charCodeAt(1) === CHAR_COLON) { - device = path.slice(0, 2); - rootEnd = 2; - if (len > 2 && isPathSeparator(path.charCodeAt(2))) { - isAbsolute = true; - rootEnd = 3; + } else { + const colonIndex = StringPrototypeIndexOf(path, ':'); + if (colonIndex > 0) { + if (isWindowsDeviceRoot(code) && colonIndex === 1) { + device = StringPrototypeSlice(path, 0, 2); + rootEnd = 2; + if (len > 2 && isPathSeparator(StringPrototypeCharCodeAt(path, 2))) { + isAbsolute = true; + rootEnd = 3; + } + } else if (isWindowsReservedName(path, colonIndex)) { + device = StringPrototypeSlice(path, 0, colonIndex + 1); + rootEnd = colonIndex + 1; + + } } } let tail = rootEnd < len ? - normalizeString(path.slice(rootEnd), !isAbsolute, '\\', isPathSeparator) : + normalizeString(StringPrototypeSlice(path, rootEnd), + !isAbsolute, '\\', isPathSeparator) : ''; if (tail.length === 0 && !isAbsolute) tail = '.'; if (tail.length > 0 && - isPathSeparator(path.charCodeAt(len - 1))) + isPathSeparator(StringPrototypeCharCodeAt(path, len - 1))) tail += '\\'; - if (!isAbsolute && device === undefined && path.includes(':')) { + if (!isAbsolute && device === undefined && StringPrototypeIncludes(path, ':')) { + // If the original path was not absolute and if we have not been able to + // resolve it relative to a particular device, we need to ensure that the + // `tail` has not become something that Windows might interpret as an + // absolute path. See CVE-2024-36139. if (tail.length >= 2 && - isWindowsDeviceRoot(tail.charCodeAt(0)) && - tail.charCodeAt(1) === CHAR_COLON) { + isWindowsDeviceRoot(StringPrototypeCharCodeAt(tail, 0)) && + StringPrototypeCharCodeAt(tail, 1) === CHAR_COLON) { return `.\\${tail}`; } - let index = path.indexOf(':'); + let index = StringPrototypeIndexOf(path, ':'); + do { - if (index === len - 1 || isPathSeparator(path.charCodeAt(index + 1))) { + if (index === len - 1 || isPathSeparator(StringPrototypeCharCodeAt(path, index + 1))) { return `.\\${tail}`; } - } while ((index = path.indexOf(':', index + 1)) !== -1); + } while ((index = StringPrototypeIndexOf(path, ':', index + 1)) !== -1); + } + const colonIndex = StringPrototypeIndexOf(path, ':'); + if (isWindowsReservedName(path, colonIndex)) { + return `.\\${device ?? ''}${tail}`; } if (device === undefined) { return isAbsolute ? `\\${tail}` : tail; @@ -357,69 +512,133 @@ const win32 = { return isAbsolute ? `${device}\\${tail}` : `${device}${tail}`; }, + /** + * @param {string} path + * @returns {boolean} + */ isAbsolute(path) { validateString(path, 'path'); const len = path.length; if (len === 0) return false; - const code = path.charCodeAt(0); + const code = StringPrototypeCharCodeAt(path, 0); return isPathSeparator(code) || + // Possible device root (len > 2 && isWindowsDeviceRoot(code) && - path.charCodeAt(1) === CHAR_COLON && - isPathSeparator(path.charCodeAt(2))); + StringPrototypeCharCodeAt(path, 1) === CHAR_COLON && + isPathSeparator(StringPrototypeCharCodeAt(path, 2))); }, + /** + * @param {...string} args + * @returns {string} + */ join(...args) { if (args.length === 0) return '.'; - let joined; - let firstPart; + const path = []; for (let i = 0; i < args.length; ++i) { const arg = args[i]; validateString(arg, 'path'); if (arg.length > 0) { - if (joined === undefined) - joined = firstPart = arg; - else - joined += `\\${arg}`; + ArrayPrototypePush(path, arg); } } - if (joined === undefined) + if (path.length === 0) return '.'; + const firstPart = path[0]; + let joined = ArrayPrototypeJoin(path, '\\'); + + // Make sure that the joined path doesn't start with two slashes, because + // normalize() will mistake it for a UNC path then. + // + // This step is skipped when it is very clear that the user actually + // intended to point at a UNC path. This is assumed when the first + // non-empty string arguments starts with exactly two slashes followed by + // at least one more non-slash character. + // + // Note that for normalize() to treat a path as a UNC path it needs to + // have at least 2 components, so we don't filter for that here. + // This means that the user can use join to construct UNC paths from + // a server name and a share name; for example: + // path.join('//server', 'share') -> '\\\\server\\share\\') let needsReplace = true; let slashCount = 0; - if (isPathSeparator(firstPart.charCodeAt(0))) { + if (isPathSeparator(StringPrototypeCharCodeAt(firstPart, 0))) { ++slashCount; const firstLen = firstPart.length; if (firstLen > 1 && - isPathSeparator(firstPart.charCodeAt(1))) { + isPathSeparator(StringPrototypeCharCodeAt(firstPart, 1))) { ++slashCount; if (firstLen > 2) { - if (isPathSeparator(firstPart.charCodeAt(2))) + if (isPathSeparator(StringPrototypeCharCodeAt(firstPart, 2))) ++slashCount; else { + // We matched a UNC path in the first part needsReplace = false; } } } } if (needsReplace) { + // Find any more consecutive slashes we need to replace while (slashCount < joined.length && - isPathSeparator(joined.charCodeAt(slashCount))) { + isPathSeparator(StringPrototypeCharCodeAt(joined, slashCount))) { slashCount++; } + + // Replace the slashes if needed if (slashCount >= 2) - joined = `\\${joined.slice(slashCount)}`; + joined = `\\${StringPrototypeSlice(joined, slashCount)}`; + } + + // Skip normalization when reserved device names are present + const parts = []; + let part = ''; + + for (let i = 0; i < joined.length; i++) { + if (joined[i] === '\\') { + if (part) parts.push(part); + part = ''; + // Skip consecutive backslashes + while (i + 1 < joined.length && joined[i + 1] === '\\') i++; + } else { + part += joined[i]; + } + } + // Add the final part if any + if (part) parts.push(part); + + // Check if any part has a Windows reserved name + if (parts.some((p) => { + const colonIndex = StringPrototypeIndexOf(p, ':'); + return colonIndex !== -1 && isWindowsReservedName(p, colonIndex); + })) { + // Replace forward slashes with backslashes + let result = ''; + for (let i = 0; i < joined.length; i++) { + result += joined[i] === '/' ? '\\' : joined[i]; + } + return result; } return win32.normalize(joined); }, + /** + * It will solve the relative path from `from` to `to`, for instance + * from = 'C:\\orandea\\test\\aaa' + * to = 'C:\\orandea\\impl\\bbb' + * The output of the function should be: '..\\..\\impl\\bbb' + * @param {string} from + * @param {string} to + * @returns {string} + */ relative(from, to) { validateString(from, 'from'); validateString(to, 'to'); @@ -433,15 +652,15 @@ const win32 = { if (fromOrig === toOrig) return ''; - from = fromOrig.toLowerCase(); - to = toOrig.toLowerCase(); + from = StringPrototypeToLowerCase(fromOrig); + to = StringPrototypeToLowerCase(toOrig); if (from === to) return ''; if (fromOrig.length !== from.length || toOrig.length !== to.length) { - const fromSplit = fromOrig.split('\\'); - const toSplit = toOrig.split('\\'); + const fromSplit = StringPrototypeSplit(fromOrig, '\\'); + const toSplit = StringPrototypeSplit(toOrig, '\\'); if (fromSplit[fromSplit.length - 1] === '') { fromSplit.pop(); } @@ -455,7 +674,7 @@ const win32 = { let i; for (i = 0; i < length; i++) { - if (fromSplit[i].toLowerCase() !== toSplit[i].toLowerCase()) { + if (StringPrototypeToLowerCase(fromSplit[i]) !== StringPrototypeToLowerCase(toSplit[i])) { break; } } @@ -464,70 +683,87 @@ const win32 = { return toOrig; } else if (i === length) { if (toLen > length) { - return toSplit.slice(i).join('\\'); + return ArrayPrototypeJoin(ArrayPrototypeSlice(toSplit, i), '\\'); } if (fromLen > length) { - return '..\\'.repeat(fromLen - 1 - i) + '..'; + return StringPrototypeRepeat('..\\', fromLen - 1 - i) + '..'; } return ''; } - return '..\\'.repeat(fromLen - i) + toSplit.slice(i).join('\\'); + return StringPrototypeRepeat('..\\', fromLen - i) + ArrayPrototypeJoin(ArrayPrototypeSlice(toSplit, i), '\\'); } + // Trim any leading backslashes let fromStart = 0; while (fromStart < from.length && - from.charCodeAt(fromStart) === CHAR_BACKWARD_SLASH) { + StringPrototypeCharCodeAt(from, fromStart) === CHAR_BACKWARD_SLASH) { fromStart++; } + // Trim trailing backslashes (applicable to UNC paths only) let fromEnd = from.length; while ( fromEnd - 1 > fromStart && - from.charCodeAt(fromEnd - 1) === CHAR_BACKWARD_SLASH + StringPrototypeCharCodeAt(from, fromEnd - 1) === CHAR_BACKWARD_SLASH ) { fromEnd--; } const fromLen = fromEnd - fromStart; + // Trim any leading backslashes let toStart = 0; while (toStart < to.length && - to.charCodeAt(toStart) === CHAR_BACKWARD_SLASH) { + StringPrototypeCharCodeAt(to, toStart) === CHAR_BACKWARD_SLASH) { toStart++; } + // Trim trailing backslashes (applicable to UNC paths only) let toEnd = to.length; while (toEnd - 1 > toStart && - to.charCodeAt(toEnd - 1) === CHAR_BACKWARD_SLASH) { + StringPrototypeCharCodeAt(to, toEnd - 1) === CHAR_BACKWARD_SLASH) { toEnd--; } const toLen = toEnd - toStart; + // Compare paths to find the longest common path from root const length = fromLen < toLen ? fromLen : toLen; let lastCommonSep = -1; let i = 0; for (; i < length; i++) { - const fromCode = from.charCodeAt(fromStart + i); - if (fromCode !== to.charCodeAt(toStart + i)) + const fromCode = StringPrototypeCharCodeAt(from, fromStart + i); + if (fromCode !== StringPrototypeCharCodeAt(to, toStart + i)) break; else if (fromCode === CHAR_BACKWARD_SLASH) lastCommonSep = i; } + // We found a mismatch before the first common path separator was seen, so + // return the original `to`. if (i !== length) { if (lastCommonSep === -1) return toOrig; } else { if (toLen > length) { - if (to.charCodeAt(toStart + i) === CHAR_BACKWARD_SLASH) { - return toOrig.slice(toStart + i + 1); + if (StringPrototypeCharCodeAt(to, toStart + i) === + CHAR_BACKWARD_SLASH) { + // We get here if `from` is the exact base path for `to`. + // For example: from='C:\\foo\\bar'; to='C:\\foo\\bar\\baz' + return StringPrototypeSlice(toOrig, toStart + i + 1); } if (i === 2) { - return toOrig.slice(toStart + i); + // We get here if `from` is the device root. + // For example: from='C:\\'; to='C:\\foo' + return StringPrototypeSlice(toOrig, toStart + i); } } if (fromLen > length) { - if (from.charCodeAt(fromStart + i) === CHAR_BACKWARD_SLASH) { + if (StringPrototypeCharCodeAt(from, fromStart + i) === + CHAR_BACKWARD_SLASH) { + // We get here if `to` is the exact base path for `from`. + // For example: from='C:\\foo\\bar'; to='C:\\foo' lastCommonSep = i; } else if (i === 2) { + // We get here if `to` is the device root. + // For example: from='C:\\foo\\bar'; to='C:\\' lastCommonSep = 3; } } @@ -536,24 +772,33 @@ const win32 = { } let out = ''; + // Generate the relative path based on the path difference between `to` and + // `from` for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) { if (i === fromEnd || - from.charCodeAt(i) === CHAR_BACKWARD_SLASH) { + StringPrototypeCharCodeAt(from, i) === CHAR_BACKWARD_SLASH) { out += out.length === 0 ? '..' : '\\..'; } } toStart += lastCommonSep; + // Lastly, append the rest of the destination (`to`) path that comes after + // the common path parts if (out.length > 0) - return `${out}${toOrig.slice(toStart, toEnd)}`; + return `${out}${StringPrototypeSlice(toOrig, toStart, toEnd)}`; - if (toOrig.charCodeAt(toStart) === CHAR_BACKWARD_SLASH) + if (StringPrototypeCharCodeAt(toOrig, toStart) === CHAR_BACKWARD_SLASH) ++toStart; - return toOrig.slice(toStart, toEnd); + return StringPrototypeSlice(toOrig, toStart, toEnd); }, + /** + * @param {string} path + * @returns {string} + */ toNamespacedPath(path) { + // Note: this will *probably* throw somewhere. if (typeof path !== 'string' || path.length === 0) return path; @@ -562,24 +807,31 @@ const win32 = { if (resolvedPath.length <= 2) return path; - if (resolvedPath.charCodeAt(0) === CHAR_BACKWARD_SLASH) { - if (resolvedPath.charCodeAt(1) === CHAR_BACKWARD_SLASH) { - const code = resolvedPath.charCodeAt(2); + if (StringPrototypeCharCodeAt(resolvedPath, 0) === CHAR_BACKWARD_SLASH) { + // Possible UNC root + if (StringPrototypeCharCodeAt(resolvedPath, 1) === CHAR_BACKWARD_SLASH) { + const code = StringPrototypeCharCodeAt(resolvedPath, 2); if (code !== CHAR_QUESTION_MARK && code !== CHAR_DOT) { - return `\\\\?\\UNC\\${resolvedPath.slice(2)}`; + // Matched non-long UNC root, convert the path to a long UNC path + return `\\\\?\\UNC\\${StringPrototypeSlice(resolvedPath, 2)}`; } } } else if ( - isWindowsDeviceRoot(resolvedPath.charCodeAt(0)) && - resolvedPath.charCodeAt(1) === CHAR_COLON && - resolvedPath.charCodeAt(2) === CHAR_BACKWARD_SLASH + isWindowsDeviceRoot(StringPrototypeCharCodeAt(resolvedPath, 0)) && + StringPrototypeCharCodeAt(resolvedPath, 1) === CHAR_COLON && + StringPrototypeCharCodeAt(resolvedPath, 2) === CHAR_BACKWARD_SLASH ) { + // Matched device root, convert the path to a long UNC path return `\\\\?\\${resolvedPath}`; } return resolvedPath; }, + /** + * @param {string} path + * @returns {string} + */ dirname(path) { validateString(path, 'path'); const len = path.length; @@ -587,56 +839,77 @@ const win32 = { return '.'; let rootEnd = -1; let offset = 0; - const code = path.charCodeAt(0); + const code = StringPrototypeCharCodeAt(path, 0); if (len === 1) { + // `path` contains just a path separator, exit early to avoid + // unnecessary work or a dot. return isPathSeparator(code) ? path : '.'; } + // Try to match a root if (isPathSeparator(code)) { + // Possible UNC root + rootEnd = offset = 1; - if (isPathSeparator(path.charCodeAt(1))) { + if (isPathSeparator(StringPrototypeCharCodeAt(path, 1))) { + // Matched double path separator at beginning let j = 2; let last = j; - while (j < len && !isPathSeparator(path.charCodeAt(j))) { + // Match 1 or more non-path separators + while (j < len && + !isPathSeparator(StringPrototypeCharCodeAt(path, j))) { j++; } if (j < len && j !== last) { + // Matched! last = j; - while (j < len && isPathSeparator(path.charCodeAt(j))) { + // Match 1 or more path separators + while (j < len && + isPathSeparator(StringPrototypeCharCodeAt(path, j))) { j++; } if (j < len && j !== last) { + // Matched! last = j; - while (j < len && !isPathSeparator(path.charCodeAt(j))) { + // Match 1 or more non-path separators + while (j < len && + !isPathSeparator(StringPrototypeCharCodeAt(path, j))) { j++; } if (j === len) { + // We matched a UNC root only return path; } if (j !== last) { + // We matched a UNC root with leftovers + + // Offset by 1 to include the separator after the UNC root to + // treat it as a "normal root" on top of a (UNC) root rootEnd = offset = j + 1; } } } } + // Possible device root } else if (isWindowsDeviceRoot(code) && - path.charCodeAt(1) === CHAR_COLON) { + StringPrototypeCharCodeAt(path, 1) === CHAR_COLON) { rootEnd = - len > 2 && isPathSeparator(path.charCodeAt(2)) ? 3 : 2; + len > 2 && isPathSeparator(StringPrototypeCharCodeAt(path, 2)) ? 3 : 2; offset = rootEnd; } let end = -1; let matchedSlash = true; for (let i = len - 1; i >= offset; --i) { - if (isPathSeparator(path.charCodeAt(i))) { + if (isPathSeparator(StringPrototypeCharCodeAt(path, i))) { if (!matchedSlash) { end = i; break; } } else { + // We saw the first non-path separator matchedSlash = false; } } @@ -644,11 +917,17 @@ const win32 = { if (end === -1) { if (rootEnd === -1) return '.'; + end = rootEnd; } - return path.slice(0, end); + return StringPrototypeSlice(path, 0, end); }, + /** + * @param {string} path + * @param {string} [suffix] + * @returns {string} + */ basename(path, suffix) { if (suffix !== undefined) validateString(suffix, 'suffix'); @@ -657,9 +936,12 @@ const win32 = { let end = -1; let matchedSlash = true; + // Check for a drive letter prefix so as not to mistake the following + // path separator as an extra separator at the end of the path that can be + // disregarded if (path.length >= 2 && - isWindowsDeviceRoot(path.charCodeAt(0)) && - path.charCodeAt(1) === CHAR_COLON) { + isWindowsDeviceRoot(StringPrototypeCharCodeAt(path, 0)) && + StringPrototypeCharCodeAt(path, 1) === CHAR_COLON) { start = 2; } @@ -669,23 +951,32 @@ const win32 = { let extIdx = suffix.length - 1; let firstNonSlashEnd = -1; for (let i = path.length - 1; i >= start; --i) { - const code = path.charCodeAt(i); + const code = StringPrototypeCharCodeAt(path, i); if (isPathSeparator(code)) { + // If we reached a path separator that was not part of a set of path + // separators at the end of the string, stop now if (!matchedSlash) { start = i + 1; break; } } else { if (firstNonSlashEnd === -1) { + // We saw the first non-path separator, remember this index in case + // we need it if the extension ends up not matching matchedSlash = false; firstNonSlashEnd = i + 1; } if (extIdx >= 0) { - if (code === suffix.charCodeAt(extIdx)) { + // Try to match the explicit extension + if (code === StringPrototypeCharCodeAt(suffix, extIdx)) { if (--extIdx === -1) { + // We matched the extension, so mark this as the end of our path + // component end = i; } } else { + // Extension does not match, so our result is the entire path + // component extIdx = -1; end = firstNonSlashEnd; } @@ -697,15 +988,19 @@ const win32 = { end = firstNonSlashEnd; else if (end === -1) end = path.length; - return path.slice(start, end); + return StringPrototypeSlice(path, start, end); } for (let i = path.length - 1; i >= start; --i) { - if (isPathSeparator(path.charCodeAt(i))) { + if (isPathSeparator(StringPrototypeCharCodeAt(path, i))) { + // If we reached a path separator that was not part of a set of path + // separators at the end of the string, stop now if (!matchedSlash) { start = i + 1; break; } } else if (end === -1) { + // We saw the first non-path separator, mark this as the end of our + // path component matchedSlash = false; end = i + 1; } @@ -713,9 +1008,13 @@ const win32 = { if (end === -1) return ''; - return path.slice(start, end); + return StringPrototypeSlice(path, start, end); }, + /** + * @param {string} path + * @returns {string} + */ extname(path) { validateString(path, 'path'); let start = 0; @@ -723,17 +1022,25 @@ const win32 = { let startPart = 0; let end = -1; let matchedSlash = true; + // Track the state of characters (if any) we see before our first dot and + // after any path separator we find let preDotState = 0; + // Check for a drive letter prefix so as not to mistake the following + // path separator as an extra separator at the end of the path that can be + // disregarded + if (path.length >= 2 && - path.charCodeAt(1) === CHAR_COLON && - isWindowsDeviceRoot(path.charCodeAt(0))) { + StringPrototypeCharCodeAt(path, 1) === CHAR_COLON && + isWindowsDeviceRoot(StringPrototypeCharCodeAt(path, 0))) { start = startPart = 2; } for (let i = path.length - 1; i >= start; --i) { - const code = path.charCodeAt(i); + const code = StringPrototypeCharCodeAt(path, i); if (isPathSeparator(code)) { + // If we reached a path separator that was not part of a set of path + // separators at the end of the string, stop now if (!matchedSlash) { startPart = i + 1; break; @@ -741,34 +1048,49 @@ const win32 = { continue; } if (end === -1) { + // We saw the first non-path separator, mark this as the end of our + // extension matchedSlash = false; end = i + 1; } if (code === CHAR_DOT) { + // If this is our first dot, mark it as the start of our extension if (startDot === -1) startDot = i; else if (preDotState !== 1) preDotState = 1; } else if (startDot !== -1) { + // We saw a non-dot and non-path separator before our dot, so we should + // have a good chance at having a non-empty extension preDotState = -1; } } if (startDot === -1 || end === -1 || + // We saw a non-dot character immediately before the dot preDotState === 0 || + // The (right-most) trimmed path component is exactly '..' (preDotState === 1 && startDot === end - 1 && startDot === startPart + 1)) { return ''; } - return path.slice(startDot, end); - }, - - format(pathObject) { - return _format('\\', pathObject); + return StringPrototypeSlice(path, startDot, end); }, + format: FunctionPrototypeBind(_format, null, '\\'), + + /** + * @param {string} path + * @returns {{ + * dir: string; + * root: string; + * base: string; + * name: string; + * ext: string; + * }} + */ parse(path) { validateString(path, 'path'); @@ -778,51 +1100,72 @@ const win32 = { const len = path.length; let rootEnd = 0; - let code = path.charCodeAt(0); + let code = StringPrototypeCharCodeAt(path, 0); if (len === 1) { if (isPathSeparator(code)) { + // `path` contains just a path separator, exit early to avoid + // unnecessary work ret.root = ret.dir = path; return ret; } ret.base = ret.name = path; return ret; } + // Try to match a root if (isPathSeparator(code)) { + // Possible UNC root + rootEnd = 1; - if (isPathSeparator(path.charCodeAt(1))) { + if (isPathSeparator(StringPrototypeCharCodeAt(path, 1))) { + // Matched double path separator at beginning let j = 2; let last = j; - while (j < len && !isPathSeparator(path.charCodeAt(j))) { + // Match 1 or more non-path separators + while (j < len && + !isPathSeparator(StringPrototypeCharCodeAt(path, j))) { j++; } if (j < len && j !== last) { + // Matched! last = j; - while (j < len && isPathSeparator(path.charCodeAt(j))) { + // Match 1 or more path separators + while (j < len && + isPathSeparator(StringPrototypeCharCodeAt(path, j))) { j++; } if (j < len && j !== last) { + // Matched! last = j; - while (j < len && !isPathSeparator(path.charCodeAt(j))) { + // Match 1 or more non-path separators + while (j < len && + !isPathSeparator(StringPrototypeCharCodeAt(path, j))) { j++; } if (j === len) { + // We matched a UNC root only rootEnd = j; } else if (j !== last) { + // We matched a UNC root with leftovers rootEnd = j + 1; } } } } } else if (isWindowsDeviceRoot(code) && - path.charCodeAt(1) === CHAR_COLON) { + StringPrototypeCharCodeAt(path, 1) === CHAR_COLON) { + // Possible device root if (len <= 2) { + // `path` contains just a drive root, exit early to avoid + // unnecessary work ret.root = ret.dir = path; return ret; } rootEnd = 2; - if (isPathSeparator(path.charCodeAt(2))) { + if (isPathSeparator(StringPrototypeCharCodeAt(path, 2))) { if (len === 3) { + // `path` contains just a drive root, exit early to avoid + // unnecessary work ret.root = ret.dir = path; return ret; } @@ -830,18 +1173,24 @@ const win32 = { } } if (rootEnd > 0) - ret.root = path.slice(0, rootEnd); + ret.root = StringPrototypeSlice(path, 0, rootEnd); let startDot = -1; let startPart = rootEnd; let end = -1; let matchedSlash = true; let i = path.length - 1; + + // Track the state of characters (if any) we see before our first dot and + // after any path separator we find let preDotState = 0; + // Get non-dir info for (; i >= rootEnd; --i) { - code = path.charCodeAt(i); + code = StringPrototypeCharCodeAt(path, i); if (isPathSeparator(code)) { + // If we reached a path separator that was not part of a set of path + // separators at the end of the string, stop now if (!matchedSlash) { startPart = i + 1; break; @@ -849,35 +1198,45 @@ const win32 = { continue; } if (end === -1) { + // We saw the first non-path separator, mark this as the end of our + // extension matchedSlash = false; end = i + 1; } if (code === CHAR_DOT) { + // If this is our first dot, mark it as the start of our extension if (startDot === -1) startDot = i; else if (preDotState !== 1) preDotState = 1; } else if (startDot !== -1) { + // We saw a non-dot and non-path separator before our dot, so we should + // have a good chance at having a non-empty extension preDotState = -1; } } if (end !== -1) { if (startDot === -1 || + // We saw a non-dot character immediately before the dot preDotState === 0 || + // The (right-most) trimmed path component is exactly '..' (preDotState === 1 && startDot === end - 1 && startDot === startPart + 1)) { - ret.base = ret.name = path.slice(startPart, end); + ret.base = ret.name = StringPrototypeSlice(path, startPart, end); } else { - ret.name = path.slice(startPart, startDot); - ret.base = path.slice(startPart, end); - ret.ext = path.slice(startDot, end); + ret.name = StringPrototypeSlice(path, startPart, startDot); + ret.base = StringPrototypeSlice(path, startPart, end); + ret.ext = StringPrototypeSlice(path, startDot, end); } } + // If the directory is the root, use the entire root as the `dir` including + // the trailing slash if any (`C:\abc` -> `C:\`). Otherwise, strip out the + // trailing slash (`C:\abc\def` -> `C:\abc`). if (startPart > 0 && startPart !== rootEnd) - ret.dir = path.slice(0, startPart - 1); + ret.dir = StringPrototypeSlice(path, 0, startPart - 1); else ret.dir = ret.root; @@ -894,18 +1253,34 @@ const win32 = { posix: null, }; -// ======================== posix ======================== +const posixCwd = (() => { + if (isWindows) { + // Converts Windows' backslash path separators to POSIX forward slashes + // and truncates any drive indicator + const regexp = /\\/g; + return () => { + const cwd = StringPrototypeReplace(process.cwd(), regexp, '/'); + return StringPrototypeSlice(cwd, StringPrototypeIndexOf(cwd, '/')); + }; + } + + // We're already on POSIX, no need for any transformations + return () => process.cwd(); +})(); const posix = { + /** + * path.resolve([from ...], to) + * @param {...string} args + * @returns {string} + */ resolve(...args) { - // Fast path for common cases: no args or single empty/dot arg if (args.length === 0 || (args.length === 1 && (args[0] === '' || args[0] === '.'))) { - const cwd = process.cwd(); - if (cwd.charCodeAt(0) === CHAR_FORWARD_SLASH) { + const cwd = posixCwd(); + if (StringPrototypeCharCodeAt(cwd, 0) === CHAR_FORWARD_SLASH) { return cwd; } } - let resolvedPath = ''; let resolvedAbsolute = false; @@ -913,22 +1288,28 @@ const posix = { const path = args[i]; validateString(path, `paths[${i}]`); + // Skip empty entries if (path.length === 0) { continue; } resolvedPath = `${path}/${resolvedPath}`; - resolvedAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH; + resolvedAbsolute = path[0] === '/'; } if (!resolvedAbsolute) { - const cwd = process.cwd(); + const cwd = posixCwd(); resolvedPath = `${cwd}/${resolvedPath}`; - resolvedAbsolute = cwd.charCodeAt(0) === CHAR_FORWARD_SLASH; + resolvedAbsolute = + StringPrototypeCharCodeAt(cwd, 0) === CHAR_FORWARD_SLASH; } + // At this point the path should be resolved to a full absolute path, but + // handle relative paths to be safe (might happen when process.cwd() fails) + + // Normalize the path resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute, '/', - isPosixPathSeparator); + isPosixPathSeparator); if (resolvedAbsolute) { return `/${resolvedPath}`; @@ -936,16 +1317,20 @@ const posix = { return resolvedPath.length > 0 ? resolvedPath : '.'; }, + /** + * @param {string} path + * @returns {string} + */ normalize(path) { validateString(path, 'path'); if (path.length === 0) return '.'; - const isAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH; - const trailingSeparator = - path.charCodeAt(path.length - 1) === CHAR_FORWARD_SLASH; + const isAbsolute = path[0] === '/'; + const trailingSeparator = path[path.length - 1] === '/'; + // Normalize the path path = normalizeString(path, !isAbsolute, '/', isPosixPathSeparator); if (path.length === 0) { @@ -959,30 +1344,44 @@ const posix = { return isAbsolute ? `/${path}` : path; }, + /** + * @param {string} path + * @returns {boolean} + */ isAbsolute(path) { validateString(path, 'path'); - return path.length > 0 && path.charCodeAt(0) === CHAR_FORWARD_SLASH; + return path.length > 0 && + StringPrototypeCharCodeAt(path, 0) === CHAR_FORWARD_SLASH; }, + /** + * @param {...string} args + * @returns {string} + */ join(...args) { if (args.length === 0) return '.'; - const pathSegments = []; + const path = []; for (let i = 0; i < args.length; ++i) { const arg = args[i]; validateString(arg, 'path'); if (arg.length > 0) { - pathSegments.push(arg); + path.push(arg); } } - if (pathSegments.length === 0) + if (path.length === 0) return '.'; - return posix.normalize(pathSegments.join('/')); + return posix.normalize(ArrayPrototypeJoin(path, '/')); }, + /** + * @param {string} from + * @param {string} to + * @returns {string} + */ relative(from, to) { validateString(from, 'from'); validateString(to, 'to'); @@ -990,6 +1389,7 @@ const posix = { if (from === to) return ''; + // Trim leading forward slashes. from = posix.resolve(from); to = posix.resolve(to); @@ -1002,62 +1402,86 @@ const posix = { const toStart = 1; const toLen = to.length - toStart; + // Compare paths to find the longest common path from root const length = (fromLen < toLen ? fromLen : toLen); let lastCommonSep = -1; let i = 0; for (; i < length; i++) { - const fromCode = from.charCodeAt(fromStart + i); - if (fromCode !== to.charCodeAt(toStart + i)) + const fromCode = StringPrototypeCharCodeAt(from, fromStart + i); + if (fromCode !== StringPrototypeCharCodeAt(to, toStart + i)) break; else if (fromCode === CHAR_FORWARD_SLASH) lastCommonSep = i; } if (i === length) { if (toLen > length) { - if (to.charCodeAt(toStart + i) === CHAR_FORWARD_SLASH) { - return to.slice(toStart + i + 1); + if (StringPrototypeCharCodeAt(to, toStart + i) === CHAR_FORWARD_SLASH) { + // We get here if `from` is the exact base path for `to`. + // For example: from='/foo/bar'; to='/foo/bar/baz' + return StringPrototypeSlice(to, toStart + i + 1); } if (i === 0) { - return to.slice(toStart + i); + // We get here if `from` is the root + // For example: from='/'; to='/foo' + return StringPrototypeSlice(to, toStart + i); } } else if (fromLen > length) { - if (from.charCodeAt(fromStart + i) === CHAR_FORWARD_SLASH) { + if (StringPrototypeCharCodeAt(from, fromStart + i) === + CHAR_FORWARD_SLASH) { + // We get here if `to` is the exact base path for `from`. + // For example: from='/foo/bar/baz'; to='/foo/bar' lastCommonSep = i; } else if (i === 0) { + // We get here if `to` is the root. + // For example: from='/foo/bar'; to='/' lastCommonSep = 0; } } } let out = ''; + // Generate the relative path based on the path difference between `to` + // and `from`. for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) { if (i === fromEnd || - from.charCodeAt(i) === CHAR_FORWARD_SLASH) { + StringPrototypeCharCodeAt(from, i) === CHAR_FORWARD_SLASH) { out += out.length === 0 ? '..' : '/..'; } } - return `${out}${to.slice(toStart + lastCommonSep)}`; + // Lastly, append the rest of the destination (`to`) path that comes after + // the common path parts. + return `${out}${StringPrototypeSlice(to, toStart + lastCommonSep)}`; }, + /** + * @param {string} path + * @returns {string} + */ toNamespacedPath(path) { + // Non-op on posix systems return path; }, + /** + * @param {string} path + * @returns {string} + */ dirname(path) { validateString(path, 'path'); if (path.length === 0) return '.'; - const hasRoot = path.charCodeAt(0) === CHAR_FORWARD_SLASH; + const hasRoot = StringPrototypeCharCodeAt(path, 0) === CHAR_FORWARD_SLASH; let end = -1; let matchedSlash = true; for (let i = path.length - 1; i >= 1; --i) { - if (path.charCodeAt(i) === CHAR_FORWARD_SLASH) { + if (StringPrototypeCharCodeAt(path, i) === CHAR_FORWARD_SLASH) { if (!matchedSlash) { end = i; break; } } else { + // We saw the first non-path separator matchedSlash = false; } } @@ -1066,9 +1490,14 @@ const posix = { return hasRoot ? '/' : '.'; if (hasRoot && end === 1) return '//'; - return path.slice(0, end); + return StringPrototypeSlice(path, 0, end); }, + /** + * @param {string} path + * @param {string} [suffix] + * @returns {string} + */ basename(path, suffix) { if (suffix !== undefined) validateString(suffix, 'suffix'); @@ -1084,23 +1513,32 @@ const posix = { let extIdx = suffix.length - 1; let firstNonSlashEnd = -1; for (let i = path.length - 1; i >= 0; --i) { - const code = path.charCodeAt(i); + const code = StringPrototypeCharCodeAt(path, i); if (code === CHAR_FORWARD_SLASH) { + // If we reached a path separator that was not part of a set of path + // separators at the end of the string, stop now if (!matchedSlash) { start = i + 1; break; } } else { if (firstNonSlashEnd === -1) { + // We saw the first non-path separator, remember this index in case + // we need it if the extension ends up not matching matchedSlash = false; firstNonSlashEnd = i + 1; } if (extIdx >= 0) { - if (code === suffix.charCodeAt(extIdx)) { + // Try to match the explicit extension + if (code === StringPrototypeCharCodeAt(suffix, extIdx)) { if (--extIdx === -1) { + // We matched the extension, so mark this as the end of our path + // component end = i; } } else { + // Extension does not match, so our result is the entire path + // component extIdx = -1; end = firstNonSlashEnd; } @@ -1112,15 +1550,19 @@ const posix = { end = firstNonSlashEnd; else if (end === -1) end = path.length; - return path.slice(start, end); + return StringPrototypeSlice(path, start, end); } for (let i = path.length - 1; i >= 0; --i) { - if (path.charCodeAt(i) === CHAR_FORWARD_SLASH) { + if (StringPrototypeCharCodeAt(path, i) === CHAR_FORWARD_SLASH) { + // If we reached a path separator that was not part of a set of path + // separators at the end of the string, stop now if (!matchedSlash) { start = i + 1; break; } } else if (end === -1) { + // We saw the first non-path separator, mark this as the end of our + // path component matchedSlash = false; end = i + 1; } @@ -1128,19 +1570,27 @@ const posix = { if (end === -1) return ''; - return path.slice(start, end); + return StringPrototypeSlice(path, start, end); }, + /** + * @param {string} path + * @returns {string} + */ extname(path) { validateString(path, 'path'); let startDot = -1; let startPart = 0; let end = -1; let matchedSlash = true; + // Track the state of characters (if any) we see before our first dot and + // after any path separator we find let preDotState = 0; for (let i = path.length - 1; i >= 0; --i) { - const code = path.charCodeAt(i); - if (code === CHAR_FORWARD_SLASH) { + const char = path[i]; + if (char === '/') { + // If we reached a path separator that was not part of a set of path + // separators at the end of the string, stop now if (!matchedSlash) { startPart = i + 1; break; @@ -1148,41 +1598,57 @@ const posix = { continue; } if (end === -1) { + // We saw the first non-path separator, mark this as the end of our + // extension matchedSlash = false; end = i + 1; } - if (code === CHAR_DOT) { + if (char === '.') { + // If this is our first dot, mark it as the start of our extension if (startDot === -1) startDot = i; else if (preDotState !== 1) preDotState = 1; } else if (startDot !== -1) { + // We saw a non-dot and non-path separator before our dot, so we should + // have a good chance at having a non-empty extension preDotState = -1; } } if (startDot === -1 || end === -1 || + // We saw a non-dot character immediately before the dot preDotState === 0 || + // The (right-most) trimmed path component is exactly '..' (preDotState === 1 && startDot === end - 1 && startDot === startPart + 1)) { return ''; } - return path.slice(startDot, end); - }, - - format(pathObject) { - return _format('/', pathObject); + return StringPrototypeSlice(path, startDot, end); }, + format: FunctionPrototypeBind(_format, null, '/'), + + /** + * @param {string} path + * @returns {{ + * dir: string; + * root: string; + * base: string; + * name: string; + * ext: string; + * }} + */ parse(path) { validateString(path, 'path'); const ret = { root: '', dir: '', base: '', ext: '', name: '' }; if (path.length === 0) return ret; - const isAbsolute = path.charCodeAt(0) === CHAR_FORWARD_SLASH; + const isAbsolute = + StringPrototypeCharCodeAt(path, 0) === CHAR_FORWARD_SLASH; let start; if (isAbsolute) { ret.root = '/'; @@ -1195,11 +1661,17 @@ const posix = { let end = -1; let matchedSlash = true; let i = path.length - 1; + + // Track the state of characters (if any) we see before our first dot and + // after any path separator we find let preDotState = 0; + // Get non-dir info for (; i >= start; --i) { - const code = path.charCodeAt(i); - if (code === CHAR_FORWARD_SLASH) { + const char = path[i]; + if (char === '/') { + // If we reached a path separator that was not part of a set of path + // separators at the end of the string, stop now if (!matchedSlash) { startPart = i + 1; break; @@ -1207,15 +1679,20 @@ const posix = { continue; } if (end === -1) { + // We saw the first non-path separator, mark this as the end of our + // extension matchedSlash = false; end = i + 1; } - if (code === CHAR_DOT) { + if (char === '.') { + // If this is our first dot, mark it as the start of our extension if (startDot === -1) startDot = i; else if (preDotState !== 1) preDotState = 1; } else if (startDot !== -1) { + // We saw a non-dot and non-path separator before our dot, so we should + // have a good chance at having a non-empty extension preDotState = -1; } } @@ -1223,20 +1700,22 @@ const posix = { if (end !== -1) { const start = startPart === 0 && isAbsolute ? 1 : startPart; if (startDot === -1 || + // We saw a non-dot character immediately before the dot preDotState === 0 || + // The (right-most) trimmed path component is exactly '..' (preDotState === 1 && startDot === end - 1 && startDot === startPart + 1)) { - ret.base = ret.name = path.slice(start, end); + ret.base = ret.name = StringPrototypeSlice(path, start, end); } else { - ret.name = path.slice(start, startDot); - ret.base = path.slice(start, end); - ret.ext = path.slice(startDot, end); + ret.name = StringPrototypeSlice(path, start, startDot); + ret.base = StringPrototypeSlice(path, start, end); + ret.ext = StringPrototypeSlice(path, startDot, end); } } if (startPart > 0) - ret.dir = path.slice(0, startPart - 1); + ret.dir = StringPrototypeSlice(path, 0, startPart - 1); else if (isAbsolute) ret.dir = '/'; @@ -1253,11 +1732,10 @@ const posix = { posix: null, }; -// Cross-link win32 and posix posix.win32 = win32.win32 = win32; posix.posix = win32.posix = posix; -// Legacy internal API +// Legacy internal API, docs-only deprecated: DEP0080 win32._makeLong = win32.toNamespacedPath; posix._makeLong = posix.toNamespacedPath; diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/util.js b/crates/wasm-rquickjs/skeleton/src/builtin/util.js index da659cfb1..5b233a711 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/util.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/util.js @@ -1,6 +1,6 @@ import { isAbortSignal, markTransferableSignal } from '__wasm_rquickjs_builtin/internal/clone_policy'; import { AbortController as NativeAbortController, AbortSignal as NativeAbortSignal } from '__wasm_rquickjs_builtin/abort_controller'; -import { validateAbortSignal, validateObject } from '__wasm_rquickjs_builtin/internal/validators'; +import { validateAbortSignal, validateObject, validateOneOf } from '__wasm_rquickjs_builtin/internal/validators'; import { NativeWeakRef, nativeWeakRefDeref } from '__wasm_rquickjs_builtin/internal/weak_collections'; // Copyright Joyent, Inc. and other Node contributors. // @@ -33,6 +33,7 @@ import { import * as webCryptoNative from '__wasm_rquickjs_builtin/web_crypto_native'; import { ERR_INVALID_ARG_TYPE, + ERR_INVALID_ARG_VALUE, ERR_OUT_OF_RANGE, isErrorStackTraceLimitWritable } from '__wasm_rquickjs_builtin/internal/errors'; @@ -61,7 +62,9 @@ const getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors; // Mark that a method should not be used. // Returns a modified function which warns once by default. // If --no-deprecation is set, then it is a no-op. -export const deprecate = _internalDeprecate; +export function deprecate(fn, msg, code, { modifyPrototype } = {}) { + return _internalDeprecate(fn, msg, code, undefined, modifyPrototype); +} const debugs = {}; @@ -540,7 +543,7 @@ function _deepObjEquiv(a, b, strict, memo) { return a === b; } - if (strict && Object.getPrototypeOf(a) !== Object.getPrototypeOf(b)) + if (strict && !_deepSkipPrototype && Object.getPrototypeOf(a) !== Object.getPrototypeOf(b)) return false; // Check type tags match - objects of different built-in types are never equal @@ -592,7 +595,7 @@ function _deepObjEquiv(a, b, strict, memo) { } if (aDateTime !== bDateTime) return false; // In strict mode, also check constructor and own properties - if (strict && a.constructor !== b.constructor) return false; + if (strict && !_deepSkipPrototype && a.constructor !== b.constructor) return false; const dKeysA = Object.keys(a); const dKeysB = Object.keys(b); if (dKeysA.length !== dKeysB.length) return false; @@ -712,7 +715,7 @@ function _deepObjEquiv(a, b, strict, memo) { return false; } if (aSource !== bSource || aFlags !== bFlags || aLastIndex !== bLastIndex) return false; - if (strict && a.constructor !== b.constructor) return false; + if (strict && !_deepSkipPrototype && a.constructor !== b.constructor) return false; const rKeysA = Object.keys(a); const rKeysB = Object.keys(b); if (rKeysA.length !== rKeysB.length) return false; @@ -780,7 +783,7 @@ function _deepObjEquiv(a, b, strict, memo) { if (ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) { if (a.byteLength !== b.byteLength) return false; if (aTypedBrand === '' || bTypedBrand === '') { - if (strict) { + if (strict && !_deepSkipPrototype) { if (a.constructor !== b.constructor) return false; } else { if (aTag !== bTag) return false; @@ -1051,9 +1054,19 @@ export function innerDeepEqual(a, b, strict, memo) { return _innerDeep(a, b, strict, memo); } -export function isDeepStrictEqual(val1, val2) { +// Node 26 util.isDeepStrictEqual(val1, val2, skipPrototype): strict comparison that +// ignores [[Prototype]] and constructor identity. +let _deepSkipPrototype = false; + +export function isDeepStrictEqual(val1, val2, skipPrototype) { _deepCallCount = 0; - return _innerDeep(val1, val2, true, undefined); + const previous = _deepSkipPrototype; + _deepSkipPrototype = !!skipPrototype; + try { + return _innerDeep(val1, val2, true, undefined); + } finally { + _deepSkipPrototype = previous; + } } const _externalValueMarkerSymbol = Symbol.for('wasm-rquickjs.util.types.external'); @@ -1423,78 +1436,43 @@ export function getCallSite(frameCount, options) { return getCallSites(frameCount, options); } -const _styleTextFormats = Object.keys(inspect.colors); +// Node 26 lib/util.js styleText helpers. +const _kStyleTextHexColor = /^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/; +const _kStyleTextHexCloseSeq = '\u001b[39m'; -function _throwStyleTextInvalidArgValue(name, value, reason) { - let inspected; - try { - inspected = JSON.stringify(value); - } catch (_) { - inspected = String(value); - } - - let message = "The argument '" + name + "' " + reason; - if (inspected !== undefined) { - message += '. Received ' + inspected; - } +// Replaces nested close codes so the outer style resumes; a close code at the very +// end of the text is left alone. +function _replaceStyleTextCloseCode(str, closeSeq, openSeq, keepClose) { + const closeLen = closeSeq.length; + let index = str.indexOf(closeSeq); + if (index === -1) return str; - const err = new TypeError(message); - err.code = 'ERR_INVALID_ARG_VALUE'; - throw err; -} + let result = ''; + let lastIndex = 0; + const replacement = keepClose ? closeSeq + openSeq : openSeq; -function _isStyleTextFormatValue(format) { - return format === 'none' || _styleTextFormats.indexOf(format) !== -1; -} - -function _normalizeStyleTextFormats(format) { - if (typeof format === 'string') { - if (!_isStyleTextFormatValue(format)) { - _throwStyleTextInvalidArgValue('format', format, 'must be a valid string format'); - } - return [format]; - } - - if (Array.isArray(format)) { - for (let i = 0; i < format.length; i++) { - if (typeof format[i] !== 'string' || !_isStyleTextFormatValue(format[i])) { - _throwStyleTextInvalidArgValue('format', format, 'must be a valid string format or array of string formats'); - } + do { + const afterClose = index + closeLen; + if (afterClose < str.length) { + result += str.slice(lastIndex, index) + replacement; + lastIndex = afterClose; + } else { + break; } - return format; - } - - _throwStyleTextInvalidArgValue('format', format, 'must be a valid string format or array of string formats'); -} - -function _replaceStyleTextCloseCode(text, closeSequence, openSequence, keepClose) { - if (text.indexOf(closeSequence) === -1) { - return text; - } + index = str.indexOf(closeSeq, lastIndex); + } while (index !== -1); - const replacement = keepClose ? closeSequence + openSequence : openSequence; - return text.split(closeSequence).join(replacement); + return result + str.slice(lastIndex); } -function _applyStyleTextFormat(format, text) { - if (format === 'none') { - return text; - } - - const style = inspect.colors[format]; - if (!Array.isArray(style) || style.length < 2) { - _throwStyleTextInvalidArgValue('format', format, 'must be a valid string format'); - } - - const open = style[0]; - const close = style[1]; - const openSequence = '\u001b[' + open + 'm'; - const closeSequence = '\u001b[' + close + 'm'; - - const keepClose = open === 1 || open === 2; - const processedText = _replaceStyleTextCloseCode(text, closeSequence, openSequence, keepClose); - - return openSequence + processedText + closeSequence; +function _styleTextHexOpenSeq(hex) { + const digits = hex.length === 4 + ? hex[1] + hex[1] + hex[2] + hex[2] + hex[3] + hex[3] + : hex.slice(1); + const r = parseInt(digits.slice(0, 2), 16); + const g = parseInt(digits.slice(2, 4), 16); + const b = parseInt(digits.slice(4, 6), 16); + return '\u001b[38;2;' + r + ';' + g + ';' + b + 'm'; } function _parseStyleTextForceColor(value) { @@ -1556,44 +1534,60 @@ export function styleText(format, text, options) { if (typeof text !== 'string') { throw new ERR_INVALID_ARG_TYPE('text', 'string', text); } - - const formats = _normalizeStyleTextFormats(format); - let stream = typeof process !== 'undefined' ? process.stdout : undefined; - let validateStream = true; - if (options !== undefined) { - if (typeof options !== 'object' || options === null || Array.isArray(options)) { - throw new ERR_INVALID_ARG_TYPE('options', 'Object', options); - } - - if (options.stream !== undefined) { - stream = options.stream; - } - - if (options.validateStream !== undefined) { - if (typeof options.validateStream !== 'boolean') { - throw new ERR_INVALID_ARG_TYPE('options.validateStream', 'boolean', options.validateStream); - } - validateStream = options.validateStream; - } + validateObject(options, 'options'); + } + const validateStream = options?.validateStream ?? true; + if (typeof validateStream !== 'boolean') { + throw new ERR_INVALID_ARG_TYPE('options.validateStream', 'boolean', validateStream); } + let skipColorize = false; if (validateStream) { + const stream = options?.stream ?? (typeof process !== 'undefined' ? process.stdout : undefined); if (!_isStyleTextStream(stream)) { - throw new ERR_INVALID_ARG_TYPE('options.stream', ['ReadableStream', 'WritableStream', 'Stream'], stream); + throw new ERR_INVALID_ARG_TYPE('stream', ['ReadableStream', 'WritableStream', 'Stream'], stream); + } + skipColorize = !_shouldStyleTextColorize(stream); + } + + const formatArray = Array.isArray(format) ? format : [format]; + const colors = inspect.colors; + + let openCodes = ''; + let closeCodes = ''; + let processedText = text; + + for (const key of formatArray) { + if (key === 'none') continue; + + if (typeof key === 'string' && key[0] === '#') { + if (!_kStyleTextHexColor.test(key)) { + throw new ERR_INVALID_ARG_VALUE('format', key, 'must be a valid hex color (#RGB or #RRGGBB)'); + } + if (skipColorize) continue; + const hexOpenSeq = _styleTextHexOpenSeq(key); + openCodes += hexOpenSeq; + closeCodes = _kStyleTextHexCloseSeq + closeCodes; + processedText = _replaceStyleTextCloseCode(processedText, _kStyleTextHexCloseSeq, hexOpenSeq, false); + continue; } - if (!_shouldStyleTextColorize(stream)) { - return text; + const codes = typeof key === 'string' || typeof key === 'number' ? colors[key] : undefined; + if (!codes) { + validateOneOf(key, 'format', Object.getOwnPropertyNames(colors)); } + const openSeq = '\u001b[' + codes[0] + 'm'; + const closeSeq = '\u001b[' + codes[1] + 'm'; + const keepClose = codes[0] === 1 || codes[0] === 2; + openCodes += openSeq; + closeCodes = closeSeq + closeCodes; + processedText = _replaceStyleTextCloseCode(processedText, closeSeq, openSeq, keepClose); } - let styledText = text; - for (let i = formats.length - 1; i >= 0; i--) { - styledText = _applyStyleTextFormat(formats[i], styledText); - } + if (skipColorize) return text; - return styledText; + return openCodes + processedText + closeCodes; } // --- util.parseEnv() --- From 266414559191ab398a45f454ace9babf0c09a40b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 23 Nov 2026 15:47:10 +0000 Subject: [PATCH 30/55] Port Node 26 url, buffer, encoding and sqlite behavior [skip ci] --- .../skeleton/src/builtin/buffer.js | 73 +++++++++++++------ .../src/builtin/diagnostics_channel.js | 3 + .../skeleton/src/builtin/domain.js | 13 +++- .../skeleton/src/builtin/encoding.js | 7 +- .../skeleton/src/builtin/fetch-blob-4.0.0.js | 5 +- .../src/builtin/internal/clone_policy.js | 18 +++++ .../skeleton/src/builtin/sqlite.js | 16 ++-- .../skeleton/src/builtin/sqlite_disabled.rs | 10 ++- .../skeleton/src/builtin/structured_clone.js | 2 +- .../wasm-rquickjs/skeleton/src/builtin/url.js | 63 +++++++--------- 10 files changed, 138 insertions(+), 72 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/buffer.js b/crates/wasm-rquickjs/skeleton/src/builtin/buffer.js index 80a6db379..4b0e47857 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/buffer.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/buffer.js @@ -650,23 +650,32 @@ Buffer.concat = function concat (list, length) { } } + // Use the intrinsic byteLength so a spoofed `length` property cannot + // expose uninitialized memory. if (length === undefined) { length = 0 for (i = 0; i < list.length; ++i) { - length += list[i].length + length += getTypedArrayByteLength(list[i]) } + } else { + validateInteger(length, 'length', 0, K_MAX_LENGTH) } const buffer = Buffer.allocUnsafe(length) let pos = 0 for (i = 0; i < list.length; ++i) { const buf = list[i] - if (pos + buf.length > buffer.length) { - buffer.set(buf.subarray(0, buffer.length - pos), pos) + const bufLength = getTypedArrayByteLength(buf) + if (pos + bufLength > length) { + buffer.set(new Uint8Array(getTypedArrayBuffer(buf), getTypedArrayByteOffset(buf), length - pos), pos) + pos = length break } - buffer.set(buf, pos) - pos += buf.length + buffer.set(new Uint8Array(getTypedArrayBuffer(buf), getTypedArrayByteOffset(buf), bufLength), pos) + pos += bufLength + } + if (pos < length) { + buffer.fill(0, pos, length) } return buffer } @@ -2388,24 +2397,21 @@ const hexCharValueTable = [ ] /* eslint-enable no-multi-spaces, indent */ +// Node 26 treats detached ArrayBuffers and views as empty input. +function isDetachedBuffer (buffer) { + if (typeof buffer.detached === 'boolean') return buffer.detached + if (buffer.byteLength !== 0) return false + try { + new Uint8Array(buffer) + return false + } catch (e) { + return true + } +} + function validateBufferSource (source) { if (source instanceof ArrayBuffer || source instanceof SharedArrayBuffer) { - if (typeof source.detached === 'boolean' && source.detached) { - const err = new TypeError('Cannot perform operation on a detached ArrayBuffer') - err.code = 'ERR_INVALID_STATE' - throw err - } - if (source.byteLength === 0 && source.maxByteLength === undefined) { - // Possibly detached — try to create a view to detect - try { - new Uint8Array(source) - } catch (e) { - const err = new TypeError('Cannot perform operation on a detached ArrayBuffer') - err.code = 'ERR_INVALID_STATE' - throw err - } - } - return new Uint8Array(source) + return isDetachedBuffer(source) ? new Uint8Array(0) : new Uint8Array(source) } if (!ArrayBuffer.isView(source)) { const err = new TypeError( @@ -2415,6 +2421,9 @@ function validateBufferSource (source) { err.code = 'ERR_INVALID_ARG_TYPE' throw err } + if (isDetachedBuffer(source.buffer)) { + return new Uint8Array(0) + } return new Uint8Array(source.buffer, source.byteOffset, source.byteLength) } @@ -2535,11 +2544,32 @@ Object.defineProperties(_Blob.prototype, { export const Blob = _Blob +let _fileCloneState +// structuredClone keeps a File's name and lastModified (Node 26, nodejs/node#47612). +const fileCloneAdapter = {__proto__: null, + kind: 'Blob', + clone(value) { + return new _File(_innerKey, cloneBlobBacking(blobBacking.get(value)), _fileCloneState(value)) + }, + cloneBacking(value, memo) { return cloneBlobBacking(blobBacking.get(value), memo) }, +} + const _File = class File extends _Blob { #name = '' #lastModified = 0 + static { + _fileCloneState = value => ({ name: value.#name, lastModified: value.#lastModified }) + } + constructor(fileBits, fileName, options = {}) { + if (fileBits === _innerKey) { + super(_innerKey, fileName) + this.#name = options.name + this.#lastModified = options.lastModified + registerCloneAdapter(this, fileCloneAdapter) + return + } if (arguments.length < 2) { throw new TypeError(`Failed to construct 'File': 2 arguments required, but only ${arguments.length} present.`) } @@ -2562,6 +2592,7 @@ const _File = class File extends _Blob { } this.#name = String(fileName) + registerCloneAdapter(this, fileCloneAdapter) } get name() { diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/diagnostics_channel.js b/crates/wasm-rquickjs/skeleton/src/builtin/diagnostics_channel.js index 75c9b5467..29d8c7ee3 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/diagnostics_channel.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/diagnostics_channel.js @@ -7,6 +7,9 @@ class Channel { this._name = name; this._subscribers = []; this._stores = new Map(); + // Node 26 channels carry their native subscriber-count slot as an own property; + // channels here have no native slot. + this._index = undefined; } get name() { diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/domain.js b/crates/wasm-rquickjs/skeleton/src/builtin/domain.js index dc296846e..ef008e48f 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/domain.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/domain.js @@ -103,7 +103,7 @@ EventEmitter._domainInit = function(emitter) { } }; -// Patch setTimeout/setInterval to auto-bind callbacks to the active domain. +// Patch setTimeout/setInterval/setImmediate to auto-bind callbacks to the active domain. const _origSetTimeout = globalThis.setTimeout; const _origSetInterval = globalThis.setInterval; @@ -125,6 +125,17 @@ if (_origSetInterval) { }; } +const _origSetImmediate = globalThis.setImmediate; + +if (_origSetImmediate) { + globalThis.setImmediate = function domainSetImmediate(callback, ...rest) { + if (active && typeof callback === 'function') { + callback = active.bind(callback); + } + return _origSetImmediate.call(globalThis, callback, ...rest); + }; +} + class Domain extends EventEmitter { constructor() { super(); diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/encoding.js b/crates/wasm-rquickjs/skeleton/src/builtin/encoding.js index 12a70e612..2e8ca9b7a 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/encoding.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/encoding.js @@ -234,6 +234,8 @@ Object.defineProperties(TextDecoder.prototype, { }, }); +const toWellFormed = Function.prototype.call.bind(String.prototype.toWellFormed); + export class TextEncoder { constructor() { } @@ -243,14 +245,15 @@ export class TextEncoder { } encode(input = '') { - return encodingNative.encode(`${input}`); + // USVString conversion: lone surrogates become U+FFFD. + return encodingNative.encode(toWellFormed(`${input}`)); } encodeInto(string, uint8Array) { if (typeof string !== 'string') { throw new TypeError('The "src" argument must be of type string. Received type ' + typeof string); } - return encodingNative.encode_into(string, uint8Array); + return encodingNative.encode_into(toWellFormed(string), uint8Array); } } diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/fetch-blob-4.0.0.js b/crates/wasm-rquickjs/skeleton/src/builtin/fetch-blob-4.0.0.js index 3f6a32b91..c292efc85 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/fetch-blob-4.0.0.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/fetch-blob-4.0.0.js @@ -96,6 +96,8 @@ const _Blob = class Blob { if (options === null) options = {} const encoder = new TextEncoder() + // WHATWG "convert line endings to native"; the native ending is "\n" on this POSIX target. + const nativeEndings = options.endings === 'native' for (const element of blobParts) { let part if (ArrayBuffer.isView(element)) { @@ -105,7 +107,8 @@ const _Blob = class Blob { } else if (element instanceof Blob) { part = element } else { - part = encoder.encode(`${element}`) + const text = `${element}` + part = encoder.encode(nativeEndings ? text.replace(/\r\n|\r|\n/g, '\n') : text) } const size = ArrayBuffer.isView(part) ? part.byteLength : part.size diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/internal/clone_policy.js b/crates/wasm-rquickjs/skeleton/src/builtin/internal/clone_policy.js index 6499aae50..9c43aebd0 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/internal/clone_policy.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/internal/clone_policy.js @@ -25,6 +25,24 @@ export function isMarkedAsUntransferable(value) { return untransferable.has(value); } +// Node marks untransferable buffers with a V8 detach key, so +// ArrayBuffer.prototype.transfer() also rejects them. +for (const name of ['transfer', 'transferToFixedLength']) { + const original = ArrayBuffer.prototype[name]; + if (typeof original !== 'function') continue; + const wrapped = { + [name](...args) { + if (untransferable.has(this)) { + throw new TypeError('Cannot transfer an untransferable ArrayBuffer'); + } + return Reflect.apply(original, this, args); + }, + }[name]; + Object.defineProperty(ArrayBuffer.prototype, name, { + value: wrapped, writable: true, enumerable: false, configurable: true, + }); +} + export function registerCloneAdapter(value, adapter) { adapters.set(value, adapter); } diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/sqlite.js b/crates/wasm-rquickjs/skeleton/src/builtin/sqlite.js index 43b3633fe..aea0b653f 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/sqlite.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/sqlite.js @@ -130,7 +130,7 @@ class _DatabaseSyncImpl { allowBareNamedParameters: options.allowBareNamedParameters ?? this.#options.allowBareNamedParameters, allowUnknownNamedParameters: options.allowUnknownNamedParameters ?? this.#options.allowUnknownNamedParameters, }; - return new StatementSync(_stmtSecret, this.#connId, sql, stmtOptions); + return new Statement(_stmtSecret, this.#connId, sql, stmtOptions); } function(name, optionsOrFn, maybeFn) { @@ -327,7 +327,7 @@ class _DatabaseSyncImpl { } } -export function DatabaseSync(path, options) { +export function Database(path, options) { if (!new.target) { const err = new TypeError('Cannot call constructor without `new`'); err.code = 'ERR_CONSTRUCT_CALL_REQUIRED'; @@ -335,7 +335,10 @@ export function DatabaseSync(path, options) { } return new _DatabaseSyncImpl(path, options); } -DatabaseSync.prototype = _DatabaseSyncImpl.prototype; +Database.prototype = _DatabaseSyncImpl.prototype; +Object.defineProperty(_DatabaseSyncImpl.prototype, 'constructor', { value: Database, writable: true, configurable: true }); +// DEP0210: Node 26 renamed DatabaseSync to Database and keeps the old name as an alias. +export const DatabaseSync = Database; export class Session { #sessionId; @@ -380,7 +383,7 @@ export class Session { const _stmtSecret = Symbol('stmtSecret'); -export class StatementSync { +export class Statement { #connId; #sql; #options; @@ -628,4 +631,7 @@ export function isAutocommitDatabaseSync(db) { return is_autocommit(_getConnId(db)); } -export default { DatabaseSync, StatementSync, Session, SQLTagStore, constants, backup, serializeDatabase, restoreDatabase, serializeDatabaseSync, restoreDatabaseSync, isAutocommitDatabaseSync }; +// DEP0211: Node 26 renamed StatementSync to Statement and keeps the old name as an alias. +export const StatementSync = Statement; + +export default { Database, DatabaseSync, Statement, StatementSync, Session, SQLTagStore, constants, backup, serializeDatabase, restoreDatabase, serializeDatabaseSync, restoreDatabaseSync, isAutocommitDatabaseSync }; diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/sqlite_disabled.rs b/crates/wasm-rquickjs/skeleton/src/builtin/sqlite_disabled.rs index 33146df6f..2c5df0740 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/sqlite_disabled.rs +++ b/crates/wasm-rquickjs/skeleton/src/builtin/sqlite_disabled.rs @@ -3,9 +3,11 @@ pub mod native_module {} pub const SQLITE_JS: &str = r#" const msg = 'node:sqlite is not available (sqlite feature is not enabled)'; -class DatabaseSync { constructor() { throw new Error(msg); } } -class StatementSync { constructor() { throw new Error(msg); } } +class Database { constructor() { throw new Error(msg); } } +class Statement { constructor() { throw new Error(msg); } } +const DatabaseSync = Database; +const StatementSync = Statement; const constants = {}; -export { DatabaseSync, StatementSync, constants }; -export default { DatabaseSync, StatementSync, constants }; +export { Database, DatabaseSync, Statement, StatementSync, constants }; +export default { Database, DatabaseSync, Statement, StatementSync, constants }; "#; diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/structured_clone.js b/crates/wasm-rquickjs/skeleton/src/builtin/structured_clone.js index 43cc76a50..42e4c595d 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/structured_clone.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/structured_clone.js @@ -483,7 +483,7 @@ function optionsTransfer(options) { throw invalidArgument("Failed to execute 'structuredClone': Options cannot be converted to a dictionary"); const transfer = options.transfer; if (transfer === undefined) return []; - const memberError = () => invalidArgument("Failed to execute 'structuredClone': transfer in Options can not be converted to sequence."); + const memberError = () => invalidArgument("Failed to execute 'structuredClone': transfer in Options cannot be converted to sequence."); if (!isObject(transfer)) throw memberError(); const method = transfer[symbolIterator]; if (method == null) throw memberError(); diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/url.js b/crates/wasm-rquickjs/skeleton/src/builtin/url.js index fbb22c7a7..bfaaafcb5 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/url.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/url.js @@ -5,7 +5,7 @@ import { domainToUnicode as domainToUnicodeNative, } from '__wasm_rquickjs_builtin/url_native'; import * as querystring from 'node:querystring'; -import { ERR_INVALID_ARG_TYPE, ERR_MISSING_ARGS } from '__wasm_rquickjs_builtin/internal/errors'; +import { ERR_INVALID_ARG_TYPE, ERR_INVALID_ARG_VALUE, ERR_MISSING_ARGS } from '__wasm_rquickjs_builtin/internal/errors'; import { createPrivateWeakMap } from '__wasm_rquickjs_builtin/internal/weak_collections'; const __URLSearchParams__ = "__URLSearchParams__"; @@ -82,7 +82,8 @@ function URLSearchParamsPolyfill(search) { throw new TypeError("Class constructor URLSearchParams cannot be invoked without 'new'"); } - if (search === undefined || search === null) { + // WebIDL union resolution: only undefined means "no init"; null becomes the string "null". + if (search === undefined) { search = ""; } else if (search instanceof URLSearchParams || search instanceof URLSearchParamsPolyfill) { search = search.toString(); @@ -484,8 +485,8 @@ function parseToPairs(search) { toUSVString(search); } - if (typeof search === "object" || typeof search === 'function') { - const iterator = search && search[Symbol.iterator]; + if ((typeof search === "object" && search !== null) || typeof search === 'function') { + const iterator = search[Symbol.iterator]; if (iterator !== undefined) { if (typeof iterator !== 'function') { throw makeNotIterableError(); @@ -510,14 +511,24 @@ function parseToPairs(search) { pairs.push([toUSVString(first.value), toUSVString(second.value)]); } } else { - const symbols = Object.getOwnPropertySymbols(search || {}); + const symbols = Object.getOwnPropertySymbols(search); if (symbols.length > 0) { toUSVString(symbols[0]); } - const keys = Object.keys(search || {}); + // A record key that collides after USV conversion keeps its first position and + // takes the last value. + const indexByKey = new Map(); + const keys = Object.keys(search); for (let i = 0; i < keys.length; i++) { - const key = keys[i]; - pairs.push([toUSVString(key), toUSVString(search[key])]); + const key = toUSVString(keys[i]); + const value = toUSVString(search[keys[i]]); + const index = indexByKey.get(key); + if (index === undefined) { + indexByKey.set(key, pairs.length); + pairs.push([key, value]); + } else { + pairs[index][1] = value; + } } } } else { @@ -686,11 +697,6 @@ function makeInvalidUrlError(input) { } const FORBIDDEN_HOST_CHARS = /[\0\t\n\r #%/<>?@\\^|]/; -const WARN_INVALID_HOSTNAME_KEY = '__wasm_rquickjs_url_warned_invalid_hostname'; - -if (globalThis[WARN_INVALID_HOSTNAME_KEY] === undefined) { - globalThis[WARN_INVALID_HOSTNAME_KEY] = false; -} function validateHostName(hostname, ipv6Host, input) { if (!hostname) { @@ -701,28 +707,6 @@ function validateHostName(hostname, ipv6Host, input) { } } -function emitInvalidUrlDeprecation(input) { - if (globalThis[WARN_INVALID_HOSTNAME_KEY]) { - return; - } - globalThis[WARN_INVALID_HOSTNAME_KEY] = true; - - const warningMessage = `The URL ${input} is invalid. Future versions of Node.js will throw an error.`; - - if (typeof process !== 'undefined' && typeof process.emitWarning === 'function') { - process.emitWarning(warningMessage, { - type: 'DeprecationWarning', - code: 'DEP0170', - }); - } - - if (typeof process !== 'undefined' && - process.stderr && - typeof process.stderr.write === 'function') { - process.stderr.write(`[DEP0170] DeprecationWarning: ${warningMessage}\n`); - } -} - const ENCODE_CHARS_RE = /[\x00-\x1F\x20"#%?<>{}|\\^`~\[\]\x7F]/g; function percentEncode(char) { @@ -781,11 +765,13 @@ export function fileURLToPath(url, options) { const pathname = url.pathname; if (pathname.indexOf('%2F') !== -1 || pathname.indexOf('%2f') !== -1) { - throw makeNodeError( + const err = makeNodeError( 'ERR_INVALID_FILE_URL_PATH', TypeError, 'File URL path must not include encoded / characters' ); + err.input = url; + throw err; } return decodeURIComponent(pathname); @@ -863,6 +849,9 @@ export function pathToFileURL(path, options) { } export function urlToHttpOptions(url) { + if (url === null || (typeof url !== 'object' && typeof url !== 'function')) { + throw new ERR_INVALID_ARG_TYPE('url', 'object', url); + } const options = { protocol: url.protocol, hostname: typeof url.hostname === 'string' && url.hostname.startsWith('[') @@ -1519,7 +1508,7 @@ export function parse(urlString, parseQueryString, slashesDenoteHost) { } if (shouldWarnInvalidHost) { - emitInvalidUrlDeprecation(urlString); + throw new ERR_INVALID_ARG_VALUE('url', 'Invalid port in url', urlString); } if (parseQueryString) { From 339eecf2490ae82422ea1c82501bed71fbbe7531 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 23 Nov 2026 15:47:10 +0000 Subject: [PATCH 31/55] Port Node 26 module loading and require TLA errors [skip ci] --- .../builtin/internal/streams/end-of-stream.js | 8 +++- .../skeleton/src/builtin/module.js | 44 ++++++++++++++++++- .../wasm-rquickjs/skeleton/src/builtin/vm.rs | 4 +- .../skeleton/src/internal/module_loading.rs | 18 +++++++- 4 files changed, 69 insertions(+), 5 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/end-of-stream.js b/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/end-of-stream.js index e9b139de7..d9ac0f5be 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/end-of-stream.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/end-of-stream.js @@ -42,6 +42,10 @@ function isServerResponse(stream) { const nop = () => { }; +// Internal only (Node exposes it to tests): if eos() can settle immediately +// because the signal is already aborted, invoke the callback before returning. +export const kEosNodeSynchronousCallback = Symbol('kEosNodeSynchronousCallback'); + export function eos(stream, options, callback) { if (arguments.length === 2) { @@ -194,7 +198,9 @@ export function eos(stream, options, callback) { cleanup(); endCallback.call(stream, new AbortError()); }; - if (options.signal.aborted) { + if (options.signal.aborted && options[kEosNodeSynchronousCallback]) { + abort(); + } else if (options.signal.aborted) { nextTick(abort); } else { const originalCallback = callback; diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/module.js b/crates/wasm-rquickjs/skeleton/src/builtin/module.js index 49a27d0b8..a5102fde6 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/module.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/module.js @@ -17,7 +17,9 @@ import * as internalUtilDebuglog from '__wasm_rquickjs_builtin/internal/util/deb import * as internalWebstreamsUtil from '__wasm_rquickjs_builtin/internal/webstreams/util'; import * as internalStreamsAddAbortSignal from '__wasm_rquickjs_builtin/internal/streams/add-abort-signal'; import * as internalStreamsState from '__wasm_rquickjs_builtin/internal/streams/state'; +import * as internalStreamsEndOfStream from '__wasm_rquickjs_builtin/internal/streams/end-of-stream'; import * as internalTestBinding from '__wasm_rquickjs_builtin/internal/test/binding'; +import { kSupportedAlgorithms } from '__wasm_rquickjs_builtin/internal/crypto/util'; import { extractSourceMapURL } from '__wasm_rquickjs_builtin/internal/source_map_url'; import { createPrivateWeakMap, createPrivateWeakSet } from '__wasm_rquickjs_builtin/internal/weak_collections'; import { get_diagnostic_data as diagnosticData } from '__wasm_rquickjs_builtin/internal/binding/util_native'; @@ -89,6 +91,10 @@ const internalUtilDebuglogCjs = cjsExport(internalUtilDebuglog); const internalWebstreamsUtilCjs = cjsExport(internalWebstreamsUtil); const internalStreamsAddAbortSignalCjs = cjsExport(internalStreamsAddAbortSignal); const internalStreamsStateCjs = cjsExport(internalStreamsState); +const internalStreamsEndOfStreamCjs = { + eos: internalStreamsEndOfStream.eos, + kEosNodeSynchronousCallback: internalStreamsEndOfStream.kEosNodeSynchronousCallback, +}; const internalTestBindingCjs = cjsExport(internalTestBinding); const builtinCjsCache = Object.create(null); @@ -187,7 +193,9 @@ builtinModuleMap['internal/util/debuglog'] = internalUtilDebuglogCjs; builtinModuleMap['internal/webstreams/util'] = internalWebstreamsUtilCjs; builtinModuleMap['internal/streams/add-abort-signal'] = internalStreamsAddAbortSignalCjs; builtinModuleMap['internal/streams/state'] = internalStreamsStateCjs; +builtinModuleMap['internal/streams/end-of-stream'] = internalStreamsEndOfStreamCjs; builtinModuleMap['internal/test/binding'] = internalTestBindingCjs; +builtinModuleMap['internal/crypto/util'] = { kSupportedAlgorithms }; // --- Module mock registry (used by node:test mock.module()) --- const _moduleMockRegistry = Object.create(null); @@ -3231,6 +3239,34 @@ function unmarkRequireEsmSourceOverride(previous) { } } +const REQUIRED_TLA_HINT = ' To see where the top-level await comes from, use --experimental-print-required-tla.'; + +// Node's ERR_REQUIRE_ASYNC_MODULE lists the requiring modules (parent first). +function decorateRequireAsyncModuleError(err, parent) { + if (!err || err.code !== 'ERR_REQUIRE_ASYNC_MODULE' || Object.hasOwn(err, 'requireStack') || + typeof err.message !== 'string' || !err.message.includes('\nRequired module: ')) { + return; + } + let message = err.message; + if (rustHasExecArgvFlag('--experimental-print-required-tla')) { + message = message.replace(REQUIRED_TLA_HINT, ''); + } + const requireStack = []; + for (let cursor = parent; cursor; cursor = cursor.parent) { + const id = cursor.filename || cursor.id; + // The synthetic main record of the runtime is not a module of the graph. + if (cursor === mainModule || id === '/') break; + requireStack.push(id); + } + if (requireStack.length > 0) { + message += '\nRequire stack:\n- ' + requireStack.join('\n- '); + } + err.message = message; + Object.defineProperty(err, 'requireStack', { + value: requireStack, writable: true, enumerable: false, configurable: true, + }); +} + function requireEsmWithCacheGuard(mod, resolvedFilename, forceModule, sourceOverride) { let esmIdentity = resolvedFilename; if ( @@ -3255,7 +3291,13 @@ function requireEsmWithCacheGuard(mod, resolvedFilename, forceModule, sourceOver }); try { if (forceModule) markRequireEsmForcedModule(resolvedFilename); - const namespace = _requireEsm(esmIdentity); + let namespace; + try { + namespace = _requireEsm(esmIdentity); + } catch (err) { + decorateRequireAsyncModuleError(err, mod.parent); + throw err; + } if (namespace && typeof namespace === 'object' && Object.hasOwn(namespace, 'module.exports')) { return namespace['module.exports']; } diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/vm.rs b/crates/wasm-rquickjs/skeleton/src/builtin/vm.rs index 3be6294cb..d61c7ab35 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/vm.rs +++ b/crates/wasm-rquickjs/skeleton/src/builtin/vm.rs @@ -459,8 +459,10 @@ fn throw_require_async_module<'js>( filename: &str, ) -> rquickjs::Result> { let error_ctor: rquickjs::Function = globals.get("Error")?; + // The CommonJS loader adds the require stack (and drops the hint under + // --experimental-print-required-tla), as Node's ERR_REQUIRE_ASYNC_MODULE does. let msg = format!( - "require() cannot be used on an ESM graph with top-level await. Use import() instead. Module: {}", + "require() cannot be used on an ESM graph with top-level await. Use import() instead. To see where the top-level await comes from, use --experimental-print-required-tla.\nRequired module: {}", filename ); let error_obj: rquickjs::Object = error_ctor.call((&msg,))?; diff --git a/crates/wasm-rquickjs/skeleton/src/internal/module_loading.rs b/crates/wasm-rquickjs/skeleton/src/internal/module_loading.rs index fcec929b1..a8a2f988c 100644 --- a/crates/wasm-rquickjs/skeleton/src/internal/module_loading.rs +++ b/crates/wasm-rquickjs/skeleton/src/internal/module_loading.rs @@ -6135,7 +6135,8 @@ impl NodeModulesResolver { } fn validate_package_import_specifier(specifier: &str) -> Result<(), NodePackageResolveError> { - if specifier == "#" || specifier.starts_with("#/") || specifier.ends_with('/') { + // Node 25+ accepts `#/` subpath imports. + if specifier == "#" || specifier.ends_with('/') { return Err(NodePackageResolveError::InvalidPackagePatternMatch { specifier: specifier.to_string(), message: "is not a valid internal imports specifier name".to_string(), @@ -10571,7 +10572,8 @@ fn is_node_modules_package_scope(dir: &std::path::Path) -> bool { fn cjs_named_export_source(names: &[String], host_global: &str) -> String { let mut out = String::new(); for (index, name) in names.iter().enumerate() { - if name == "default" { + // Node 23+ always exports `module.exports` itself under this name. + if name == "default" || name == "module.exports" { continue; } let local = format!("__cjs_export_{}", index); @@ -10590,6 +10592,7 @@ fn build_cjs_facade_source(default_member_expression: &str, names: &[String]) -> r#"const {host_global}=import.meta.__wasm_rquickjs_global; var __cjs_default = {host_global}.{default_member_expression}; export default __cjs_default; +export {{ __cjs_default as "module.exports" }}; {} "#, named_exports, @@ -11013,6 +11016,17 @@ fn initialize_module_import_meta<'js>( .enumerable() .configurable(), )?; + // Node 24+: true only for the entry point, which process.argv[1] names. + let is_main = ctx + .globals() + .get::<_, Object>("process") + .and_then(|process| process.get::<_, Object>("argv")) + .and_then(|argv| argv.get::<_, String>(1)) + .is_ok_and(|entry| entry == *filename); + meta.prop( + "main", + Property::from(is_main).writable().enumerable().configurable(), + )?; } if init.include_resolve { let base_url = init.url.clone(); From 4d71729875d0973f92d806ae28c0ac4860f9fe0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 23 Nov 2026 15:47:10 +0000 Subject: [PATCH 32/55] Align node compat shims and config with Node 26 tests [skip ci] --- tests/node_compat/common-shim/fixtures.js | 18 ++++++++++----- tests/node_compat/common-shim/index.js | 14 ++++++++++-- tests/node_compat/config.jsonc | 27 ++++++----------------- 3 files changed, 31 insertions(+), 28 deletions(-) diff --git a/tests/node_compat/common-shim/fixtures.js b/tests/node_compat/common-shim/fixtures.js index f10ce7532..6c5d6a46e 100644 --- a/tests/node_compat/common-shim/fixtures.js +++ b/tests/node_compat/common-shim/fixtures.js @@ -8,30 +8,36 @@ const fs = require('fs'); const fixturesDir = '/home/node/test/fixtures'; +// Like upstream, avoid array iteration so tests that delete Array.prototype[Symbol.iterator] work. function fixturesPath(...args) { - return path.join(fixturesDir, ...args); + args.unshift(fixturesDir); + return Reflect.apply(path.join, this, args); } function fileURL(...args) { var url = require('url'); if (url.pathToFileURL) { - return url.pathToFileURL(fixturesPath(...args)); + return url.pathToFileURL(Reflect.apply(fixturesPath, this, args)); } - return new URL('file://' + fixturesPath(...args)); + return new URL('file://' + Reflect.apply(fixturesPath, this, args)); } function readSync(arg, encoding) { - const p = Array.isArray(arg) ? fixturesPath(...arg) : fixturesPath(arg); + const p = Array.isArray(arg) ? Reflect.apply(fixturesPath, this, arg) : fixturesPath(arg); return fs.readFileSync(p, encoding); } -const keyAliases = { - // DSA parsing/signing is not implemented yet; use EC fixtures for sign/verify flow tests. +// DSA one-shot sign/verify with these 2048-bit fixtures is not implemented yet, so the +// sign/verify flow tests below use EC fixtures instead. Other tests read the real DSA keys. +const dsaAliasTests = ['test-crypto-async-sign-verify.js', 'test-crypto-rsa-dsa.js']; +const dsaAliases = { 'dsa_private.pem': 'ec_secp256k1_private.pem', 'dsa_private_encrypted.pem': 'ec_secp256k1_private_encrypted.pem', 'dsa_private_pkcs8.pem': 'ec_secp256k1_private.pem', 'dsa_public.pem': 'ec_secp256k1_public.pem', }; +const mainFile = (require.main && require.main.filename) || process.argv[1] || ''; +const keyAliases = dsaAliasTests.includes(path.basename(mainFile)) ? dsaAliases : {}; function readKey(name, encoding) { const mappedName = keyAliases[name] || name; diff --git a/tests/node_compat/common-shim/index.js b/tests/node_compat/common-shim/index.js index ef48e857c..6edab4bc6 100644 --- a/tests/node_compat/common-shim/index.js +++ b/tests/node_compat/common-shim/index.js @@ -9,6 +9,16 @@ require('./tmpdir'); var noop = function() {}; var _mustCallChecks = []; +// Like upstream common's _mustCallInner, keep the wrapped function's name and +// length, which APIs such as sqlite's db.function() read. +function _copyFunctionShape(wrapper, fn) { + Object.defineProperties(wrapper, { + name: { value: fn.name, writable: false, enumerable: false, configurable: true }, + length: { value: fn.length, writable: false, enumerable: false, configurable: true }, + }); + return wrapper; +} + function copyEnv(env) { var copy = {}; var keys = Object.keys(env || {}); @@ -547,7 +557,7 @@ var common = { return wrapped.apply(this, arguments); }; _mustCallChecks.push({ expected: expected, getActual: function() { return actual; }, callSite: callSite }); - return wrapper; + return _copyFunctionShape(wrapper, wrapped); }, mustCallAtLeast: function(fn, minimum) { var wrapped = fn || noop; @@ -559,7 +569,7 @@ var common = { return wrapped.apply(this, arguments); }; _mustCallChecks.push({ minimum: min, getActual: function() { return actual; }, callSite: callSite }); - return wrapper; + return _copyFunctionShape(wrapper, wrapped); }, mustNotCall: function(msg) { function mustNotCall() { diff --git a/tests/node_compat/config.jsonc b/tests/node_compat/config.jsonc index e3540125b..6ec040371 100644 --- a/tests/node_compat/config.jsonc +++ b/tests/node_compat/config.jsonc @@ -330,6 +330,7 @@ }, "parallel/test-util-deprecate-invalid-code.js": {}, "parallel/test-util-deprecate.js": { + "category": "runnable", "split": true, "subtests": { "block_00_emits_deprecation_only_once_if_same_function_is_called": {}, @@ -1328,13 +1329,7 @@ "parallel/test-timers-immediate-unref-nested-once.js": {}, "parallel/test-timers-immediate-unref-simple.js": {}, "parallel/test-timers-interval-throw.js": {}, - "parallel/test-timers-max-duration-warning.js": { - "split": true, - "subtests": { - "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, - "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" } - } - }, + "parallel/test-timers-max-duration-warning.js": { "split": false }, "parallel/test-timers-reset-process-domain-on-throw.js": {}, "parallel/test-timers-socket-timeout-removes-other-socket-unref-timer.js": {}, "parallel/test-timers-to-primitive.js": { @@ -1721,7 +1716,7 @@ } }, "parallel/test-crypto-key-objects-messageport.js": { "category": "wasi-impossible", "reason": "requires real worker_threads execution (HAS_STARTED_WORKER round-trip) which is not available in single-threaded WASM" }, - "parallel/test-crypto-key-objects-to-crypto-key.js": {}, + "parallel/test-crypto-key-objects-to-crypto-key.js": { "category": "runnable" }, "parallel/test-crypto-key-objects.js": { "split": true, "subtests": { @@ -1999,8 +1994,8 @@ }, // === process.hrtime tests === - "parallel/test-process-hrtime.js": {}, - "parallel/test-process-hrtime-bigint.js": {}, + "parallel/test-process-hrtime.js": { "category": "runnable" }, + "parallel/test-process-hrtime-bigint.js": { "category": "runnable" }, // === node:buffer tests === "parallel/test-buffer-ascii.js": {}, @@ -8775,6 +8770,7 @@ } }, "parallel/test-stream-finished.js": { + "category": "runnable", "split": true, "subtests": { "block_00_block_00": {}, @@ -9970,16 +9966,7 @@ "parallel/test-whatwg-events-event-constructors.js": { "category": "known-gap", "reason": "node_compat common shim is missing ../common/wpt harness" }, "parallel/test-whatwg-events-eventtarget-this-of-listener.js": { "category": "known-gap", "reason": "node_compat common shim is missing ../common/wpt harness" }, // Keep unsplit: this test has a shared pass counter and one process exit assertion spanning blocks. - "parallel/test-whatwg-readablebytestream-bad-buffers-and-views.js": { - "category": "runnable", - "split": true, - "subtests": { - "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_02_block_02": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_03_block_03": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" } - } - }, + "parallel/test-whatwg-readablebytestream-bad-buffers-and-views.js": { "category": "runnable", "split": false }, "parallel/test-whatwg-readablebytestream.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated", From 9e7436d33aa57f4b2b484f1b68973ceaa44055ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 23 Nov 2026 17:44:16 +0000 Subject: [PATCH 33/55] Port Node 26 assert and util deep equality [skip ci] --- .../skeleton/src/builtin/assert.js | 21 ++++++-- .../skeleton/src/builtin/util.js | 51 ++++++++++++++----- 2 files changed, 54 insertions(+), 18 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/assert.js b/crates/wasm-rquickjs/skeleton/src/builtin/assert.js index b07355024..b6feda148 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/assert.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/assert.js @@ -13,6 +13,9 @@ const inspectDiffOptions = { showProxy: false, }; const RegExpPrototypeExec = RegExp.prototype.exec; +const DatePrototypeGetTime = Date.prototype.getTime; +const TypedArrayPrototypeGetSymbolToStringTag = + Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Uint8Array.prototype), Symbol.toStringTag).get; const RegExpPrototypeSourceGetter = Object.getOwnPropertyDescriptor(RegExp.prototype, 'source').get; function inspectForDiff(value) { @@ -1761,7 +1764,9 @@ function innerPartialDeepEqual(actual, expected, memo) { return false; } - return Object.is(actual.getTime(), expected.getTime()); + // Like Node 26 keyCheck in partial mode, expected's own properties must match too. + return Object.is(DatePrototypeGetTime.call(actual), DatePrototypeGetTime.call(expected)) && + compareExpectedProperties(actual, expected, memo, false); } if (expectedTag === '[object RegExp]' || actualTag === '[object RegExp]') { @@ -1771,7 +1776,8 @@ function innerPartialDeepEqual(actual, expected, memo) { return actual.source === expected.source && actual.flags === expected.flags && - actual.lastIndex === expected.lastIndex; + actual.lastIndex === expected.lastIndex && + compareExpectedProperties(actual, expected, memo, false); } if (expectedTag === '[object ArrayBuffer]' || expectedTag === '[object SharedArrayBuffer]') { @@ -1814,6 +1820,11 @@ function innerPartialDeepEqual(actual, expected, memo) { if (!isTypedArrayView(actual, actualTag) || actualTag !== expectedTag || actual.byteLength < expected.byteLength) { return false; } + // Symbol.toStringTag can be forged; compare the intrinsic element type like Node 26. + if (TypedArrayPrototypeGetSymbolToStringTag.call(actual) !== + TypedArrayPrototypeGetSymbolToStringTag.call(expected)) { + return false; + } const actualTypedArray = new Uint8Array(actual.buffer, actual.byteOffset, actual.byteLength); const expectedTypedArray = new Uint8Array(expected.buffer, expected.byteOffset, expected.byteLength); @@ -1827,7 +1838,9 @@ function innerPartialDeepEqual(actual, expected, memo) { return false; } - return compareExpectedProperties(actual, expected, memo, false); + // Element bytes were matched above; like Node's getOwnNonIndexProperties, only the + // remaining own properties are compared. + return compareExpectedProperties(actual, expected, memo, true); } const expectedIsURL = isURLValue(expected, expectedTag); @@ -1837,7 +1850,7 @@ function innerPartialDeepEqual(actual, expected, memo) { return false; } - return actual.href === expected.href; + return actual.href === expected.href && compareExpectedProperties(actual, expected, memo, false); } if (expectedTag === '[object Error]' || expected instanceof Error) { diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/util.js b/crates/wasm-rquickjs/skeleton/src/builtin/util.js index 5b233a711..ed1090d67 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/util.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/util.js @@ -593,7 +593,8 @@ function _deepObjEquiv(a, b, strict, memo) { } catch (_) { return false; } - if (aDateTime !== bDateTime) return false; + // Two invalid dates (NaN time) are equal, as in Node 26. + if (aDateTime !== bDateTime && (aDateTime === aDateTime || bDateTime === bDateTime)) return false; // In strict mode, also check constructor and own properties if (strict && !_deepSkipPrototype && a.constructor !== b.constructor) return false; const dKeysA = Object.keys(a); @@ -823,17 +824,37 @@ function _deepObjEquiv(a, b, strict, memo) { } if (!memo) { - memo = { a: [], b: [] }; - } - // Check for cycles: if we've seen this exact pair (a, b), assume equal - for (let mi = 0; mi < memo.a.length; mi++) { - if (memo.a[mi] === a && memo.b[mi] === b) { - return true; - } + memo = { a: [], b: [], cycle: { useSet: false } }; + } + // Node 26 cycle handling (comparisons.js handleCycles). One level below the roots, + // only the root on the same side counts. Once the comparison goes deeper, every object + // on the current path counts, from either side, for the rest of the comparison: an + // object on the path then matches only when its counterpart is on the path too. + const depth = memo.a.length; + if (depth >= 2) { + memo.cycle.useSet = true; + } + if (memo.cycle.useSet) { + const aOnPath = memo.a.includes(a) || memo.b.includes(a); + const bOnPath = memo.a.includes(b) || memo.b.includes(b); + if (aOnPath || bOnPath) { + return aOnPath && bOnPath; + } + } else if (depth === 1) { + if (memo.a[0] === a) return memo.b[0] === b; + if (memo.b[0] === b) return false; } memo.a.push(a); memo.b.push(b); + try { + return _deepContainerEquiv(a, b, strict, memo); + } finally { + memo.a.length = depth; + memo.b.length = depth; + } +} +function _deepContainerEquiv(a, b, strict, memo) { if (a instanceof Map && b instanceof Map) { if (a.size !== b.size) return false; const aEntries = Array.from(a.entries()); @@ -866,7 +887,7 @@ function _deepObjEquiv(a, b, strict, memo) { for (let j = 0; j < bEntries.length; j++) { if (matchedB[j]) continue; if (Object.is(aKey, bEntries[j][0])) { - const valueMemo = { a: memo.a.slice(), b: memo.b.slice() }; + const valueMemo = { a: memo.a.slice(), b: memo.b.slice(), cycle: memo.cycle }; if (_innerDeep(aEntries[i][1], bEntries[j][1], strict, valueMemo)) { memo.a = valueMemo.a; memo.b = valueMemo.b; @@ -886,9 +907,9 @@ function _deepObjEquiv(a, b, strict, memo) { let found = false; for (let j = 0; j < bEntries.length; j++) { if (matchedB[j]) continue; - const keyMemo = { a: memo.a.slice(), b: memo.b.slice() }; + const keyMemo = { a: memo.a.slice(), b: memo.b.slice(), cycle: memo.cycle }; if (_innerDeep(aEntries[ai][0], bEntries[j][0], strict, keyMemo)) { - const valueMemo = { a: keyMemo.a.slice(), b: keyMemo.b.slice() }; + const valueMemo = { a: keyMemo.a.slice(), b: keyMemo.b.slice(), cycle: keyMemo.cycle }; if (_innerDeep(aEntries[ai][1], bEntries[j][1], strict, valueMemo)) { memo.a = valueMemo.a; memo.b = valueMemo.b; @@ -947,7 +968,7 @@ function _deepObjEquiv(a, b, strict, memo) { let found = false; for (let j = 0; j < arrB.length; j++) { if (usedB[j]) continue; - if (_innerDeep(arrA[unmatchedA[i]], arrB[j], strict, { a: memo.a.slice(), b: memo.b.slice() })) { + if (_innerDeep(arrA[unmatchedA[i]], arrB[j], strict, { a: memo.a.slice(), b: memo.b.slice(), cycle: memo.cycle })) { usedB[j] = true; found = true; break; @@ -977,7 +998,8 @@ function _deepObjEquiv(a, b, strict, memo) { for (let i = 0; i < a.length; i++) { const aHas = _hasOwnProp(a, i); const bHas = _hasOwnProp(b, i); - if (strict && aHas !== bHas) return false; + // Node 26: a hole never equals a present element, also in loose mode. + if (aHas !== bHas) return false; if (!_innerDeep(a[i], b[i], strict, memo)) return false; } const keysA = Object.keys(a).filter(function(k) { return !_isArrIdx(k, a.length); }); @@ -1616,7 +1638,8 @@ export function parseEnv(content) { throw new ERR_INVALID_ARG_TYPE('content', 'string', content); } - const store = {}; + // Node 26 returns a null-prototype object, so keys such as __proto__ are plain entries. + const store = { __proto__: null }; let remaining = _parseEnvTrimSpaces(content.replace(/\r/g, '')); while (remaining.length > 0) { From cf04464a46faab694c045f4b76691ef116a9ee86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 23 Nov 2026 17:44:16 +0000 Subject: [PATCH 34/55] Port Node 26 inspect proxies, error keys and vm modules [skip ci] --- .../src/builtin/internal/binding/util.js | 16 +++++ .../src/builtin/internal/util/inspect.js | 49 ++++++++++++++-- .../wasm-rquickjs/skeleton/src/builtin/vm.js | 58 +++++++++---------- 3 files changed, 86 insertions(+), 37 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/internal/binding/util.js b/crates/wasm-rquickjs/skeleton/src/builtin/internal/binding/util.js index 183eddb14..4d2de8a48 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/internal/binding/util.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/internal/binding/util.js @@ -32,6 +32,7 @@ import { import { NativeWeakRef, createPrivateWeakMap, + createPrivateWeakSet, nativeWeakMapDelete, nativeWeakMapGet, nativeWeakMapHas, @@ -114,7 +115,22 @@ export function guessHandleType(_fd) { notImplemented("util.guessHandleType"); } +// Proxies the runtime uses to emulate engine objects (such as vm module namespaces) are +// not proxies in Node, so util.inspect and util.types.isProxy must not report them. +const engineObjectProxies = createPrivateWeakSet(); + +export function markEngineObjectProxy(proxy) { + engineObjectProxies.add(proxy); + return proxy; +} + +// Returns the target an engine-object proxy emulates, or undefined for other values. +export function getEngineObjectProxyTarget(value) { + return engineObjectProxies.has(value) ? getProxyDetailsNative(value, false) : undefined; +} + export function getProxyDetails(value, fullProxy = true) { + if (engineObjectProxies.has(value)) return undefined; return getProxyDetailsNative(value, fullProxy); } diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/internal/util/inspect.js b/crates/wasm-rquickjs/skeleton/src/builtin/internal/util/inspect.js index 54a4dddcb..c5d83cf09 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/internal/util/inspect.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/internal/util/inspect.js @@ -28,6 +28,7 @@ import { createPrivateWeakMap, createPrivateWeakSet } from "__wasm_rquickjs_buil import { ALL_PROPERTIES, getConstructorName as internalGetConstructorName, + getEngineObjectProxyTarget, getPromiseDetails, getProxyDetails, getOwnNonIndexProperties, @@ -578,17 +579,35 @@ function formatValue( // Memorize the context for custom inspection on proxies. const context = value; + // Engine objects emulated with a proxy format as their target, without a Proxy wrapper. + const engineTarget = getEngineObjectProxyTarget(value); + if (engineTarget !== undefined) { + value = engineTarget; + } // Always check for proxies to prevent side effects and to prevent triggering // any proxy handlers. - const proxy = getProxyDetails(value, !!ctx.showProxy); + let proxy = getProxyDetails(value, !!ctx.showProxy); + // Node 26 formats the target of a proxy wrapped in `Proxy(...)`, once per proxy level. + let proxies = 0; if (proxy !== undefined) { - if (proxy === null || proxy[0] === null) { - return ctx.stylize("", "special"); - } if (ctx.showProxy) { + if (proxy === null || proxy[0] === null) { + return ctx.stylize("", "special"); + } return formatProxy(ctx, proxy, recurseTimes); } - value = proxy; + do { + if (proxy === null) { + let formatted = ctx.stylize("", "special"); + for (let i = 0; i < proxies; i++) { + formatted = `${ctx.stylize("Proxy(", "special")}${formatted}${ctx.stylize(")", "special")}`; + } + return formatted; + } + value = proxy; + proxy = getProxyDetails(value, false); + proxies += 1; + } while (proxy !== undefined); } // Provide a hook for user-specified inspect functions. @@ -641,7 +660,11 @@ function formatValue( return ctx.stylize(`[Circular *${index}]`, "special"); } - return formatRaw(ctx, value, recurseTimes, typedArray); + let formatted = formatRaw(ctx, value, recurseTimes, typedArray); + for (let i = 0; i < proxies; i++) { + formatted = `${ctx.stylize("Proxy(", "special")}${formatted}${ctx.stylize(")", "special")}`; + } + return formatted; } function formatRaw(ctx, value, recurseTimes, typedArray) { @@ -869,6 +892,20 @@ function formatRaw(ctx, value, recurseTimes, typedArray) { if (Object.prototype.hasOwnProperty.call(value, 'cause') && keys.indexOf('cause') === -1) { keys.push('cause'); } + // Node 26 also prints AggregateError errors and SuppressedError error/suppressed. + try { + const errors = value.errors; + if (Array.isArray(errors) && Object.prototype.hasOwnProperty.call(value, 'errors') && keys.indexOf('errors') === -1) { + keys.push('errors'); + } + } catch { + // A throwing errors getter is ignored. + } + for (const key of ['error', 'suppressed']) { + if (Object.prototype.hasOwnProperty.call(value, key) && keys.indexOf(key) === -1) { + keys.push(key); + } + } base = formatError(value, constructor, tag, ctx, keys); if (keys.length === 0 && protoProps === undefined) { return base; diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/vm.js b/crates/wasm-rquickjs/skeleton/src/builtin/vm.js index 779bf9c7f..ad87ff8ff 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/vm.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/vm.js @@ -8,6 +8,7 @@ import * as pathModule from 'node:path'; import { pathToFileURL } from 'node:url'; import { extractSourceMapURL } from '__wasm_rquickjs_builtin/internal/source_map_url'; import { createPrivateWeakMap, createPrivateWeakSet } from '__wasm_rquickjs_builtin/internal/weak_collections'; +import { markEngineObjectProxy } from '__wasm_rquickjs_builtin/internal/binding/util'; let contextIdCounter = 1; const contextIds = createPrivateWeakMap(); @@ -1108,7 +1109,7 @@ function createModuleNamespace(module) { configurable: true, }); - return new Proxy(namespaceTarget, { + return markEngineObjectProxy(new Proxy(namespaceTarget, { ownKeys: function() { return names.concat([Symbol.toStringTag]); }, @@ -1127,7 +1128,7 @@ function createModuleNamespace(module) { getOwnPropertyDescriptor: function(_target, prop) { return Object.getOwnPropertyDescriptor(namespaceTarget, prop); }, - }); + })); } function sourceTextModuleBindingValue(binding, name) { @@ -1810,7 +1811,7 @@ function collectSandboxBindings(sandbox) { } function finalizeCompileFunction(fn, code, params, options) { - fn = new Proxy(fn, { + fn = markEngineObjectProxy(new Proxy(fn, { apply(target, thisArg, args) { try { return Reflect.apply(target, thisArg, args); @@ -1819,7 +1820,7 @@ function finalizeCompileFunction(fn, code, params, options) { throw err; } }, - }); + })); const renderedParams = params.map(String).join(', '); Object.defineProperty(fn, 'toString', { configurable: true, @@ -2485,15 +2486,15 @@ function vmModuleStatusError(message) { return err; } -function throwInvalidModuleThis(value) { - const err = new TypeError('The "this" argument must be an instance of Module.' + invalidArgTypeHelper(value)); - err.code = 'ERR_INVALID_ARG_TYPE'; +function throwInvalidModuleThis(type) { + const err = new TypeError('Value of "this" must be of type ' + type); + err.code = 'ERR_INVALID_THIS'; throw err; } function requireVmModuleThis(value) { if (!value || value[vmModuleInstanceBrandSymbol] !== true) { - throwInvalidModuleThis(value); + throwInvalidModuleThis('Module'); } return value; } @@ -2523,9 +2524,7 @@ function inspectVmModule(depth, options, inspect) { function requireSyntheticModuleThis(value) { if (!value || value[vmModuleInstanceBrandSymbol] !== true || !(value instanceof SyntheticModule)) { - const err = new TypeError('The "this" argument must be an instance of SyntheticModule.' + invalidArgTypeHelper(value)); - err.code = 'ERR_INVALID_ARG_TYPE'; - throw err; + throwInvalidModuleThis('SyntheticModule'); } return value; } @@ -2561,7 +2560,8 @@ function defineVmDynamicImportCallbackBinding(helperName, callback, wrap) { ? wrap[vmDynamicImportReferrerSymbol] : wrap; try { - result = callback(String(specifier), referrer, dynamicImportAttributes(options)); + // Only the evaluation phase of import() is supported, not import.source(). + result = callback(String(specifier), referrer, dynamicImportAttributes(options), 'evaluation'); } catch (err) { return Promise.reject(err); } @@ -2864,6 +2864,12 @@ export class SourceTextModule { this._dependencies = analysis.dependencies; this._usesImportedNames = sourceTextModuleHasImportedNames(this._dependencies); this._dependencySpecifiers = Object.freeze(this._dependencies.map((dependency) => dependency.specifier)); + this._moduleRequests = Object.freeze(this._dependencies.map((dependency) => Object.freeze({ + __proto__: null, + specifier: dependency.specifier, + attributes: dependency.attributes, + phase: 'evaluation', + }))); this._bindings = Object.create(null); this._names = []; this._exportBindings = []; @@ -2924,6 +2930,11 @@ export class SourceTextModule { return this._dependencySpecifiers; } + get moduleRequests() { + requireVmModuleThis(this); + return this._moduleRequests; + } + async link(linker) { if (typeof linker !== 'function') { throwInvalidArgType('linker', 'function', linker); @@ -3143,7 +3154,8 @@ export class SyntheticModule { this[vmModuleInstanceBrandSymbol] = true; this._context = this._options.context; this._identifier = this._options.identifier || 'vm:module(0)'; - this._status = 'unlinked'; + // A synthetic module has no dependencies, so Node 26 instantiates it on construction. + this._status = 'linked'; this._error = undefined; this._dependencySpecifiers = Object.freeze([]); this._names = exportNames.slice(); @@ -3179,21 +3191,8 @@ export class SyntheticModule { return this._error; } - async link(linker) { - if (typeof linker !== 'function') { - throwInvalidArgType('linker', 'function', linker); - } - if (this._status === 'linked' || this._status === 'evaluated' || this._status === 'errored') { - const err = new Error('Module has already been linked'); - err.code = 'ERR_VM_MODULE_ALREADY_LINKED'; - throw err; - } - if (this._status !== 'unlinked') { - throw vmModuleStatusError('Module status must be unlinked'); - } - this._status = 'linking'; - await Promise.resolve(); - this._status = 'linked'; + link() { + requireSyntheticModuleThis(this); } setExport(name, value) { @@ -3201,9 +3200,6 @@ export class SyntheticModule { if (typeof name !== 'string') { throw new TypeError('Export name must be a string'); } - if (this._status === 'unlinked' || this._status === 'linking') { - throw vmModuleStatusError('Module status must not be unlinked or linking'); - } const binding = this._bindings[name]; if (binding === undefined) { throw new ReferenceError('Export ' + name + ' is not defined in module'); From f098950cde3a4bd1edc01d9f1f0fbf96e2fb5cc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 23 Nov 2026 17:44:16 +0000 Subject: [PATCH 35/55] Port Node 26 crypto errors and QuotaExceededError [skip ci] --- .../skeleton/src/builtin/abort_controller.js | 50 +++++++++++++- .../skeleton/src/builtin/abort_controller.rs | 3 +- .../wasm-rquickjs/skeleton/src/builtin/vm.rs | 1 + .../skeleton/src/builtin/web-crypto.js | 63 ++++++++++++++--- .../skeleton/src/builtin/web_crypto.rs | 67 +++++++------------ .../skeleton/src/builtin/web_crypto_lite.rs | 2 +- 6 files changed, 133 insertions(+), 53 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/abort_controller.js b/crates/wasm-rquickjs/skeleton/src/builtin/abort_controller.js index b2cc9eff2..cd3ad7934 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/abort_controller.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/abort_controller.js @@ -39,6 +39,54 @@ class DOMException extends Error { } } +function toQuotaDouble(options, key) { + const value = +options[key]; + if (!Number.isFinite(value)) { + throw new TypeError(`Cannot convert options.${key} to a double: the value is ${Number.isNaN(value) ? 'NaN' : 'Infinity'}`); + } + if (value < 0) { + throw new RangeError(`options.${key} must not be negative`); + } + return value; +} + +// https://webidl.spec.whatwg.org/#quotaexceedederror (Node 26 global) +class QuotaExceededError extends DOMException { + #quota; + #requested; + + constructor(message = '', options = {__proto__: null}) { + super(message, 'QuotaExceededError'); + let quota = null; + let requested = null; + if (options !== null && options !== undefined) { + if ('quota' in options) quota = toQuotaDouble(options, 'quota'); + if ('requested' in options) requested = toQuotaDouble(options, 'requested'); + } + if (quota !== null && requested !== null && requested < quota) { + throw new RangeError('options.requested must not be less than options.quota'); + } + this.#quota = quota; + this.#requested = requested; + } + + get quota() { + if (!(#quota in this)) throw new TypeError('Value of "this" must be of type QuotaExceededError'); + return this.#quota; + } + + get requested() { + if (!(#requested in this)) throw new TypeError('Value of "this" must be of type QuotaExceededError'); + return this.#requested; + } +} + +Object.defineProperties(QuotaExceededError.prototype, { + [Symbol.toStringTag]: {__proto__: null, configurable: true, value: 'QuotaExceededError'}, + quota: {__proto__: null, enumerable: true, configurable: true}, + requested: {__proto__: null, enumerable: true, configurable: true}, +}); + // We need access to the Event _eventTrusted WeakMap to mark events as trusted. // Import the _eventTrusted symbol from events module. import { _eventTrusted, Event } from 'node:events'; @@ -379,4 +427,4 @@ Object.defineProperty(AbortSignal.prototype, Symbol.toStringTag, { configurable: true, }); -export { AbortController, AbortSignal, DOMException }; +export { AbortController, AbortSignal, DOMException, QuotaExceededError }; diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/abort_controller.rs b/crates/wasm-rquickjs/skeleton/src/builtin/abort_controller.rs index 9d5a1e151..9866ff2e4 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/abort_controller.rs +++ b/crates/wasm-rquickjs/skeleton/src/builtin/abort_controller.rs @@ -3,8 +3,9 @@ pub const ABORT_CONTROLLER_JS: &str = include_str!("abort_controller.js"); // JS code wiring the abort_controller module into the global context pub const WIRE_JS: &str = r#" - import { AbortController, AbortSignal, DOMException } from '__wasm_rquickjs_builtin/abort_controller'; + import { AbortController, AbortSignal, DOMException, QuotaExceededError } from '__wasm_rquickjs_builtin/abort_controller'; globalThis.AbortController = AbortController; globalThis.AbortSignal = AbortSignal; globalThis.DOMException = DOMException; + globalThis.QuotaExceededError = QuotaExceededError; "#; diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/vm.rs b/crates/wasm-rquickjs/skeleton/src/builtin/vm.rs index d61c7ab35..b7e59c304 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/vm.rs +++ b/crates/wasm-rquickjs/skeleton/src/builtin/vm.rs @@ -140,6 +140,7 @@ fn eval_in_new_context_impl<'js>( "DisposableStack", "Float16Array", "InternalError", + "QuotaExceededError", "SuppressedError", "atob", "btoa", diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js b/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js index 7dfa947e4..692e0b2d6 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js @@ -2,7 +2,7 @@ import { registerCloneAdapter } from '__wasm_rquickjs_builtin/internal/clone_pol import * as webCryptoNative from '__wasm_rquickjs_builtin/web_crypto_native' import { TO_CRYPTO_KEY_ALGORITHM_NAMES } from '__wasm_rquickjs_builtin/internal/crypto/util'; import Transform from '__wasm_rquickjs_builtin/internal/streams/transform' -import { DOMException } from '__wasm_rquickjs_builtin/abort_controller' +import { DOMException, QuotaExceededError } from '__wasm_rquickjs_builtin/abort_controller' import { ERR_CRYPTO_INCOMPATIBLE_KEY_OPTIONS, ERR_CRYPTO_INVALID_DIGEST, @@ -691,7 +691,7 @@ export function getRandomValues(typedArray) { throw new DOMException('The data argument must be an integer-type TypedArray', 'TypeMismatchError'); } if (typedArray.byteLength > 65536) { - throw new DOMException('The requested length exceeds 65,536 bytes', 'QuotaExceededError'); + throw new QuotaExceededError('The requested length exceeds 65,536 bytes'); } // Use a plain Uint8Array view to randomize the underlying buffer, // which works for all integer typed array types including Buffer subclasses @@ -6215,6 +6215,9 @@ function base64UrlToBytes(value) { function normalizeDiffieHellmanPublicKey(key) { if (key instanceof KeyObject) { + if (key.type !== 'public' && key.type !== 'private') { + throw new ERR_CRYPTO_INVALID_KEY_OBJECT_TYPE(key.type, 'private or public'); + } if (key.type === 'private') { return createPublicKey(key); } @@ -6225,10 +6228,8 @@ function normalizeDiffieHellmanPublicKey(key) { function normalizeDiffieHellmanPrivateKey(key) { if (key instanceof KeyObject) { - if (key.type === 'public') { - const err = new TypeError("The property 'options.privateKey' is invalid. Received a public key"); - err.code = 'ERR_INVALID_ARG_VALUE'; - throw err; + if (key.type !== 'private') { + throw new ERR_CRYPTO_INVALID_KEY_OBJECT_TYPE(key.type, 'private'); } return key; } @@ -6376,17 +6377,34 @@ function computeMontgomeryDiffieHellman(type_, privateKey, publicKey) { return deriveMontgomerySharedSecret(privateMaterial.privateKey, publicMaterial.publicKey, outputLength); } -export function diffieHellman(options) { +export function diffieHellman(options, callback) { if (options === null || typeof options !== 'object' || Array.isArray(options)) { throw createDiffieHellmanOptionsTypeError(options); } + if (callback !== undefined && typeof callback !== 'function') { + throw new ERR_INVALID_ARG_TYPE('callback', 'function', callback); + } if (options.publicKey === undefined) { throw createMissingDiffieHellmanPropertyError('publicKey', options.publicKey); } if (options.privateKey === undefined) { throw createMissingDiffieHellmanPropertyError('privateKey', options.privateKey); } + if (callback === undefined) { + return computeDiffieHellmanSecret(options); + } + // Node 26 runs the derivation as a job and reports its result or error to the callback. + let secret; + try { + secret = computeDiffieHellmanSecret(options); + } catch (err) { + process.nextTick(() => callback(err)); + return; + } + process.nextTick(() => callback(null, secret)); +} +function computeDiffieHellmanSecret(options) { const publicKey = normalizeDiffieHellmanPublicKey(options.publicKey); const privateKey = normalizeDiffieHellmanPrivateKey(options.privateKey); const publicType = publicKey.asymmetricKeyType; @@ -7195,12 +7213,21 @@ Sign.prototype._write = function(chunk, encoding, callback) { return Transform.prototype._write.call(this, chunk, encoding, callback); }; +function validateJwkKeyInput(key, name) { + if (key !== null && typeof key === 'object' && key.format === 'jwk' && + (key.key === null || typeof key.key !== 'object')) { + throw new ERR_INVALID_ARG_TYPE(name, 'object', key.key); + } +} + Sign.prototype.sign = function(privateKey, outputEncoding) { if (privateKey === null || privateKey === undefined) { const err = new Error('No key provided to sign'); err.code = 'ERR_CRYPTO_SIGN_KEY_REQUIRED'; throw err; } + // Sign.prototype.sign names its key argument privateKey in validation errors. + validateJwkKeyInput(privateKey, 'privateKey.key'); let keyObj; let padding; let saltLength; @@ -7389,6 +7416,23 @@ Verify.prototype._write = function(chunk, encoding, callback) { return Transform.prototype._write.call(this, chunk, encoding, callback); }; +// Node verifies with a private key as given. A DH private key has no derivable public +// KeyObject here, so return it to reach the unsupported key type error. +function createVerifyKey(key) { + try { + return createPublicKey(key); + } catch (err) { + let privateKey; + try { + privateKey = createPrivateKey(key); + } catch { + throw err; + } + if (privateKey.asymmetricKeyType === 'dh') return privateKey; + throw err; + } +} + Verify.prototype.verify = function(publicKey, signature, signatureEncoding) { if (publicKey === null || publicKey === undefined) { const err = new Error('No key provided to verify'); @@ -7413,10 +7457,10 @@ Verify.prototype.verify = function(publicKey, signature, signatureEncoding) { const privKey = createPrivateKey(publicKey); keyObj = createPublicKey(privKey); } else { - keyObj = createPublicKey(publicKey); + keyObj = createVerifyKey(publicKey); } } else { - keyObj = createPublicKey(publicKey); + keyObj = createVerifyKey(publicKey); } const sigBytes = toBytes(signature, signatureEncoding); @@ -7546,6 +7590,7 @@ export function sign(algorithm, data, key, callback) { } const normalizedData = toBytes(data); validateSignContext(key); + validateJwkKeyInput(key, 'key.key'); const s = new Sign(algo); s.update(normalizedData); // A missing key fails synchronously, as in Node.js. diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/web_crypto.rs b/crates/wasm-rquickjs/skeleton/src/builtin/web_crypto.rs index f5ab76660..f2fad3698 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/web_crypto.rs +++ b/crates/wasm-rquickjs/skeleton/src/builtin/web_crypto.rs @@ -2707,52 +2707,36 @@ impl KeyData { } fn export_sec1_private_der(&self) -> Option> { - match self { - KeyData::EcP256Private(sk) => { - let secret_key = p256::SecretKey::from(sk); - secret_key.to_sec1_der().ok().map(|d| d.to_vec()) - } + // RustCrypto omits the optional curve parameters, which OpenSSL writes and requires + // when it reads SEC1, so add the named curve. + let (der, curve_oid) = match self { + KeyData::EcP256Private(sk) => ( + p256::SecretKey::from(sk).to_sec1_der().ok()?.to_vec(), + "1.2.840.10045.3.1.7", + ), #[cfg(feature = "crypto-full")] - KeyData::EcP384Private(sk) => { - let secret_key = p384::SecretKey::from(sk); - secret_key.to_sec1_der().ok().map(|d| d.to_vec()) - } + KeyData::EcP384Private(sk) => ( + p384::SecretKey::from(sk).to_sec1_der().ok()?.to_vec(), + "1.3.132.0.34", + ), #[cfg(feature = "crypto-full")] - KeyData::EcK256Private(sk) => { - let secret_key = k256::SecretKey::from(sk); - secret_key.to_sec1_der().ok().map(|d| d.to_vec()) - } - _ => None, - } + KeyData::EcK256Private(sk) => ( + k256::SecretKey::from(sk).to_sec1_der().ok()?.to_vec(), + "1.3.132.0.10", + ), + _ => return None, + }; + use sec1::der::{Decode, Encode}; + let mut key = sec1::EcPrivateKey::from_der(&der).ok()?; + key.parameters = Some(sec1::EcParameters::NamedCurve( + sec1::der::asn1::ObjectIdentifier::new(curve_oid).ok()?, + )); + key.to_der().ok() } fn export_sec1_private_pem(&self) -> Option { - match self { - KeyData::EcP256Private(sk) => { - let secret_key = p256::SecretKey::from(sk); - secret_key - .to_sec1_pem(sec1::LineEnding::LF) - .ok() - .map(|s| s.to_string()) - } - #[cfg(feature = "crypto-full")] - KeyData::EcP384Private(sk) => { - let secret_key = p384::SecretKey::from(sk); - secret_key - .to_sec1_pem(sec1::LineEnding::LF) - .ok() - .map(|s| s.to_string()) - } - #[cfg(feature = "crypto-full")] - KeyData::EcK256Private(sk) => { - let secret_key = k256::SecretKey::from(sk); - secret_key - .to_sec1_pem(sec1::LineEnding::LF) - .ok() - .map(|s| s.to_string()) - } - _ => None, - } + let der = self.export_sec1_private_der()?; + sec1::der::pem::encode_string("EC PRIVATE KEY", sec1::LineEnding::LF, &der).ok() } fn export_pkcs8_encrypted_der(&self, cipher_name: &str, passphrase: &[u8]) -> Option> { @@ -5762,6 +5746,7 @@ pub mod native_module { .unwrap_or(&[]); super::create_private_key_from_der(slice) .or_else(|| super::create_rsa_private_key_from_der(slice)) + .or_else(|| super::create_private_key_from_sec1_der(slice)) } #[rquickjs::function] diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/web_crypto_lite.rs b/crates/wasm-rquickjs/skeleton/src/builtin/web_crypto_lite.rs index a251e067c..4c638bc8b 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/web_crypto_lite.rs +++ b/crates/wasm-rquickjs/skeleton/src/builtin/web_crypto_lite.rs @@ -113,7 +113,7 @@ function getRandomValues(array) { throw new DOMException('Float typed arrays are not supported', 'TypeMismatchError'); } if (array.byteLength > 65536) { - throw new DOMException('The ArrayBufferView byte length exceeds the limit (65536)', 'QuotaExceededError'); + throw new QuotaExceededError('The ArrayBufferView byte length exceeds the limit (65536)'); } if (array instanceof Int8Array) randomize_int8_array(array); else if (array instanceof Uint8ClampedArray) randomize_uint8_clamped_array(array); From 2caaf3a8a64f477769a9ff4f66e2288df8dbc19b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 23 Nov 2026 17:44:16 +0000 Subject: [PATCH 36/55] Port Node 26 require(esm) and import attribute errors [skip ci] --- .../skeleton/src/builtin/module.js | 24 ++- .../skeleton/src/internal/module_loading.rs | 144 ++++++------------ .../src/module-resolution.js | 88 +++++------ 3 files changed, 112 insertions(+), 144 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/module.js b/crates/wasm-rquickjs/skeleton/src/builtin/module.js index a5102fde6..6cc260cdf 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/module.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/module.js @@ -3254,8 +3254,9 @@ function decorateRequireAsyncModuleError(err, parent) { const requireStack = []; for (let cursor = parent; cursor; cursor = cursor.parent) { const id = cursor.filename || cursor.id; - // The synthetic main record of the runtime is not a module of the graph. - if (cursor === mainModule || id === '/') break; + // The synthetic main record of the runtime (filename '/') is not a module of the + // graph; an entry script reuses that record with its real filename. + if (id === '/') break; requireStack.push(id); } if (requireStack.length > 0) { @@ -3267,7 +3268,19 @@ function decorateRequireAsyncModuleError(err, parent) { }); } -function requireEsmWithCacheGuard(mod, resolvedFilename, forceModule, sourceOverride) { +const CJS_GLOBAL_LIKE_NAMES = ['require', 'module', 'exports', '__filename', '__dirname']; + +// Node's ModuleJobSync explains a bare CommonJS global reference in an ES module +// (lib/internal/modules/esm/module_job.js explainCommonJSGlobalLikeNotDefinedError). +function explainCommonJsGlobalLikeNotDefinedError(err) { + if (!err || err.name !== 'ReferenceError' || typeof err.message !== 'string') return; + const name = CJS_GLOBAL_LIKE_NAMES.find((globalLike) => err.message === globalLike + ' is not defined'); + if (name === undefined) return; + err.message += ' in ES module scope'; + if (name === 'require') err.message += ', you can use import instead'; +} + +function requireEsmWithCacheGuard(mod, resolvedFilename, forceModule, sourceOverride, parentModule = mod.parent) { let esmIdentity = resolvedFilename; if ( sourceOverride === undefined && @@ -3295,7 +3308,8 @@ function requireEsmWithCacheGuard(mod, resolvedFilename, forceModule, sourceOver try { namespace = _requireEsm(esmIdentity); } catch (err) { - decorateRequireAsyncModuleError(err, mod.parent); + decorateRequireAsyncModuleError(err, parentModule); + explainCommonJsGlobalLikeNotDefinedError(err); throw err; } if (namespace && typeof namespace === 'object' && Object.hasOwn(namespace, 'module.exports')) { @@ -3529,7 +3543,7 @@ function loadCommonJsTransaction(descriptor) { } if (isEsm) { try { - mod.exports = requireEsmWithCacheGuard(mod, filename); + mod.exports = requireEsmWithCacheGuard(mod, filename, undefined, undefined, parentModule); } catch (err) { discardCjsModuleLoad(cacheKey, parentModule, mod); throw err; diff --git a/crates/wasm-rquickjs/skeleton/src/internal/module_loading.rs b/crates/wasm-rquickjs/skeleton/src/internal/module_loading.rs index a8a2f988c..56c022c64 100644 --- a/crates/wasm-rquickjs/skeleton/src/internal/module_loading.rs +++ b/crates/wasm-rquickjs/skeleton/src/internal/module_loading.rs @@ -191,6 +191,17 @@ function __wasm_rquickjs_import_attr_prepare_from_options(value, parsedOptions, format = 'module'; } + // Node 26 validateAttributes rejects every key other than "type" before checking the type. + if (unsupportedKey !== undefined) { + var unsupportedValueText = typeof unsupportedValue === 'string' + ? '"' + unsupportedValue + '"' + : String(unsupportedValue); + return semanticError(Object.assign( + new TypeError('Import attribute "' + unsupportedKey + '" with value ' + unsupportedValueText + ' is not supported'), + { code: 'ERR_IMPORT_ATTRIBUTE_UNSUPPORTED' } + )); + } + if (typeValue !== undefined && typeValue !== 'json' && !(typeValue === 'css' && format === 'css')) { return semanticError(Object.assign( new TypeError('Import attribute type "' + typeValue + '" is not supported'), @@ -218,16 +229,6 @@ function __wasm_rquickjs_import_attr_prepare_from_options(value, parsedOptions, return prepared; } - if (unsupportedKey !== undefined) { - var unsupportedValueText = typeof unsupportedValue === 'string' - ? '"' + unsupportedValue + '"' - : String(unsupportedValue); - return semanticError(Object.assign( - new TypeError('Import attribute "' + unsupportedKey + '" with value ' + unsupportedValueText + ' is not supported'), - { code: 'ERR_IMPORT_ATTRIBUTE_UNSUPPORTED' } - )); - } - if (typeValue !== undefined) { if (typeValue === 'json') { if (format === 'module') { @@ -992,8 +993,7 @@ impl Loader for DataUrlLoader { // request independently of the engine's module cache. Legacy // `assert { ... }` remains a syntax error. let processed = process_static_import_attrs(&source, path); - if let Some(error_source) = - esm_preflight_error_module_source(&processed.source, false, false) + if let Some(error_source) = esm_preflight_error_module_source(&processed.source, false) { return Module::declare(ctx.clone(), path, error_source.as_bytes().to_vec()); } @@ -2136,6 +2136,14 @@ fn validate_import_attrs_error( format: Option<&str>, specifier: &str, ) -> Option<(String, String)> { + // Node 26 validateAttributes rejects every key other than "type" before checking the type. + if let Some(key) = unsupported_key { + return Some(( + "ERR_IMPORT_ATTRIBUTE_UNSUPPORTED".to_string(), + format!("Import attribute \"{key}\" is not supported"), + )); + } + if let Some(tv) = type_value { match tv { "json" => { @@ -2172,13 +2180,6 @@ fn validate_import_attrs_error( )); } - if let Some(key) = unsupported_key { - return Some(( - "ERR_IMPORT_ATTRIBUTE_UNSUPPORTED".to_string(), - format!("Import attribute \"{key}\" is not supported"), - )); - } - None } @@ -2208,11 +2209,7 @@ fn throw_import_attr_type_incompatible<'js, T>(ctx: &Ctx<'js>) -> rquickjs::Resu Err(ctx.throw(error_obj.into_value())) } -fn esm_preflight_error_module_source( - source: &str, - package_type_module_js: bool, - raw_cjs_global_messages: bool, -) -> Option { +fn esm_preflight_error_module_source(source: &str, package_type_module_js: bool) -> Option { if package_type_module_js { let name = find_bare_cjs_global_in_esm(source)?; let message = format!( @@ -2225,24 +2222,14 @@ fn esm_preflight_error_module_source( } let name = find_bare_cjs_global_in_esm(source)?; - let message = if raw_cjs_global_messages { - match name { - "require" => "require is not defined", - "exports" => "exports is not defined", - "module" => "module is not defined", - "__filename" => "__filename is not defined", - "__dirname" => "__dirname is not defined", - _ => return None, - } - } else { - match name { - "require" => "require is not defined in ES module scope, you can use import instead", - "exports" => "exports is not defined in ES module scope", - "module" => "module is not defined in ES module scope", - "__filename" => "__filename is not defined in ES module scope", - "__dirname" => "__dirname is not defined in ES module scope", - _ => return None, - } + // Node 26 adds the ES module scope explanation on both the import and require(esm) paths. + let message = match name { + "require" => "require is not defined in ES module scope, you can use import instead", + "exports" => "exports is not defined in ES module scope", + "module" => "module is not defined in ES module scope", + "__filename" => "__filename is not defined in ES module scope", + "__dirname" => "__dirname is not defined in ES module scope", + _ => return None, }; let escaped = DataUrlLoader::js_string_escape(message); Some(format!( @@ -2250,17 +2237,11 @@ fn esm_preflight_error_module_source( )) } -fn esm_require_global_preflight_error_module_source( - source: &str, - raw_cjs_global_messages: bool, -) -> Option { +fn esm_require_global_preflight_error_module_source(source: &str) -> Option { find_bare_cjs_global_in_esm_among(source, &["require"])?; - let message = if raw_cjs_global_messages { - "require is not defined" - } else { - "require is not defined in ES module scope, you can use import instead" - }; - let escaped = DataUrlLoader::js_string_escape(message); + let escaped = DataUrlLoader::js_string_escape( + "require is not defined in ES module scope, you can use import instead", + ); Some(format!( "await Promise.reject(new ReferenceError('{escaped}'));\n" )) @@ -11025,7 +11006,10 @@ fn initialize_module_import_meta<'js>( .is_ok_and(|entry| entry == *filename); meta.prop( "main", - Property::from(is_main).writable().enumerable().configurable(), + Property::from(is_main) + .writable() + .enumerable() + .configurable(), )?; } if init.include_resolve { @@ -11441,15 +11425,6 @@ fn read_module_source_or_throw<'js>( } } -fn require_esm_in_progress(ctx: &Ctx<'_>, filename: &str, file_url: &str) -> bool { - let globals = ctx.globals(); - let Ok(registry) = globals.get::<_, Object>("__wasm_rquickjs_require_esm_in_progress") else { - return false; - }; - registry.get::<_, bool>(filename).unwrap_or(false) - || registry.get::<_, bool>(file_url).unwrap_or(false) -} - fn require_esm_forced_module(ctx: &Ctx<'_>, filename: &str, file_url: &str) -> bool { let globals = ctx.globals(); let Ok(registry) = globals.get::<_, Object>("__wasm_rquickjs_require_esm_forced_module") else { @@ -13283,14 +13258,13 @@ enum EsmFilePreflightMode { fn esm_file_preflight_error_module_source( source: &str, mode: EsmFilePreflightMode, - raw_cjs_global_messages: bool, ) -> Option { match mode { EsmFilePreflightMode::RequireOnly => { - esm_require_global_preflight_error_module_source(source, raw_cjs_global_messages) + esm_require_global_preflight_error_module_source(source) } EsmFilePreflightMode::PackageTypeModuleJs => { - esm_preflight_error_module_source(source, true, raw_cjs_global_messages) + esm_preflight_error_module_source(source, true) } } } @@ -13320,7 +13294,6 @@ fn declare_esm_file_module_from_source<'js>( let processed = process_static_import_attrs(&raw_source, module_id); let source = &processed.source; let init = file_import_meta_init(url, fs_abs_path.clone()); - let raw_cjs_global_messages = require_esm_in_progress(ctx, &fs_abs_path, &init.url); let globals = ctx.globals(); if let Ok(cache) = globals.get::<_, Object>("__esm_error_cache") @@ -13330,9 +13303,7 @@ fn declare_esm_file_module_from_source<'js>( return Err(ctx.throw(cached_error)); } - if let Some(error_source) = - esm_file_preflight_error_module_source(source, preflight_mode, raw_cjs_global_messages) - { + if let Some(error_source) = esm_file_preflight_error_module_source(source, preflight_mode) { return Module::declare(ctx.clone(), module_id, error_source.as_bytes().to_vec()); } if let Some(error_source) = cjs_named_import_error_module_source(ctx, &fs_abs_path, source) { @@ -14224,7 +14195,6 @@ import "./dep.js" withあ; export { exports as "module.exports" }; "#, true, - false, ) .is_none() ); @@ -14310,35 +14280,28 @@ import "./dep.js" withあ; #[test] fn package_type_diagnostics_use_first_cjs_global() { - let require_diag = esm_preflight_error_module_source("require('x');", true, false).unwrap(); + let require_diag = esm_preflight_error_module_source("require('x');", true).unwrap(); assert!(require_diag.contains("require is not defined")); assert!(require_diag.contains(".cjs")); let filename_diag = - esm_preflight_error_module_source("console.log(__filename);", true, false).unwrap(); + esm_preflight_error_module_source("console.log(__filename);", true).unwrap(); assert!(filename_diag.contains("__filename is not defined")); assert!(filename_diag.contains(".cjs")); assert!( - esm_preflight_error_module_source( - "const require = 1; export default require;", - true, - false - ) - .is_none() + esm_preflight_error_module_source("const require = 1; export default require;", true) + .is_none() ); assert!( - esm_preflight_error_module_source("export default typeof require;", false, false) - .is_none() + esm_preflight_error_module_source("export default typeof require;", false).is_none() ); assert!( - esm_preflight_error_module_source("export default typeof (exports);", false, false) - .is_none() + esm_preflight_error_module_source("export default typeof (exports);", false).is_none() ); assert!( esm_preflight_error_module_source( "if (true) { const exports = 1; Object.keys(exports); }", - false, false ) .is_none() @@ -14346,21 +14309,18 @@ import "./dep.js" withあ; let block_scoped_exports_diag = esm_preflight_error_module_source( "if (false) { const exports = 1; } Object.keys(exports);", false, - false, ) .unwrap(); assert!(block_scoped_exports_diag.contains("exports is not defined in ES module scope")); let for_scoped_exports_diag = esm_preflight_error_module_source( "for (let exports of []) {} Object.keys(exports);", false, - false, ) .unwrap(); assert!(for_scoped_exports_diag.contains("exports is not defined in ES module scope")); let unbraced_for_scoped_exports_diag = esm_preflight_error_module_source( "for (let exports of [1]) Object.keys(exports); Object.keys(exports);", false, - false, ) .unwrap(); assert!( @@ -14369,7 +14329,6 @@ import "./dep.js" withあ; let for_await_scoped_exports_diag = esm_preflight_error_module_source( "for await (let exports of []) {} Object.keys(exports);", false, - false, ) .unwrap(); assert!( @@ -14378,31 +14337,24 @@ import "./dep.js" withあ; assert!(esm_preflight_error_module_source( "try { throw { a: 1 }; } catch (exports) { Object.keys(exports); } export default 1;", false, - false, ) .is_none()); assert!( esm_preflight_error_module_source( "if (false) { var exports = 1; } Object.keys(exports);", false, - false, ) .is_none() ); let object_key_exports_diag = - esm_preflight_error_module_source("export default ({ var: exports });", false, false) - .unwrap(); + esm_preflight_error_module_source("export default ({ var: exports });", false).unwrap(); assert!(object_key_exports_diag.contains("exports is not defined in ES module scope")); let lexical_object_key_exports_diag = - esm_preflight_error_module_source("export default ({ const: exports });", false, false) + esm_preflight_error_module_source("export default ({ const: exports });", false) .unwrap(); assert!( lexical_object_key_exports_diag.contains("exports is not defined in ES module scope") ); - let raw_exports_diag = - esm_preflight_error_module_source("Object.keys(exports);", false, true).unwrap(); - assert!(raw_exports_diag.contains("exports is not defined")); - assert!(!raw_exports_diag.contains("ES module scope")); } #[test] diff --git a/examples/runtime/module-resolution/src/module-resolution.js b/examples/runtime/module-resolution/src/module-resolution.js index f961b48ad..b5719a870 100644 --- a/examples/runtime/module-resolution/src/module-resolution.js +++ b/examples/runtime/module-resolution/src/module-resolution.js @@ -2154,7 +2154,9 @@ export const testEsmDataUrlImportAttributes = async () => { 'await expectReject("unsupported extra key for fresh JS URL should reject before type incompatibility", import("data:text/javascript,export default 1#fresh-extra", { with: { type: "json", other: "unsupported" } }), { code: "ERR_IMPORT_ATTRIBUTE_UNSUPPORTED" });', 'const cachedTypeErrorUrl = "data:text/javascript,export default 1#cached-type-error";', 'await expectReject("initial JS URL type mismatch should reject as incompatible", import(cachedTypeErrorUrl, { with: { type: "json" } }), { code: "ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE" });', - 'await expectReject("same JS URL with unsupported extra key should reuse cached type mismatch", import(cachedTypeErrorUrl, { with: { type: "json", other: "unsupported" } }), { code: "ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE" });', + // Node 26 validates attributes before caching a load, so a failed import is not reused. + 'await expectReject("same JS URL with unsupported extra key should revalidate attributes", import(cachedTypeErrorUrl, { with: { type: "json", other: "unsupported" } }), { code: "ERR_IMPORT_ATTRIBUTE_UNSUPPORTED" });', + 'await expectReject("same JS URL type mismatch should still reject as incompatible", import(cachedTypeErrorUrl, { with: { type: "json" } }), { code: "ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE" });', 'await expectReject("CSS import attribute for JSON should reject", import("data:application/json,1", { with: { type: "css" } }), { code: "ERR_IMPORT_ATTRIBUTE_UNSUPPORTED" });', 'const obj = { import(value) { return ["method", value]; } };', 'assert.deepStrictEqual(obj.import("not-a-module", { with: { type: "json" } }), ["method", "not-a-module"]);', @@ -7071,7 +7073,7 @@ export const testCjsDirectNamedExports = async () => { ' hasCommentOnly: Object.prototype.hasOwnProperty.call(ns, "commentOnly"),', ' hasBlockCommentOnly: Object.prototype.hasOwnProperty.call(ns, "blockCommentOnly"),', ' hasStringOnly: Object.prototype.hasOwnProperty.call(ns, "stringOnly"),', - ' falsePositiveKeys: Object.keys(fp).filter((key) => key !== "default" && key !== "real"),', + ' falsePositiveKeys: Object.keys(fp).filter((key) => key !== "default" && key !== "module.exports" && key !== "real"),', ' real: fp.real,', '};', ].join('\n')); @@ -7344,12 +7346,12 @@ export const testCjsReexportNamedExports = async () => { 'import * as nonReexport from "./not-reexport.cjs";', 'export default {', ' alpha, beta, transAlpha, transBeta,', - ' continuationKeys: Object.keys(continuation).filter((key) => key !== "default").sort(),', + ' continuationKeys: Object.keys(continuation).filter((key) => key !== "default" && key !== "module.exports").sort(),', ' continuationAlpha: continuation.alpha,', ' continuationBeta: continuation.beta,', ' continuationNested: continuation.nested,', ' continuationDefault: continuation.default,', - ' nonReexportKeys: Object.keys(nonReexport).filter((key) => key !== "default" && key !== "own"),', + ' nonReexportKeys: Object.keys(nonReexport).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', ' nonReexportOwn: nonReexport.own,', '};', ].join('\n')); @@ -7862,81 +7864,81 @@ export const testCjsAnalyzerFalsePositiveGuards = async () => { 'import * as objectLiteralCallTerminal from "./object-literal-call-terminal.cjs";', 'import * as objectLiteralMethodTerminal from "./object-literal-method-terminal.cjs";', 'export default {', - ' fpKeys: Object.keys(fp).filter((key) => key !== "default" && key !== "real"),', + ' fpKeys: Object.keys(fp).filter((key) => key !== "default" && key !== "module.exports" && key !== "real"),', ' real: fp.real,', - ' unsafeKeys: Object.keys(unsafe).filter((key) => key !== "default" && key !== "safe"),', + ' unsafeKeys: Object.keys(unsafe).filter((key) => key !== "default" && key !== "module.exports" && key !== "safe"),', ' safe: unsafe.safe,', - ' nonReexportKeys: Object.keys(nonReexport).filter((key) => key !== "default" && key !== "own"),', + ' nonReexportKeys: Object.keys(nonReexport).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', ' own: nonReexport.own,', - ' foreachPropertyNonCallKeys: Object.keys(foreachPropertyNonCall).filter((key) => key !== "default" && key !== "own"),', + ' foreachPropertyNonCallKeys: Object.keys(foreachPropertyNonCall).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', ' foreachPropertyNonCallOwn: foreachPropertyNonCall.own,', - ' nestedReexportKeys: Object.keys(nestedReexport).filter((key) => key !== "default" && key !== "own"),', + ' nestedReexportKeys: Object.keys(nestedReexport).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', ' nestedOwn: nestedReexport.own,', - ' nestedRequireBindingKeys: Object.keys(nestedRequireBinding).filter((key) => key !== "default" && key !== "own"),', + ' nestedRequireBindingKeys: Object.keys(nestedRequireBinding).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', ' nestedRequireBindingOwn: nestedRequireBinding.own,', - ' unguardedReexportKeys: Object.keys(unguardedReexport).filter((key) => key !== "default"),', - ' hiddenDescriptorReexportKeys: Object.keys(hiddenDescriptorReexport).filter((key) => key !== "default" && key !== "own"),', + ' unguardedReexportKeys: Object.keys(unguardedReexport).filter((key) => key !== "default" && key !== "module.exports"),', + ' hiddenDescriptorReexportKeys: Object.keys(hiddenDescriptorReexport).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', ' hiddenDescriptorOwn: hiddenDescriptorReexport.own,', - ' extraDescriptorReexportKeys: Object.keys(extraDescriptorReexport).filter((key) => key !== "default" && key !== "own"),', + ' extraDescriptorReexportKeys: Object.keys(extraDescriptorReexport).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', ' extraDescriptorOwn: extraDescriptorReexport.own,', - ' duplicateEnumerableReexportKeys: Object.keys(duplicateEnumerableReexport).filter((key) => key !== "default" && key !== "own"),', + ' duplicateEnumerableReexportKeys: Object.keys(duplicateEnumerableReexport).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', ' duplicateEnumerableOwn: duplicateEnumerableReexport.own,', - ' getterOnlyReexportKeys: Object.keys(getterOnlyReexport).filter((key) => key !== "default" && key !== "own"),', + ' getterOnlyReexportKeys: Object.keys(getterOnlyReexport).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', ' getterOnlyOwn: getterOnlyReexport.own,', - ' getterBeforeEnumerableReexportKeys: Object.keys(getterBeforeEnumerableReexport).filter((key) => key !== "default" && key !== "own"),', + ' getterBeforeEnumerableReexportKeys: Object.keys(getterBeforeEnumerableReexport).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', ' getterBeforeEnumerableOwn: getterBeforeEnumerableReexport.own,', ' namedFunctionGetterAlpha: namedFunctionGetterReexport.alpha,', - ' nestedGetterReexportKeys: Object.keys(nestedGetterReexport).filter((key) => key !== "default" && key !== "own"),', + ' nestedGetterReexportKeys: Object.keys(nestedGetterReexport).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', ' nestedGetterOwn: nestedGetterReexport.own,', - ' otherBindingGetterReexportKeys: Object.keys(otherBindingGetterReexport).filter((key) => key !== "default" && key !== "own"),', + ' otherBindingGetterReexportKeys: Object.keys(otherBindingGetterReexport).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', ' otherBindingGetterOwn: otherBindingGetterReexport.own,', - ' otherKeyGetterReexportKeys: Object.keys(otherKeyGetterReexport).filter((key) => key !== "default" && key !== "own"),', + ' otherKeyGetterReexportKeys: Object.keys(otherKeyGetterReexport).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', ' otherKeyGetterOwn: otherKeyGetterReexport.own,', - ' reversedGuardReexportKeys: Object.keys(reversedGuardReexport).filter((key) => key !== "default" && key !== "own"),', + ' reversedGuardReexportKeys: Object.keys(reversedGuardReexport).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', ' reversedGuardOwn: reversedGuardReexport.own,', - ' delayedGuardReexportKeys: Object.keys(delayedGuardReexport).filter((key) => key !== "default" && key !== "own"),', + ' delayedGuardReexportKeys: Object.keys(delayedGuardReexport).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', ' delayedGuardOwn: delayedGuardReexport.own,', - ' nestedGuardReexportKeys: Object.keys(nestedGuardReexport).filter((key) => key !== "default" && key !== "own"),', + ' nestedGuardReexportKeys: Object.keys(nestedGuardReexport).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', ' nestedGuardOwn: nestedGuardReexport.own,', - ' forHeaderBindingKeys: Object.keys(forHeaderBinding).filter((key) => key !== "default" && key !== "own"),', + ' forHeaderBindingKeys: Object.keys(forHeaderBinding).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', ' forHeaderBindingOwn: forHeaderBinding.own,', ' commentedAlpha: commentedReexport.alpha,', ' lineCommentedAlpha: lineCommentedReexport.alpha,', - ' arrowCallbackReexportKeys: Object.keys(arrowCallbackReexport).filter((key) => key !== "default" && key !== "own"),', + ' arrowCallbackReexportKeys: Object.keys(arrowCallbackReexport).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', ' arrowCallbackOwn: arrowCallbackReexport.own,', - ' extraArgReexportKeys: Object.keys(extraArgReexport).filter((key) => key !== "default" && key !== "own"),', + ' extraArgReexportKeys: Object.keys(extraArgReexport).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', ' extraArgOwn: extraArgReexport.own,', ' hasOwnGuardAlpha: hasOwnGuardReexport.alpha,', ' duplicateReturnGuardAlpha: duplicateReturnGuardReexport.alpha,', ' moduleExportsDuplicateReturnGuardAlpha: moduleExportsDuplicateReturnGuardReexport.alpha,', - ' skipMapReturnGuardKeys: Object.keys(skipMapReturnGuard).filter((key) => key !== "default" && key !== "own"),', - ' objectHasOwnReturnGuardKeys: Object.keys(objectHasOwnReturnGuard).filter((key) => key !== "default" && key !== "own"),', - ' skipMapDuplicateShapeReturnGuardKeys: Object.keys(skipMapDuplicateShapeReturnGuard).filter((key) => key !== "default" && key !== "own"),', - ' otherBindingDuplicateShapeReturnGuardKeys: Object.keys(otherBindingDuplicateShapeReturnGuard).filter((key) => key !== "default" && key !== "own"),', + ' skipMapReturnGuardKeys: Object.keys(skipMapReturnGuard).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', + ' objectHasOwnReturnGuardKeys: Object.keys(objectHasOwnReturnGuard).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', + ' skipMapDuplicateShapeReturnGuardKeys: Object.keys(skipMapDuplicateShapeReturnGuard).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', + ' otherBindingDuplicateShapeReturnGuardKeys: Object.keys(otherBindingDuplicateShapeReturnGuard).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', ' asiAlpha: asiReexport.alpha,', ' renamedKeyAlpha: renamedKeyReexport.alpha,', - ' requireContinuationKeys: Object.keys(requireContinuation).filter((key) => key !== "default" && key !== "own"),', - ' statementContinuationKeys: Object.keys(statementContinuation).filter((key) => key !== "default" && key !== "own"),', - ' conditionalBodyReexportKeys: Object.keys(conditionalBodyReexport).filter((key) => key !== "default" && key !== "own"),', - ' interveningStatementReexportKeys: Object.keys(interveningStatementReexport).filter((key) => key !== "default" && key !== "own"),', + ' requireContinuationKeys: Object.keys(requireContinuation).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', + ' statementContinuationKeys: Object.keys(statementContinuation).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', + ' conditionalBodyReexportKeys: Object.keys(conditionalBodyReexport).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', + ' interveningStatementReexportKeys: Object.keys(interveningStatementReexport).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', ' prefixAsiAlpha: prefixAsiReexport.alpha,', - ' continuationKeys: Object.keys(continuation).filter((key) => key !== "default"),', + ' continuationKeys: Object.keys(continuation).filter((key) => key !== "default" && key !== "module.exports"),', ' continuationDefault: continuation.default,', - ' bindingContinuationKeys: Object.keys(bindingContinuation).filter((key) => key !== "default" && key !== "own"),', + ' bindingContinuationKeys: Object.keys(bindingContinuation).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', ' bindingContinuationOwn: bindingContinuation.own,', - ' objectLiteralValueKeys: Object.keys(objectLiteralValues).filter((key) => key !== "default").sort(),', + ' objectLiteralValueKeys: Object.keys(objectLiteralValues).filter((key) => key !== "default" && key !== "module.exports").sort(),', ' identifierValue: objectLiteralValues.identifierValue,', ' callExpression: objectLiteralValues.callExpression,', - ' objectLiteralRequireValueKeys: Object.keys(objectLiteralRequireValue).filter((key) => key !== "default").sort(),', + ' objectLiteralRequireValueKeys: Object.keys(objectLiteralRequireValue).filter((key) => key !== "default" && key !== "module.exports").sort(),', ' requireValue: objectLiteralRequireValue.requireValue,', - ' objectLiteralRequireSpreadContinuationKeys: Object.keys(objectLiteralRequireSpreadContinuation).filter((key) => key !== "default" && key !== "before").sort(),', + ' objectLiteralRequireSpreadContinuationKeys: Object.keys(objectLiteralRequireSpreadContinuation).filter((key) => key !== "default" && key !== "module.exports" && key !== "before").sort(),', ' objectLiteralRequireSpreadContinuationBefore: objectLiteralRequireSpreadContinuation.before,', ' objectLiteralRequireSpreadContinuationAlpha: objectLiteralRequireSpreadContinuation.alpha,', ' objectLiteralRequireSpreadContinuationNested: objectLiteralRequireSpreadContinuation.nested,', - ' objectLiteralUnsupportedKeys: Object.keys(objectLiteralUnsupported).filter((key) => key !== "default").sort(),', - ' objectLiteralCallTerminalKeys: Object.keys(objectLiteralCallTerminal).filter((key) => key !== "default").sort(),', + ' objectLiteralUnsupportedKeys: Object.keys(objectLiteralUnsupported).filter((key) => key !== "default" && key !== "module.exports").sort(),', + ' objectLiteralCallTerminalKeys: Object.keys(objectLiteralCallTerminal).filter((key) => key !== "default" && key !== "module.exports").sort(),', ' callValue: objectLiteralCallTerminal.callValue,', - ' objectLiteralMethodTerminalKeys: Object.keys(objectLiteralMethodTerminal).filter((key) => key !== "default").sort(),', + ' objectLiteralMethodTerminalKeys: Object.keys(objectLiteralMethodTerminal).filter((key) => key !== "default" && key !== "module.exports").sort(),', ' methodType: typeof objectLiteralMethodTerminal.method,', '};', ].join('\n')); @@ -9583,9 +9585,9 @@ export const testCjsPackageReexportNamedExports = async () => { 'import symlinkCycleDefault, { symlinkCycleValue } from "./symlink-cycle-entry.cjs";', 'export default {', ' alpha, beta, defaultAlpha: packageDefault.alpha, sub, file, probeExact, probeJs, probeIndex, bareNonStringMain, bareNullMain, main, feature, condition, imported, importsCondition, importsPattern, importsBareExternal, relativeMain, relativeIndex, dotName, dotdotName, nonStringMainIndex, gamma, delta,', - ' continuationKeys: Object.keys(continuation).filter((key) => key !== "default" && key !== "own"),', + ' continuationKeys: Object.keys(continuation).filter((key) => key !== "default" && key !== "module.exports" && key !== "own"),', ' continuationOwn: continuation.own,', - ' cycleKeys: Object.keys(cycle).filter((key) => key !== "default").sort(),', + ' cycleKeys: Object.keys(cycle).filter((key) => key !== "default" && key !== "module.exports").sort(),', ' symlinkCycleValue,', ' symlinkCycleDefaultValue: symlinkCycleDefault.symlinkCycleValue,', '};', From 1e28ca56b041b914457121783aa9bb66e92b6c71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 23 Nov 2026 17:44:16 +0000 Subject: [PATCH 37/55] Port Node 26 fs handle and zlib flush behavior [skip ci] --- crates/wasm-rquickjs/skeleton/src/builtin/fs.js | 15 +++++++++++++++ .../skeleton/src/builtin/fs_promises.js | 17 +++++------------ .../wasm-rquickjs/skeleton/src/builtin/zlib.js | 14 ++++++++++++-- 3 files changed, 32 insertions(+), 14 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/fs.js b/crates/wasm-rquickjs/skeleton/src/builtin/fs.js index de04f5dbd..e7b9a5a7f 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/fs.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/fs.js @@ -165,7 +165,9 @@ const HAS_LCHMOD = false; const FILE_HANDLE_IN_USE_SYMBOL = Symbol.for('__wasm_rquickjs.filehandleInUse'); const FILE_HANDLE_IN_USE_COUNT_SYMBOL = Symbol.for('__wasm_rquickjs.filehandleInUseCount'); +// Node 26 exposes fs.constants as a null-prototype object. export let constants = { + __proto__: null, F_OK, R_OK, W_OK, X_OK, O_RDONLY, O_WRONLY, O_RDWR, O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND, O_DIRECTORY, O_NOATIME, O_NOFOLLOW, @@ -825,6 +827,16 @@ export let Dir = class Dir { }); } + [Symbol.dispose]() { + if (this._closed) return; + this.closeSync(); + } + + async [Symbol.asyncDispose]() { + if (this._closed) return; + await this.close(); + } + [Symbol.asyncIterator]() { const self = this; return { @@ -1271,6 +1283,8 @@ function makeStatFsResult(bigint) { return { type: BigInt(0), bsize: BigInt(4096), + // Node 26 adds the fragment size; WASI exposes no filesystem statistics. + frsize: BigInt(4096), blocks: BigInt(0), bfree: BigInt(0), bavail: BigInt(0), @@ -1281,6 +1295,7 @@ function makeStatFsResult(bigint) { return { type: 0, bsize: 4096, + frsize: 4096, blocks: 0, bfree: 0, bavail: 0, diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/fs_promises.js b/crates/wasm-rquickjs/skeleton/src/builtin/fs_promises.js index aa6b981d1..1bb5cc7df 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/fs_promises.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/fs_promises.js @@ -291,18 +291,10 @@ export class FileHandle { get fd() { return this._fd; } - async appendFile(data, options) { - if (this._closed) throw makeEBADF('write'); - validateAppendFileData(data); - if (typeof data === 'string') { - const pos = null; - const result = native.fs_write_string(this._fd, data, pos); - if (result.error) throw createSystemError(result.error); - } else { - const dataArray = new Uint8Array(data.buffer || data, data.byteOffset || 0, data.byteLength || data.length); - const result = native.fs_write_buffer(this._fd, dataArray, 0, dataArray.length, null); - if (result.error) throw createSystemError(result.error); - } + // FileHandle.appendFile is FileHandle.writeFile, as in Node: a handle opened with an + // append flag appends at the end. + appendFile(data, options) { + return this.writeFile(data, options); } async chmod(mode) { @@ -386,6 +378,7 @@ export class FileHandle { position = position !== undefined ? position : null; } } + length |= 0; if (length === 0) { return { bytesRead: 0, buffer }; diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/zlib.js b/crates/wasm-rquickjs/skeleton/src/builtin/zlib.js index 1ba53dbf5..1a8ea2900 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/zlib.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/zlib.js @@ -680,7 +680,12 @@ class ZlibBase extends Transform { } this._pendingFlushes.push(kind); - this.write(Buffer.alloc(0), '', () => { + this.write(Buffer.alloc(0), '', (err) => { + if (err) { + // A write after destroy reports ERR_STREAM_DESTROYED, as in Node. + if (callback) callback(err); + return; + } // Force read to emit anything buffered in readable state this.read(0); if (callback) callback(); @@ -715,7 +720,12 @@ class ZlibBase extends Transform { `The value of "strategy" is out of range. It must be >= 0 and <= 4. Received ${strategy}`); } if (this._level !== level || this._strategy !== strategy) { - this.flush(Z_SYNC_FLUSH, () => { + this.flush(Z_SYNC_FLUSH, (err) => { + // Node 26 paramsAfterFlushCallback: a failed flush or destroyed stream skips the update. + if (err || this.destroyed) { + if (callback) callback(err); + return; + } if (this._nativeHandle !== null) { zlib_stream_params(this._nativeHandle, level, strategy); } From 07f621985f8470dd1ffcc69e0b0bbef0f1f3be48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 23 Nov 2026 17:57:02 +0000 Subject: [PATCH 38/55] Port Node 26 test runner assertions and hooks [skip ci] --- .../skeleton/src/builtin/assert.js | 6 +- .../skeleton/src/builtin/test.js | 217 ++++++++++++++++-- tests/node_compat/config.jsonc | 20 +- 3 files changed, 204 insertions(+), 39 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/assert.js b/crates/wasm-rquickjs/skeleton/src/builtin/assert.js index b6feda148..6e0baa1e9 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/assert.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/assert.js @@ -2559,7 +2559,9 @@ assert.match = match; assert.doesNotMatch = doesNotMatch; assert.fail = fail; assert.AssertionError = AssertionError; -assert.CallTracker = CallTracker; +// Node 26 removed assert.CallTracker (DEP0173, end of life). It stays available here for +// existing callers, non-enumerable as Node 26 no longer lists it among the assert methods. +Object.defineProperty(assert, 'CallTracker', { value: CallTracker, writable: true, configurable: true, enumerable: false }); const strict = function strict(value, message) { innerOk(strict, arguments.length, value, message); @@ -2584,7 +2586,7 @@ strict.match = match; strict.doesNotMatch = doesNotMatch; strict.fail = fail; strict.AssertionError = AssertionError; -strict.CallTracker = CallTracker; +Object.defineProperty(strict, 'CallTracker', { value: CallTracker, writable: true, configurable: true, enumerable: false }); strict.strict = strict; assert.strict = strict; diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/test.js b/crates/wasm-rquickjs/skeleton/src/builtin/test.js index 5d0e8e80e..b50b3c560 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/test.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/test.js @@ -4,6 +4,7 @@ // and an aggregate error is thrown after all tests in a suite complete. import assert from 'node:assert'; +import { isDeepStrictEqual } from 'node:util'; import { ERR_INVALID_ARG_TYPE, ERR_INVALID_ARG_VALUE } from '__wasm_rquickjs_builtin/internal/errors'; import { validateNumber, validateInteger } from '__wasm_rquickjs_builtin/internal/validators'; @@ -17,6 +18,89 @@ function activeTestEntryFile(moduleContext) { return moduleContext ? moduleContext.filename : undefined; } +// --- t.assert methods (Node 26 lib/internal/test_runner/assert.js) --- +const kTestAssertMethods = [ + 'deepEqual', 'deepStrictEqual', 'doesNotMatch', 'doesNotReject', 'doesNotThrow', 'equal', + 'fail', 'ifError', 'match', 'notDeepEqual', 'notDeepStrictEqual', 'notEqual', + 'notStrictEqual', 'partialDeepStrictEqual', 'rejects', 'strictEqual', 'throws', +]; + +function getMockContext(fn) { + const ctx = fn == null ? undefined : fn.mock; + if (ctx === null || typeof ctx !== 'object' || typeof ctx.callCount !== 'function' || !Array.isArray(ctx.calls)) { + throw new ERR_INVALID_ARG_TYPE('fn', 'mock function', fn); + } + return ctx; +} + +function assertCalledWithAt(fn, n, args, stackStartFn) { + const calls = getMockContext(fn).calls; + if (n > calls.length) { + throw new assert.AssertionError({ + message: `Expected mock function to have been called at least ${n} times, ` + + `but it was called ${calls.length} times`, + actual: calls.length, + expected: n, + operator: stackStartFn.name, + stackStartFn, + }); + } + const actual = calls[n - 1].arguments; + if (!isDeepStrictEqual(actual, args)) { + throw new assert.AssertionError({ + message: `Expected call ${n} of mock function to have been called with:`, + actual, + expected: args, + operator: 'deepStrictEqual', + stackStartFn, + }); + } +} + +const mockAssertions = { + called: function called(fn, message) { + const count = getMockContext(fn).callCount(); + if (count === 0) { + throw new assert.AssertionError({ + message: message ?? 'Expected mock function to have been called', + actual: count, + operator: 'called', + stackStartFn: called, + }); + } + }, + callCount: function callCount(fn, times, message) { + validateInteger(times, 'times', 0); + const count = getMockContext(fn).callCount(); + if (count !== times) { + throw new assert.AssertionError({ + message: message ?? + `Expected mock function to have been called ${times} times, but it was called ${count} times`, + actual: count, + expected: times, + operator: 'callCount', + stackStartFn: callCount, + }); + } + }, + lastCalledWith: function lastCalledWith(fn, ...args) { + const count = getMockContext(fn).callCount(); + if (count === 0) { + throw new assert.AssertionError({ + message: 'Expected mock function to have been called', + actual: count, + operator: 'lastCalledWith', + stackStartFn: lastCalledWith, + }); + } + assertCalledWithAt(fn, count, args, lastCalledWith); + }, + nthCalledWith: function nthCalledWith(fn, n, ...args) { + validateInteger(n, 'n', 1); + assertCalledWithAt(fn, n, args, nthCalledWith); + }, +}; + // --- Custom assertions registry (testAssertions.register) --- const _customAssertions = {}; @@ -59,6 +143,18 @@ Object.defineProperty(SuiteContext.prototype, 'fullName', { } }); +// Node 26 SuiteContext: whether the suite has passed so far, the retry attempt, and +// diagnostics reported for the suite. +Object.defineProperty(SuiteContext.prototype, 'passed', { + get: function () { return !this._failed; }, +}); +Object.defineProperty(SuiteContext.prototype, 'attempt', { + get: function () { return 0; }, +}); +SuiteContext.prototype.diagnostic = function (msg) { + (this._diagnostics || (this._diagnostics = [])).push(msg); +}; + SuiteContext.prototype.collectBeforeEach = function () { let fns = []; if (this.parent) { @@ -99,18 +195,18 @@ function TestContext(name, parent, filePath) { this._planCount = undefined; this._assertionCount = 0; - // Build t.assert: copy assert methods excluding AssertionError, CallTracker, strict, - // and add snapshot/fileSnapshot per Node.js spec. + // Build t.assert like Node 26 (lib/internal/test_runner/assert.js and test.js): the + // assertion map, then registered custom assertions, which may replace entries, then ok. // All methods are wrapped to track assertion count for t.plan(). - const uncopiedKeys = ['AssertionError', 'CallTracker', 'strict']; const tAssert = {}; const self = this; - const assertKeys = Object.keys(assert); - for (let i = 0; i < assertKeys.length; i++) { - const key = assertKeys[i]; - if (!uncopiedKeys.includes(key)) { - tAssert[key] = wrapAssertForPlan(assert[key], self); - } + for (let i = 0; i < kTestAssertMethods.length; i++) { + const key = kTestAssertMethods[i]; + tAssert[key] = wrapAssertForPlan(assert[key], self); + } + const mockAssertKeys = Object.keys(mockAssertions); + for (let i = 0; i < mockAssertKeys.length; i++) { + tAssert[mockAssertKeys[i]] = wrapAssertForPlan(mockAssertions[mockAssertKeys[i]], self); } tAssert.snapshot = wrapAssertForPlan(function snapshot(_value, _options) { throw new Error('snapshot is not supported in this context'); @@ -124,12 +220,15 @@ function TestContext(name, parent, filePath) { const ckey = customKeys[ci]; tAssert[ckey] = wrapAssertForPlan(wrapCustomAssertion(_customAssertions[ckey], this), self); } + if (!Object.prototype.hasOwnProperty.call(_customAssertions, 'ok')) { + tAssert.ok = wrapAssertForPlan(assert.ok, self); + } this.assert = tAssert; } Object.defineProperty(TestContext.prototype, 'fullName', { get: function () { - const parentName = this._parent ? this._parent.fullName : ''; + const parentName = this._parent && this._parent !== rootSuite ? this._parent.fullName : ''; if (parentName) { return `${parentName} > ${this.name}`; } @@ -162,21 +261,48 @@ TestContext.prototype.test = function (name, optionsOrFn, maybeFn) { } const childCtx = new TestContext(parsed.name, parentTest); - const restoreMocks = function () { childCtx.mock.restoreAll(); }; + // Hooks registered with t.beforeEach/t.afterEach run around every subtest of t and of + // its subtests: beforeEach from the outermost context in, afterEach from the innermost out. + const beforeEachFns = collectContextHooks(parentTest, '_beforeEachFns').reverse().flat(); + const afterEachFns = collectContextHooks(parentTest, '_afterEachFns').flat(); + const runHooks = function (hooks) { + for (let i = 0; i < hooks.length; i++) hooks[i].call(childCtx, childCtx); + }; + const succeed = function () { + try { + runHooks(afterEachFns); + } finally { + childCtx.mock.restoreAll(); + } + }; + const fail = function () { + try { runHooks(afterEachFns); } catch (ignored) {} + childCtx.mock.restoreAll(); + }; try { + runHooks(beforeEachFns); if (fn.length >= 2) { // done callback pattern return new Promise(function (resolve, reject) { const done = function (err) { - restoreMocks(); - if (err) reject(err); - else resolve(); + if (err) { + fail(); + reject(err); + return; + } + try { + succeed(); + } catch (e) { + reject(e); + return; + } + resolve(); }; try { fn.call(childCtx, childCtx, done); } catch (e) { - restoreMocks(); + fail(); reject(e); } }); @@ -185,16 +311,16 @@ TestContext.prototype.test = function (name, optionsOrFn, maybeFn) { const result = fn.call(childCtx, childCtx); if (result && typeof result.then === 'function') { return result.then(function () { - restoreMocks(); + succeed(); }, function (e) { - restoreMocks(); + fail(); throw e; }); } - restoreMocks(); + succeed(); return Promise.resolve(); } catch (e) { - restoreMocks(); + fail(); if (e instanceof SkipError) { return Promise.resolve(); } @@ -202,6 +328,16 @@ TestContext.prototype.test = function (name, optionsOrFn, maybeFn) { } }; +// Returns the hooks of `key` registered on ctx and its ancestor test contexts, innermost +// context first, each context's hooks in registration order. +function collectContextHooks(ctx, key) { + const hooks = []; + for (let c = ctx; c instanceof TestContext; c = c._parent) { + hooks.push(c[key]); + } + return hooks; +} + TestContext.prototype.before = function (fn) { this._beforeFns.push(fn); }; @@ -728,6 +864,7 @@ function test(nameOrOpts, optionsOrFn, maybeFn) { } // Top-level test — run immediately + runRootBeforeHooks(); const result = runTest(parsed, rootSuite); if (result.status === 'async') { const p = result.promise.then(function (resolved) { @@ -791,6 +928,7 @@ function describe(nameOrOpts, optionsOrFn, maybeFn) { } // Top-level suite — run immediately + runRootBeforeHooks(); const result = runSuite(parsed.name, parsed.options, parsed.fn, rootSuite, parsed.moduleContext); if (result.status === 'async-suite') { if (result.promise) { @@ -863,6 +1001,17 @@ function before(fn) { } } +// Top-level tests run as soon as they are declared, so root before() hooks declared so far run +// before the next top-level test or suite, with the root context (fullName ''). +let rootBeforeHooksRun = 0; +const rootHookContext = { fullName: '', name: '' }; +function runRootBeforeHooks() { + while (rootBeforeHooksRun < rootSuite.beforeFns.length) { + const hook = rootSuite.beforeFns[rootBeforeHooksRun++]; + hook.call(rootHookContext, rootHookContext); + } +} + function after(fn) { if (currentSuite) { currentSuite.afterFns.push(fn); @@ -1261,6 +1410,36 @@ MockTracker.prototype.module = function module(specifier, options) { if (opts.namedExports !== undefined && (opts.namedExports === null || typeof opts.namedExports !== 'object')) { throw new ERR_INVALID_ARG_TYPE('options.namedExports', 'object', opts.namedExports); } + // Node 26 options.exports replaces namedExports/defaultExport; `exports.default` is the default export. + const hasExports = 'exports' in opts; + const hasNamedExports = 'namedExports' in opts; + const hasDefaultExport = 'defaultExport' in opts; + if (hasExports && (opts.exports === null || typeof opts.exports !== 'object')) { + throw new ERR_INVALID_ARG_TYPE('options.exports', 'object', opts.exports); + } + if (hasExports && (hasNamedExports || hasDefaultExport)) { + let reason = "cannot be used with 'options.namedExports'"; + if (hasDefaultExport) { + reason = hasNamedExports ? + "cannot be used with 'options.namedExports' or 'options.defaultExport'" : + "cannot be used with 'options.defaultExport'"; + } + throw new ERR_INVALID_ARG_VALUE('options.exports', opts.exports, reason); + } + if (hasExports) { + const namedExports = {}; + const descriptors = Object.getOwnPropertyDescriptors(opts.exports); + const converted = { cache: opts.cache }; + for (const key of Reflect.ownKeys(descriptors)) { + if (key === 'default') { + Object.defineProperty(converted, 'defaultExport', descriptors[key]); + } else { + Object.defineProperty(namedExports, key, descriptors[key]); + } + } + converted.namedExports = namedExports; + opts = converted; + } var registerFn = globalThis.__wasm_rquickjs_register_module_mock; if (!registerFn) { diff --git a/tests/node_compat/config.jsonc b/tests/node_compat/config.jsonc index 6ec040371..488be8346 100644 --- a/tests/node_compat/config.jsonc +++ b/tests/node_compat/config.jsonc @@ -8116,16 +8116,7 @@ "test_15_coverage_with_directory_and_file_named_file": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, - "parallel/test-runner-custom-assertions.js": { - "split": true, - "subtests": { - "test_00_throws_if_name_is_not_a_string": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, - "test_01_throws_if_fn_is_not_a_function": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, - "test_02_invokes_a_custom_assertion_as_part_of_the_test_plan": {}, - "test_03_can_override_existing_assertions": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, - "test_04_this_is_set_to_the_testcontext": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" } - } - }, + "parallel/test-runner-custom-assertions.js": { "split": false }, "parallel/test-runner-enable-source-maps-issue.js": {}, "parallel/test-runner-error-reporter.js": { "category": "unevaluated", @@ -8298,14 +8289,7 @@ "test_01_test_01": {} } }, - "parallel/test-runner-test-fullname.js": { - "split": true, - "subtests": { - "test_00_suite": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "test_01_test_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, - "test_02_suite_with_context_checks": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } - } - }, + "parallel/test-runner-test-fullname.js": { "split": false }, "parallel/test-runner-typechecking.js": {}, "parallel/test-runner-wait-for.js": { "split": true, From 233e1d35c1bee77d8eb67a34dbd0370fb1d6fe3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 23 Nov 2026 18:35:16 +0000 Subject: [PATCH 39/55] Port Node 26 assert partial and brand checks [skip ci] --- .../skeleton/src/builtin/assert.js | 221 +++++++++++++----- .../skeleton/src/builtin/internal/errors.js | 16 ++ .../src/builtin/internal/util/types.js | 119 +++++----- .../skeleton/src/builtin/util.js | 3 +- 4 files changed, 248 insertions(+), 111 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/assert.js b/crates/wasm-rquickjs/skeleton/src/builtin/assert.js index 6e0baa1e9..f243611ff 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/assert.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/assert.js @@ -1,7 +1,6 @@ -import { inspect, innerDeepEqual } from 'node:util'; +import { inspect, innerDeepEqual, types as utilTypes } from 'node:util'; import fs from 'node:fs'; import { ERR_INVALID_ARG_TYPE, ERR_INVALID_ARG_VALUE, ERR_INVALID_RETURN_VALUE, ERR_MISSING_ARGS } from '__wasm_rquickjs_builtin/internal/errors'; -import { createPrivateWeakMap, createPrivateWeakSet } from '__wasm_rquickjs_builtin/internal/weak_collections'; const inspectDiffOptions = { depth: 1000, @@ -968,6 +967,13 @@ function getErrMessage(stackStartFn) { return undefined; } + // Node 26 reads the expression from the source line of the call only + // (lib/internal/errors/error_source.js), so a call spanning lines shows its first line. + const newline = sourceExpression.indexOf('\n'); + if (newline !== -1) { + sourceExpression = sourceExpression.slice(0, newline); + } + sourceExpression = sourceExpression.replace(ESCAPE_SEQUENCES_REGEXP, escapeControlCharacter); sourceExpression = sourceExpression.replace(/\\\\u([0-9a-fA-F]{4})/g, function(_, hex) { return '\\u' + hex; @@ -1279,6 +1285,13 @@ function processMessage(message, actual, expected) { } function innerFail(obj) { + // Node 26 accepts only a string, an Error or a message factory function as the message of + // an assertion (lib/internal/assert/utils.js innerFail); assert.fail takes any message. + const message = obj.message; + if (obj.operator !== 'fail' && message !== undefined && message !== null && + typeof message !== 'string' && typeof message !== 'function' && !isErrorLike(message)) { + throw new ERR_INVALID_ARG_TYPE('message', ['string', 'function'], message); + } let msg = processMessage(obj.message, obj.actual, obj.expected); if (isErrorLike(msg)) throw msg; obj.message = msg; @@ -1512,25 +1525,35 @@ function partialDeepStrictEqual(actual, expected, message) { } function createPartialDeepMemo() { - return { weakMemo: createPrivateWeakMap(), pairsA: null, pairsB: null }; -} - -function partialMemoHas(memo, actual, expected) { - const expectedSet = memo.weakMemo.get(actual); - return expectedSet !== undefined && expectedSet.has(expected); -} - -function partialMemoAdd(memo, actual, expected) { - let expectedSet = memo.weakMemo.get(actual); - if (expectedSet === undefined) { - expectedSet = createPrivateWeakSet(); - memo.weakMemo.set(actual, expectedSet); - } - expectedSet.add(expected); -} + return { a: [], b: [], cycle: { useSet: false } }; +} + +// The comparison branch of a value, from its internal brand like Node 26 (comparisons.js +// uses ArrayIsArray, isMap, isDate, ...), so a spoofed Symbol.toStringTag cannot select it. +const kBrandedTags = [ + ['[object Array]', Array.isArray], + ['[object Map]', utilTypes.isMap], + ['[object Set]', utilTypes.isSet], + ['[object Date]', utilTypes.isDate], + ['[object RegExp]', utilTypes.isRegExp], + ['[object ArrayBuffer]', utilTypes.isArrayBuffer], + ['[object SharedArrayBuffer]', utilTypes.isSharedArrayBuffer], + ['[object DataView]', utilTypes.isDataView], +]; function getTag(value) { - return Object.prototype.toString.call(value); + for (let i = 0; i < kBrandedTags.length; i++) { + if (kBrandedTags[i][1](value)) { + return kBrandedTags[i][0]; + } + } + const tag = Object.prototype.toString.call(value); + for (let i = 0; i < kBrandedTags.length; i++) { + if (kBrandedTags[i][0] === tag) { + return '[object Object]'; + } + } + return tag; } function getEnumerableSymbols(value) { @@ -1566,7 +1589,8 @@ function compareExpectedProperties(actual, expected, memo, skipArrayIndices) { continue; } - if (!hasOwn(actual, key)) { + // Like Node 26 objEquiv, actual must own the key as an enumerable property. + if (!Object.prototype.propertyIsEnumerable.call(actual, key)) { return false; } @@ -1578,7 +1602,7 @@ function compareExpectedProperties(actual, expected, memo, skipArrayIndices) { const expectedSymbols = getEnumerableSymbols(expected); for (let i = 0; i < expectedSymbols.length; i++) { const symbolKey = expectedSymbols[i]; - if (!hasOwn(actual, symbolKey)) { + if (!Object.prototype.propertyIsEnumerable.call(actual, symbolKey)) { return false; } @@ -1604,6 +1628,53 @@ function arraysEqual(actualBytes, expectedBytes) { return true; } +// Node 26 partialArrayEquiv and partialSparseArrayEquiv (comparisons.js): expected's elements +// must appear in order in actual; from the first hole on either side, only present elements +// count, so a hole never matches a present undefined. +function partialSparseArrayEquiv(actual, expected, memo, startA, startB) { + let aPos = startA; + const keysA = Object.keys(actual); + const keysB = Object.keys(expected); + const lenA = keysA.length - startA; + const lenB = keysB.length - startB; + if (lenA < lenB) { + return false; + } + for (let i = 0; i < lenB; i++) { + const keyB = keysB[startB + i]; + while (!innerPartialDeepEqual(actual[keysA[aPos]], expected[keyB], memo)) { + aPos++; + if (aPos > keysA.length - lenB + i) { + return false; + } + } + aPos++; + } + return true; +} + +function partialArrayEquiv(actual, expected, memo) { + let aPos = 0; + for (let i = 0; i < expected.length; i++) { + let isSparse = expected[i] === undefined && !Object.prototype.hasOwnProperty.call(expected, i); + if (isSparse) { + return partialSparseArrayEquiv(actual, expected, memo, aPos, i); + } + while (!(isSparse = actual[aPos] === undefined && !Object.prototype.hasOwnProperty.call(actual, aPos)) && + !innerPartialDeepEqual(actual[aPos], expected[i], memo)) { + aPos++; + if (aPos > actual.length - expected.length + i) { + return false; + } + } + if (isSparse) { + return partialSparseArrayEquiv(actual, expected, memo, aPos, i); + } + aPos++; + } + return true; +} + function isSubsequence(actualValues, expectedValues, compare) { if (actualValues.length < expectedValues.length) { return false; @@ -1636,19 +1707,6 @@ function isTypedArrayView(value, tag) { return ArrayBuffer.isView(value); } -function strictMapKeyEqual(actualKey, expectedKey) { - if (Object.is(actualKey, expectedKey)) { - return true; - } - - if (actualKey === null || expectedKey === null || - typeof actualKey !== 'object' || typeof expectedKey !== 'object') { - return false; - } - - return innerDeepEqual(actualKey, expectedKey, true, undefined); -} - function isURLValue(value, tag) { return tag === '[object URL]' || (value !== null && typeof value === 'object' && @@ -1665,11 +1723,34 @@ function innerPartialDeepEqual(actual, expected, memo) { return false; } - if (partialMemoHas(memo, actual, expected)) { - return true; + // Node 26 cycle handling (comparisons.js handleCycles), as in util's deep equality: one + // level below the roots only the root on the same side counts; deeper, an object on the + // current path from either side matches only when its counterpart is on the path too. + const depth = memo.a.length; + if (depth >= 2) { + memo.cycle.useSet = true; + } + if (memo.cycle.useSet) { + const actualOnPath = memo.a.includes(actual) || memo.b.includes(actual); + const expectedOnPath = memo.a.includes(expected) || memo.b.includes(expected); + if (actualOnPath || expectedOnPath) { + return actualOnPath && expectedOnPath; + } + } else if (depth === 1) { + if (memo.a[0] === actual) return memo.b[0] === expected; + if (memo.b[0] === expected) return false; } - partialMemoAdd(memo, actual, expected); + memo.a.push(actual); + memo.b.push(expected); + try { + return partialContainerEqual(actual, expected, memo); + } finally { + memo.a.length = depth; + memo.b.length = depth; + } +} +function partialContainerEqual(actual, expected, memo) { const expectedTag = getTag(expected); const actualTag = getTag(actual); @@ -1678,9 +1759,7 @@ function innerPartialDeepEqual(actual, expected, memo) { return false; } - if (!isSubsequence(actual, expected, function(actualItem, expectedItem) { - return innerPartialDeepEqual(actualItem, expectedItem, memo); - })) { + if (actual.length < expected.length || !partialArrayEquiv(actual, expected, memo)) { return false; } @@ -1692,26 +1771,37 @@ function innerPartialDeepEqual(actual, expected, memo) { return false; } - const actualEntries = Array.from(actual.entries()); - - const expectedEntries = Array.from(expected.entries()); - for (let i = 0; i < expectedEntries.length; i++) { - const expectedEntry = expectedEntries[i]; - let foundMapEntry = false; + // Like Node 26 partialObjectMapEquiv, each actual entry with an object key matches at + // most one expected entry, and object keys compare partially. + const actualObjectEntries = []; + for (const entry of actual.entries()) { + if (typeof entry[0] === 'object' && entry[0] !== null) { + actualObjectEntries.push(entry); + } + } + const usedActualEntries = new Array(actualObjectEntries.length).fill(false); - if (actual.has(expectedEntry[0])) { - if (!innerPartialDeepEqual(actual.get(expectedEntry[0]), expectedEntry[1], memo)) { + for (const expectedEntry of expected.entries()) { + const expectedKey = expectedEntry[0]; + if (typeof expectedKey !== 'object' || expectedKey === null) { + if (!actual.has(expectedKey) || + !innerPartialDeepEqual(actual.get(expectedKey), expectedEntry[1], memo)) { return false; } - foundMapEntry = true; - } else { - for (let j = 0; j < actualEntries.length; j++) { - const actualEntry = actualEntries[j]; - if (strictMapKeyEqual(actualEntry[0], expectedEntry[0]) && - innerPartialDeepEqual(actualEntry[1], expectedEntry[1], memo)) { - foundMapEntry = true; - break; - } + continue; + } + + let foundMapEntry = false; + for (let j = 0; j < actualObjectEntries.length; j++) { + if (usedActualEntries[j]) { + continue; + } + const actualEntry = actualObjectEntries[j]; + if (innerPartialDeepEqual(actualEntry[0], expectedKey, memo) && + innerPartialDeepEqual(actualEntry[1], expectedEntry[1], memo)) { + usedActualEntries[j] = true; + foundMapEntry = true; + break; } } @@ -1734,7 +1824,17 @@ function innerPartialDeepEqual(actual, expected, memo) { usedActualValues[i] = false; } - const expectedValues = Array.from(expected.values()); + // Like Node 26 setEquiv, a value actual also holds matches itself first; only the + // remaining expected values are matched deeply against the unused actual values. + const expectedValues = []; + for (const expectedValue of expected.values()) { + const index = actual.has(expectedValue) ? actualValues.indexOf(expectedValue) : -1; + if (index !== -1 && !usedActualValues[index]) { + usedActualValues[index] = true; + } else { + expectedValues.push(expectedValue); + } + } for (let i = 0; i < expectedValues.length; i++) { const expectedValue = expectedValues[i]; let foundSetValue = false; @@ -1889,6 +1989,11 @@ function innerPartialDeepEqual(actual, expected, memo) { return innerDeepEqual(actual, expected, true, undefined); } + // Like Node 26 objectComparisonStart, a plain expected object only matches a plain object. + if (actualTag !== '[object Object]') { + return false; + } + return compareExpectedProperties(actual, expected, memo, false); } diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/internal/errors.js b/crates/wasm-rquickjs/skeleton/src/builtin/internal/errors.js index e4b64ac04..222a6661b 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/internal/errors.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/internal/errors.js @@ -572,7 +572,23 @@ Object.defineProperty(globalThis, '__wasm_rquickjs_install_source_map_error_stac // Node.js includes the error code in toString() so that regex tests like // /ERR_INVALID_ARG_TYPE/ can match against String(error). // We keep message and name clean (for exact-match tests) but add toString(). +const nativeErrorPrototypes = new Set([ + Error.prototype, + TypeError.prototype, + RangeError.prototype, + SyntaxError.prototype, + URIError.prototype, + EvalError.prototype, + ReferenceError.prototype, +]); + function addCodeToMessage(err, code) { + // Node creates coded errors as plain instances of their base class, so + // `err.constructor` is the native error constructor, not the ERR_* class. + const base = Object.getPrototypeOf(Object.getPrototypeOf(err)); + if (nativeErrorPrototypes.has(base)) { + Object.setPrototypeOf(err, base); + } err.code = code; const origToString = Error.prototype.toString; Object.defineProperty(err, 'toString', { diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/internal/util/types.js b/crates/wasm-rquickjs/skeleton/src/builtin/internal/util/types.js index f1051aa90..8947d9643 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/internal/util/types.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/internal/util/types.js @@ -71,12 +71,41 @@ const _setIteratorPrototype = (() => { return _getPrototypeOf(new Set().values()); })(); +// V8 checks these types by their internal brand, not Symbol.toStringTag, so +// use intrinsic accessors that only accept real instances. +const _getter = (prototype, key) => + Object.getOwnPropertyDescriptor(prototype, key)?.get; + +const _hasBrand = (getter, value) => { + if (!_isObjectLike(value) || getter === undefined) { + return false; + } + try { + getter.call(value); + return true; + } catch { + return false; + } +}; + +const _arrayBufferByteLength = _getter(ArrayBuffer.prototype, "byteLength"); +const _sharedArrayBufferByteLength = typeof SharedArrayBuffer === "function" + ? _getter(SharedArrayBuffer.prototype, "byteLength") + : undefined; +// A detached DataView still answers .buffer, unlike .byteLength. +const _dataViewBuffer = _getter(DataView.prototype, "buffer"); +const _dateGetTime = Date.prototype.getTime; +const _regExpGlobal = _getter(RegExp.prototype, "global"); +const _typedArrayToStringTag = _getter( + Object.getPrototypeOf(Uint8Array.prototype), + Symbol.toStringTag, +); + +const _typedArrayName = (value) => + _isObjectLike(value) ? _typedArrayToStringTag.call(value) : undefined; + export function isAnyArrayBuffer(value) { - return ( - _isObjectLike(value) && - (_toString.call(value) === "[object ArrayBuffer]" || - _toString.call(value) === "[object SharedArrayBuffer]") - ); + return isArrayBuffer(value) || isSharedArrayBuffer(value); } export function isArgumentsObject(value) { @@ -84,9 +113,7 @@ export function isArgumentsObject(value) { } export function isArrayBuffer(value) { - return ( - _isObjectLike(value) && _toString.call(value) === "[object ArrayBuffer]" - ); + return _hasBrand(_arrayBufferByteLength, value); } export function isAsyncFunction(value) { @@ -117,11 +144,19 @@ export function isBoxedPrimitive(value) { } export function isDataView(value) { - return _isObjectLike(value) && _toString.call(value) === "[object DataView]"; + return _hasBrand(_dataViewBuffer, value); } export function isDate(value) { - return _isObjectLike(value) && _toString.call(value) === "[object Date]"; + if (!_isObjectLike(value)) { + return false; + } + try { + _dateGetTime.call(value); + return true; + } catch { + return false; + } } export function isGeneratorFunction(value) { @@ -194,7 +229,15 @@ export function isPromise(value) { } export function isRegExp(value) { - return _isObjectLike(value) && _toString.call(value) === "[object RegExp]"; + if (!_isObjectLike(value)) { + return false; + } + try { + // RegExp.prototype itself answers undefined instead of throwing. + return typeof _regExpGlobal.call(value) === "boolean"; + } catch { + return false; + } } export function isSet(value) { @@ -221,10 +264,7 @@ export function isSetIterator(value) { } export function isSharedArrayBuffer(value) { - return ( - _isObjectLike(value) && - _toString.call(value) === "[object SharedArrayBuffer]" - ); + return _hasBrand(_sharedArrayBufferByteLength, value); } export function isStringObject(value) { @@ -262,74 +302,49 @@ export function isArrayBufferView(value) { } export function isBigInt64Array(value) { - return ( - _isObjectLike(value) && _toString.call(value) === "[object BigInt64Array]" - ); + return _typedArrayName(value) === "BigInt64Array"; } export function isBigUint64Array(value) { - return ( - _isObjectLike(value) && _toString.call(value) === "[object BigUint64Array]" - ); + return _typedArrayName(value) === "BigUint64Array"; } export function isFloat32Array(value) { - return ( - _isObjectLike(value) && _toString.call(value) === "[object Float32Array]" - ); + return _typedArrayName(value) === "Float32Array"; } export function isFloat64Array(value) { - return ( - _isObjectLike(value) && _toString.call(value) === "[object Float64Array]" - ); + return _typedArrayName(value) === "Float64Array"; } export function isInt8Array(value) { - return _isObjectLike(value) && _toString.call(value) === "[object Int8Array]"; + return _typedArrayName(value) === "Int8Array"; } export function isInt16Array(value) { - return ( - _isObjectLike(value) && _toString.call(value) === "[object Int16Array]" - ); + return _typedArrayName(value) === "Int16Array"; } export function isInt32Array(value) { - return ( - _isObjectLike(value) && _toString.call(value) === "[object Int32Array]" - ); + return _typedArrayName(value) === "Int32Array"; } -// Adapted from Lodash export function isTypedArray(value) { - /** Used to match `toStringTag` values of typed arrays. */ - const reTypedTag = - /^\[object (?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped|Big(?:Uint|Int)64)Array\]$/; - return _isObjectLike(value) && reTypedTag.test(_toString.call(value)); + return _typedArrayName(value) !== undefined; } export function isUint8Array(value) { - return ( - _isObjectLike(value) && _toString.call(value) === "[object Uint8Array]" - ); + return _typedArrayName(value) === "Uint8Array"; } export function isUint8ClampedArray(value) { - return ( - _isObjectLike(value) && - _toString.call(value) === "[object Uint8ClampedArray]" - ); + return _typedArrayName(value) === "Uint8ClampedArray"; } export function isUint16Array(value) { - return ( - _isObjectLike(value) && _toString.call(value) === "[object Uint16Array]" - ); + return _typedArrayName(value) === "Uint16Array"; } export function isUint32Array(value) { - return ( - _isObjectLike(value) && _toString.call(value) === "[object Uint32Array]" - ); + return _typedArrayName(value) === "Uint32Array"; } diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/util.js b/crates/wasm-rquickjs/skeleton/src/builtin/util.js index ed1090d67..38ddc528b 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/util.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/util.js @@ -790,7 +790,8 @@ function _deepObjEquiv(a, b, strict, memo) { if (aTag !== bTag) return false; } } - if (!strict && (a instanceof Float32Array || a instanceof Float64Array)) { + const floatTag = _getTypedArrayTag(a); + if (!strict && (floatTag === 'Float16Array' || floatTag === 'Float32Array' || floatTag === 'Float64Array')) { if (a.length !== b.length) return false; for (let i = 0; i < a.length; i++) { if (a[i] != b[i]) return false; From 2fc658064826b9c710459d15aef6aac802f1236d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 23 Nov 2026 20:21:09 +0000 Subject: [PATCH 40/55] Port Node 26 stream composition and web stream fixes [skip ci] --- .../src/builtin/internal/streams/compose.js | 35 ++++++------------- .../src/builtin/internal/streams/duplex.js | 23 ++++++++++-- .../src/builtin/internal/streams/from.js | 16 ++++++--- .../src/builtin/internal/streams/readable.js | 3 +- .../src/builtin/internal/streams/writable.js | 5 ++- .../skeleton/src/builtin/webstreams.js | 14 ++++---- 6 files changed, 53 insertions(+), 43 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/compose.js b/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/compose.js index 66de6fee8..a428c145d 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/compose.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/compose.js @@ -100,7 +100,6 @@ function compose(...streams) { let ondrain; let onfinish; - let onreadable; let onclose; let d; @@ -202,32 +201,19 @@ function compose(...streams) { if (readable) { if (isNodeStream(tail)) { - tail.on("readable", function () { - if (onreadable) { - const cb = onreadable; - onreadable = null; - cb(); + d._read = function () { + tail.resume(); + }; + + tail.on("data", function (chunk) { + if (!d.push(chunk)) { + tail.pause(); } }); tail.on("end", function () { d.push(null); }); - - d._read = function () { - while (true) { - const buf = tail.read(); - - if (buf === null) { - onreadable = d._read; - return; - } - - if (!d.push(buf)) { - return; - } - } - }; } else if (isWebStream(tail)) { const wsReadable = isTransformStream(tail) ? tail.readable : tail; const reader = wsReadable.getReader(); @@ -237,12 +223,12 @@ function compose(...streams) { try { const { value, done } = await reader.read(); - if (!d.push(value)) { + if (done) { + d.push(null); return; } - if (done) { - d.push(null); + if (!d.push(value)) { return; } } catch { @@ -258,7 +244,6 @@ function compose(...streams) { err = new AbortError(); } - onreadable = null; ondrain = null; onfinish = null; diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/duplex.js b/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/duplex.js index 7efdd4003..b9f31e8e3 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/duplex.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/duplex.js @@ -230,6 +230,8 @@ function duplexify(body, name) { const then = value?.then; if (typeof then === "function") { let d; + // Tracks whether writable final() has started. + let finalized = false; const promise = then.call( value, @@ -237,6 +239,11 @@ function duplexify(body, name) { if (val != null) { throw new ERR_INVALID_RETURN_VALUE("nully", "body", val); } + // Like Node 26, an async function that returns without consuming its + // input destroys the duplex so pipeline propagates destruction upstream. + if (!finalized) { + destroyer(d); + } }, (err) => { destroyer(d, err); @@ -249,6 +256,7 @@ function duplexify(body, name) { readable: false, write, final(cb) { + finalized = true; final(async () => { try { await promise; @@ -358,7 +366,7 @@ function fromAsyncGen(fn) { const { chunk, done, cb } = await _promise; nextTick(cb); if (done) return; - if (signal.aborted) throw new AbortError(); + if (signal.aborted) throw new AbortError(undefined, { cause: signal.reason }); ({ promise, resolve } = createDeferredPromise()); yield chunk; } @@ -379,7 +387,16 @@ function fromAsyncGen(fn) { _resolve({ done: true, cb }); }, destroy(err, cb) { - ac.abort(); + ac.abort(err); + + // Like Node 26, unblock a source iterator waiting for the next write/final + // so the readable side observes the abort and finishes destroying. + if (resolve !== null) { + const _resolve = resolve; + resolve = null; + _resolve({ done: true, cb() {} }); + } + cb(err); }, }; @@ -468,7 +485,7 @@ function _duplexify(pair) { eos(r, (err) => { readable = false; if (err) { - destroyer(r, err); + destroyer(w, err); } onfinished(err); }); diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/from.js b/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/from.js index 522772484..1f6b882c5 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/from.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/from.js @@ -3,7 +3,7 @@ // deno-lint-ignore-file import { Buffer } from "buffer"; -import { ERR_INVALID_ARG_TYPE, ERR_STREAM_NULL_VALUES } from "__wasm_rquickjs_builtin/internal/errors"; +import { aggregateTwoErrors, ERR_INVALID_ARG_TYPE, ERR_STREAM_NULL_VALUES } from "__wasm_rquickjs_builtin/internal/errors"; import { nextTick } from "node:process"; function _from(Readable, iterable, opts) { @@ -36,6 +36,7 @@ function _from(Readable, iterable, opts) { // TODO(ronag): What options should be allowed? ...opts, }); + const originalDestroy = readable._destroy; // Flag to protect against _read // being called before last iteration completion. @@ -48,11 +49,16 @@ function _from(Readable, iterable, opts) { } }; + // Like Node 26, a destroy passed in opts (such as Duplex.from's async-function source) + // runs before the iterator closes, so a source waiting on it can settle. readable._destroy = function (error, cb) { - close(error).then( - () => nextTick(cb, error), // nextTick is here in case cb throws - (e) => nextTick(cb, e || error), - ); + originalDestroy.call(this, error, (destroyError) => { + const combinedError = destroyError || error; + close(combinedError).then( + () => nextTick(cb, combinedError), // nextTick is here in case cb throws + (closeError) => nextTick(cb, aggregateTwoErrors(combinedError, closeError)), + ); + }); }; async function close(error) { diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/readable.js b/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/readable.js index d733b33f8..785a5b26d 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/readable.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/readable.js @@ -1559,7 +1559,8 @@ function newReadableStreamFromStreamReadable(streamReadable, options = {}) { streamReadable.pause(); - const cleanup = eos(streamReadable, (error) => { + // Like Node 26, a Duplex's readable completion does not wait for its half-open writable side. + const cleanup = eos(streamReadable, { writable: false }, (error) => { cleanup(); streamReadable.on('error', () => {}); if (error) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/writable.js b/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/writable.js index 832fb18ed..9599d246c 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/writable.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/internal/streams/writable.js @@ -287,10 +287,9 @@ function _write(stream, chunk, encoding, cb) { } if (typeof chunk === "string") { + // Node 26 rejects a string chunk with 'buffer' encoding (upstream f352556da8). if (encoding === "buffer") { - const err = new TypeError('Second argument must be a buffer'); - err.code = 'ERR_INVALID_ARG_TYPE'; - throw err; + throw new ERR_UNKNOWN_ENCODING(encoding); } if (state.decodeStrings !== false) { chunk = Buffer.from(chunk, encoding); diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/webstreams.js b/crates/wasm-rquickjs/skeleton/src/builtin/webstreams.js index 120af7300..f9efe1503 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/webstreams.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/webstreams.js @@ -115,14 +115,16 @@ ReadableStream.from = function from(iterable) { throw errArgNotIterable(); } - let iterator; + // Like Node 26 readableStreamFromIterable, the iterator is obtained eagerly and must be an + // object. + const iterator = typeof asyncIteratorFactory === 'function' + ? asyncIteratorFactory.call(iterable) + : iteratorFactory.call(iterable); + if (iterator === null || (typeof iterator !== 'object' && typeof iterator !== 'function')) { + throw errInvalidState('The iterator method must return an object'); + } return new ReadableStream({ async pull(controller) { - if (iterator === undefined) { - iterator = typeof asyncIteratorFactory === 'function' - ? asyncIteratorFactory.call(iterable) - : iteratorFactory.call(iterable); - } const result = await iterator.next(); if (result.done) { controller.close(); From 23f1e65c11ea66e71b31690aeba3f0b0bfe8f200 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 23 Nov 2026 20:21:09 +0000 Subject: [PATCH 41/55] Port Node 26 fs, net, dns and events fixes [skip ci] --- .../wasm-rquickjs/skeleton/src/builtin/dns.js | 9 +--- .../skeleton/src/builtin/events.js | 11 +++-- .../wasm-rquickjs/skeleton/src/builtin/fs.js | 25 ++++++++-- .../skeleton/src/builtin/fs_promises.js | 48 +++++++++---------- .../wasm-rquickjs/skeleton/src/builtin/net.js | 6 ++- examples/runtime/dns/src/dns.js | 14 +++--- tests/node_compat/common-shim/index.js | 4 +- tests/runtime/dns.rs | 2 +- 8 files changed, 68 insertions(+), 51 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/dns.js b/crates/wasm-rquickjs/skeleton/src/builtin/dns.js index ad9727176..e2436edaa 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/dns.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/dns.js @@ -128,14 +128,9 @@ export function lookup(hostname, optionsOrCallback, callback) { const family = normalizeFamily(options.family || 0); const all = !!options.all; - // If hostname is falsy, return the null-address compatibility result. + // Node 26 rejects a falsy hostname instead of returning a null address. if (!hostname) { - if (all) { - queueMicrotask(() => cb(null, [{ address: null, family: 4 }])); - } else { - queueMicrotask(() => cb(null, null, 4)); - } - return; + throw new ERR_INVALID_ARG_VALUE('hostname', hostname, 'must be a non-empty string'); } if (typeof hostname === 'string' && hostname.toLowerCase() === 'localhost') { diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/events.js b/crates/wasm-rquickjs/skeleton/src/builtin/events.js index 9f1621c67..d530d67b8 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/events.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/events.js @@ -575,10 +575,15 @@ EventEmitter.prototype.eventNames = function eventNames() { return Object.keys(this._events).concat(Object.getOwnPropertySymbols(this._events)); }; -// Legacy static listenerCount +// Static listenerCount; like Node 26 it also counts EventTarget (including AbortSignal) listeners. EventEmitter.listenerCount = function(emitter, eventName) { - if (emitter == null || typeof emitter.listenerCount !== 'function') return 0; - return emitter.listenerCount(eventName); + if (emitter == null) return 0; + if (typeof emitter.listenerCount === 'function') return emitter.listenerCount(eventName); + if (typeof emitter.addEventListener === 'function' && emitter._listeners) { + const entries = emitter._listeners[eventName]; + return entries ? entries.length : 0; + } + return 0; }; EventEmitter.once = function(emitter, name, options) { diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/fs.js b/crates/wasm-rquickjs/skeleton/src/builtin/fs.js index e7b9a5a7f..0d6d3f688 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/fs.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/fs.js @@ -1080,11 +1080,13 @@ export let openSync = function openSync(path, flags, mode) { mode = validateMode(mode, 'mode', 0o666); mode = mode & ~process.umask(); const fullPath = pathToString(path); + // Opening an existing file with O_CREAT creates no entry, so watchers see no 'rename'. + const created = (flags & O_CREAT) && _activeWatchers.size > 0 && native.fs_stat(fullPath).error; const result = native.fs_open(fullPath, flags, mode); if (result.error) { throw createSystemError(result.error); } - if (flags & O_CREAT) { + if (created) { _notifyFSWatchers(fullPath, 'rename'); } return result.fd; @@ -3422,9 +3424,16 @@ ReadStream.prototype.close = function(cb) { this.destroy(); }; +// Like Node 26 validateThisInternalField, autoClose works only on stream instances. Object.defineProperty(ReadStream.prototype, 'autoClose', { - get() { return this._readableState ? this._readableState.autoDestroy : true; }, - set(val) { if (this._readableState) this._readableState.autoDestroy = val; } + get() { + if (!this || !this._readableState) throw new ERR_INVALID_THIS('ReadStream'); + return this._readableState.autoDestroy; + }, + set(val) { + if (!this || !this._readableState) throw new ERR_INVALID_THIS('ReadStream'); + this._readableState.autoDestroy = val; + } }); Object.defineProperty(ReadStream.prototype, 'pending', { @@ -3685,8 +3694,14 @@ WriteStream.prototype.close = function(cb) { }; Object.defineProperty(WriteStream.prototype, 'autoClose', { - get() { return this._writableState ? this._writableState.autoDestroy : true; }, - set(val) { if (this._writableState) this._writableState.autoDestroy = val; } + get() { + if (!this || !this._writableState) throw new ERR_INVALID_THIS('WriteStream'); + return this._writableState.autoDestroy; + }, + set(val) { + if (!this || !this._writableState) throw new ERR_INVALID_THIS('WriteStream'); + this._writableState.autoDestroy = val; + } }); Object.defineProperty(WriteStream.prototype, 'pending', { diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/fs_promises.js b/crates/wasm-rquickjs/skeleton/src/builtin/fs_promises.js index 1bb5cc7df..44fabcdb9 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/fs_promises.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/fs_promises.js @@ -17,10 +17,13 @@ import { validateUid, validateFlush, validateAbortSignal, - validateAppendFileData, validateMkdtempPrefix as _validateMkdtempPrefix, makeAbortError, } from '__wasm_rquickjs_builtin/internal/fs/shared'; +import { + validateInteger as validateIntegerOption, + validateOneOf, +} from '__wasm_rquickjs_builtin/internal/validators'; const fileHandleCloneAdapter = {__proto__: null, kind: 'FileHandle', requiresTransfer: true}; @@ -728,29 +731,10 @@ export async function appendFile(path, data, options) { return path.appendFile(data, options); } - const pathString = pathToString(path); - const flush = options && typeof options === 'object' ? options.flush : undefined; - validateFlush(flush); - validateAppendFileData(data); - - let error; - if (typeof data === 'string') { - error = native.fs_append_file_string(pathString, data); - } else { - const dataArray = new Uint8Array(data.buffer || data, data.byteOffset || 0, data.byteLength || data.length); - error = native.fs_append_file(pathString, dataArray); - } - if (error) throw createSystemError(error); - - if (flush === true) { - const fs = require('node:fs'); - const fd = fs.openSync(pathString, 'r'); - try { - fs.fsyncSync(fd); - } finally { - fs.closeSync(fd); - } - } + // Like Node 26, appendFile is writeFile with flag 'a', so it shares its data types and signal. + const opts = typeof options === 'string' ? { encoding: options } : { ...options }; + opts.flag ||= 'a'; + return writeFile(path, data, opts); } export async function unlink(path) { @@ -1035,6 +1019,11 @@ export async function* watch(filename, options = {}) { throw err; } + const maxQueue = options.maxQueue ?? 2048; + validateIntegerOption(maxQueue, 'options.maxQueue'); + const overflow = options.overflow ?? 'ignore'; + validateOneOf(overflow, 'options.overflow', ['ignore', 'error']); + const signal = options.signal; validateAbortSignal(signal, 'options.signal'); @@ -1078,8 +1067,16 @@ export async function* watch(filename, options = {}) { const w = waiting; waiting = null; w.resolve(event); - } else { + } else if (queue.length < maxQueue) { queue.push(event); + } else if (overflow === 'error') { + // Like Node 26, an overflowing queue is replaced by a single queue-overflow error. + queue.length = 0; + const err = new Error(`fs.watch() queued more than ${maxQueue} events`); + err.code = 'ERR_FS_WATCH_QUEUE_OVERFLOW'; + queue.push(err); + } else { + process.emitWarning('fs.watch maxQueue exceeded'); } }); @@ -1105,6 +1102,7 @@ export async function* watch(filename, options = {}) { }); } if (event === null) break; + if (event instanceof Error) throw event; yield event; } } finally { diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/net.js b/crates/wasm-rquickjs/skeleton/src/builtin/net.js index d6fc74baa..31bc88cf6 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/net.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/net.js @@ -526,6 +526,9 @@ Socket.prototype.connect = function connect(...args) { if (options.host !== undefined && typeof options.host !== 'string') { throw new ERR_INVALID_ARG_TYPE('options.host', 'string', options.host); } + if (typeof options.host === 'string' && options.host.includes('\u0000')) { + throw new ERR_INVALID_ARG_VALUE('options.host', options.host, 'must be a string without null bytes'); + } if (options.lookup !== undefined && typeof options.lookup !== 'function') { throw new ERR_INVALID_ARG_TYPE('options.lookup', 'Function', options.lookup); @@ -1942,7 +1945,8 @@ export const connect = createConnection; // --- Auto-select family stubs --- let _defaultAutoSelectFamily = false; -let _defaultAutoSelectFamilyAttemptTimeout = 250; +// Node 26 raised the --network-family-autoselection-attempt-timeout default from 250 to 500 ms. +let _defaultAutoSelectFamilyAttemptTimeout = 500; export function getDefaultAutoSelectFamily() { return _defaultAutoSelectFamily; } export function setDefaultAutoSelectFamily(value) { _defaultAutoSelectFamily = !!value; } diff --git a/examples/runtime/dns/src/dns.js b/examples/runtime/dns/src/dns.js index 52c1a3e6a..f48d77759 100644 --- a/examples/runtime/dns/src/dns.js +++ b/examples/runtime/dns/src/dns.js @@ -61,13 +61,13 @@ export async function test() { }); }); - // Test 9: lookup with empty hostname matches Node.js compatibility behavior - // and returns a null address with IPv4 family. - results.nullHostname = await new Promise((resolve) => { - dns.lookup('', (err, address, family) => { - resolve(!err && address === null && family === 4); - }); - }); + // Test 9: like Node.js 26, lookup rejects an empty hostname. + try { + dns.lookup('', () => {}); + results.nullHostname = false; + } catch (e) { + results.nullHostname = e.code === 'ERR_INVALID_ARG_VALUE'; + } // Test 10: lookup with all: true and IP passthrough results.lookupAll = await new Promise((resolve) => { diff --git a/tests/node_compat/common-shim/index.js b/tests/node_compat/common-shim/index.js index 6edab4bc6..f0736e181 100644 --- a/tests/node_compat/common-shim/index.js +++ b/tests/node_compat/common-shim/index.js @@ -939,9 +939,9 @@ function applyNetFlagsAndDefaults() { } } - // Match Node's test/common behavior: inflate this timeout to reduce flakes. + // Match Node 26 test/common behavior: inflate this timeout to reduce flakes. net.setDefaultAutoSelectFamilyAttemptTimeout( - common.platformTimeout(net.getDefaultAutoSelectFamilyAttemptTimeout() * 10) + common.platformTimeout(net.getDefaultAutoSelectFamilyAttemptTimeout() * 5) ); } diff --git a/tests/runtime/dns.rs b/tests/runtime/dns.rs index e9ce488d1..218a66ce6 100644 --- a/tests/runtime/dns.rs +++ b/tests/runtime/dns.rs @@ -127,7 +127,7 @@ async fn dns_module_api(#[tagged_as("dns")] compiled: &CompiledTest) -> anyhow:: ); assert!( result_obj["nullHostname"].as_bool().unwrap_or(false), - "lookup('') should return null address with IPv4 family" + "lookup('') should throw ERR_INVALID_ARG_VALUE" ); assert!( result_obj["lookupAll"].as_bool().unwrap_or(false), From 7c88b787c368343954a4c3dbe90a889a111f4601 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 23 Nov 2026 20:21:09 +0000 Subject: [PATCH 42/55] Port Node 26 http header and response completion fixes [skip ci] --- .../skeleton/src/builtin/node_http.js | 4 +- .../skeleton/src/builtin/node_http_common.js | 8 +- .../skeleton/src/builtin/node_http_server.js | 86 +++++++++++++------ 3 files changed, 68 insertions(+), 30 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/node_http.js b/crates/wasm-rquickjs/skeleton/src/builtin/node_http.js index 77a43c553..6c6432fb6 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/node_http.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/node_http.js @@ -998,9 +998,11 @@ IncomingMessage.prototype._addHeaderLine = function _addHeaderLine(field, value, dest[name] = value; } } else { - // No prefix: first-wins (single value headers) + // No prefix: first-wins (single value headers), unless the message joins duplicates. if (dest[name] === undefined) { dest[name] = value; + } else if (this.joinDuplicateHeaders) { + dest[name] += ', ' + value; } } }; diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/node_http_common.js b/crates/wasm-rquickjs/skeleton/src/builtin/node_http_common.js index 9cd8c7f14..6e6542d22 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/node_http_common.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/node_http_common.js @@ -363,8 +363,12 @@ export function _checkIsHttpToken(value) { return HTTP_TOKEN_REGEX.test(value); } -export function _checkInvalidHeaderChar(value) { - return INVALID_HEADER_CHAR_REGEX.test(value); +// Node 26 lenient (Fetch spec) values reject only NUL, CR, LF and characters above 0xff. +// eslint-disable-next-line no-control-regex +const LENIENT_INVALID_HEADER_CHAR_REGEX = /[\x00\x0a\x0d]|[^\x00-\xff]/; + +export function _checkInvalidHeaderChar(value, lenient = false) { + return (lenient ? LENIENT_INVALID_HEADER_CHAR_REGEX : INVALID_HEADER_CHAR_REGEX).test(value); } export { HTTPParser, methods }; diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/node_http_server.js b/crates/wasm-rquickjs/skeleton/src/builtin/node_http_server.js index f2243d354..298845884 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/node_http_server.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/node_http_server.js @@ -235,13 +235,14 @@ function ServerResponse(req, options) { this.req = req; this.socket = req.socket; this.connection = req.socket; - this._standaloneSocket = false; this.statusCode = 200; this.statusMessage = undefined; this.sendDate = true; this.headersSent = false; this.finished = false; this._finishEmitted = false; + this._endCallbacks = []; + this._flushError = undefined; this._writableEnded = false; this._headers = Object.create(null); this._headerNames = Object.create(null); @@ -294,7 +295,6 @@ ServerResponse.prototype.assignSocket = function assignSocket(socket) { } this.socket = socket; this.connection = socket; - this._standaloneSocket = true; socket._httpMessage = this; const pending = this._pendingOutput; this._pendingOutput = []; @@ -309,7 +309,6 @@ ServerResponse.prototype.detachSocket = function detachSocket(socket) { } this.socket = null; this.connection = null; - this._standaloneSocket = false; }; Object.defineProperty(ServerResponse.prototype, 'writableEnded', { @@ -325,7 +324,8 @@ Object.defineProperty(ServerResponse.prototype, 'writableFinished', { !this._finishEmitted && (this._needDrain || this.socket.writableNeedDrain) && (this.socket.writableLength || 0) > 0; - return this.finished && this._outputSize === 0 && !socketHasBlockedOutput; + return this.finished && this._outputSize === 0 && !socketHasBlockedOutput && + this._flushError === undefined; }, }); @@ -942,6 +942,27 @@ ServerResponse.prototype.write = function write(chunk, encoding, cb) { return result; }; +// Like Node 26, end() callbacks report the flush outcome: null once finished, or the flush error. +function queueEndCallback(res, callback) { + if (res._finishEmitted) { + callback(new ERR_STREAM_ALREADY_FINISHED('end')); + return; + } + if (res._flushError !== undefined) { + process.nextTick(callback, res._flushError); + return; + } + res._endCallbacks.push(callback); +} + +function flushEndCallbacks(res, error) { + const callbacks = res._endCallbacks; + res._endCallbacks = []; + for (const callback of callbacks) { + callback(error); + } +} + ServerResponse.prototype.end = function end(data, encoding, cb) { if (typeof data === 'function') { cb = data; @@ -958,11 +979,7 @@ ServerResponse.prototype.end = function end(data, encoding, cb) { scheduleWriteAfterEnd(this, cb); } } else if (typeof cb === 'function') { - if (this.writableFinished) { - cb(new ERR_STREAM_ALREADY_FINISHED('end')); - } else { - this.on('finish', cb); - } + queueEndCallback(this, cb); } return this; } @@ -1038,18 +1055,20 @@ ServerResponse.prototype.end = function end(data, encoding, cb) { this._writeOutput(Buffer.from('0\r\n\r\n')); } - if (this._standaloneSocket) { - this._writeOutput(Buffer.alloc(0)); - } - if (typeof cb === 'function') { - this.once('finish', cb); - } - const finishResponse = () => { - // Like Node's internal end completion, this only notifies finish. - // Socket errors belong to socket error/close handling and public write - // callbacks; re-emitting them here races the socket's abort cleanup. + queueEndCallback(this, cb); + } + const finishResponse = (error) => { + // Like Node 26, a failed flush never finishes: end() callbacks receive the + // write error instead of a 'finish' event. Socket errors still belong to + // socket error/close handling; re-emitting them here races its abort cleanup. + if (error) { + this._flushError = error; + flushEndCallbacks(this, error); + return; + } this._finishEmitted = true; + flushEndCallbacks(this, null); this.emit('finish'); }; @@ -1103,7 +1122,8 @@ ServerResponse.prototype.writeProcessing = function writeProcessing(callback) { this._writeOutput(Buffer.from('HTTP/1.1 102 Processing\r\n\r\n'), callback); }; -const LINK_HEADER_REGEX = /^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/; +// Like Node 26, CR and LF are rejected inside the link target. +const LINK_HEADER_REGEX = /^(?:<[^>\r\n]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/; function _validateLinkHeaderFormat(value) { if (value === undefined || !LINK_HEADER_REGEX.test(value)) { @@ -1153,8 +1173,19 @@ ServerResponse.prototype.writeEarlyHints = function writeEarlyHints(hints, cb) { let head = 'HTTP/1.1 103 Early Hints\r\n'; head += 'Link: ' + link + '\r\n'; + // Like Node 26, every extra hint is validated so it cannot inject header lines. for (const key of Object.keys(hints)) { if (key !== 'link') { + if (!_checkIsHttpToken(key)) { + const err = new TypeError(`Header name must be a valid HTTP token ["${key}"]`); + err.code = 'ERR_INVALID_HTTP_TOKEN'; + throw err; + } + if (INVALID_HEADER_CHAR_REGEX.test(String(hints[key]))) { + const err = new TypeError(`Invalid character in header content ["${key}"]`); + err.code = 'ERR_INVALID_CHAR'; + throw err; + } head += key + ': ' + hints[key] + '\r\n'; } } @@ -1340,7 +1371,7 @@ function createConnectionParser(server, socket) { state.bytesReceived += data.length; // Clear idle keep-alive timeout on new data - socket.setTimeout(0); + socket.setTimeout?.(0); state.buffer = Buffer.concat([state.buffer, data]); if (!state.inputPaused) parseLoop(); @@ -1348,7 +1379,7 @@ function createConnectionParser(server, socket) { // Track active request inactivity via server.setTimeout(). // Keep-alive idle timeout remains managed after responses finish. if (state.responseQueue.some((context) => !context.responseFinished)) { - socket.setTimeout(server.timeout || 0); + socket.setTimeout?.(server.timeout || 0); } }); @@ -1436,9 +1467,10 @@ function createConnectionParser(server, socket) { } } // Complete cleanup for the whole pipeline before invoking application - // error handlers, since an unhandled request error throws. + // error handlers. Like Node's IncomingMessage, the error is emitted only + // to requests with an 'error' listener. for (const req of requestsWithErrors) { - req.emit('error', err); + if (req.listenerCount('error') > 0) req.emit('error', err); } }); @@ -1514,7 +1546,7 @@ function createConnectionParser(server, socket) { if (state.buffer.length > 0 && state.state === IDLE) { parseLoop(); if (state.responseQueue.length > 0 || state.current !== null) { - socket.setTimeout(server.timeout || 0); + socket.setTimeout?.(server.timeout || 0); return true; } } @@ -1534,9 +1566,9 @@ function createConnectionParser(server, socket) { ? server.keepAliveTimeout : 0; if (kaTimeout > 0) { - socket.setTimeout(kaTimeout); + socket.setTimeout?.(kaTimeout); } else { - socket.setTimeout(0); + socket.setTimeout?.(0); } return true; } From 399e2f1b7d86ff6db131b211a573323516f8e468 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 23 Nov 2026 20:21:09 +0000 Subject: [PATCH 43/55] Name async assert frames after their receiver [skip ci] --- .../wasm-rquickjs/skeleton/src/builtin/assert.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/assert.js b/crates/wasm-rquickjs/skeleton/src/builtin/assert.js index f243611ff..72c586475 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/assert.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/assert.js @@ -2202,7 +2202,7 @@ function checkIsPromise(obj) { return obj !== null && typeof obj === 'object' && typeof obj.then === 'function' && typeof obj.catch === 'function'; } -function ensureAsyncAssertionFrame(error, assertionFn) { +function ensureAsyncAssertionFrame(error, assertionFn, receiver) { if (!error || typeof error !== 'object' || typeof assertionFn !== 'function' || !assertionFn.name) { return; } @@ -2211,7 +2211,9 @@ function ensureAsyncAssertionFrame(error, assertionFn) { return; } - const asyncFrame = 'at async Function.' + assertionFn.name; + // Like Node 26's V8 frames, the frame is named after the receiver the assertion was called on. + const owner = receiver === assert ? 'assert.' : receiver === strict ? 'strict.' : ''; + const asyncFrame = 'at async ' + owner + assertionFn.name; if (error.stack.indexOf(asyncFrame) !== -1) { return; } @@ -2219,7 +2221,7 @@ function ensureAsyncAssertionFrame(error, assertionFn) { error.stack += '\n ' + asyncFrame + ' (native)'; } -async function waitForActual(promiseFn, assertionFn) { +async function waitForActual(promiseFn, assertionFn, receiver) { let resultPromise; if (typeof promiseFn === 'function') { // If this throws synchronously, async function semantics make the returned @@ -2237,7 +2239,7 @@ async function waitForActual(promiseFn, assertionFn) { try { await resultPromise; } catch (e) { - ensureAsyncAssertionFrame(e, assertionFn); + ensureAsyncAssertionFrame(e, assertionFn, receiver); return e; } @@ -2354,12 +2356,12 @@ function doesNotThrow(fn) { async function rejects(promiseFn) { let args = Array.prototype.slice.call(arguments, 1); - expectsError.apply(null, [rejects, await waitForActual(promiseFn, rejects)].concat(args)); + expectsError.apply(null, [rejects, await waitForActual(promiseFn, rejects, this)].concat(args)); } async function doesNotReject(promiseFn) { const args = Array.prototype.slice.call(arguments, 1); - expectsNoError.apply(null, [doesNotReject, await waitForActual(promiseFn, doesNotReject)].concat(args)); + expectsNoError.apply(null, [doesNotReject, await waitForActual(promiseFn, doesNotReject, this)].concat(args)); } function ifError(value) { From 246676f442e50289d8036e5593375f0ed393aec6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 23 Nov 2026 20:21:09 +0000 Subject: [PATCH 44/55] Accept --no-webstorage in child emulation [skip ci] --- tests/node_compat/common-shim/index.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/node_compat/common-shim/index.js b/tests/node_compat/common-shim/index.js index f0736e181..c0eae2ec4 100644 --- a/tests/node_compat/common-shim/index.js +++ b/tests/node_compat/common-shim/index.js @@ -125,6 +125,16 @@ function parseInlineEvalArgs(args) { if (arg === '--preserve-symlinks' || arg === '--preserve-symlinks-main') { continue; } + // The runtime has no Web Storage, so --no-webstorage already holds; its + // --localstorage-file value is then unused. + if (arg === '--no-webstorage') { + parsed.noWebstorage = true; + continue; + } + if (parsed.noWebstorage && arg === '--localstorage-file') { + i++; + continue; + } throw new Error('Only --eval/-e, --input-type, and script files are supported in WASM child emulation'); } From 24850f447b0d00006118d6ec40633714c59a6204 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 23 Nov 2026 20:21:09 +0000 Subject: [PATCH 45/55] Retire the Node 22.14.0 baseline gap record [skip ci] --- tests/node_compat/README.md | 15 +- tests/node_compat/config.jsonc | 564 +- .../mapping-22.14.0-to-26.13.1.json | 6863 ----------------- tests/node_compat/report.md | 221 +- tests/node_compat/target-selection.md | 5 +- tests/node_compat_config_report.rs | 61 - 6 files changed, 374 insertions(+), 7355 deletions(-) delete mode 100644 tests/node_compat/mapping-22.14.0-to-26.13.1.json diff --git a/tests/node_compat/README.md b/tests/node_compat/README.md index f1172bedf..6fda7f23a 100644 --- a/tests/node_compat/README.md +++ b/tests/node_compat/README.md @@ -160,14 +160,13 @@ with `NODE_COMPAT_MIGRATION_DECISIONS=/path/to/decisions.json`: The `node_compat` suite and the runtime's `process` version metadata target Node.js 26.13.1, selected by NJ-01 (with npm 11.20.0) against Node.js 24.22.3. The host Node.js and npm pins of the -runtime, npm and `agentic_ts` lanes are still 22.14.0 and npm 10.9.2 until the npm refresh. The -22.14.0 baseline cases that the switch could not carry over unchanged are recorded, with their -disposition, in [`mapping-22.14.0-to-26.13.1.json`](mapping-22.14.0-to-26.13.1.json). Cases that -regressed on 26.13.1 are `known-gap` entries whose reason starts with `Node 26.13.1 baseline gap: ` -and are listed in the record's `baselineGaps`; `node_compat_report` fails when the two lists differ. -They are outstanding repairs, not accepted gaps: a repair makes the entry `runnable` and removes it -from `baselineGaps`. A 22.14.0 case whose assertion upstream reversed is a target change, not a -baseline gap. See +runtime, npm and `agentic_ts` lanes are still 22.14.0 and npm 10.9.2 until the npm refresh. Every +22.14.0 baseline case that the switch could not carry over unchanged was audited against the +26.13.1 suite: it was repaired, or it is a `known-gap` whose reason names its own cause, such as a +Node 26.13.1 assertion the runtime does not meet yet. The source-bound audit evidence is kept with +[pull request #218](https://github.com/golemcloud/wasm-rquickjs/pull/218), not in this +repository. A 22.14.0 case whose assertion upstream reversed is a target change, not a baseline +gap. See [`target-selection.md`](target-selection.md) for pin provenance, measured suite, API and npm 10.9.2-to-11.20.0 differences, required harness changes and switching instructions, and [`target-mapping-22.14.0.json`](target-mapping-22.14.0.json) for the mapping of every 22.14.0 diff --git a/tests/node_compat/config.jsonc b/tests/node_compat/config.jsonc index 488be8346..3d9de62df 100644 --- a/tests/node_compat/config.jsonc +++ b/tests/node_compat/config.jsonc @@ -24,16 +24,16 @@ "parallel/test-path-basename.js": {}, "parallel/test-path-dirname.js": {}, "parallel/test-path-extname.js": {}, - "parallel/test-path-join.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: path.win32.join resolves .. through a CON: device-name segment" }, + "parallel/test-path-join.js": {}, "parallel/test-path-isabsolute.js": {}, - "parallel/test-path-normalize.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "parallel/test-path-normalize.js": {}, "parallel/test-path-parse-format.js": {}, "parallel/test-path-relative.js": {}, - "parallel/test-path-resolve.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: path.win32.resolve(\"\\\\\\\\.\\\\PHYSICALDRIVE0\")" }, + "parallel/test-path-resolve.js": {}, "parallel/test-path-zero-length-strings.js": {}, "parallel/test-path.js": {}, "parallel/test-path-glob.js": {}, - "parallel/test-path-makelong.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "parallel/test-path-makelong.js": {}, "parallel/test-path-posix-exists.js": {}, "parallel/test-path-win32-exists.js": {}, @@ -54,8 +54,8 @@ "test_10_output_that_extends_beyond_10_lines_should_also_be_truncated": {}, "test_11_bad_args_to_assertionerror_constructor_should_throw_typeerro": {}, "test_12_nan_is_handled_correctly": {}, - "test_13_test_strict_assert": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, - "test_14_additional_asserts": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "test_13_test_strict_assert": {}, + "test_14_additional_asserts": { "category": "known-gap", "reason": "QuickJS exposes no eval/Function source text, so assert.ok there reports 'false == true' (the 22.14.0 expectation) instead of the Node 26.13.1 source line" }, "test_15_throws_accepts_objects": {}, "test_16_additional_assert": {}, "test_17_assert_strict_exists": {}, @@ -89,24 +89,24 @@ "subtests": { "test_00_deepequal": {}, "test_01_loose_deepequal": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, - "test_02_date": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, - "test_03_regexp": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, + "test_02_date": {}, + "test_03_regexp": {}, "test_04_deepequal_should_pass_for_these_weird_cases": {}, - "test_05_es6_maps_and_sets": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "test_05_es6_maps_and_sets": {}, "test_06_gh_6416_make_sure_circular_refs_do_not_throw": {}, - "test_07_gh_14441_circular_structures_should_be_consistent": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, + "test_07_gh_14441_circular_structures_should_be_consistent": {}, "test_08_deepstrictequal_handles_shared_expected_array_elements_after": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "test_09_deepstrictequal_handles_cross_root_aliases_after_cycle_detec": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "test_10_ensure_reflexivity_of_deepequal_with_arguments_objects": {}, "test_11_more_checking_that_arguments_objects_are_handled_correctly": {}, - "test_12_handle_sparse_arrays": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, + "test_12_handle_sparse_arrays": {}, "test_13_handle_sets_and_maps_with_mixed_keys": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "test_14_handle_different_error_messages": {}, "test_15_handle_nan": {}, "test_16_handle_boxed_primitives": {}, "test_17_minus_zero": {}, "test_18_handle_symbols_enumerable_only": {}, - "test_19_additional_tests": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be loosely deep-equal:" }, + "test_19_additional_tests": {}, "test_20_having_the_same_number_of_owned_properties_the_same_set_of_k": {}, "test_21_having_an_identical_prototype_property": {}, "test_22_primitives": {}, @@ -114,11 +114,11 @@ "test_24_having_the_same_number_of_owned_properties_the_same_set_of_k": {}, "test_25_prototype_check": {}, "test_26_check_extra_properties_on_errors": {}, - "test_27_check_proxies": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "test_27_check_proxies": {}, "test_28_test_28": {}, "test_29_basic_valueof_check": {}, "test_30_basic_array_out_of_bounds_check": {}, - "test_31_test_31": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "test_31_test_31": {}, "test_32_test_32": {}, "test_33_verify_that_extra_keys_will_be_tested_for_when_using_fake_ar": {}, "test_34_verify_that_changed_tags_will_still_check_for_the_error_mess": {}, @@ -127,7 +127,7 @@ "test_37_check_for_aggregateerror": {}, "test_38_verify_that_valueof_is_not_called_for_boxed_primitives": {}, "test_39_check_getters": {}, - "test_40_verify_object_types_being_identical_on_both_sides": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, + "test_40_verify_object_types_being_identical_on_both_sides": {}, "test_41_verify_commutativity": {}, "test_42_crypto": {}, "test_43_comparing_two_identical_weakmap_instances": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, @@ -167,7 +167,7 @@ "split": true, "subtests": { "test_00_equalarraypairs": {}, - "test_01_looseequalarraypairs": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be loosely deep-equal:" }, + "test_01_looseequalarraypairs": {}, "test_02_notequalarraypairs": {} } }, @@ -213,7 +213,7 @@ "block_30_statement_30": { "category": "known-gap", "reason": "Blob byte-stream BYOB final read does not settle at end of stream" }, "block_31_statement_31": { "category": "node-internals", "reason": "Asserts internal webstreams kState" }, "block_32_statement_32": { "category": "node-internals", "reason": "Asserts internal webstreams kState" }, - "block_33_block_33": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection: AssertionError: 'a\\rb' !== 'a\\nb'; carries 22.14.0 subtest block_32_block_32" }, + "block_33_block_33": { "category": "runnable" }, "block_34_block_34": { "category": "runnable" }, "block_35_statement_35": { "category": "runnable" }, "block_36_statement_36": { "category": "runnable" }, @@ -277,7 +277,7 @@ "block_07_test_for_non_string_parameter": {} } }, - "parallel/test-url-urltooptions.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." }, + "parallel/test-url-urltooptions.js": {}, "parallel/test-url-format-whatwg.js": { "category": "known-gap", "reason": "all assertions are gated by common.hasIntl; URL-only IDNA formatting is covered by focused runtime tests while the broader Intl API remains unavailable", @@ -309,7 +309,7 @@ "test_01_parse_result_should_equal_new_url_url": {} } }, - "parallel/test-url-parse-invalid-input.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception.; the runnable assertions execute, while its common.hasIntl-gated invalid-IDNA matrix is covered separately by focused runtime tests" }, + "parallel/test-url-parse-invalid-input.js": { "category": "runnable", "reason": "the runnable assertions execute, while its common.hasIntl-gated invalid-IDNA matrix is covered separately by focused runtime tests" }, "parallel/test-url-parse-query.js": {}, "parallel/test-url-relative.js": {}, @@ -416,13 +416,13 @@ "block_18_test_for_array_constructor_in_different_context": {}, "block_19_test_for_other_constructors_in_different_context": {}, "block_20_test_for_property_descriptors": {}, - "block_21_exceptions_should_print_the_error_message_not": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_22_block_22": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_21_exceptions_should_print_the_error_message_not": { "category": "runnable" }, + "block_22_block_22": { "category": "runnable" }, "block_23_block_23": {}, "block_24_block_24": {}, - "block_25_block_25": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_23_block_23" }, - "block_26_prevent_enumerable_error_properties_from_being_printed": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_27_doesn_t_capture_stack_trace": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_25_block_25": { "category": "known-gap", "reason": "QuickJS makes Error.stackTraceLimit a read-only data property after Object.defineProperty(Error, \"stackTraceLimit\", { value: 0 }), unlike V8" }, + "block_26_prevent_enumerable_error_properties_from_being_printed": { "category": "runnable" }, + "block_27_doesn_t_capture_stack_trace": { "category": "runnable" }, "block_28_https_github_com_nodejs_node_v0_x_archive_issues_1944": {}, "block_29_should_not_throw": {}, "block_30_should_not_throw": {}, @@ -445,66 +445,66 @@ "block_47_a_bonafide_native_promise": {}, "block_48_test_map_iterators": {}, "block_49_test_set_iterators": {}, - "block_50_the_constructor_and_symbol_tostringtag": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_51_assumes_that_the_first_numeric_character_is_the_start_of_an_": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_52_test_display_of_constructors": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_53_empty_and_circular_before_depth": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_54_corner_cases": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_55_block_55": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_56_block_56": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_57_block_57": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_58_block_58": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_59_https_github_com_nodejs_node_pull_6334_is_backported": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_60_block_60": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_61_block_61": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_62_block_62": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_63_util_inspect_defaultoptions_tests": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_64_setting_custom_inspect_property_to_a_non_function_should_do_": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_65_block_65": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_63_block_63" }, - "block_66_block_66": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_67_check_compact_indentation": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_68_block_68": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_69_block_69": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_70_block_70": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_71_class_properties_should_not_be_detected_as_class": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_72_verify_non_enumerable_keys_get_escaped": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_73_check_for_special_colors": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_50_the_constructor_and_symbol_tostringtag": { "category": "runnable" }, + "block_51_assumes_that_the_first_numeric_character_is_the_start_of_an_": { "category": "runnable" }, + "block_52_test_display_of_constructors": { "category": "runnable" }, + "block_53_empty_and_circular_before_depth": { "category": "runnable" }, + "block_54_corner_cases": { "category": "runnable" }, + "block_55_block_55": { "category": "runnable" }, + "block_56_block_56": { "category": "runnable" }, + "block_57_block_57": { "category": "runnable" }, + "block_58_block_58": { "category": "runnable" }, + "block_59_https_github_com_nodejs_node_pull_6334_is_backported": { "category": "runnable" }, + "block_60_block_60": { "category": "runnable" }, + "block_61_block_61": { "category": "runnable" }, + "block_62_block_62": { "category": "runnable" }, + "block_63_util_inspect_defaultoptions_tests": { "category": "runnable" }, + "block_64_setting_custom_inspect_property_to_a_non_function_should_do_": { "category": "runnable" }, + "block_65_block_65": { "category": "runnable", "reason": "carries 22.14.0 subtest block_63_block_63" }, + "block_66_block_66": { "category": "runnable" }, + "block_67_check_compact_indentation": { "category": "runnable" }, + "block_68_block_68": { "category": "runnable" }, + "block_69_block_69": { "category": "runnable" }, + "block_70_block_70": { "category": "runnable" }, + "block_71_class_properties_should_not_be_detected_as_class": { "category": "runnable" }, + "block_72_verify_non_enumerable_keys_get_escaped": { "category": "runnable" }, + "block_73_check_for_special_colors": { "category": "runnable" }, "block_74_only_the_name_is_colored_and_space_are_unstyled": {}, - "block_75_non_indices_array_properties_are_sorted_as_well": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_75_non_indices_array_properties_are_sorted_as_well": { "category": "runnable" }, "block_76_manipulate_the_prototype_in_weird_ways": { "category": "known-gap", "reason": "requires V8 hidden-class constructor-name recovery after the prototype constructor is detached" }, - "block_77_check_that_the_fallback_always_works": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_78_check_the_getter_option": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_77_check_that_the_fallback_always_works": { "category": "runnable" }, + "block_78_check_the_getter_option": { "category": "runnable" }, "block_79_https_github_com_nodejs_node_issues_64838": {}, "block_80_property_getter_throwing_an_error": {}, "block_81_https_github_com_nodejs_node_issues_60683": {}, "block_82_property_getter_throwing_an_error_with_getters_that_throws_r": {}, "block_83_property_getter_throwing_an_error_whose_own_getters_throw_th": {}, - "block_84_check_compact_number_mode": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_85_block_85": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_77_block_77" }, + "block_84_check_compact_number_mode": { "category": "runnable" }, + "block_85_block_85": { "category": "runnable", "reason": "carries 22.14.0 subtest block_77_block_77" }, "block_86_block_86": {}, "block_87_block_87": {}, "block_88_block_88": {}, - "block_89_block_89": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_90_inspect_prototype_properties": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_91_regression_test_for_https_github_com_nodejs_node_issues_3573": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_92_test_changing_util_inspect_colors_colors_and_aliases": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_89_block_89": { "category": "runnable" }, + "block_90_inspect_prototype_properties": { "category": "runnable" }, + "block_91_regression_test_for_https_github_com_nodejs_node_issues_3573": { "category": "runnable" }, + "block_92_test_changing_util_inspect_colors_colors_and_aliases": { "category": "runnable" }, "block_93_https_github_com_nodejs_node_issues_31889": { "category": "known-gap", "reason": "uses V8 native %GetUndetectable() syntax which QuickJS cannot evaluate" }, - "block_94_truncate_output_for_primitives_with_1_character_left": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_95_block_95": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_96_block_96": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_97_block_97": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_98_block_98": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_99_block_99": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_100_block_100": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: util.inspect prints the symbol key of a boxed String as [Symbol(foo)]; 26.13.1 expects Symbol(foo); carries 22.14.0 subtest block_90_block_90" }, - "block_101_block_101": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_91_block_91" }, - "block_102_regression_test_for_https_github_com_nodejs_node_issues_4124": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_94_truncate_output_for_primitives_with_1_character_left": { "category": "runnable" }, + "block_95_block_95": { "category": "runnable" }, + "block_96_block_96": { "category": "runnable" }, + "block_97_block_97": { "category": "runnable" }, + "block_98_block_98": { "category": "runnable" }, + "block_99_block_99": { "category": "runnable" }, + "block_100_block_100": { "category": "runnable" }, + "block_101_block_101": { "category": "runnable", "reason": "carries 22.14.0 subtest block_91_block_91" }, + "block_102_regression_test_for_https_github_com_nodejs_node_issues_4124": { "category": "runnable" }, "block_103_block_103": {}, - "block_104_block_104": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_105_block_105": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_106_block_106": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_95_block_95" }, - "block_107_block_107": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_108_block_108": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "block_109_block_109": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_98_block_98" }, + "block_104_block_104": { "category": "runnable" }, + "block_105_block_105": { "category": "runnable" }, + "block_106_block_106": { "category": "runnable", "reason": "carries 22.14.0 subtest block_95_block_95" }, + "block_107_block_107": { "category": "runnable" }, + "block_108_block_108": { "category": "runnable" }, + "block_109_block_109": { "category": "runnable", "reason": "carries 22.14.0 subtest block_98_block_98" }, "block_110_block_110": {}, "block_111_block_111": {}, "block_112_block_112": {}, @@ -514,8 +514,8 @@ } }, "parallel/test-util-internal.js": { "category": "node-internals", "reason": "requires internalBinding('util').privateSymbols" }, - "parallel/test-util-isDeepStrictEqual.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "parallel/test-util-parse-env.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "parallel/test-util-isDeepStrictEqual.js": {}, + "parallel/test-util-parse-env.js": { "category": "runnable" }, "parallel/test-util-primordial-monkeypatching.js": {}, "parallel/test-util-promisify.js": { "category": "node-internals", @@ -545,8 +545,8 @@ }, "parallel/test-util-sigint-watchdog.js": { "category": "node-internals", "reason": "requires internal/test/binding and internalBinding('contextify')" }, "parallel/test-util-sleep.js": { "category": "node-internals", "reason": "requires internal/util.sleep" }, - "parallel/test-util-stripvtcontrolcharacters.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, - "parallel/test-util-styletext.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The argument 'format' must be a valid string format. Received \"grey\"" }, + "parallel/test-util-stripvtcontrolcharacters.js": {}, + "parallel/test-util-styletext.js": {}, "parallel/test-util-text-decoder.js": { "split": true, "subtests": { @@ -633,7 +633,7 @@ "parallel/test-fs-chown-type-check.js": {}, "parallel/test-fs-close.js": {}, "parallel/test-fs-close-errors.js": {}, - "parallel/test-fs-constants.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "parallel/test-fs-constants.js": { "category": "runnable" }, "parallel/test-fs-copyfile.js": { "category": "node-internals", "reason": "uses --expose-internals with internal/test/binding (internalBinding('uv'))" }, "parallel/test-fs-copyfile-respect-permissions.js": { "category": "wasi-impossible", @@ -778,13 +778,13 @@ }, "parallel/test-fs-promises-exists.js": {}, "parallel/test-fs-promises-file-handle-aggregate-errors.js": { "category": "node-internals", "reason": "patches internal/fs/promises FileHandle fd/close internals" }, - "parallel/test-fs-promises-file-handle-append-file.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Ab" }, + "parallel/test-fs-promises-file-handle-append-file.js": { "category": "runnable" }, "parallel/test-fs-promises-file-handle-chmod.js": {}, "parallel/test-fs-promises-file-handle-close-errors.js": { "category": "node-internals", "reason": "patches internal/fs/promises FileHandle fd/close internals" }, - "parallel/test-fs-promises-file-handle-dispose.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): TypeError: not a function" }, + "parallel/test-fs-promises-file-handle-dispose.js": { "category": "runnable" }, "parallel/test-fs-promises-file-handle-op-errors.js": { "category": "node-internals", "reason": "patches internal/fs/promises FileHandle fd internals" }, "parallel/test-fs-promises-file-handle-read-worker.js": { "category": "wasi-impossible", "reason": "depends on real worker_threads execution to read the transferred FileHandle in a separate context, which is not available in single-threaded WASM" }, - "parallel/test-fs-promises-file-handle-read.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): TypeError: Error converting from js 'string' i" }, + "parallel/test-fs-promises-file-handle-read.js": {}, "parallel/test-fs-promises-file-handle-readFile.js": {}, "parallel/test-fs-promises-file-handle-stat.js": {}, "parallel/test-fs-promises-file-handle-stream.js": {}, @@ -795,13 +795,13 @@ "parallel/test-fs-promises-readfile-empty.js": {}, "parallel/test-fs-promises-readfile-with-fd.js": {}, "parallel/test-fs-promises-readfile.js": { "category": "node-internals", "reason": "patches internalBinding('fs') via internal/test/binding" }, - "parallel/test-fs-promises-watch.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Test timed out after 120s" }, + "parallel/test-fs-promises-watch.js": {}, "parallel/test-fs-promises-write-optional-params.js": {}, "parallel/test-fs-promises-writefile.js": {}, "parallel/test-fs-promises.js": { "split": true, "subtests": { - "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "block_00_block_00": {}, "block_01_block_01": { "category": "known-gap", "reason": "the rooted symlink target used by this subtest cannot be resolved inside a WASI preopen" } } }, @@ -978,8 +978,8 @@ "parallel/test-fs-statfs.js": { "split": true, "subtests": { - "block_00_synchronous": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The expression evaluated to a falsy value:" }, - "block_01_synchronous_bigint": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: The expression evaluated to a falsy value:" } + "block_00_synchronous": {}, + "block_01_synchronous_bigint": {} } }, "parallel/test-fs-stream-construct-compat-error-read.js": {}, @@ -1139,7 +1139,7 @@ "parallel/test-fs-watch-recursive-sync-write.js": {}, "parallel/test-fs-watch-recursive-update-file.js": {}, "parallel/test-fs-watch-recursive-validate.js": {}, - "parallel/test-fs-watch-recursive-watch-file.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, + "parallel/test-fs-watch-recursive-watch-file.js": { "category": "runnable" }, "parallel/test-fs-watch-ref-unref.js": {}, "parallel/test-fs-watch-stop-async.js": {}, "parallel/test-fs-watch-stop-sync.js": {}, @@ -1208,7 +1208,7 @@ "parallel/test-fs-write-optional-params.js": {}, "parallel/test-fs-write-reuse-callback.js": {}, "parallel/test-fs-write-sigxfsz.js": { "category": "wasi-impossible", "reason": "requires POSIX RLIMIT_FSIZE/SIGXFSZ behavior via /bin/sh ulimit" }, - "parallel/test-fs-write-stream-autoclose-option.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, + "parallel/test-fs-write-stream-autoclose-option.js": {}, "parallel/test-fs-write-stream-change-open.js": {}, "parallel/test-fs-write-stream-close-without-callback.js": {}, "parallel/test-fs-write-stream-double-close.js": { @@ -1324,7 +1324,7 @@ "parallel/test-dgram-async-dispose.mjs": {}, "parallel/test-net-server-async-dispose.mjs": {}, "parallel/test-timers-immediate-queue.js": { "category": "known-gap", "reason": "setImmediate queue turn semantics are unstable and can trap in the timeout scheduler" }, - "parallel/test-timers-immediate-queue-throw.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, + "parallel/test-timers-immediate-queue-throw.js": {}, "parallel/test-timers-immediate-unref.js": {}, "parallel/test-timers-immediate-unref-nested-once.js": {}, "parallel/test-timers-immediate-unref-simple.js": {}, @@ -1611,10 +1611,10 @@ "parallel/test-crypto-cipheriv-decipheriv.js": { "split": true, "subtests": { - "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, - "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, - "block_02_block_02": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, - "block_03_block_03": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." } + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {} } }, "parallel/test-crypto-classes.js": {}, @@ -1627,7 +1627,7 @@ "block_02_block_02": {} } }, - "parallel/test-crypto-dh-curves.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "parallel/test-crypto-dh-curves.js": { "category": "known-gap", "reason": "createDiffieHellman() verifyError prime checks are not implemented; open DH coverage obligation from the 22.14.0 baseline" }, "parallel/test-crypto-dh-errors.js": {}, "parallel/test-crypto-dh-generate-keys.js": {}, "parallel/test-crypto-dh-group-setters.js": {}, @@ -1640,14 +1640,14 @@ "parallel/test-crypto-dh-stateless.js": { "split": true, "subtests": { - "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." }, - "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." }, - "block_02_block_02": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." }, - "block_03_block_03": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." }, - "block_04_test_that_error_messages_include_the_correct_property_path": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." }, - "block_05_block_05": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." }, - "block_06_block_06": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." }, - "block_07_test_c_error_conditions_both_sync_throws_and_async_callback": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." } + "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 crypto.diffieHellman() key-type and option validation is not met yet; open DH coverage obligation from the 22.14.0 baseline" }, + "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 crypto.diffieHellman() key-type and option validation is not met yet; open DH coverage obligation from the 22.14.0 baseline" }, + "block_02_block_02": { "category": "known-gap", "reason": "Node 26.13.1 crypto.diffieHellman() key-type and option validation is not met yet; open DH coverage obligation from the 22.14.0 baseline" }, + "block_03_block_03": { "category": "known-gap", "reason": "Node 26.13.1 crypto.diffieHellman() key-type and option validation is not met yet; open DH coverage obligation from the 22.14.0 baseline" }, + "block_04_test_that_error_messages_include_the_correct_property_path": { "category": "known-gap", "reason": "Node 26.13.1 crypto.diffieHellman() key-type and option validation is not met yet; open DH coverage obligation from the 22.14.0 baseline" }, + "block_05_block_05": { "category": "known-gap", "reason": "Node 26.13.1 crypto.diffieHellman() key-type and option validation is not met yet; open DH coverage obligation from the 22.14.0 baseline" }, + "block_06_block_06": { "category": "known-gap", "reason": "Node 26.13.1 crypto.diffieHellman() key-type and option validation is not met yet; open DH coverage obligation from the 22.14.0 baseline" }, + "block_07_test_c_error_conditions_both_sync_throws_and_async_callback": { "category": "known-gap", "reason": "Node 26.13.1 crypto.diffieHellman() key-type and option validation is not met yet; open DH coverage obligation from the 22.14.0 baseline" } } }, "parallel/test-crypto-dh.js": { @@ -1720,25 +1720,25 @@ "parallel/test-crypto-key-objects.js": { "split": true, "subtests": { - "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, - "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, - "block_02_block_02": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, - "block_03_block_03": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, - "block_04_block_04": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, "block_05_block_05": { "category": "known-gap", "reason": "importing scrypt-encrypted PKCS#8 keys traps in the WASM crypto backend" }, - "block_06_block_06": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "block_06_block_06": {}, "block_07_importing_an_okp_private_jwk_where_x_does_not_match_d_should": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "block_08_importing_an_ec_private_jwk_where_x_does_not_match_d_should_": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, - "block_09_block_09": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, - "block_10_block_10": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key; carries 22.14.0 subtest block_09_block_09" }, - "block_11_block_11": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, - "block_12_block_12": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, - "block_13_block_13": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key; carries 22.14.0 subtest block_12_block_12" }, - "block_14_block_14": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, - "block_15_block_15": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, - "block_16_block_16": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key; carries 22.14.0 subtest block_15_block_15" }, - "block_17_block_17": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, - "block_18_block_18": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_09_block_09": {}, + "block_10_block_10": {}, + "block_11_block_11": {}, + "block_12_block_12": {}, + "block_13_block_13": { "category": "runnable", "reason": "carries 22.14.0 subtest block_12_block_12" }, + "block_14_block_14": {}, + "block_15_block_15": {}, + "block_16_block_16": { "category": "runnable", "reason": "carries 22.14.0 subtest block_15_block_15" }, + "block_17_block_17": {}, + "block_18_block_18": {}, "block_19_test_that_createpublickey_createprivatekey_error_messages_us": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, @@ -1884,22 +1884,22 @@ "parallel/test-crypto-sign-verify.js": { "split": true, "subtests": { - "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, - "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, - "block_02_test_handling_of_exceptional_conditions": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, - "block_03_test_signing_and_verifying": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, - "block_04_block_04": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, - "block_05_block_05": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, - "block_06_special_tests_for_rsa_pkcs1_pss_padding": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, - "block_07_https_www_emc_com_emc_plus_rsa_labs_standards_initiatives_pk": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, - "block_08_test_exceptions_for_invalid_padding_and_saltlength_values": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, - "block_09_test_throws_exception_when_key_options_is_null": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, - "block_10_block_10": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, - "block_11_block_11": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_test_handling_of_exceptional_conditions": {}, + "block_03_test_signing_and_verifying": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_special_tests_for_rsa_pkcs1_pss_padding": {}, + "block_07_https_www_emc_com_emc_plus_rsa_labs_standards_initiatives_pk": {}, + "block_08_test_exceptions_for_invalid_padding_and_saltlength_values": {}, + "block_09_test_throws_exception_when_key_options_is_null": {}, + "block_10_block_10": {}, + "block_11_block_11": {}, "block_12_block_12": { "category": "known-gap", "reason": "RSA private-key parsing/signing path is incomplete (Failed to parse private key)" }, - "block_13_regression_test_for_https_github_com_nodejs_node_issues_4079": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, - "block_14_block_14": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key" }, - "block_15_block_15": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Failed to export key; carries 22.14.0 subtest block_17_block_17" }, + "block_13_regression_test_for_https_github_com_nodejs_node_issues_4079": {}, + "block_14_block_14": {}, + "block_15_block_15": { "category": "runnable", "reason": "carries 22.14.0 subtest block_17_block_17" }, "block_16_test_that_sign_verify_error_messages_use_correct_property_pa": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "block_17_crypto_verify_accepts_arraybuffer_and_sharedarraybuffer_for_": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } @@ -2012,8 +2012,8 @@ "parallel/test-buffer-failed-alloc-typed-arrays.js": {}, "parallel/test-buffer-fakes.js": {}, "parallel/test-buffer-inheritance.js": {}, - "parallel/test-buffer-isascii.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Cannot perform operation on a detached ArrayBuffer" }, - "parallel/test-buffer-isutf8.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Cannot perform operation on a detached ArrayBuffer" }, + "parallel/test-buffer-isascii.js": {}, + "parallel/test-buffer-isutf8.js": {}, "parallel/test-buffer-iterator.js": {}, "parallel/test-buffer-nopendingdep-map.js": {}, "parallel/test-buffer-of-no-deprecation.js": {}, @@ -2123,10 +2123,10 @@ "block_03_block_03": {} } }, - "parallel/test-buffer-bytelength.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Conversion from string failed: invalid utf-8 sequence of 1 bytes from index 300" }, + "parallel/test-buffer-bytelength.js": {}, "parallel/test-buffer-compare.js": {}, "parallel/test-buffer-compare-offset.js": {}, - "parallel/test-buffer-concat.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, + "parallel/test-buffer-concat.js": {}, "parallel/test-buffer-constants.js": {}, "parallel/test-buffer-copy.js": { "split": true, @@ -2264,7 +2264,7 @@ "block_05_test_uint": {} } }, - "parallel/test-buffer-pool-untransferable.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." }, + "parallel/test-buffer-pool-untransferable.js": {}, "parallel/test-buffer-constructor-deprecation-error.js": {}, "parallel/test-buffer-constructor-outside-node-modules.js": {}, "parallel/test-buffer-pending-deprecation.js": {}, @@ -2696,7 +2696,7 @@ "parallel/test-diagnostics-channel-has-subscribers.js": {}, "parallel/test-diagnostics-channel-object-channel-pub-sub.js": {}, "parallel/test-diagnostics-channel-pub-sub.js": {}, - "parallel/test-diagnostics-channel-symbol-named.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "parallel/test-diagnostics-channel-symbol-named.js": {}, "parallel/test-diagnostics-channel-tracing-channel-args-types.js": { "category": "known-gap", "reason": "tracingChannel({}) argument-validation behavior differs from Node.js (message/throw shape mismatch)" }, "parallel/test-diagnostics-channel-tracing-channel-callback-early-exit.js": {}, "parallel/test-diagnostics-channel-tracing-channel-callback-error.js": {}, @@ -2767,7 +2767,7 @@ "block_01_block_01": {} } }, - "parallel/test-net-autoselectfamily-attempt-timeout-cli-option.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "parallel/test-net-autoselectfamily-attempt-timeout-cli-option.js": {}, "parallel/test-net-autoselectfamily-attempt-timeout-default-value.js": {}, "parallel/test-net-autoselectfamily-commandline-option.js": {}, "parallel/test-net-autoselectfamily-default.js": { @@ -2821,7 +2821,7 @@ "parallel/test-net-can-reset-timeout.js": {}, "parallel/test-net-child-process-connect-reset.js": { "category": "wasi-impossible", "reason": "[manual] This test fundamentally requires `child_process.spawn()` with IPC communication and OS signal handling (`SIGKILL`), which are impossible in a WebAssembly sandbox. The entire test logic dep..." }, "parallel/test-net-client-bind-twice.js": {}, - "parallel/test-net-connect-abort-controller.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Test timed out after 120s" }, + "parallel/test-net-connect-abort-controller.js": {}, "parallel/test-net-connect-after-destroy.js": {}, "parallel/test-net-connect-buffer.js": {}, "parallel/test-net-connect-buffer2.js": {}, @@ -2840,7 +2840,7 @@ "subtests": { "block_00_block_00": {}, "block_01_block_01": {}, - "block_02_block_02": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." } + "block_02_block_02": {} } }, "parallel/test-net-connect-options-ipv6.js": { "category": "known-gap", "reason": "IPv6 sockets are not available in this runtime (common.hasIPv6=false)" }, @@ -3631,7 +3631,7 @@ "parallel/test-stream-pipe-multiple-pipes.js": {}, "parallel/test-stream-pipeline-with-empty-string.js": {}, "parallel/test-stream-push-order.js": {}, - "parallel/test-stream-push-strings.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "parallel/test-stream-push-strings.js": {}, "parallel/test-stream-readable-add-chunk-during-data.js": {}, "parallel/test-stream-readable-constructor-set-methods.js": {}, "parallel/test-stream-readable-data.js": {}, @@ -3670,7 +3670,7 @@ "parallel/test-stream-readable-from-web-termination.js": {}, "parallel/test-stream-readable-hwm-0-async.js": {}, "parallel/test-stream-readable-hwm-0.js": {}, - "parallel/test-stream-readable-infinite-read.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, + "parallel/test-stream-readable-infinite-read.js": {}, "parallel/test-stream-readable-invalid-chunk.js": {}, "parallel/test-stream-readable-next-no-null.js": {}, "parallel/test-stream-readable-no-unneeded-readable.js": { @@ -3729,7 +3729,7 @@ "split": true, "subtests": { "block_00_block_00": {}, - "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected \"actual\" to be strict" }, + "block_01_block_01": {}, "block_02_controller_enqueue_see_https_github_com_nodejs_node_issues_5": {} } }, @@ -3818,7 +3818,7 @@ "block_02_block_02": {} } }, - "parallel/test-stream-writable-write-error.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "parallel/test-stream-writable-write-error.js": {}, "parallel/test-stream-writable-write-writev-finish.js": { "split": true, "subtests": { @@ -4052,7 +4052,7 @@ } }, "parallel/test-worker-message-port-close-while-receiving.js": {}, - "parallel/test-zlib-zero-byte.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "parallel/test-zlib-zero-byte.js": { "category": "known-gap", "reason": "zlib zstd compression APIs (zstdCompress, ZstdCompress) are not implemented" }, "parallel/test-async-hooks-vm-gc.js": {}, "parallel/test-finalization-registry-shutdown.js": {}, "parallel/test-heapdump-async-hooks-init-promise.js": { "category": "engine-difference", "reason": "v8.getHeapSnapshot is V8-specific and unavailable in QuickJS" }, @@ -4171,7 +4171,7 @@ "es-module/test-esm-loader-cache-clearing.js": { "category": "runnable" }, "es-module/test-vm-compile-function-leak.js": { "category": "engine-difference", "reason": "uses common/gc checkIfCollectable, which is replaced by a non-observing WASM shim and cannot verify collection" }, "es-module/test-vm-contextified-script-leak.js": { "category": "engine-difference", "reason": "uses common/gc checkIfCollectable, which is replaced by a non-observing WASM shim and cannot verify collection" }, - "es-module/test-esm-import-meta.mjs": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "es-module/test-esm-import-meta.mjs": { "category": "runnable" }, "es-module/test-esm-import-meta-resolve.mjs": { "category": "known-gap", "reason": "same-process import.meta.resolve behavior is covered by runtime tests; remaining vendored failure requires child_process execPath emulation for --input-type/--import ESM CLI modes", @@ -4198,10 +4198,10 @@ } }, "parallel/test-zlib-flush-flags.js": {}, - "parallel/test-zlib-convenience-methods.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "parallel/test-zlib-convenience-methods.js": { "category": "known-gap", "reason": "zlib zstd compression APIs (zstdCompress, ZstdCompress) are not implemented" }, "parallel/test-zlib-from-string.js": {}, "parallel/test-zlib-brotli-from-string.js": {}, - "parallel/test-zlib-empty-buffer.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): TypeError: The \"original\" argument must be of " }, + "parallel/test-zlib-empty-buffer.js": { "category": "known-gap", "reason": "zlib zstd compression APIs (zstdCompress, ZstdCompress) are not implemented" }, "parallel/test-zlib-deflate-constructors.js": {}, "parallel/test-zlib-not-string-or-buffer.js": {}, "parallel/test-zlib-sync-no-event.js": {}, @@ -4251,21 +4251,21 @@ "parallel/test-zlib-invalid-input-memory.js": { "category": "node-internals", "reason": "relies on common/gc onGC tracking of internal zlib handle lifetime" }, "parallel/test-zlib-kmaxlength-rangeerror.js": {}, "parallel/test-zlib-maxOutputLength.js": {}, - "parallel/test-zlib-params.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, - "parallel/test-zlib-random-byte-pipes.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "parallel/test-zlib-params.js": {}, + "parallel/test-zlib-random-byte-pipes.js": { "category": "known-gap", "reason": "zlib zstd compression APIs (zstdCompress, ZstdCompress) are not implemented" }, "parallel/test-zlib-reset-before-write.js": {}, "parallel/test-zlib-truncated.js": { "split": true, "subtests": { - "block_00_value_as_truncated_input": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, - "block_01_mistaken_for_an_empty_truncated_frame": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, - "block_02_must_report_that_the_frame_is_incomplete": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" } + "block_00_value_as_truncated_input": { "category": "known-gap", "reason": "zlib zstd compression APIs (zstdCompress, ZstdCompress) are not implemented" }, + "block_01_mistaken_for_an_empty_truncated_frame": { "category": "known-gap", "reason": "zlib zstd compression APIs (zstdCompress, ZstdCompress) are not implemented" }, + "block_02_must_report_that_the_frame_is_incomplete": { "category": "known-gap", "reason": "zlib zstd compression APIs (zstdCompress, ZstdCompress) are not implemented" } } }, "parallel/test-zlib-unused-weak.js": { "category": "node-internals", "reason": "asserts internal zlib native-handle weak-reference/external-memory behavior" }, "parallel/test-zlib-write-after-close.js": {}, "parallel/test-zlib-write-after-end.js": {}, - "parallel/test-zlib-write-after-flush.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "parallel/test-zlib-write-after-flush.js": { "category": "known-gap", "reason": "zlib zstd compression APIs (zstdCompress, ZstdCompress) are not implemented" }, "parallel/test-zlib-close-after-error.js": { "category": "node-internals", "reason": "asserts private zlib stream _closed state after error" }, "parallel/test-zlib-close-in-ondata.js": {}, "parallel/test-zlib-destroy.js": { @@ -4519,8 +4519,8 @@ "block_00_block_00": {}, "block_01_block_01": {}, "block_02_block_02": {}, - "block_03_block_03": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Test timed out after 120s" }, - "block_04_block_04": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Test timed out after 120s" }, + "block_03_block_03": {}, + "block_04_block_04": {}, "block_05_block_05": {} } }, @@ -4600,7 +4600,7 @@ "split": true, "subtests": { "block_00_block_00": {}, - "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Test timed out after 120s" } + "block_01_block_01": {} } }, "parallel/test-http-early-hints.js": { @@ -4711,7 +4711,7 @@ } }, "parallel/test-http-outgoing-end-cork.js": { "category": "known-gap", "reason": "the client never observes a reused keep-alive socket, so the corked-response reuse loop does not terminate" }, - "parallel/test-http-outgoing-end-multiple.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Test timed out after 120s" }, + "parallel/test-http-outgoing-end-multiple.js": {}, "parallel/test-http-outgoing-end-types.js": {}, "parallel/test-http-outgoing-finish-writable.js": {}, "parallel/test-http-outgoing-finish.js": {}, @@ -4729,9 +4729,9 @@ "split": true, "subtests": { "block_00_before_finish_is_emitted": {}, - "block_01_finish_the_end_callback_receives_the_write_error_instead": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, - "block_02_surfaces_through_the_socket_write_callbacks": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, - "block_03_has_nothing_to_send": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" } + "block_01_finish_the_end_callback_receives_the_write_error_instead": { "category": "known-gap", "reason": "node:http client requests always use wasi:http, so a createConnection socket's write failures are not observed" }, + "block_02_surfaces_through_the_socket_write_callbacks": {}, + "block_03_has_nothing_to_send": {} } }, "parallel/test-http-outgoing-write-types.js": {}, @@ -4852,7 +4852,7 @@ "parallel/test-http-server-request-timeout-keepalive.js": { "category": "known-gap", "reason": "server.requestTimeout handling across keep-alive requests is not Node-compatible" }, "parallel/test-http-server-request-timeout-pipelining.js": { "category": "known-gap", "reason": "server.requestTimeout handling for pipelined requests is not Node-compatible" }, "parallel/test-http-server-request-timeout-upgrade.js": { "category": "known-gap", "reason": "server.requestTimeout is not disabled with Node-compatible semantics after Upgrade" }, - "parallel/test-http-server-response-standalone.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, + "parallel/test-http-server-response-standalone.js": {}, "parallel/test-http-server-stale-close.js": { "category": "wasi-impossible", "reason": "requires child_process.fork(), which is unavailable in WASI" }, "parallel/test-http-server-timeouts-validation.js": { "split": true, @@ -5171,7 +5171,7 @@ "parallel/test-readline-interface-recursive-writes.js": { "category": "known-gap", "reason": "node:readline Interface constructor/options are not implemented" }, // Tests using ../common/hijackstdio (additional) - "parallel/test-console.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "parallel/test-console.js": {}, // Tests using ../common/udp "parallel/test-dgram-reuseport.js": { "category": "known-gap", "reason": "dgram reusePort handling is incomplete and support probing can hang" }, @@ -5235,7 +5235,7 @@ "parallel/test-http-header-validators.js": {}, "parallel/test-http-hostname-typechecking.js": {}, "parallel/test-http-import-websocket.js": {}, - "parallel/test-http-incoming-matchKnownFields.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "parallel/test-http-incoming-matchKnownFields.js": {}, "parallel/test-http-incoming-message-connection-setter.js": {}, "parallel/test-http-incoming-message-destroy.js": {}, "parallel/test-http-insecure-parser-per-stream.js": { @@ -5250,7 +5250,7 @@ }, "parallel/test-http-invalid-path-chars.js": {}, "parallel/test-http-invalid-urls.js": {}, - "parallel/test-http-invalidheaderfield2.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: _checkInvalidHeaderChar('\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\b', true) unexpectedly failed in lenient mode" }, + "parallel/test-http-invalidheaderfield2.js": { "category": "runnable" }, "parallel/test-http-localaddress.js": { "category": "node-internals", "reason": "uses common/net.hasMultiLocalhost(), which depends on internalBinding('tcp_wrap')" }, "parallel/test-http-max-header-size-per-stream.js": { "split": true, @@ -5992,7 +5992,7 @@ "es-module/test-esm-dynamic-import.js": { "category": "runnable" }, "es-module/test-esm-encoded-path-native.js": { "category": "runnable" }, "es-module/test-esm-error-cache.js": { "category": "runnable" }, - "es-module/test-esm-import-attributes-errors.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "es-module/test-esm-import-attributes-errors.js": { "category": "runnable" }, "es-module/test-esm-import-attributes-validation.js": { "category": "node-internals", "reason": "imports internal/modules/esm/assert (Node internal module)" }, "es-module/test-esm-invalid-data-urls.js": { "category": "runnable" }, "es-module/test-esm-invalid-pjson.js": { "category": "known-gap", "reason": "same-process ESM invalid package config diagnostics are covered by module-resolution runtime tests; vendored fixture asserts stderr/status through spawned process.execPath ESM entry-point emulation" }, @@ -6022,7 +6022,7 @@ "es-module/test-esm-url-extname.js": { "category": "node-internals", "reason": "uses --expose-internals and imports node:internal/modules/esm/get_format" }, "es-module/test-esm-windows.js": { "category": "runnable" }, "es-module/test-loaders-hidden-from-users.js": { "category": "node-internals", "reason": "uses --expose-internals plus Node internals (require('internal/...'), process.binding('natives'))" }, - "es-module/test-require-module-cached-tla.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "es-module/test-require-module-cached-tla.js": { "category": "runnable" }, "es-module/test-require-module-conditional-exports-module.js": { "category": "runnable" }, "es-module/test-require-module-conditional-exports.js": { "split": true, @@ -6087,11 +6087,11 @@ "es-module/test-require-module-detect-entry-point-aou.js": { "category": "runnable" }, "es-module/test-require-module-detect-entry-point.js": { "category": "runnable" }, "es-module/test-require-module-dont-detect-cjs.js": { "category": "runnable" }, - "es-module/test-require-module-dynamic-import-1.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, - "es-module/test-require-module-dynamic-import-2.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "es-module/test-require-module-dynamic-import-1.js": { "category": "runnable" }, + "es-module/test-require-module-dynamic-import-2.js": { "category": "runnable" }, "es-module/test-require-module-dynamic-import-3.js": { "category": "runnable" }, "es-module/test-require-module-dynamic-import-4.js": { "category": "runnable" }, - "es-module/test-require-module-error-catching.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "es-module/test-require-module-error-catching.js": { "category": "runnable" }, "es-module/test-require-module-errors.js": { "category": "engine-difference", "reason": "asserts V8-specific syntax error stderr text/format that differs in QuickJS" }, "es-module/test-require-module-feature-detect.js": { "category": "runnable" }, "es-module/test-require-module-implicit.js": { "category": "runnable" }, @@ -6103,7 +6103,7 @@ "es-module/test-require-module-tla-retry-import.js": { "category": "runnable" }, "es-module/test-require-module-tla-retry-require.js": { "category": "runnable" }, "es-module/test-require-module-transpiled.js": { "category": "runnable" }, - "es-module/test-require-module-twice.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "es-module/test-require-module-twice.js": { "category": "runnable" }, "es-module/test-require-module-warning.js": { "category": "known-gap", "reason": "child_process execPath emulation does not implement --trace-require-module warning output" }, "es-module/test-require-module-with-detection.js": { "split": true, @@ -6118,7 +6118,7 @@ "subtests": { "block_00_test_named_exports": { "category": "runnable" }, "block_01_test_esm_that_import_esm": { "category": "runnable" }, - "block_02_test_esm_that_import_cjs": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_02_test_esm_that_import_cjs": { "category": "runnable" }, "block_03_test_esm_that_require_cjs": { "category": "runnable" }, "block_04_also_test_default_export": { "category": "runnable" }, "block_05_test_data_import": { "category": "runnable" } @@ -6171,8 +6171,8 @@ "es-module/test-esm-example-loader.mjs": { "category": "runnable" }, "es-module/test-esm-experimental-warnings.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" }, "es-module/test-esm-export-not-found.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" }, - "es-module/test-esm-exports-deprecations.mjs": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection: AssertionError: Expected values to be strictly deep-equal:" }, - "es-module/test-esm-exports.mjs": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection: AssertionError: Expected values to be strictly deep-equal:" }, + "es-module/test-esm-exports-deprecations.mjs": { "category": "runnable" }, + "es-module/test-esm-exports.mjs": { "category": "runnable" }, "es-module/test-esm-extension-lookup-deprecation.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" }, "es-module/test-esm-extensionless-esm-and-wasm.mjs": { "split": true, @@ -6196,11 +6196,11 @@ "es-module/test-esm-import-attributes-1.mjs": { "category": "runnable" }, "es-module/test-esm-import-attributes-2.mjs": { "category": "runnable" }, "es-module/test-esm-import-attributes-3.mjs": { "category": "runnable" }, - "es-module/test-esm-import-attributes-errors.mjs": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "es-module/test-esm-import-attributes-errors.mjs": { "category": "runnable" }, "es-module/test-esm-import-flag.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" }, "es-module/test-esm-import-json-named-export.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" }, - "es-module/test-esm-imports-deprecations.mjs": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): TypeError: Invalid module \"#/foo\" is not a val" }, - "es-module/test-esm-imports.mjs": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): TypeError: Invalid module \"#/foo\" is not a val" }, + "es-module/test-esm-imports-deprecations.mjs": { "category": "runnable" }, + "es-module/test-esm-imports.mjs": { "category": "runnable" }, "es-module/test-esm-initialization.mjs": { "category": "known-gap", "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" }, "es-module/test-esm-json-cache.mjs": { "category": "runnable" }, "es-module/test-esm-json.mjs": { @@ -6512,7 +6512,7 @@ "block_03_block_03": { "reason": "inherited: requires worker_threads.BroadcastChannel, unavailable without threads in WASM" } } }, - "parallel/test-c-ares.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, + "parallel/test-c-ares.js": {}, "parallel/test-cli-bad-options.js": { "category": "known-gap", "reason": "child_process execPath emulation does not yet match Node CLI argument validation/exit codes" }, "parallel/test-cli-eval-event.js": {}, "parallel/test-cli-node-options-disallowed.js": {}, @@ -6796,7 +6796,7 @@ "parallel/test-domain-top-level-error-handler-throw.js": { "category": "known-gap", "reason": "domain module depends on async_hooks, not fully working" }, "parallel/test-domain-uncaught-exception.js": { "category": "known-gap", "reason": "domain module depends on async_hooks, not fully working" }, "parallel/test-domain-vm-promise-isolation.js": { "category": "known-gap", "reason": "domain module depends on async_hooks, not fully working" }, - "parallel/test-domain-with-abort-on-uncaught-exception.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, + "parallel/test-domain-with-abort-on-uncaught-exception.js": { "category": "known-gap", "reason": "requires child_process.exec of a shell command line, which WASM child emulation does not support" }, "parallel/test-domexception-cause.js": { "split": true, "subtests": { @@ -6931,22 +6931,22 @@ "parallel/test-file.js": { "split": true, "subtests": { - "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, - "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, - "block_02_block_02": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, - "block_03_block_03": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, - "block_04_block_04": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, - "block_05_block_05": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, - "block_06_block_06": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, - "block_07_block_07": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, - "block_08_block_08": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, - "block_09_block_09": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, - "block_10_block_10": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, - "block_11_block_11": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, - "block_12_block_12": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, - "block_13_block_13": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, - "block_14_block_14": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, - "block_15_block_15": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" } + "block_00_block_00": {}, + "block_01_block_01": {}, + "block_02_block_02": {}, + "block_03_block_03": {}, + "block_04_block_04": {}, + "block_05_block_05": {}, + "block_06_block_06": {}, + "block_07_block_07": {}, + "block_08_block_08": {}, + "block_09_block_09": {}, + "block_10_block_10": {}, + "block_11_block_11": {}, + "block_12_block_12": {}, + "block_13_block_13": {}, + "block_14_block_14": {}, + "block_15_block_15": {} } }, "parallel/test-filehandle-readablestream.js": { "category": "known-gap", "reason": "fs/promises FileHandle.readableWebStream support is missing or incomplete" }, @@ -7381,7 +7381,7 @@ "block_06_block_06": { "reason": "inherited: requires --expose-internals and internal/event_target" } } }, - "parallel/test-npm-install.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: - process terminated with status 1, expected 0" }, + "parallel/test-npm-install.js": { "category": "known-gap", "reason": "requires spawning the npm CLI, which WASM child emulation does not support" }, "parallel/test-npm-version.js": { "category": "node-internals", "reason": "checks Node source-tree deps/npm package.json artifact, not runtime API" }, "parallel/test-openssl-ca-options.js": { "category": "wasi-impossible", "reason": "requires spawning node subprocesses to validate CLI CA flags" }, "parallel/test-options-binding.js": { "category": "node-internals", "reason": "requires --expose-internals and internal/options" }, @@ -7734,7 +7734,7 @@ } }, "parallel/test-process-getactiveresources.js": { "category": "known-gap", "reason": "process.getActiveResourcesInfo() is not implemented" }, - "parallel/test-process-getgroups.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, + "parallel/test-process-getgroups.js": { "category": "known-gap", "reason": "requires child_process.exec('id -G'), which WASM child emulation does not support" }, "parallel/test-process-kill-null.js": { "category": "wasi-impossible", "reason": "sending host process signals is not supported in WASI" }, "parallel/test-process-load-env-file.js": { "category": "known-gap", "reason": "process.loadEnvFile() behavior is incomplete" }, "parallel/test-process-ppid.js": { "category": "known-gap", "reason": "process.ppid is stubbed and not wired to parent process IDs" }, @@ -7993,7 +7993,7 @@ "block_01_block_01": { "category": "runnable" } } }, - "parallel/test-require-delete-array-iterator.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: value is not iterable" }, + "parallel/test-require-delete-array-iterator.js": { "category": "runnable" }, "parallel/test-require-dot.js": { "category": "runnable" }, "parallel/test-require-exceptions.js": { "category": "runnable" }, "parallel/test-require-extensions-main.js": { "category": "runnable" }, @@ -8032,7 +8032,7 @@ "parallel/test-runner-assert.js": { "split": true, "subtests": { - "test_00_expected_methods_are_on_t_assert": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "test_00_expected_methods_are_on_t_assert": {}, "test_01_t_assert_ok_correctly_parses_the_stacktrace": { "category": "known-gap", "reason": "node:test t.assert.ok does not preserve Node-compatible assertion stack formatting" }, "test_02_t_assert_called": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "test_03_t_assert_callcount": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, @@ -8190,7 +8190,7 @@ "test_29_method_fails_if_field_is_a_property_instead_of_a_method": {}, "test_30_mocks_can_be_auto_restored": {}, "test_31_mock_implementation_can_be_changed_dynamically": {}, - "test_32_local_mocks_are_auto_restored_after_the_test_finishes": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, + "test_32_local_mocks_are_auto_restored_after_the_test_finishes": {}, "test_33_reset_mock_calls": {}, "test_34_uses_top_level_mock": {}, "test_35_the_getter_and_setter_options_cannot_be_used_together": {}, @@ -8217,7 +8217,7 @@ "parallel/test-runner-module-mocking.js": { "split": true, "subtests": { - "test_00_input_validation": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception." }, + "test_00_input_validation": { "category": "runnable" }, "test_01_core_module_mocking_with_namedexports_option": { "category": "runnable" }, "test_02_cjs_mocking_with_namedexports_option": { "category": "runnable" }, "test_03_esm_mocking_with_namedexports_option": { "category": "runnable" }, @@ -8583,38 +8583,38 @@ }, "parallel/test-source-map-cjs-require-cache.js": { "category": "known-gap", "reason": "asserts a CJS module's source map stays findable until GC reclaims the module; QuickJS reference counting reclaims the module as soon as its require.cache and module.children references are dropped, so the pre-GC precondition cannot hold — a tracing-GC vs refcount engine difference" }, "parallel/test-spawn-cmd-named-pipe.js": { "category": "wasi-impossible", "reason": "Windows-only named pipe/cmd shell behavior is not available in WASI" }, - "parallel/test-sqlite-custom-functions.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 10 test(s) failed" }, - "parallel/test-sqlite-data-types.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 7 test(s) failed" }, + "parallel/test-sqlite-custom-functions.js": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "parallel/test-sqlite-data-types.js": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, "parallel/test-sqlite-named-parameters.js": { "split": true, "subtests": { - "test_00_named_parameters": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 4 test(s) failed" }, - "test_01_statement_prototype_setallowunknownnamedparameters": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 3 test(s) failed" }, - "test_02_options_allowunknownnamedparameters": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 5 test(s) failed" } + "test_00_named_parameters": {}, + "test_01_statement_prototype_setallowunknownnamedparameters": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "test_02_options_allowunknownnamedparameters": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" } } }, "parallel/test-sqlite-session.js": { "split": true, "subtests": { - "test_00_creating_and_applying_a_changeset": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, - "test_01_database_createsession_closed_database_results_in_exception": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, - "test_02_session_changeset_closed_database_results_in_exception": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "test_00_creating_and_applying_a_changeset": {}, + "test_01_database_createsession_closed_database_results_in_exception": {}, + "test_02_session_changeset_closed_database_results_in_exception": {}, "test_03_session_methods_reopened_database_results_in_exception": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, - "test_04_database_applychangeset_closed_database_results_in_exception": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, - "test_05_database_createsession_use_table_option_to_track_specific_ta": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "test_04_database_applychangeset_closed_database_results_in_exception": {}, + "test_05_database_createsession_use_table_option_to_track_specific_ta": {}, "test_06_conflict_resolution": { "category": "known-gap", "reason": "node:sqlite applyChangeset conflict-resolution behavior is incomplete" }, "test_07_filter_handler_throws": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "test_08_database_applychangeset_changeset_detached_by_filter": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "test_09_database_applychangeset_changeset_detached_by_sql_function": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, - "test_10_database_createsession_filter_changes": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, - "test_11_database_createsession_specify_other_database": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, - "test_12_database_createsession_wrong_arguments": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, - "test_13_database_applychangeset_wrong_arguments": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "test_10_database_createsession_filter_changes": {}, + "test_11_database_createsession_specify_other_database": {}, + "test_12_database_createsession_wrong_arguments": {}, + "test_13_database_applychangeset_wrong_arguments": {}, "test_14_database_applychangeset_malformed_changeset_returns_sqlite_c": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, - "test_15_session_patchset": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, - "test_16_session_close_using_session_after_close_throws_exception": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, - "test_17_session_close_after_closing_database_throws_exception": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, - "test_18_session_close_closing_twice": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "test_15_session_patchset": {}, + "test_16_session_close_using_session_after_close_throws_exception": {}, + "test_17_session_close_after_closing_database_throws_exception": {}, + "test_18_session_close_closing_twice": {}, "test_19_session_close_and_dispose_while_generating_changes_throws_ex": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "test_20_session_symbol_dispose_closed_session_is_a_no_op": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "test_21_session_symbol_dispose_after_closing_database_is_a_no_op": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, @@ -8626,26 +8626,26 @@ "test_27_concurrent_applychangeset_with_workers": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, - "parallel/test-sqlite-transactions.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 2 test(s) failed" }, + "parallel/test-sqlite-transactions.js": {}, "parallel/test-sqlite-typed-array-and-data-view.js": { "split": true, "subtests": { - "test_00_statement_with_typedarray_dataview": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 12 test(s) failed" }, - "test_01_statement_with_arraybuffer_and_sharedarraybuffer": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 4 test(s) failed" } + "test_00_statement_with_typedarray_dataview": {}, + "test_01_statement_with_arraybuffer_and_sharedarraybuffer": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" } } }, "parallel/test-sqlite.js": { "split": true, "subtests": { "test_00_accessing_the_node_sqlite_module": { "category": "known-gap", "reason": "WASM child emulation does not support --no-experimental-sqlite CLI flag" }, - "test_01_err_sqlite_error_is_thrown_for_errors_originating_from_sqlit": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, - "test_02_in_memory_databases_are_supported": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "test_01_err_sqlite_error_is_thrown_for_errors_originating_from_sqlit": {}, + "test_02_in_memory_databases_are_supported": {}, "test_03_sqlite_constants_are_defined": {}, - "test_04_pragmas_are_supported": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, + "test_04_pragmas_are_supported": {}, "test_05_buffer_is_supported_as_the_database_path": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "test_06_url_is_supported_as_the_database_path": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "test_07_uri_query_params": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, - "test_08_sql_apis_enabled_at_build_time": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 10 test(s) failed; carries 22.14.0 subtest test_05_math_functions_are_enabled" } + "test_08_sql_apis_enabled_at_build_time": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" } } }, "parallel/test-stack-size-limit.js": { "category": "wasi-impossible", "reason": "requires a real subprocess with independent stack-size overflow handling" }, @@ -8718,7 +8718,7 @@ "block_17_block_17": { "category": "known-gap", "reason": "stream edge case not yet handled" }, "block_18_block_18": {}, "block_19_block_19": {}, - "block_20_block_20": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "block_20_block_20": {}, "block_21_block_21": {}, "block_22_skipped_if_canpushmore_returns_false_on_the_final_done_true_": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } @@ -8797,7 +8797,7 @@ "block_37_block_37": {}, "block_38_block_38": {}, "block_39_block_39": {}, - "block_40_block_40": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Cannot find module 'internal/streams/end-of-stream'; carries 22.14.0 subtest block_39_block_39" }, + "block_40_block_40": { "category": "runnable", "reason": "carries 22.14.0 subtest block_39_block_39" }, "block_41_block_41": {}, "block_42_block_42": { "category": "known-gap", "reason": "stream edge case not yet handled" } } @@ -9073,9 +9073,9 @@ "block_01_statement_01": { "category": "runnable" }, "block_02_statement_02": { "category": "runnable" }, "block_03_statement_03": { "category": "runnable" }, - "block_04_statement_04": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, - "block_05_statement_05": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, - "block_06_statement_06": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, + "block_04_statement_04": { "category": "runnable" }, + "block_05_statement_05": { "category": "runnable" }, + "block_06_statement_06": { "category": "runnable" }, "block_07_options_can_be_null_or_undefined": { "category": "runnable" }, "block_08_statement_08": { "category": "runnable" }, "block_09_transfer_can_be_null_or_undefined": { "category": "runnable" }, @@ -9564,8 +9564,8 @@ "block_01_statement_01": { "category": "runnable" }, "block_02_statement_02": { "category": "known-gap", "reason": "SourceTextModule evaluation timeout does not interrupt an infinite loop" }, "block_03_check_the_generated_identifier_for_each_module": { "category": "known-gap", "reason": "SourceTextModule identifiers are not incremented per VM context like Node" }, - "block_04_check_inspection_of_the_instance": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, - "block_05_block_05": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_04_check_inspection_of_the_instance": { "category": "runnable" }, + "block_05_block_05": { "category": "runnable" }, "block_06_check_dependencies_getter_returns_same_object_every_time": { "category": "runnable" }, "block_07_check_the_impossibility_of_creating_an_abstract_instance_of_": { "category": "runnable" }, "block_08_check_to_throws_invalid_exportnames": { "category": "runnable" }, @@ -9576,14 +9576,14 @@ } }, "parallel/test-vm-module-cached-data.js": { "category": "engine-difference", "reason": "SourceTextModule cachedData depends on V8 code cache internals unavailable in QuickJS" }, - "parallel/test-vm-module-dynamic-import.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" }, + "parallel/test-vm-module-dynamic-import.js": { "category": "runnable" }, "parallel/test-vm-module-dynamic-namespace.js": { "category": "runnable" }, - "parallel/test-vm-module-errors.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception (Ty" }, + "parallel/test-vm-module-errors.js": { "category": "runnable" }, "parallel/test-vm-module-import-meta.js": { "category": "runnable" }, "parallel/test-vm-module-link.js": { "category": "runnable" }, "parallel/test-vm-module-reevaluate.js": { "category": "runnable" }, "parallel/test-vm-module-referrer-realm.mjs": { "category": "engine-difference", "reason": "vm.SourceTextModule dynamic import referrer realm semantics depend on Node VM realm behavior not modeled by the QuickJS host" }, - "parallel/test-vm-module-synthetic.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): Error: Module status must not be unlinked or l" }, + "parallel/test-vm-module-synthetic.js": { "category": "runnable" }, "parallel/test-vm-new-script-new-context.js": { "split": true, "subtests": { @@ -9741,7 +9741,7 @@ "subtests": { "block_00_block_00": {}, "block_01_block_01": {}, - "block_02_block_02": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: QuotaExceededError is not defined (the Node 26 QuotaExceededError global is not implemented)" }, + "block_02_block_02": {}, "block_03_block_03": {} } }, @@ -9822,13 +9822,13 @@ "test_05_localstorage_is_not_persisted_if_it_is_unused": { "category": "known-gap", "reason": "common-shim spawnPromisified child emulation does not support --experimental-webstorage/--localstorage-file flags" }, "test_06_localstorage_is_persisted_if_it_is_used": { "category": "known-gap", "reason": "common-shim spawnPromisified child emulation does not support --experimental-webstorage/--localstorage-file flags" }, "test_07_webstorage_quota_for_localstorage_and_sessionstorage": { "category": "known-gap", "reason": "common-shim spawnPromisified child emulation does not support --experimental-webstorage/--localstorage-file flags" }, - "test_08_disabled_with_no_webstorage": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Only --eval/-e, --input-type, and script files are supported in WASM child emulation; carries 22.14.0 subtest test_00_disabled_without_experimental_webstorage" }, + "test_08_disabled_with_no_webstorage": { "category": "runnable", "reason": "carries 22.14.0 subtest test_00_disabled_without_experimental_webstorage" }, "test_09_a_malformed_localstorage_file_throws_instead_of_aborting": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, "test_10_a_malformed_localstorage_file_does_not_leak_connections": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, "parallel/test-webstream-encoding-inspect.js": { "category": "runnable" }, - "parallel/test-webstream-readable-from.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Missing expected exception (TypeError)." }, + "parallel/test-webstream-readable-from.js": { "category": "runnable" }, "parallel/test-webstream-readablestream-pipeto.js": { "category": "node-internals", "reason": "requires --expose-internals and internal/errors AbortError" }, "parallel/test-webstreams-abort-controller.js": { "split": true, @@ -10083,7 +10083,7 @@ "parallel/test-whatwg-url-custom-searchparams-constructor.js": { "split": true, "subtests": { - "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:" }, + "block_00_block_00": { "category": "runnable" }, "block_01_block_01": { "category": "runnable" } } }, @@ -10665,8 +10665,8 @@ "parallel/test-zlib.js": { "split": true, "subtests": { - "block_00_block_00": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" }, - "block_01_block_01": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: not a function" } + "block_00_block_00": { "category": "known-gap", "reason": "zlib zstd compression APIs (zstdCompress, ZstdCompress) are not implemented" }, + "block_01_block_01": { "category": "known-gap", "reason": "zlib zstd compression APIs (zstdCompress, ZstdCompress) are not implemented" } } }, "sequential/test-async-wrap-getasyncid.js": { @@ -10964,13 +10964,13 @@ "es-module/test-require-module-retry-import-errored-2.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, "es-module/test-require-module-tla-error-metadata.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, "es-module/test-require-module-tla-error-snapshot.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, - "es-module/test-require-module-tla-execution.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: - stderr did not match expectation, checker throws:; carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" }, + "es-module/test-require-module-tla-execution.js": { "category": "runnable", "reason": "carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" }, "es-module/test-require-module-tla-instantiation-error.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, - "es-module/test-require-module-tla-nested.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:; carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" }, - "es-module/test-require-module-tla-print-execution.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: - stderr did not match expectation, checker throws:; carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" }, - "es-module/test-require-module-tla-rejected.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:; carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" }, - "es-module/test-require-module-tla-resolved.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:; carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" }, - "es-module/test-require-module-tla-unresolved.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:; carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" }, + "es-module/test-require-module-tla-nested.js": { "category": "runnable", "reason": "carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" }, + "es-module/test-require-module-tla-print-execution.js": { "category": "known-gap", "reason": "child_process execPath emulation does not implement --experimental-print-required-tla diagnostics output" }, + "es-module/test-require-module-tla-rejected.js": { "category": "runnable", "reason": "carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" }, + "es-module/test-require-module-tla-resolved.js": { "category": "runnable", "reason": "carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" }, + "es-module/test-require-module-tla-unresolved.js": { "category": "runnable", "reason": "carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" }, "es-module/test-vm-main-context-default-loader-eval.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, "parallel/test-abort-controller-any-timeout.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, "parallel/test-abortsignal-any-source-gc.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, @@ -11013,7 +11013,7 @@ } }, "parallel/test-assert-myers-diff.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, - "parallel/test-assert-partial-deep-equal.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 2 test(s) failed; carries 22.14.0 parallel/test-assert-objects.js (upstream 096b61131a)" }, + "parallel/test-assert-partial-deep-equal.js": { "category": "runnable", "reason": "carries 22.14.0 parallel/test-assert-objects.js (upstream 096b61131a)" }, "parallel/test-async-hooks-enabledhooksexits.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, "parallel/test-async-hooks-stack-overflow-nested-async.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, "parallel/test-async-hooks-stack-overflow-try-catch.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, @@ -12579,7 +12579,7 @@ }, "parallel/test-fs-negative-zero.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, "parallel/test-fs-openAsBlobSync.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, - "parallel/test-fs-promises-appendfile.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Ab; carries 22.14.0 parallel/test-fs-promises-writefile-typedarray.js (upstream 3ac95f2d0c)" }, + "parallel/test-fs-promises-appendfile.js": { "category": "runnable", "reason": "carries 22.14.0 parallel/test-fs-promises-writefile-typedarray.js (upstream 3ac95f2d0c); parallel/test-fs-promises-writefile-with-fd.js (upstream 3ac95f2d0c)" }, "parallel/test-fs-promises-file-handle-pull.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, "parallel/test-fs-promises-file-handle-pullsync.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, "parallel/test-fs-promises-file-handle-readLines.mjs": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, @@ -14982,14 +14982,14 @@ "reason": "carries 22.14.0 parallel/test-sqlite-database-sync.js (upstream f2b698f1cf); parallel/test-sqlite-statement-sync.js (upstream f2b698f1cf)", "split": true, "subtests": { - "test_00_database_constructor": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 26 test(s) failed" }, - "test_01_database_prototype_open": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 3 test(s) failed" }, - "test_02_database_prototype_close": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 2 test(s) failed" }, - "test_03_database_prototype_prepare": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 5 test(s) failed" }, - "test_04_database_prototype_exec": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 5 test(s) failed" }, - "test_05_database_prototype_istransaction": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 3 test(s) failed" }, - "test_06_database_prototype_location": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 5 test(s) failed" }, - "test_07_database_prototype_symbol_dispose": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 2 test(s) failed" } + "test_00_database_constructor": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "test_01_database_prototype_open": {}, + "test_02_database_prototype_close": {}, + "test_03_database_prototype_prepare": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "test_04_database_prototype_exec": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "test_05_database_prototype_istransaction": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "test_06_database_prototype_location": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "test_07_database_prototype_symbol_dispose": {} } }, "parallel/test-sqlite-diagnostic-channel.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, @@ -15014,33 +15014,33 @@ } }, "parallel/test-sqlite-statement-binding-reentry.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, - "parallel/test-sqlite-statement-columns.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 7 test(s) failed; carries 22.14.0 parallel/test-sqlite-database-sync.js (upstream f2b698f1cf); parallel/test-sqlite-statement-sync.js (upstream f2b698f1cf)" }, + "parallel/test-sqlite-statement-columns.js": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, "parallel/test-sqlite-statement.js": { "category": "runnable", "reason": "carries 22.14.0 parallel/test-sqlite-database-sync.js (upstream f2b698f1cf); parallel/test-sqlite-statement-sync.js (upstream f2b698f1cf)", "split": true, "subtests": { - "test_00_statement_constructor": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:" }, - "test_01_statement_prototype_get": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 7 test(s) failed" }, - "test_02_statement_prototype_all": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 6 test(s) failed" }, - "test_03_statement_prototype_iterate": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 10 test(s) failed" }, - "test_04_statement_prototype_run": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 7 test(s) failed" }, - "test_05_statement_prototype_sourcesql": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 2 test(s) failed" }, - "test_06_statement_prototype_expandedsql": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 2 test(s) failed" }, - "test_07_statement_prototype_stat": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 7 test(s) failed" }, - "test_08_statement_prototype_resetstats": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 8 test(s) failed" }, - "test_09_statement_prototype_setreadbigints": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 5 test(s) failed" }, - "test_10_statement_prototype_setreturnarrays": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 2 test(s) failed" }, - "test_11_statement_prototype_get_with_array_output": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 2 test(s) failed" }, - "test_12_statement_prototype_all_with_array_output": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 2 test(s) failed" }, - "test_13_statement_prototype_iterate_with_array_output": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 2 test(s) failed" }, - "test_14_statement_prototype_setallowbarenamedparameters": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 3 test(s) failed" }, - "test_15_options_readbigints": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 4 test(s) failed" }, - "test_16_options_returnarrays": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 6 test(s) failed" }, - "test_17_options_allowbarenamedparameters": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 4 test(s) failed" }, - "test_18_statement_prototype_close": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 2 test(s) failed" }, - "test_19_statement_prototype_symbol_dispose": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 4 test(s) failed" }, - "test_20_options_persistent": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: 4 test(s) failed" }, + "test_00_statement_constructor": {}, + "test_01_statement_prototype_get": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "test_02_statement_prototype_all": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "test_03_statement_prototype_iterate": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "test_04_statement_prototype_run": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "test_05_statement_prototype_sourcesql": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "test_06_statement_prototype_expandedsql": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "test_07_statement_prototype_stat": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "test_08_statement_prototype_resetstats": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "test_09_statement_prototype_setreadbigints": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "test_10_statement_prototype_setreturnarrays": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "test_11_statement_prototype_get_with_array_output": {}, + "test_12_statement_prototype_all_with_array_output": {}, + "test_13_statement_prototype_iterate_with_array_output": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "test_14_statement_prototype_setallowbarenamedparameters": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "test_15_options_readbigints": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "test_16_options_returnarrays": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "test_17_options_allowbarenamedparameters": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "test_18_statement_prototype_close": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "test_19_statement_prototype_symbol_dispose": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "test_20_options_persistent": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, "test_21_values_larger_than_the_maximum_string_length": {} } }, @@ -15185,7 +15185,7 @@ "block_03_block_03": {}, "block_04_block_04": {}, "block_05_block_05": {}, - "block_06_block_06": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: mustCall verification failed:" }, + "block_06_block_06": {}, "block_07_block_07": {}, "block_08_block_08": {}, "block_09_block_09": {} @@ -15397,7 +15397,7 @@ "parallel/test-trace-sigint-in-worker.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, "parallel/test-uncaught-exception-handler-stack-overflow-on-stack-overflow.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, "parallel/test-uncaught-exception-handler-stack-overflow.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, - "parallel/test-url-invalid-file-url-path-input.js": { "category": "known-gap", "reason": "Node 26.13.1 baseline gap: ERR_INVALID_FILE_URL_PATH has no err.input URL; the historical code assertion passes; carries 22.14.0 parallel/test-url-fileurltopath.js subtest test_03_fileurltopath_with_invalid_path" }, + "parallel/test-url-invalid-file-url-path-input.js": { "category": "runnable" }, "parallel/test-url-parse-deprecation.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, "parallel/test-urlpattern-invalidthis.js": { "category": "unevaluated", "reason": "newly discovered, not yet evaluated" }, "parallel/test-urlpattern-types.js": { diff --git a/tests/node_compat/mapping-22.14.0-to-26.13.1.json b/tests/node_compat/mapping-22.14.0-to-26.13.1.json deleted file mode 100644 index 1acfe90eb..000000000 --- a/tests/node_compat/mapping-22.14.0-to-26.13.1.json +++ /dev/null @@ -1,6863 +0,0 @@ -{ - "from": "22.14.0", - "to": "26.13.1", - "baselineCases": 3260, - "note": "Disposition of every 22.14.0 config entry and subtest that the 26.13.1 migration could not carry over unchanged. 'baseline' means the case passed in the 22.14.0 lane. Moves keep the historical assertions by classifying the replacement as runnable; 'moved-to-top-level' subtests are now top-level code that runs in every case of the file; EOL and upstream removals are target-semantics changes, not lost coverage. Removed subtests without a name or position match were mapped by reading both versions.", - "summary": { - "baselineCases": 3260, - "byDisposition": { - "same": 2835, - "newly-split": 16, - "renamed": 298, - "target-change-eol": 48, - "moved": 37, - "target-change-removed-upstream": 8, - "moved-to-top-level": 10, - "unsplit": 8 - }, - "byDispositionAndStatus": { - "moved / failed": 4, - "moved / failed,passed": 21, - "moved / passed": 12, - "moved-to-top-level / failed": 1, - "moved-to-top-level / failed,skipped": 4, - "moved-to-top-level / passed": 3, - "moved-to-top-level / passed,skipped": 2, - "newly-split / failed": 7, - "newly-split / failed,passed": 5, - "newly-split / passed": 4, - "renamed / failed": 105, - "renamed / passed": 189, - "renamed / skipped": 4, - "same / failed": 167, - "same / passed": 2633, - "same / skipped": 35, - "target-change-eol / -": 38, - "target-change-eol / skipped": 10, - "target-change-removed-upstream / -": 8, - "unsplit / failed": 2, - "unsplit / skipped": 6 - }, - "nowNodeInternalsCases": 45 - }, - "missingSources": [ - { - "file": "es-module/test-esm-loader-hooks.mjs", - "entry": { - "category": "known-gap", - "reason": "loader hooks in this vendored file are exercised through spawned process.execPath CLI loader flags/eval, deferred to simulated Node CLI mode support" - }, - "baselineCases": 0, - "commit": [ - "3da4dce29658f1371fc943bc6141159260582a28", - "2026-01-16", - "test: split test-esm-loader-hooks" - ], - "replacements": null, - "unvendoredReplacementDirs": [ - "module-hooks" - ], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "es-module/test-esm-type-flag-cli-entry.mjs", - "entry": { - "category": "known-gap", - "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" - }, - "baselineCases": 0, - "commit": [ - "94c327c753b386f8aef9754b18b6714396d1d718", - "2024-12-02", - "module: remove --experimental-default-type" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "es-module/test-esm-type-flag-errors.mjs", - "entry": { - "category": "known-gap", - "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" - }, - "baselineCases": 0, - "commit": [ - "94c327c753b386f8aef9754b18b6714396d1d718", - "2024-12-02", - "module: remove --experimental-default-type" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "es-module/test-esm-type-flag-loose-files.mjs", - "entry": { - "nestedNodeTest": true, - "split": true, - "subtests": { - "test_00_should_run_as_esm_a_js_file_that_is_outside_of_any_package_s": { - "category": "known-gap", - "reason": "requires spawned process.execPath entry-point execution with --experimental-default-type=module" - }, - "test_01_should_run_as_esm_an_extensionless_javascript_file_that_is_o": { - "category": "known-gap", - "reason": "requires spawned process.execPath entry-point execution with --experimental-default-type=module" - }, - "test_02_should_run_as_wasm_an_extensionless_wasm_file_that_is_outsid": { - "category": "known-gap", - "reason": "requires spawned process.execPath entry-point execution plus WebAssembly module loading support" - }, - "test_03_should_import_as_esm_a_js_file_that_is_outside_of_any_packag": { - "category": "runnable" - }, - "test_04_should_import_as_esm_an_extensionless_javascript_file_that_i": { - "category": "runnable" - }, - "test_05_should_import_as_wasm_an_extensionless_wasm_file_that_is_out": { - "category": "known-gap", - "reason": "WebAssembly module loading for .wasm files is not implemented; binary input is currently treated as JS source" - }, - "test_06_should_check_as_esm_input_passed_via_check": { - "category": "known-gap", - "reason": "requires spawned process.execPath --check execution with --experimental-default-type=module" - } - } - }, - "baselineCases": 2, - "commit": [ - "94c327c753b386f8aef9754b18b6714396d1d718", - "2024-12-02", - "module: remove --experimental-default-type" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "es-module/test-esm-type-flag-package-scopes.mjs", - "entry": { - "nestedNodeTest": true, - "split": true, - "subtests": { - "test_00_should_run_as_esm_an_extensionless_javascript_file_within_a_": { - "category": "known-gap", - "reason": "requires spawned process.execPath entry-point execution with --experimental-default-type=module" - }, - "test_01_should_import_an_extensionless_javascript_file_within_a_type": { - "category": "runnable" - }, - "test_02_should_import_an_extensionless_javascript_file_within_a_type": { - "category": "runnable" - }, - "test_03_should_run_as_wasm_an_extensionless_wasm_file_within_a_type_": { - "category": "known-gap", - "reason": "requires spawned process.execPath entry-point execution plus WebAssembly module loading support" - }, - "test_04_should_import_as_wasm_an_extensionless_wasm_file_within_a_ty": { - "category": "known-gap", - "reason": "WebAssembly module loading for .wasm files is not implemented; binary input is currently treated as JS source" - }, - "test_05_should_import_an_extensionless_wasm_file_within_a_type_modul": { - "category": "known-gap", - "reason": "WebAssembly module loading for .wasm files is not implemented; binary input is currently treated as JS source" - }, - "test_06_should_run_as_esm_a_js_file_within_package_scope_that_has_no": { - "category": "known-gap", - "reason": "requires spawned process.execPath entry-point execution with --experimental-default-type=module" - }, - "test_07_should_run_as_esm_an_extensionless_javascript_file_within_a_": { - "category": "known-gap", - "reason": "requires spawned process.execPath entry-point execution with --experimental-default-type=module" - }, - "test_08_should_run_as_wasm_an_extensionless_wasm_file_within_a_packa": { - "category": "known-gap", - "reason": "requires spawned process.execPath entry-point execution plus WebAssembly module loading support" - }, - "test_09_should_import_as_esm_a_js_file_within_package_scope_that_has": { - "category": "runnable" - }, - "test_10_should_import_as_esm_an_extensionless_javascript_file_within": { - "category": "runnable" - }, - "test_11_should_import_as_wasm_an_extensionless_wasm_file_within_a_pa": { - "category": "known-gap", - "reason": "WebAssembly module loading for .wasm files is not implemented; binary input is currently treated as JS source" - }, - "test_12_should_run_as_commonjs_a_js_file_within_package_scope_that_h": { - "category": "known-gap", - "reason": "requires spawned process.execPath entry-point execution with --experimental-default-type=module" - }, - "test_13_should_import_as_commonjs_a_js_file_within_a_package_scope_t": { - "category": "runnable" - }, - "test_14_should_run_as_commonjs_an_extensionless_javascript_file_with": { - "category": "known-gap", - "reason": "requires spawned process.execPath entry-point execution with --experimental-default-type=module" - }, - "test_15_should_import_as_commonjs_an_extensionless_javascript_file_w": { - "category": "runnable" - } - } - }, - "baselineCases": 6, - "commit": [ - "94c327c753b386f8aef9754b18b6714396d1d718", - "2024-12-02", - "module: remove --experimental-default-type" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "es-module/test-esm-type-flag-string-input.mjs", - "entry": { - "category": "known-gap", - "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" - }, - "baselineCases": 0, - "commit": [ - "94c327c753b386f8aef9754b18b6714396d1d718", - "2024-12-02", - "module: remove --experimental-default-type" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "es-module/test-esm-wasm.mjs", - "entry": { - "category": "known-gap", - "reason": "requires simulated process.execPath / Node CLI mode support deferred to follow-up PR" - }, - "baselineCases": 0, - "commit": [ - "76027d83e975c2d66d15ed2575b3718f45319ab2", - "2025-11-05", - "test: split test-esm-wasm.js" - ], - "replacements": [ - "es-module/test-esm-wasm-escape-import-names.mjs", - "es-module/test-esm-wasm-globals-all-types.mjs", - "es-module/test-esm-wasm-js-string-builtins.mjs", - "es-module/test-esm-wasm-load-exports.mjs", - "es-module/test-esm-wasm-module-instances-warning.mjs", - "es-module/test-esm-wasm-no-code-injection.mjs", - "es-module/test-esm-wasm-non-identifier-exports.mjs", - "es-module/test-esm-wasm-reject-wasm-export-names.mjs", - "es-module/test-esm-wasm-reject-wasm-import-names.mjs", - "es-module/test-esm-wasm-reject-wasm-js-export-names.mjs", - "es-module/test-esm-wasm-reject-wasm-js-import-module.mjs", - "es-module/test-esm-wasm-reject-wasm-js-import-names.mjs", - "es-module/test-esm-wasm-source-phase-dynamic.mjs", - "es-module/test-esm-wasm-source-phase-no-execute-dynamic.mjs", - "es-module/test-esm-wasm-source-phase-no-execute.mjs", - "es-module/test-esm-wasm-source-phase-not-defined-dynamic.mjs", - "es-module/test-esm-wasm-source-phase-not-defined-static.mjs", - "es-module/test-esm-wasm-source-phase-static.mjs", - "es-module/test-esm-wasm-top-level-execution.mjs", - "es-module/test-esm-wasm-vm-source-phase-dynamic.mjs", - "es-module/test-esm-wasm-vm-source-phase-static.mjs" - ], - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "es-module/test-require-module-tla.js", - "entry": { - "split": true, - "subtests": { - "block_00_block_00": { - "category": "runnable" - }, - "block_01_block_01": { - "category": "known-gap", - "reason": "child_process execPath emulation does not implement --experimental-print-required-tla diagnostics output" - } - } - }, - "baselineCases": 1, - "commit": [ - "8d10bc7b09efa49e17df17afabfd75462c231058", - "2025-02-20", - "module: improve error message from asynchronicity in require(esm)" - ], - "replacements": [ - "es-module/test-require-module-tla-execution.js", - "es-module/test-require-module-tla-nested.js", - "es-module/test-require-module-tla-print-execution.js", - "es-module/test-require-module-tla-rejected.js", - "es-module/test-require-module-tla-resolved.js", - "es-module/test-require-module-tla-unresolved.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "moved", - "note": "split into the six test-require-module-tla-* files with the improved ERR_REQUIRE_ASYNC_MODULE message; the --experimental-print-required-tla case now asserts the required module and source line instead of 'I am executed'" - }, - { - "file": "es-module/test-typescript-transform.mjs", - "entry": { - "category": "known-gap", - "reason": "requires isolated process.execPath --experimental-transform-types execution and CLI source-map configuration" - }, - "baselineCases": 0, - "commit": [ - "89f4b6cddbba1ef990ac366ba512498e948ed864", - "2026-02-27", - "module: remove --experimental-transform-types" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-assert-builtins-not-read-from-filesystem.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "d35bd2088e2daa001edabeb030de59f20ec6d8e9", - "2025-09-11", - "lib,src: refactor assert to load error source from memory" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "target-change-removed-upstream" - }, - { - "file": "parallel/test-assert-calltracker-calls.js", - "entry": { - "split": true, - "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {}, - "block_02_block_02": {}, - "block_03_block_03": {}, - "block_04_block_04": {}, - "block_05_block_05": {} - } - }, - "baselineCases": 6, - "commit": [ - "b21574d63bc22802c14b520389d0df39614f739e", - "2025-05-06", - "assert: move CallTracker to EOL" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "parallel/test-assert-calltracker-getCalls.js", - "entry": { - "split": true, - "subtests": { - "test_00_assert_calltracker_getcalls": {}, - "test_01_assert_calltracker_reset": {} - } - }, - "baselineCases": 2, - "commit": [ - "b21574d63bc22802c14b520389d0df39614f739e", - "2025-05-06", - "assert: move CallTracker to EOL" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "parallel/test-assert-calltracker-report.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "b21574d63bc22802c14b520389d0df39614f739e", - "2025-05-06", - "assert: move CallTracker to EOL" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "parallel/test-assert-calltracker-verify.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "b21574d63bc22802c14b520389d0df39614f739e", - "2025-05-06", - "assert: move CallTracker to EOL" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "parallel/test-assert-fail-deprecation.js", - "entry": { - "split": true, - "subtests": { - "test_00_two_args_only_operator_defaults_to": {}, - "test_01_three_args": {}, - "test_02_three_args_with_custom_error": {}, - "test_03_no_third_arg_but_a_fourth_arg": {}, - "test_04_the_stackframefunction_should_exclude_the_foo_frame": {} - } - }, - "baselineCases": 5, - "commit": [ - "d33f4b539a9a0203a47c5c8d4b8ca855d1a4274d", - "2025-06-02", - "assert: move assert.fail with multiple arguments to eol" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "parallel/test-assert-objects.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "096b61131a82aecc95d2224a5f8ecd7460ec99a8", - "2025-03-12", - "benchmark: skip running some assert benchmarks by default" - ], - "replacements": [ - "parallel/test-assert-partial-deep-equal.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "moved" - }, - { - "file": "parallel/test-child-process-spawn-args.js", - "entry": { - "category": "wasi-impossible", - "reason": "requires child_process which is not available in WASM" - }, - "baselineCases": 0, - "commit": [ - "6d4e27060736520939cd8fb967cbb8b1ed047d25", - "2025-06-03", - "test: rewrite test-child-process-spawn-args" - ], - "replacements": [ - "parallel/test-child-process-spawn-args.mjs" - ], - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-crypto-keygen-deprecation.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "c3b986853c07bf4583bd679748f3ce03682491c1", - "2025-06-20", - "crypto: move deprecated hash and mgf1Hash options to EOL" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "parallel/test-crypto-keygen-duplicate-deprecated-option.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "c3b986853c07bf4583bd679748f3ce03682491c1", - "2025-06-20", - "crypto: move deprecated hash and mgf1Hash options to EOL" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "parallel/test-dgram-deprecation-error.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "968e2f47c89d42205640f13342ab8b89ff312fe0", - "2025-05-31", - "dgram: move deprecated APIs to EOL" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "parallel/test-fs-promises-file-handle-close.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "2bb7667475e9aad2fe95d60c0d24b1688d6c8f61", - "2025-06-25", - "fs: move FileHandle close on GC to EOL" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "parallel/test-fs-promises-writefile-typedarray.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "3ac95f2d0ca18650a5a53ad9254ef01fd9673de2", - "2026-07-14", - "doc,test: widen fsPromises.appendFile()'s data type, add missing tests" - ], - "replacements": [ - "parallel/test-fs-promises-appendfile.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "moved" - }, - { - "file": "parallel/test-fs-promises-writefile-with-fd.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "3ac95f2d0ca18650a5a53ad9254ef01fd9673de2", - "2026-07-14", - "doc,test: widen fsPromises.appendFile()'s data type, add missing tests" - ], - "replacements": [ - "parallel/test-fs-promises-file-handle-writeFile.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "moved", - "note": "source-read correction: the same commit moved the write-at-position check (bytesWritten 5, then 'HelloWorld') into test-fs-promises-file-handle-writeFile.js, not into test-fs-promises-appendfile.js" - }, - { - "file": "parallel/test-fs-rmdir-recursive-sync-warns-not-found.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "eec03020880cf83d20e827d9067bdbeb4e0adf64", - "2025-06-21", - "fs: move rmdir recursive option to end-of-life" - ], - "replacements": [ - "parallel/test-fs-rmdir-recursive-error.js", - "parallel/test-fs-rmdir-throws-not-found.js", - "parallel/test-fs-rmdir-throws-on-file.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "parallel/test-fs-rmdir-recursive-sync-warns-on-file.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "eec03020880cf83d20e827d9067bdbeb4e0adf64", - "2025-06-21", - "fs: move rmdir recursive option to end-of-life" - ], - "replacements": [ - "parallel/test-fs-rmdir-recursive-error.js", - "parallel/test-fs-rmdir-throws-not-found.js", - "parallel/test-fs-rmdir-throws-on-file.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "parallel/test-fs-rmdir-recursive-throws-not-found.js", - "entry": { - "split": true, - "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {}, - "block_02_block_02": {} - } - }, - "baselineCases": 3, - "commit": [ - "eec03020880cf83d20e827d9067bdbeb4e0adf64", - "2025-06-21", - "fs: move rmdir recursive option to end-of-life" - ], - "replacements": [ - "parallel/test-fs-rmdir-recursive-error.js", - "parallel/test-fs-rmdir-throws-not-found.js", - "parallel/test-fs-rmdir-throws-on-file.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "parallel/test-fs-rmdir-recursive-throws-on-file.js", - "entry": { - "split": true, - "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {}, - "block_02_block_02": {} - } - }, - "baselineCases": 3, - "commit": [ - "eec03020880cf83d20e827d9067bdbeb4e0adf64", - "2025-06-21", - "fs: move rmdir recursive option to end-of-life" - ], - "replacements": [ - "parallel/test-fs-rmdir-recursive-error.js", - "parallel/test-fs-rmdir-throws-not-found.js", - "parallel/test-fs-rmdir-throws-on-file.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "parallel/test-fs-rmdir-recursive-warns-not-found.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "eec03020880cf83d20e827d9067bdbeb4e0adf64", - "2025-06-21", - "fs: move rmdir recursive option to end-of-life" - ], - "replacements": [ - "parallel/test-fs-rmdir-recursive-error.js", - "parallel/test-fs-rmdir-throws-not-found.js", - "parallel/test-fs-rmdir-throws-on-file.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "parallel/test-fs-rmdir-recursive-warns-on-file.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "eec03020880cf83d20e827d9067bdbeb4e0adf64", - "2025-06-21", - "fs: move rmdir recursive option to end-of-life" - ], - "replacements": [ - "parallel/test-fs-rmdir-recursive-error.js", - "parallel/test-fs-rmdir-throws-not-found.js", - "parallel/test-fs-rmdir-throws-on-file.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "parallel/test-fs-rmdir-recursive.js", - "entry": { - "category": "node-internals", - "reason": "imports internal/fs/utils validateRmdirOptions", - "split": true, - "subtests": { - "block_00_test_the_asynchronous_version": {}, - "block_01_test_the_synchronous_version": {}, - "block_02_test_input_validation": {}, - "block_03_rimraf_see_35566": {} - } - }, - "baselineCases": 0, - "commit": [ - "eec03020880cf83d20e827d9067bdbeb4e0adf64", - "2025-06-21", - "fs: move rmdir recursive option to end-of-life" - ], - "replacements": [ - "parallel/test-fs-rmdir-recursive-error.js", - "parallel/test-fs-rmdir-throws-not-found.js", - "parallel/test-fs-rmdir-throws-on-file.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-fs-truncate-fd.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "a4f556fc368f42e830e914a635cc0604b1188eed", - "2025-03-22", - "fs: remove ability to call truncate with fd" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "parallel/test-global-customevent-disabled.js", - "entry": { - "category": "known-gap", - "reason": "--no-experimental-global-customevent flag is not honored" - }, - "baselineCases": 0, - "commit": [ - "f7e73cd1f2", - "2024-04-29", - "cli: remove --no-experimental-global-customevent flag" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-global-webcrypto-disbled.js", - "entry": { - "category": "known-gap", - "reason": "--no-experimental-global-webcrypto flag is not honored" - }, - "baselineCases": 0, - "commit": [ - "a30ae50860", - "2024-04-19", - "cli: remove --no-experimental-global-webcrypto flag" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-http-outgoing-internal-headernames-getter.js", - "entry": { - "split": true, - "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {} - } - }, - "baselineCases": 2, - "commit": [ - "e1fabe4f58722af265d11081b91ce287f90738f4", - "2025-04-02", - "http: remove outgoingmessage _headers and _headersList" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "parallel/test-http-outgoing-internal-headernames-setter.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "e1fabe4f58722af265d11081b91ce287f90738f4", - "2025-04-02", - "http: remove outgoingmessage _headers and _headersList" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "parallel/test-http-outgoing-internal-headers.js", - "entry": { - "category": "node-internals", - "reason": "requires internal/http kOutHeaders symbol", - "split": true, - "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {}, - "block_02_block_02": {} - } - }, - "baselineCases": 0, - "commit": [ - "e1fabe4f58722af265d11081b91ce287f90738f4", - "2025-04-02", - "http: remove outgoingmessage _headers and _headersList" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-http2-single-headers.js", - "entry": { - "category": "known-gap", - "reason": "node:http2 public API is a stub in WebAssembly runtime" - }, - "baselineCases": 0, - "commit": [ - "0fccfa421ba25754f109ef58f7d64eca89c93180", - "2026-02-21", - "http2: add strictSingleValueFields option to relax header validation" - ], - "replacements": [ - "parallel/test-http2-single-headers-validation-disabled.js", - "parallel/test-http2-single-headers-validation.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-internal-util-classwrapper.js", - "entry": { - "category": "node-internals", - "reason": "requires --expose-internals and internal/util" - }, - "baselineCases": 0, - "commit": [ - "79def6d897b09cc3bfc9dd0f870fed3498ccf323", - "2026-05-30", - "util: remove unused functions" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-net-deprecated-setsimultaneousaccepts.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "ace5548ff0b82c08704f2bf812295aabf5748f30", - "2025-03-22", - "net: make _setSimultaneousAccepts() end-of-life deprecated" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "parallel/test-net-listen-ipv6only.js", - "entry": { - "category": "known-gap", - "reason": "IPv6 sockets are not available in this runtime (common.hasIPv6=false)" - }, - "baselineCases": 0, - "commit": [ - "280c85c1d270a45c2b624683dc1222fbdb3aed28", - "2026-08-22", - "test: deflake test-net-listen-ipv6only" - ], - "replacements": [ - "sequential/test-net-listen-ipv6only.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-net-server-drop-connections-in-cluster.js", - "entry": { - "category": "wasi-impossible", - "reason": "cluster requires process forking, not available in WASM" - }, - "baselineCases": 0, - "commit": [ - "553f236865a999318bba3820e3abeebe62aaee29", - "2025-08-21", - "test: rename test-net-server-drop-connections-in-cluster.js to -http-" - ], - "replacements": [ - "parallel/test-http-server-drop-connections-in-cluster.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-net-server-simultaneous-accepts-produce-warning-once.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "ace5548ff0b82c08704f2bf812295aabf5748f30", - "2025-03-22", - "net: make _setSimultaneousAccepts() end-of-life deprecated" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "parallel/test-performance-eventlooputil.js", - "entry": { - "category": "wasi-impossible", - "reason": "depends on worker_threads-based event loop utilization behavior" - }, - "baselineCases": 0, - "commit": [ - "51a57f2b3629e733773f1b9ade70c8abcee5eb8c", - "2025-10-28", - "perf_hooks: move non-standard performance properties to perf_hooks" - ], - "replacements": [ - "parallel/test-perf-hooks-eventlooputilization.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-performance-function.js", - "entry": { - "category": "known-gap", - "reason": "performance.timerify function entries are not implemented", - "split": true, - "subtests": { - "block_00_block_00": { - "reason": "inherited: performance.timerify function entries are not implemented" - }, - "block_01_block_01": { - "reason": "inherited: performance.timerify function entries are not implemented" - }, - "block_02_block_02": { - "reason": "inherited: performance.timerify function entries are not implemented" - }, - "block_03_block_03": { - "reason": "inherited: performance.timerify function entries are not implemented" - }, - "block_04_function_can_be_wrapped_many_times_also_check_length_and_nam": { - "reason": "inherited: performance.timerify function entries are not implemented" - }, - "block_05_regression_tests_for_https_github_com_nodejs_node_issues_406": { - "reason": "inherited: performance.timerify function entries are not implemented" - } - } - }, - "baselineCases": 0, - "commit": [ - "51a57f2b3629e733773f1b9ade70c8abcee5eb8c", - "2025-10-28", - "perf_hooks: move non-standard performance properties to perf_hooks" - ], - "replacements": [ - "parallel/test-perf-hooks-eventlooputilization.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-permission-dc-worker-threads.js", - "entry": { - "category": "known-gap", - "reason": "process.permission worker-thread restrictions are incomplete" - }, - "baselineCases": 0, - "commit": [ - "f46d501b7f4c6a8b838f472693596044d14a566f", - "2025-10-22", - "test_runner: use module.registerHooks in module mocks" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-process-assert.js", - "entry": { - "category": "known-gap", - "reason": "process.assert() is not implemented" - }, - "baselineCases": 0, - "commit": [ - "c237eabf4c", - "2024-09-23", - "process: remove `process.assert`" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-promise-swallowed-event.js", - "entry": { - "category": "known-gap", - "reason": "process 'multipleResolves' event semantics are not implemented" - }, - "baselineCases": 0, - "commit": [ - "a3dfca90d1faa0fbc4900c2c816c035e4ae2a0a9", - "2025-06-29", - "process: move multipleResolves event to EOL" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-quic-internal-endpoint-listen-defaults.js", - "entry": { - "category": "node-internals", - "reason": "requires internal/quic/quic classes (non-public API)" - }, - "baselineCases": 0, - "commit": [ - "36256230b4cab235f4e8248b4289839771661521", - "2025-09-20", - "src: cleanup quic TransportParams class" - ], - "replacements": [ - "parallel/test-quic-handshake.mjs", - "parallel/test-quic-internal-endpoint-listen-defaults.mjs", - "parallel/test-quic-internal-endpoint-options.mjs", - "parallel/test-quic-internal-endpoint-stats-state.mjs", - "parallel/test-quic-internal-setcallbacks.mjs" - ], - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-quic-internal-endpoint-options.js", - "entry": { - "category": "node-internals", - "reason": "requires internal/quic/quic classes (non-public API)" - }, - "baselineCases": 0, - "commit": [ - "36256230b4cab235f4e8248b4289839771661521", - "2025-09-20", - "src: cleanup quic TransportParams class" - ], - "replacements": [ - "parallel/test-quic-handshake.mjs", - "parallel/test-quic-internal-endpoint-listen-defaults.mjs", - "parallel/test-quic-internal-endpoint-options.mjs", - "parallel/test-quic-internal-endpoint-stats-state.mjs", - "parallel/test-quic-internal-setcallbacks.mjs" - ], - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-quic-internal-endpoint-stats-state.js", - "entry": { - "category": "node-internals", - "reason": "requires internal/quic/quic and internal/quic/symbols" - }, - "baselineCases": 0, - "commit": [ - "36256230b4cab235f4e8248b4289839771661521", - "2025-09-20", - "src: cleanup quic TransportParams class" - ], - "replacements": [ - "parallel/test-quic-handshake.mjs", - "parallel/test-quic-internal-endpoint-listen-defaults.mjs", - "parallel/test-quic-internal-endpoint-options.mjs", - "parallel/test-quic-internal-endpoint-stats-state.mjs", - "parallel/test-quic-internal-setcallbacks.mjs" - ], - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-quic-internal-setcallbacks.js", - "entry": { - "category": "node-internals", - "reason": "requires internalBinding('quic').setCallbacks" - }, - "baselineCases": 0, - "commit": [ - "36256230b4cab235f4e8248b4289839771661521", - "2025-09-20", - "src: cleanup quic TransportParams class" - ], - "replacements": [ - "parallel/test-quic-handshake.mjs", - "parallel/test-quic-internal-endpoint-listen-defaults.mjs", - "parallel/test-quic-internal-endpoint-options.mjs", - "parallel/test-quic-internal-endpoint-stats-state.mjs", - "parallel/test-quic-internal-setcallbacks.mjs" - ], - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-repl-eval.js", - "entry": { - "category": "wasi-impossible", - "reason": "REPL requires interactive terminal, not available in WASM" - }, - "baselineCases": 0, - "commit": [ - "d6dade5bc5faf32c8efce69cbc385ca3383beef7", - "2025-06-15", - "test: add tests for REPL custom evals" - ], - "replacements": [ - "parallel/test-repl-custom-eval-previews.js", - "parallel/test-repl-custom-eval.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-single-executable-blob-config-errors.js", - "entry": { - "category": "wasi-impossible", - "reason": "Node.js SEA packaging, not available in WASM", - "split": true, - "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {}, - "block_02_block_02": {}, - "block_03_block_03": {}, - "block_04_block_04": {}, - "block_05_block_05": {}, - "block_06_block_06": {}, - "block_07_block_07": {}, - "block_08_block_08": {}, - "block_09_block_09": {}, - "block_10_block_10": {} - } - }, - "baselineCases": 0, - "commit": [ - "64bbb979decdbfffc3d88b26c1e2045a8e2ed6d8", - "2025-10-17", - "test: move sea tests into test/sea" - ], - "replacements": null, - "unvendoredReplacementDirs": [ - "sea" - ], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-single-executable-blob-config.js", - "entry": { - "category": "wasi-impossible", - "reason": "Node.js SEA packaging, not available in WASM", - "split": true, - "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {}, - "block_02_block_02": {}, - "block_03_block_03": {}, - "block_04_block_04": {} - } - }, - "baselineCases": 0, - "commit": [ - "64bbb979decdbfffc3d88b26c1e2045a8e2ed6d8", - "2025-10-17", - "test: move sea tests into test/sea" - ], - "replacements": null, - "unvendoredReplacementDirs": [ - "sea" - ], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-sqlite-database-sync.js", - "entry": { - "split": true, - "subtests": { - "test_00_databasesync_constructor": {}, - "test_01_databasesync_prototype_open": {}, - "test_02_databasesync_prototype_close": {}, - "test_03_databasesync_prototype_prepare": {}, - "test_04_databasesync_prototype_exec": {} - } - }, - "baselineCases": 5, - "commit": [ - "f2b698f1cf7e03581e9a4a36e66424cecb153520", - "2026-09-26", - "sqlite: rename DatabaseSync and StatementSync" - ], - "replacements": [ - "parallel/test-sqlite-database.js", - "parallel/test-sqlite-statement-columns.js", - "parallel/test-sqlite-statement.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "moved" - }, - { - "file": "parallel/test-sqlite-statement-sync.js", - "entry": { - "split": true, - "subtests": { - "test_00_statementsync_constructor": {}, - "test_01_statementsync_prototype_get": {}, - "test_02_statementsync_prototype_all": {}, - "test_03_statementsync_prototype_iterate": {}, - "test_04_statementsync_prototype_run": {}, - "test_05_statementsync_prototype_sourcesql": {}, - "test_06_statementsync_prototype_expandedsql": { - "category": "known-gap", - "reason": "node:sqlite rejects mixed named+positional parameters where Node accepts them" - }, - "test_07_statementsync_prototype_setreadbigints": {}, - "test_08_statementsync_prototype_setallowbarenamedparameters": {} - } - }, - "baselineCases": 8, - "commit": [ - "f2b698f1cf7e03581e9a4a36e66424cecb153520", - "2026-09-26", - "sqlite: rename DatabaseSync and StatementSync" - ], - "replacements": [ - "parallel/test-sqlite-database.js", - "parallel/test-sqlite-statement-columns.js", - "parallel/test-sqlite-statement.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "moved" - }, - { - "file": "parallel/test-stream-aliases-legacy.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "c755b0113ce0cb6d83baf2cf070ba381a5673db2", - "2026-01-22", - "stream: move _stream_* to end-of-life" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "parallel/test-stream-base-typechecking.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "f352556da863c3ad8c32acbe853f3018946b623b", - "2026-05-19", - "stream: disallow writing string chunk with 'buffer' encoding" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "target-change-removed-upstream" - }, - { - "file": "parallel/test-stream-compose-operator.js", - "entry": { - "split": true, - "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {}, - "block_02_block_02": {}, - "block_03_block_03": {}, - "block_04_block_04": {}, - "block_05_block_05": {}, - "block_06_block_06": {}, - "block_07_block_07": {} - } - }, - "baselineCases": 8, - "commit": [ - "5e677d6e7e4a04f217ffb79fcbcdadadb02e6fa0", - "2025-12-23", - "stream: do not pass `readable.compose()` output via `Readable.from()`" - ], - "replacements": [ - "parallel/test-stream-readable-compose.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "moved" - }, - { - "file": "parallel/test-stream-readable-to-web.js", - "entry": { - "category": "known-gap", - "reason": "Readable.toWeb() with crypto randomBytes pressure can trap in web_crypto random_bytes" - }, - "baselineCases": 0, - "commit": [ - "fa458d2feec2e3510f10b77b936ac0acd7ab1672", - "2025-08-02", - "test: deflake stream-readable-to-web test" - ], - "replacements": [ - "parallel/test-stream-readable-to-web.mjs" - ], - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-timers-active.js", - "entry": { - "category": "node-internals", - "reason": "asserts deprecated timers.active() behavior and private _idle* timer fields" - }, - "baselineCases": 0, - "commit": [ - "5d7091f1bc0454e9ea80a0ea49ff7469cc7f2d7c", - "2025-02-10", - "timers: set several methods EOL" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-timers-enroll-invalid-msecs.js", - "entry": { - "category": "node-internals", - "reason": "tests deprecated internal timers.enroll() validation/error paths" - }, - "baselineCases": 0, - "commit": [ - "5d7091f1bc0454e9ea80a0ea49ff7469cc7f2d7c", - "2025-02-10", - "timers: set several methods EOL" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-timers-enroll-second-time.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "5d7091f1bc0454e9ea80a0ea49ff7469cc7f2d7c", - "2025-02-10", - "timers: set several methods EOL" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "parallel/test-timers-unref-active.js", - "entry": { - "category": "node-internals", - "reason": "explicitly tests private timers._unrefActive()/enroll()/unenroll() behavior" - }, - "baselineCases": 0, - "commit": [ - "5d7091f1bc0454e9ea80a0ea49ff7469cc7f2d7c", - "2025-02-10", - "timers: set several methods EOL" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-timers-unref-remove-other-unref-timers-only-one-fires.js", - "entry": { - "category": "node-internals", - "reason": "explicitly tests private timers._unrefActive()/enroll()/unenroll() behavior" - }, - "baselineCases": 0, - "commit": [ - "5d7091f1bc0454e9ea80a0ea49ff7469cc7f2d7c", - "2025-02-10", - "timers: set several methods EOL" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-timers-unref-remove-other-unref-timers.js", - "entry": { - "category": "node-internals", - "reason": "explicitly tests private timers._unrefActive()/enroll()/unenroll() behavior" - }, - "baselineCases": 0, - "commit": [ - "5d7091f1bc0454e9ea80a0ea49ff7469cc7f2d7c", - "2025-02-10", - "timers: set several methods EOL" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-tls-handshake-nohang.js", - "entry": { - "category": "wasi-impossible", - "reason": "tls/https is not supported in WebAssembly environment" - }, - "baselineCases": 0, - "commit": [ - "a2a53cb728ec5f776ac16879ce0f480a8e838320", - "2025-03-11", - "tls: remove deprecated tls.createSecurePair" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-tls-ip-servername-deprecation.js", - "entry": { - "category": "wasi-impossible", - "reason": "tls/https is not supported in WebAssembly environment" - }, - "baselineCases": 0, - "commit": [ - "790acc8689d731381e2e14e764ed2952e8ddc9e5", - "2025-06-02", - "tls: move IP-address servername deprecation to eol" - ], - "replacements": [ - "parallel/test-tls-ip-servername-forbidden.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-tls-legacy-deprecated.js", - "entry": { - "category": "wasi-impossible", - "reason": "tls/https is not supported in WebAssembly environment" - }, - "baselineCases": 0, - "commit": [ - "a2a53cb728ec5f776ac16879ce0f480a8e838320", - "2025-03-11", - "tls: remove deprecated tls.createSecurePair" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-tls-securepair-fiftharg.js", - "entry": { - "category": "wasi-impossible", - "reason": "tls/https is not supported in WebAssembly environment" - }, - "baselineCases": 0, - "commit": [ - "a2a53cb728ec5f776ac16879ce0f480a8e838320", - "2025-03-11", - "tls: remove deprecated tls.createSecurePair" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-tls-securepair-leak.js", - "entry": { - "category": "wasi-impossible", - "reason": "tls/https is not supported in WebAssembly environment" - }, - "baselineCases": 0, - "commit": [ - "a2a53cb728ec5f776ac16879ce0f480a8e838320", - "2025-03-11", - "tls: remove deprecated tls.createSecurePair" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-tls-securepair-server.js", - "entry": { - "category": "wasi-impossible", - "reason": "tls/https is not supported in WebAssembly environment" - }, - "baselineCases": 0, - "commit": [ - "a2a53cb728ec5f776ac16879ce0f480a8e838320", - "2025-03-11", - "tls: remove deprecated tls.createSecurePair" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-tls-server-setoptions-clientcertengine.js", - "entry": { - "category": "wasi-impossible", - "reason": "tls/https is not supported in WebAssembly environment" - }, - "baselineCases": 0, - "commit": [ - "388d67033dff68e218960247428f495253bc4a26", - "2025-03-07", - "tls: make server.prototype.setOptions end-of-life" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-trace-atomic-deprecation.js", - "entry": { - "category": "known-gap", - "reason": "execPath child emulation does not support --trace-atomics-wait CLI behavior" - }, - "baselineCases": 0, - "commit": [ - "8f37492b65", - "2024-05-01", - "cli: move --trace-atomics-wait to eol" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-trace-atomics-wait.js", - "entry": { - "category": "wasi-impossible", - "reason": "requires Atomics.wait tracing across worker threads" - }, - "baselineCases": 0, - "commit": [ - "8f37492b65", - "2024-05-01", - "cli: move --trace-atomics-wait to eol" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-trace-events-all.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", - "2026-09-24", - "test: enable trace_events tests with perfetto" - ], - "replacements": [ - "trace_events/test-trace-events-all.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "moved", - "note": "same-basename move to test/trace_events/ with legacy-JSON/Perfetto helpers from common/trace_events.js; the harness runs it with hasPerfetto false, the legacy JSON path" - }, - { - "file": "parallel/test-trace-events-api.js", - "entry": { - "category": "node-internals", - "reason": "uses --expose-internals and internalBinding('trace_events')" - }, - "baselineCases": 0, - "commit": [ - "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", - "2026-09-24", - "test: enable trace_events tests with perfetto" - ], - "replacements": [ - "trace_events/test-trace-events-api.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-trace-events-async-hooks-worker.js", - "entry": { - "category": "wasi-impossible", - "reason": "requires worker_threads trace propagation" - }, - "baselineCases": 0, - "commit": [ - "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", - "2026-09-24", - "test: enable trace_events tests with perfetto" - ], - "replacements": [ - "trace_events/test-trace-events-async-hooks-worker.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-trace-events-async-hooks.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", - "2026-09-24", - "test: enable trace_events tests with perfetto" - ], - "replacements": [ - "trace_events/test-trace-events-async-hooks.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "moved", - "note": "same-basename move to test/trace_events/ with legacy-JSON/Perfetto helpers from common/trace_events.js; the harness runs it with hasPerfetto false, the legacy JSON path" - }, - { - "file": "parallel/test-trace-events-bootstrap.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", - "2026-09-24", - "test: enable trace_events tests with perfetto" - ], - "replacements": [ - "trace_events/test-trace-events-bootstrap.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "moved", - "note": "same-basename move to test/trace_events/ with legacy-JSON/Perfetto helpers from common/trace_events.js; the harness runs it with hasPerfetto false, the legacy JSON path" - }, - { - "file": "parallel/test-trace-events-environment.js", - "entry": { - "category": "known-gap", - "reason": "trace_events node.environment category output is incomplete" - }, - "baselineCases": 0, - "commit": [ - "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", - "2026-09-24", - "test: enable trace_events tests with perfetto" - ], - "replacements": [ - "trace_events/test-trace-events-environment.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-trace-events-file-pattern.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", - "2026-09-24", - "test: enable trace_events tests with perfetto" - ], - "replacements": [ - "trace_events/test-trace-events-file-pattern.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "moved", - "note": "same-basename move to test/trace_events/ with legacy-JSON/Perfetto helpers from common/trace_events.js; the harness runs it with hasPerfetto false, the legacy JSON path" - }, - { - "file": "parallel/test-trace-events-fs-sync.js", - "entry": { - "category": "known-gap", - "reason": "execPath child emulation does not yet support trace-events CLI arg parsing used by -e runs" - }, - "baselineCases": 0, - "commit": [ - "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", - "2026-09-24", - "test: enable trace_events tests with perfetto" - ], - "replacements": [ - "trace_events/test-trace-events-fs-sync.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-trace-events-http.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", - "2026-09-24", - "test: enable trace_events tests with perfetto" - ], - "replacements": [ - "trace_events/test-trace-events-http.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "moved", - "note": "same-basename move to test/trace_events/ with legacy-JSON/Perfetto helpers from common/trace_events.js; the harness runs it with hasPerfetto false, the legacy JSON path" - }, - { - "file": "parallel/test-trace-events-net-abstract-socket.js", - "entry": { - "category": "wasi-impossible", - "reason": "requires Linux abstract UNIX socket tracing" - }, - "baselineCases": 0, - "commit": [ - "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", - "2026-09-24", - "test: enable trace_events tests with perfetto" - ], - "replacements": [ - "trace_events/test-trace-events-net-abstract-socket.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-trace-events-net.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", - "2026-09-24", - "test: enable trace_events tests with perfetto" - ], - "replacements": [ - "trace_events/test-trace-events-net.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "moved", - "note": "same-basename move to test/trace_events/ with legacy-JSON/Perfetto helpers from common/trace_events.js; the harness runs it with hasPerfetto false, the legacy JSON path" - }, - { - "file": "parallel/test-trace-events-none.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", - "2026-09-24", - "test: enable trace_events tests with perfetto" - ], - "replacements": [ - "trace_events/test-trace-events-none.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "moved", - "note": "same-basename move to test/trace_events/ with legacy-JSON/Perfetto helpers from common/trace_events.js; the harness runs it with hasPerfetto false, the legacy JSON path" - }, - { - "file": "parallel/test-trace-events-process-exit.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", - "2026-09-24", - "test: enable trace_events tests with perfetto" - ], - "replacements": [ - "trace_events/test-trace-events-process-exit.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "moved", - "note": "same-basename move to test/trace_events/ with legacy-JSON/Perfetto helpers from common/trace_events.js; the harness runs it with hasPerfetto false, the legacy JSON path" - }, - { - "file": "parallel/test-trace-events-promises.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", - "2026-09-24", - "test: enable trace_events tests with perfetto" - ], - "replacements": [ - "trace_events/test-trace-events-promises.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "moved", - "note": "same-basename move to test/trace_events/ with legacy-JSON/Perfetto helpers from common/trace_events.js; the harness runs it with hasPerfetto false, the legacy JSON path" - }, - { - "file": "parallel/test-trace-events-threadpool.js", - "entry": { - "category": "wasi-impossible", - "reason": "requires libuv threadpool trace categories" - }, - "baselineCases": 0, - "commit": [ - "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", - "2026-09-24", - "test: enable trace_events tests with perfetto" - ], - "replacements": [ - "trace_events/test-trace-events-threadpool.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-trace-events-v8.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", - "2026-09-24", - "test: enable trace_events tests with perfetto" - ], - "replacements": [ - "trace_events/test-trace-events-v8.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "moved", - "note": "same-basename move to test/trace_events/ with legacy-JSON/Perfetto helpers from common/trace_events.js; the harness runs it with hasPerfetto false, the legacy JSON path" - }, - { - "file": "parallel/test-trace-events-vm.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "e7d8ab529bedcf04b91d2a65f8084be6422a0a9e", - "2026-09-24", - "test: enable trace_events tests with perfetto" - ], - "replacements": [ - "trace_events/test-trace-events-vm.js" - ], - "unvendoredReplacementDirs": null, - "disposition": "moved", - "note": "same-basename move to test/trace_events/ with legacy-JSON/Perfetto helpers from common/trace_events.js; the harness runs it with hasPerfetto false, the legacy JSON path" - }, - { - "file": "parallel/test-util-getcallsite.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "b757a8f2b4fc201e4aef9411d48e2b22d8b29b68", - "2025-10-06", - "lib: remove util.getCallSite" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "parallel/test-util-log.js", - "entry": {}, - "baselineCases": 1, - "commit": [ - "982f6ad516", - "2024-05-06", - "util: move util.log to eol" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "target-change-eol" - }, - { - "file": "parallel/test-warn-stream-wrap.js", - "entry": { - "category": "node-internals", - "reason": "requires deprecated private _stream_wrap module" - }, - "baselineCases": 0, - "commit": [ - "cd68e35704ea2fcf277248fd7b952a7b9e484b74", - "2025-05-23", - "lib: deprecate `_stream_*` modules" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-zlib-bytes-read.js", - "entry": { - "category": "known-gap", - "reason": "zlib stream bytesWritten/bytesRead accounting and end/data callbacks differ from Node" - }, - "baselineCases": 0, - "commit": [ - "e225f00034", - "2024-09-28", - "zlib: remove `zlib.bytesRead`" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - }, - { - "file": "sequential/test-single-executable-application-assets-raw.js", - "entry": { - "category": "wasi-impossible", - "reason": "Node.js SEA packaging, not available in WASM" - }, - "baselineCases": 0, - "commit": [ - "64bbb979decdbfffc3d88b26c1e2045a8e2ed6d8", - "2025-10-17", - "test: move sea tests into test/sea" - ], - "replacements": null, - "unvendoredReplacementDirs": [ - "sea" - ], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "sequential/test-single-executable-application-assets.js", - "entry": { - "category": "wasi-impossible", - "reason": "Node.js SEA packaging, not available in WASM", - "split": true, - "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {}, - "block_02_block_02": {} - } - }, - "baselineCases": 0, - "commit": [ - "64bbb979decdbfffc3d88b26c1e2045a8e2ed6d8", - "2025-10-17", - "test: move sea tests into test/sea" - ], - "replacements": null, - "unvendoredReplacementDirs": [ - "sea" - ], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "sequential/test-single-executable-application-disable-experimental-sea-warning.js", - "entry": { - "category": "wasi-impossible", - "reason": "Node.js SEA packaging, not available in WASM" - }, - "baselineCases": 0, - "commit": [ - "64bbb979decdbfffc3d88b26c1e2045a8e2ed6d8", - "2025-10-17", - "test: move sea tests into test/sea" - ], - "replacements": null, - "unvendoredReplacementDirs": [ - "sea" - ], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "sequential/test-single-executable-application-empty.js", - "entry": { - "category": "wasi-impossible", - "reason": "Node.js SEA packaging, not available in WASM" - }, - "baselineCases": 0, - "commit": [ - "64bbb979decdbfffc3d88b26c1e2045a8e2ed6d8", - "2025-10-17", - "test: move sea tests into test/sea" - ], - "replacements": null, - "unvendoredReplacementDirs": [ - "sea" - ], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "sequential/test-single-executable-application-snapshot-and-code-cache.js", - "entry": { - "category": "wasi-impossible", - "reason": "Node.js SEA packaging, not available in WASM" - }, - "baselineCases": 0, - "commit": [ - "64bbb979decdbfffc3d88b26c1e2045a8e2ed6d8", - "2025-10-17", - "test: move sea tests into test/sea" - ], - "replacements": null, - "unvendoredReplacementDirs": [ - "sea" - ], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "sequential/test-single-executable-application-snapshot-worker.js", - "entry": { - "category": "wasi-impossible", - "reason": "Node.js SEA packaging, not available in WASM" - }, - "baselineCases": 0, - "commit": [ - "64bbb979decdbfffc3d88b26c1e2045a8e2ed6d8", - "2025-10-17", - "test: move sea tests into test/sea" - ], - "replacements": null, - "unvendoredReplacementDirs": [ - "sea" - ], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "sequential/test-single-executable-application-snapshot.js", - "entry": { - "category": "wasi-impossible", - "reason": "Node.js SEA packaging, not available in WASM", - "split": true, - "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {} - } - }, - "baselineCases": 0, - "commit": [ - "64bbb979decdbfffc3d88b26c1e2045a8e2ed6d8", - "2025-10-17", - "test: move sea tests into test/sea" - ], - "replacements": null, - "unvendoredReplacementDirs": [ - "sea" - ], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "sequential/test-single-executable-application-use-code-cache.js", - "entry": { - "category": "wasi-impossible", - "reason": "Node.js SEA packaging, not available in WASM" - }, - "baselineCases": 0, - "commit": [ - "64bbb979decdbfffc3d88b26c1e2045a8e2ed6d8", - "2025-10-17", - "test: move sea tests into test/sea" - ], - "replacements": null, - "unvendoredReplacementDirs": [ - "sea" - ], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "sequential/test-single-executable-application.js", - "entry": { - "category": "wasi-impossible", - "reason": "Node.js SEA packaging, not available in WASM" - }, - "baselineCases": 0, - "commit": [ - "64bbb979decdbfffc3d88b26c1e2045a8e2ed6d8", - "2025-10-17", - "test: move sea tests into test/sea" - ], - "replacements": null, - "unvendoredReplacementDirs": [ - "sea" - ], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "sequential/test-tls-securepair-client.js", - "entry": { - "category": "wasi-impossible", - "reason": "tls/https is not supported in WebAssembly environment" - }, - "baselineCases": 0, - "commit": [ - "a2a53cb728ec5f776ac16879ce0f480a8e838320", - "2025-03-11", - "tls: remove deprecated tls.createSecurePair" - ], - "replacements": null, - "unvendoredReplacementDirs": null, - "disposition": "dropped-no-baseline-case" - } - ], - "removedSubtests": [ - { - "file": "parallel/test-abortcontroller.js", - "subtest": "test_06_abortcontroller_properties_and_methods_valiate_the_receiver", - "entry": {}, - "baseline": true, - "bestMatch": "test_06_abortcontroller_properties_and_methods_validate_the_receiver", - "ratio": 0.984, - "bestIsNew": true, - "assertionLines": 0, - "assertionLinesFoundIn": {}, - "assertionLinesMissing": [], - "disposition": "renamed", - "replacedValue": { - "category": "unevaluated", - "reason": "newly discovered subtest, not yet evaluated" - } - }, - { - "file": "parallel/test-blob.js", - "subtest": "block_28_statement_28", - "entry": { - "category": "node-internals", - "reason": "Asserts internal webstreams kState" - }, - "baseline": false, - "bestMatch": "block_32_statement_32", - "ratio": 0.937, - "bestIsNew": true, - "assertionLines": 5, - "assertionLinesFoundIn": { - "block_29_statement_29": 3, - "block_22_statement_22": 1 - }, - "assertionLinesMissing": [ - "assert.strictEqual(stream[kState].controller.desiredSize, -5);" - ], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-blob.js", - "subtest": "block_30_statement_30", - "entry": { - "category": "node-internals", - "reason": "Asserts internal webstreams kState" - }, - "baseline": false, - "bestMatch": "block_32_statement_32", - "ratio": 0.972, - "bestIsNew": true, - "assertionLines": 5, - "assertionLinesFoundIn": { - "block_29_statement_29": 3, - "block_22_statement_22": 1 - }, - "assertionLinesMissing": [ - "assert.strictEqual(stream[kState].controller.desiredSize, -5);" - ], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-blob.js", - "subtest": "block_32_block_32", - "entry": { - "category": "runnable" - }, - "baseline": true, - "bestMatch": "block_33_block_33", - "ratio": 0.555, - "bestIsNew": true, - "assertionLines": 2, - "assertionLinesFoundIn": { - "block_33_block_33": 2 - }, - "assertionLinesMissing": [], - "disposition": "renamed" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_04_authentication_tag_length_has_been_specified", - "entry": {}, - "baseline": true, - "bestMatch": "block_05_authentication_tag_length_has_been_specified", - "ratio": 0.952, - "bestIsNew": true, - "assertionLines": 4, - "assertionLinesFoundIn": { - "block_01_throw": 4 - }, - "assertionLinesMissing": [], - "disposition": "renamed", - "replacedValue": { - "category": "unevaluated", - "reason": "newly discovered subtest, not yet evaluated" - } - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_05_authentication_tag_has_been_specified", - "entry": {}, - "baseline": true, - "bestMatch": "block_06_authentication_tag_length_has_been_specified", - "ratio": 0.864, - "bestIsNew": true, - "assertionLines": 2, - "assertionLinesFoundIn": { - "block_01_throw": 2 - }, - "assertionLinesMissing": [], - "disposition": "renamed", - "replacedValue": { - "category": "unevaluated", - "reason": "newly discovered subtest, not yet evaluated" - } - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_12_final_in_gcm_or_ocb_mode", - "entry": {}, - "baseline": true, - "bestMatch": "block_13_final_in_gcm_mode_ocb_mode_and_for_chacha20_poly1305", - "ratio": 0.315, - "bestIsNew": false, - "assertionLines": 1, - "assertionLinesFoundIn": {}, - "assertionLinesMissing": [ - "assert(result.equals(plain));" - ], - "disposition": "renamed", - "note": "rewritten as a superset over aes-256-gcm/ocb and chacha20-poly1305 (all tag/AAD/update orders); the 22.14.0 aes-128 key size is no longer used" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_15_block_15", - "entry": {}, - "baseline": true, - "bestMatch": "block_16_block_16", - "ratio": 0.375, - "bestIsNew": false, - "assertionLines": 1, - "assertionLinesFoundIn": { - "block_01_throw": 1 - }, - "assertionLinesMissing": [], - "disposition": "renamed", - "note": "same issue 38035 check, now skipped when aes-128-ccm is unavailable; final() without update() may now either throw (ERR_OSSL_TAG_NOT_SET / Unsupported state, as before) or return an empty buffer with the control tag (openssl/openssl#32427)" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_17_require_the_authentication_tag_before_calls_to_update_during", - "entry": {}, - "baseline": true, - "bestMatch": "block_10_test_that_final_throws_in_ccm_mode_when_no_authentication_ta", - "ratio": 0.151, - "bestIsNew": false, - "assertionLines": 3, - "assertionLinesFoundIn": { - "block_01_throw": 1 - }, - "assertionLinesMissing": [ - "assert.strictEqual(authTag.length, authTagLength);", - "assert.strictEqual(plaintext.toString(), 'foo');" - ], - "disposition": "moved-to-top-level", - "movedTo": "top-level code of the same file, run in every case" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_18_no_recommended_or_approved_authentication_tag_lengths_below_", - "entry": {}, - "baseline": true, - "bestMatch": "block_03_test_that_gcm_can_produce_shorter_authentication_tags_than_1", - "ratio": 0.128, - "bestIsNew": false, - "assertionLines": 4, - "assertionLinesFoundIn": {}, - "assertionLinesMissing": [ - "assert.strictEqual(rfcTestCases.length, 1);", - "assert.strictEqual(ciphertext.toString('hex'), testCase.ct);", - "assert.strictEqual(authTag.toString('hex'), testCase.tag);", - "assert.strictEqual(plaintext.toString('hex'), testCase.plain);" - ], - "disposition": "moved-to-top-level", - "movedTo": "top-level code of the same file, run in every case" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_19_https_github_com_nodejs_node_issues_45874", - "entry": {}, - "baseline": true, - "bestMatch": "block_03_test_that_gcm_can_produce_shorter_authentication_tags_than_1", - "ratio": 0.137, - "bestIsNew": false, - "assertionLines": 4, - "assertionLinesFoundIn": { - "block_01_throw": 1 - }, - "assertionLinesMissing": [ - "assert.strictEqual(rfcTestCases.length, 1);", - "assert.strictEqual(ciphertext.toString('hex'), testCase.ct);", - "assert.strictEqual(authTag.toString('hex'), testCase.tag);" - ], - "disposition": "moved-to-top-level", - "movedTo": "top-level code of the same file, run in every case" - }, - { - "file": "parallel/test-crypto-hash.js", - "subtest": "block_01_test_xof_hash_functions_and_the_outputlength_option", - "entry": {}, - "baseline": true, - "bestMatch": "block_01_block_01", - "ratio": 0.113, - "bestIsNew": false, - "assertionLines": 18, - "assertionLinesFoundIn": {}, - "assertionLinesMissing": [ - "assert.strictEqual(crypto.createHash('shake128').digest('hex'),", - "assert.strictEqual(crypto.createHash('shake128', null).digest('hex'),", - "assert.strictEqual(crypto.createHash('shake256').digest('hex'),", - "assert.strictEqual(crypto.createHash('shake256', { outputLength: 0 })", - "assert.strictEqual(crypto.createHash('shake128', { outputLength: 0 })", - "assert.strictEqual(crypto.createHash('shake128', { outputLength: 5 })", - "assert.strictEqual(crypto.createHash('shake128', { outputLength: 5 })", - "assert.strictEqual(crypto.createHash('shake128', { outputLength: 0 })", - "assert.strictEqual(crypto.createHash('shake128', { outputLength: 15 })", - "assert.strictEqual(crypto.createHash('shake256', { outputLength: 16 })", - "assert.strictEqual(crypto.createHash('shake128', { outputLength: 128 })", - "assert.strictEqual(superLongHash.length, 2 * 1024 * 1024);", - "assert.ok(superLongHash.endsWith('193414035ddba77bf7bba97981e656ec'));", - "assert.ok(superLongHash.startsWith('a2a28dbc49cfd6e5d6ceea3d03e77748'));", - "assert.strictEqual(crypto.createHash('sha224', { outputLength: 28 })", - "assert.throws(() => {", - "assert.throws(() => crypto.createHash('sha256', { outputLength }),", - "assert.throws(() => crypto.createHash('sha256', { outputLength })," - ], - "disposition": "moved-to-top-level", - "movedTo": "top-level code of the same file, run in every case" - }, - { - "file": "parallel/test-crypto-hash.js", - "subtest": "block_04_block_04", - "entry": {}, - "baseline": true, - "bestMatch": "block_00_block_00", - "ratio": 0.334, - "bestIsNew": false, - "assertionLines": 0, - "assertionLinesFoundIn": {}, - "assertionLinesMissing": [], - "disposition": "moved-to-top-level", - "note": "the top-level expectWarning now also expects DEP0198 for SHAKE digests without outputLength", - "movedTo": "top-level code of the same file, run in every case" - }, - { - "file": "parallel/test-crypto-key-objects.js", - "subtest": "block_07_block_07", - "entry": {}, - "baseline": true, - "bestMatch": "block_09_block_09", - "ratio": 0.84, - "bestIsNew": false, - "assertionLines": 11, - "assertionLinesFoundIn": { - "block_09_block_09": 4, - "block_05_block_05": 4, - "block_00_block_00": 2 - }, - "assertionLinesMissing": [ - "assert.throws(() => createPrivateKey(privateDsa), hasOpenSSL3 ? {" - ], - "disposition": "renamed", - "note": "changed upstream: hasOpenSSL3 became hasOpenSSL(3), the bad-decrypt message also accepts BAD_DECRYPT, and the passphrase-protected DSA key is re-exported as aes-256-cbc PKCS#8 before createPrivateKey; type and asymmetricKeyType assertions kept" - }, - { - "file": "parallel/test-crypto-key-objects.js", - "subtest": "block_08_block_08", - "entry": {}, - "baseline": true, - "bestMatch": "block_05_block_05", - "ratio": 0.09, - "bestIsNew": false, - "assertionLines": 31, - "assertionLinesFoundIn": { - "block_05_block_05": 12, - "block_00_block_00": 2 - }, - "assertionLinesMissing": [ - "assert.strictEqual(publicKey.asymmetricKeyType, 'rsa-pss');", - "assert.deepStrictEqual(publicKey.asymmetricKeyDetails, expectedKeyDetails);", - "assert.strictEqual(privateKey.asymmetricKeyType, 'rsa-pss');", - "assert.deepStrictEqual(privateKey.asymmetricKeyDetails, expectedKeyDetails);", - "assert.ok(okay);", - "assert.strictEqual(publicKey.asymmetricKeyType, 'rsa-pss');", - "assert.deepStrictEqual(publicKey.asymmetricKeyDetails, expectedKeyDetails);", - "assert.strictEqual(privateKey.asymmetricKeyType, 'rsa-pss');", - "assert.deepStrictEqual(privateKey.asymmetricKeyDetails, expectedKeyDetails);", - "assert.strictEqual(publicKey.asymmetricKeyType, 'rsa-pss');", - "assert.strictEqual(privateKey.asymmetricKeyType, 'rsa-pss');", - "assert.ok(okay);", - "assert.strictEqual(publicKey.asymmetricKeyType, 'rsa-pss');", - "assert.deepStrictEqual(publicKey.asymmetricKeyDetails, expectedKeyDetails);", - "assert.strictEqual(privateKey.asymmetricKeyType, 'rsa-pss');", - "assert.deepStrictEqual(privateKey.asymmetricKeyDetails, expectedKeyDetails);", - "assert.ok(okay);" - ], - "disposition": "moved-to-top-level", - "movedTo": "top-level code of the same file, run in every case" - }, - { - "file": "parallel/test-crypto-key-objects.js", - "subtest": "block_12_block_12", - "entry": {}, - "baseline": true, - "bestMatch": "block_13_block_13", - "ratio": 0.887, - "bestIsNew": true, - "assertionLines": 3, - "assertionLinesFoundIn": { - "block_13_block_13": 1, - "block_00_block_00": 2 - }, - "assertionLinesMissing": [], - "disposition": "renamed", - "replacedValue": { - "category": "unevaluated", - "reason": "newly discovered subtest, not yet evaluated" - } - }, - { - "file": "parallel/test-crypto-key-objects.js", - "subtest": "block_15_block_15", - "entry": {}, - "baseline": true, - "bestMatch": "block_16_block_16", - "ratio": 0.785, - "bestIsNew": true, - "assertionLines": 4, - "assertionLinesFoundIn": { - "block_15_block_15": 4 - }, - "assertionLinesMissing": [], - "disposition": "renamed", - "replacedValue": { - "category": "unevaluated", - "reason": "newly discovered subtest, not yet evaluated" - }, - "note": "changed upstream: the second key pair is x25519 instead of ed448; the KeyObject.equals() inequality assertions are kept" - }, - { - "file": "parallel/test-crypto-keygen.js", - "subtest": "block_10_block_10", - "entry": {}, - "baseline": true, - "bestMatch": "block_09_block_09", - "ratio": 0.428, - "bestIsNew": false, - "assertionLines": 2, - "assertionLinesFoundIn": { - "block_09_block_09": 2 - }, - "assertionLinesMissing": [], - "disposition": "target-change-eol", - "commit": [ - "c3b986853c07bf4583bd679748f3ce03682491c1", - "2025-06-20", - "crypto: move deprecated hash and mgf1Hash options to EOL" - ], - "note": "checked that deprecated hash/mgf1Hash RSA-PSS options match the new ones; DEP0154 is end-of-life" - }, - { - "file": "parallel/test-crypto-rsa-dsa.js", - "subtest": "block_04_block_04", - "entry": {}, - "baseline": true, - "bestMatch": "block_02_block_02", - "ratio": 0.432, - "bestIsNew": false, - "assertionLines": 1, - "assertionLinesFoundIn": {}, - "assertionLinesMissing": [ - "assert.strictEqual(verify.verify(dsaPubPem, signature, 'hex'), true);" - ], - "disposition": "moved-to-top-level", - "movedTo": "top-level code of the same file, run in every case" - }, - { - "file": "parallel/test-crypto-rsa-dsa.js", - "subtest": "block_05_block_05", - "entry": {}, - "baseline": true, - "bestMatch": "block_03_block_03", - "ratio": 0.92, - "bestIsNew": false, - "assertionLines": 1, - "assertionLinesFoundIn": { - "block_00_test_rsa_encryption_decryption": 1 - }, - "assertionLinesMissing": [], - "disposition": "renamed" - }, - { - "file": "parallel/test-crypto-rsa-dsa.js", - "subtest": "block_06_block_06", - "entry": {}, - "baseline": true, - "bestMatch": "block_03_block_03", - "ratio": 0.461, - "bestIsNew": false, - "assertionLines": 1, - "assertionLinesFoundIn": {}, - "assertionLinesMissing": [ - "assert.strictEqual(verify.verify(dsaPubPem, signature, 'hex'), true);" - ], - "disposition": "moved-to-top-level", - "movedTo": "top-level code of the same file, run in every case" - }, - { - "file": "parallel/test-crypto-scrypt.js", - "subtest": "block_00_block_00", - "entry": {}, - "baseline": false, - "bestMatch": "block_01_block_01", - "ratio": 0.199, - "bestIsNew": true, - "assertionLines": 2, - "assertionLinesFoundIn": {}, - "assertionLinesMissing": [ - "assert.deepStrictEqual(actual.toString('hex'), expected.toString('hex'));", - "assert.deepStrictEqual(actual.toString('hex'), expected.toString('hex'));" - ], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-crypto-scrypt.js", - "subtest": "block_02_block_02", - "entry": {}, - "baseline": false, - "bestMatch": "block_01_block_01", - "ratio": 0.926, - "bestIsNew": true, - "assertionLines": 2, - "assertionLinesFoundIn": { - "block_01_block_01": 1 - }, - "assertionLinesMissing": [ - "assert.strictEqual(actual.toString('hex'), 'd72c87d0');" - ], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-crypto-scrypt.js", - "subtest": "block_03_block_03", - "entry": {}, - "baseline": false, - "bestMatch": "block_00_block_00", - "ratio": 0.126, - "bestIsNew": false, - "assertionLines": 1, - "assertionLinesFoundIn": {}, - "assertionLinesMissing": [ - "assert.throws(() => {" - ], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-crypto-sign-verify.js", - "subtest": "block_13_early_if_no_openssl_binary_is_found", - "entry": { - "category": "wasi-impossible", - "reason": "requires external OpenSSL CLI via child_process.exec" - }, - "baseline": false, - "bestMatch": "block_07_https_www_emc_com_emc_plus_rsa_labs_standards_initiatives_pk", - "ratio": 0.174, - "bestIsNew": false, - "assertionLines": 2, - "assertionLinesFoundIn": {}, - "assertionLinesMissing": [ - "}\"`, common.mustCall((err, stdout, stderr) => {", - "assert(stdout.includes('Verified OK'));" - ], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-crypto-sign-verify.js", - "subtest": "block_16_block_16", - "entry": {}, - "baseline": true, - "bestMatch": "block_14_block_14", - "ratio": 0.994, - "bestIsNew": false, - "assertionLines": 4, - "assertionLinesFoundIn": { - "block_02_test_handling_of_exceptional_conditions": 4 - }, - "assertionLinesMissing": [], - "disposition": "renamed", - "note": "expected message changed upstream from 'The \"key.key\" property' to 'The \"privateKey.key\" property'" - }, - { - "file": "parallel/test-crypto-sign-verify.js", - "subtest": "block_17_block_17", - "entry": {}, - "baseline": true, - "bestMatch": "block_15_block_15", - "ratio": 0.939, - "bestIsNew": true, - "assertionLines": 3, - "assertionLinesFoundIn": { - "block_02_test_handling_of_exceptional_conditions": 3 - }, - "assertionLinesMissing": [], - "disposition": "renamed", - "replacedValue": { - "category": "unevaluated", - "reason": "newly discovered subtest, not yet evaluated" - } - }, - { - "file": "parallel/test-crypto-sign-verify.js", - "subtest": "block_18_block_18", - "entry": { - "category": "known-gap", - "reason": "verify() returns non-Node error code/message for unsupported key types" - }, - "baseline": false, - "bestMatch": "block_15_block_15", - "ratio": 0.534, - "bestIsNew": true, - "assertionLines": 3, - "assertionLinesFoundIn": { - "block_02_test_handling_of_exceptional_conditions": 3 - }, - "assertionLinesMissing": [], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-dns.js", - "subtest": "block_10_block_10", - "entry": { - "reason": "inherited: dns.getServers()/setServers default-server behavior and validation are not Node-compatible" - }, - "baseline": false, - "bestMatch": "block_12_block_12", - "ratio": 0.925, - "bestIsNew": true, - "assertionLines": 4, - "assertionLinesFoundIn": { - "block_12_block_12": 4 - }, - "assertionLinesMissing": [], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_33_block_33", - "entry": { - "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" - }, - "baseline": false, - "bestMatch": "block_34_block_34", - "ratio": 0.968, - "bestIsNew": false, - "assertionLines": 1, - "assertionLinesFoundIn": { - "block_34_block_34": 1 - }, - "assertionLinesMissing": [], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_45_block_45", - "entry": { - "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" - }, - "baseline": false, - "bestMatch": "block_46_block_46", - "ratio": 0.974, - "bestIsNew": false, - "assertionLines": 4, - "assertionLinesFoundIn": { - "block_46_block_46": 4 - }, - "assertionLinesMissing": [], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_50_block_50", - "entry": { - "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" - }, - "baseline": false, - "bestMatch": "block_51_block_51", - "ratio": 0.969, - "bestIsNew": false, - "assertionLines": 1, - "assertionLinesFoundIn": { - "block_51_block_51": 1 - }, - "assertionLinesMissing": [], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_56_block_56", - "entry": { - "reason": "inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs" - }, - "baseline": false, - "bestMatch": "block_58_block_58", - "ratio": 0.965, - "bestIsNew": true, - "assertionLines": 5, - "assertionLinesFoundIn": { - "block_58_block_58": 5 - }, - "assertionLinesMissing": [], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-http-outgoing-destroyed.js", - "subtest": "block_01_block_01", - "entry": { - "category": "known-gap", - "reason": "wasi:http request body is not finalized/sent until end(), so write()-only request flow diverges from Node" - }, - "baseline": false, - "bestMatch": "block_03_block_03", - "ratio": 0.867, - "bestIsNew": true, - "assertionLines": 6, - "assertionLinesFoundIn": { - "block_02_block_02": 4, - "block_03_block_03": 2 - }, - "assertionLinesMissing": [], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-http-outgoing-destroyed.js", - "subtest": "block_02_block_02", - "entry": {}, - "baseline": true, - "bestMatch": "block_04_block_04", - "ratio": 0.972, - "bestIsNew": true, - "assertionLines": 5, - "assertionLinesFoundIn": { - "block_02_block_02": 2, - "block_04_block_04": 3 - }, - "assertionLinesMissing": [], - "disposition": "renamed", - "replacedValue": { - "category": "unevaluated", - "reason": "newly discovered subtest, not yet evaluated" - } - }, - { - "file": "parallel/test-module-strip-types.js", - "subtest": "test_06_striptypescripttypes_source_map_when_mode_is_transform", - "entry": {}, - "baseline": true, - "bestMatch": "test_01_striptypescripttypes_explicit", - "ratio": 0.399, - "bestIsNew": false, - "assertionLines": 1, - "assertionLinesFoundIn": {}, - "assertionLinesMissing": [ - "assert.strictEqual(script.sourceMapURL, `data:application/json;base64,${inlinedSourceMap}`);" - ], - "disposition": "target-change-removed-upstream", - "commit": [ - "89f4b6cddbba1ef990ac366ba512498e948ed864", - "2026-02-27", - "module: remove --experimental-transform-types" - ] - }, - { - "file": "parallel/test-module-strip-types.js", - "subtest": "test_07_striptypescripttypes_source_map_when_mode_is_transform_and_s", - "entry": {}, - "baseline": true, - "bestMatch": "test_01_striptypescripttypes_explicit", - "ratio": 0.376, - "bestIsNew": false, - "assertionLines": 1, - "assertionLinesFoundIn": {}, - "assertionLinesMissing": [ - "assert.strictEqual(script.sourceMapURL, `data:application/json;base64,${inlinedSourceMap}`);" - ], - "disposition": "target-change-removed-upstream", - "commit": [ - "89f4b6cddbba1ef990ac366ba512498e948ed864", - "2026-02-27", - "module: remove --experimental-transform-types" - ] - }, - { - "file": "parallel/test-module-strip-types.js", - "subtest": "test_08_striptypescripttypes_source_map_when_mode_is_transform_and_s", - "entry": {}, - "baseline": true, - "bestMatch": "test_01_striptypescripttypes_explicit", - "ratio": 0.4, - "bestIsNew": false, - "assertionLines": 1, - "assertionLinesFoundIn": {}, - "assertionLinesMissing": [ - "assert.strictEqual(script.sourceMapURL, `data:application/json;base64,${inlinedSourceMap}`);" - ], - "disposition": "target-change-removed-upstream", - "commit": [ - "89f4b6cddbba1ef990ac366ba512498e948ed864", - "2026-02-27", - "module: remove --experimental-transform-types" - ] - }, - { - "file": "parallel/test-runner-mocking.js", - "subtest": "test_14_given_null_to_a_mock_method_it_throws_a_invalid_argument_err", - "entry": {}, - "baseline": true, - "bestMatch": "test_14_given_null_to_a_mock_method_it_throws_an_invalid_argument_er", - "ratio": 0.997, - "bestIsNew": true, - "assertionLines": 2, - "assertionLinesFoundIn": { - "test_14_given_null_to_a_mock_method_it_throws_an_invalid_argument_er": 1 - }, - "assertionLinesMissing": [ - "test('given null to a mock.method it throws a invalid argument error', (t) => {" - ], - "disposition": "renamed", - "replacedValue": { - "category": "unevaluated", - "reason": "newly discovered subtest, not yet evaluated" - } - }, - { - "file": "parallel/test-runner-module-mocking.js", - "subtest": "test_17_should_throw_err_access_denied_when_permission_model_is_enab", - "entry": { - "category": "known-gap", - "reason": "WASM child emulation does not support --permission/--experimental-test-module-mocks flags" - }, - "baseline": false, - "bestMatch": "test_12_node_modules_can_be_used_by_both_module_systems", - "ratio": 0.593, - "bestIsNew": false, - "assertionLines": 2, - "assertionLinesFoundIn": { - "test_22_wrong_import_syntax_should_throw_error_after_module_mocking": 1 - }, - "assertionLinesMissing": [ - "assert.match(stdout, /Access to this API has been restricted/);" - ], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-runner-module-mocking.js", - "subtest": "test_18_should_work_when_allow_worker_is_passed_and_permission_model", - "entry": { - "category": "known-gap", - "reason": "WASM child emulation does not support --permission/--allow-worker/--experimental-test-module-mocks flags" - }, - "baseline": false, - "bestMatch": "test_12_node_modules_can_be_used_by_both_module_systems", - "ratio": 0.706, - "bestIsNew": false, - "assertionLines": 3, - "assertionLinesFoundIn": { - "test_12_node_modules_can_be_used_by_both_module_systems": 1 - }, - "assertionLinesMissing": [ - "assert.strictEqual(code, 0, stderr);", - "assert.match(stdout, /pass 1/, stderr);" - ], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-sqlite.js", - "subtest": "test_05_math_functions_are_enabled", - "entry": {}, - "baseline": true, - "bestMatch": "test_08_sql_apis_enabled_at_build_time", - "ratio": 0.492, - "bestIsNew": true, - "assertionLines": 1, - "assertionLinesFoundIn": { - "test_01_err_sqlite_error_is_thrown_for_errors_originating_from_sqlit": 1 - }, - "assertionLinesMissing": [], - "disposition": "renamed", - "note": "the math-functions check is now one case of the build-time SQL API suite; DatabaseSync is renamed Database (upstream f2b698f1cf)" - }, - { - "file": "parallel/test-stream-finished.js", - "subtest": "block_39_block_39", - "entry": {}, - "baseline": true, - "bestMatch": "block_40_block_40", - "ratio": 0.973, - "bestIsNew": true, - "assertionLines": 5, - "assertionLinesFoundIn": { - "block_40_block_40": 4, - "block_33_block_33": 1 - }, - "assertionLinesMissing": [], - "disposition": "renamed", - "replacedValue": { - "category": "unevaluated", - "reason": "newly discovered subtest, not yet evaluated" - } - }, - { - "file": "parallel/test-stream-pipeline.js", - "subtest": "block_05_block_05", - "entry": {}, - "baseline": true, - "bestMatch": "block_06_block_06", - "ratio": 0.951, - "bestIsNew": false, - "assertionLines": 2, - "assertionLinesFoundIn": { - "block_06_block_06": 1, - "block_00_block_00": 1 - }, - "assertionLinesMissing": [], - "disposition": "renamed" - }, - { - "file": "parallel/test-stream-pipeline.js", - "subtest": "block_17_block_17", - "entry": {}, - "baseline": true, - "bestMatch": "block_18_block_18", - "ratio": 0.954, - "bestIsNew": true, - "assertionLines": 3, - "assertionLinesFoundIn": { - "block_18_block_18": 2, - "block_03_block_03": 1 - }, - "assertionLinesMissing": [], - "disposition": "renamed", - "replacedValue": { - "category": "unevaluated", - "reason": "newly discovered subtest, not yet evaluated" - } - }, - { - "file": "parallel/test-stream-pipeline.js", - "subtest": "block_44_block_44", - "entry": {}, - "baseline": true, - "bestMatch": "block_45_block_45", - "ratio": 0.961, - "bestIsNew": true, - "assertionLines": 1, - "assertionLinesFoundIn": { - "block_25_block_25": 1 - }, - "assertionLinesMissing": [], - "disposition": "renamed", - "replacedValue": { - "category": "unevaluated", - "reason": "newly discovered subtest, not yet evaluated" - } - }, - { - "file": "parallel/test-stream-pipeline.js", - "subtest": "block_49_block_49", - "entry": {}, - "baseline": true, - "bestMatch": "block_50_block_50", - "ratio": 0.816, - "bestIsNew": true, - "assertionLines": 2, - "assertionLinesFoundIn": { - "block_50_block_50": 1 - }, - "assertionLinesMissing": [ - "assert.ifError(err);" - ], - "disposition": "renamed", - "replacedValue": { - "category": "unevaluated", - "reason": "newly discovered subtest, not yet evaluated" - } - }, - { - "file": "parallel/test-stream-pipeline.js", - "subtest": "block_56_block_56", - "entry": {}, - "baseline": true, - "bestMatch": "block_57_block_57", - "ratio": 0.985, - "bestIsNew": true, - "assertionLines": 5, - "assertionLinesFoundIn": { - "block_57_block_57": 5 - }, - "assertionLinesMissing": [], - "disposition": "renamed", - "replacedValue": { - "category": "unevaluated", - "reason": "newly discovered subtest, not yet evaluated" - }, - "note": "source-read correction: block_59 is the counterpart of 22.14.0 block_58" - }, - { - "file": "parallel/test-stream-pipeline.js", - "subtest": "block_58_block_58", - "entry": {}, - "baseline": true, - "bestMatch": "block_59_block_59", - "ratio": 0.982, - "bestIsNew": true, - "assertionLines": 5, - "assertionLinesFoundIn": { - "block_57_block_57": 5 - }, - "assertionLinesMissing": [], - "disposition": "renamed", - "replacedValue": { - "category": "runnable", - "reason": "carries 22.14.0 subtest block_56_block_56" - } - }, - { - "file": "parallel/test-stream-pipeline.js", - "subtest": "block_79_block_79", - "entry": {}, - "baseline": true, - "bestMatch": "block_81_block_81", - "ratio": 0.983, - "bestIsNew": true, - "assertionLines": 4, - "assertionLinesFoundIn": { - "block_80_block_80": 3, - "block_81_block_81": 1 - }, - "assertionLinesMissing": [], - "disposition": "renamed", - "replacedValue": { - "category": "unevaluated", - "reason": "newly discovered subtest, not yet evaluated" - } - }, - { - "file": "parallel/test-url-fileurltopath.js", - "subtest": "test_03_fileurltopath_with_invalid_path", - "entry": {}, - "baseline": true, - "bestMatch": "test_02_fileurltopath_with_host", - "ratio": 0.39, - "bestIsNew": false, - "assertionLines": 4, - "assertionLinesFoundIn": {}, - "assertionLinesMissing": [ - "assert.throws(() => url.fileURLToPath('file:///C:/a%2F/'), {", - "assert.throws(() => url.fileURLToPath('file:///C:/a%5C/'), {", - "assert.throws(() => url.fileURLToPath('file:///?:/'), {", - "assert.throws(() => url.fileURLToPath('file:///a%2F/'), {" - ], - "disposition": "moved", - "commit": [ - "8e2b093c07", - "2025-09-05", - "url: add err.input to ERR_INVALID_FILE_URL_PATH" - ], - "note": "the historical ERR_INVALID_FILE_URL_PATH code assertion passes; the new err.input assertion fails", - "movedTo": "parallel/test-url-invalid-file-url-path-input.js" - }, - { - "file": "parallel/test-util-getcallsites.js", - "subtest": "block_02_guarantee_dot_left_numbers_are_ignored", - "entry": {}, - "baseline": true, - "bestMatch": "block_02_framecount_must_be_an_integer", - "ratio": 0.7, - "bestIsNew": false, - "assertionLines": 1, - "assertionLinesFoundIn": { - "block_01_block_01": 1 - }, - "assertionLinesMissing": [], - "disposition": "target-change-removed-upstream", - "commit": [ - "74c36584653346fa4940194380b2ab5201942dd0", - "2026-01-28", - "build: enable -DV8_ENABLE_CHECKS flag" - ], - "note": "the 22.14.0 block asserted that getCallSites(3.6) returns 3 call sites; this commit made frameCount validateInteger and rewrote the block to expect ERR_OUT_OF_RANGE, so the old assertion is reversed, not carried. The 26.13.1 block_02_framecount_must_be_an_integer is an ordinary known gap." - }, - { - "file": "parallel/test-util-getcallsites.js", - "subtest": "block_04_block_04", - "entry": {}, - "baseline": true, - "bestMatch": "block_03_block_03", - "ratio": 0.909, - "bestIsNew": false, - "assertionLines": 10, - "assertionLinesFoundIn": { - "block_02_framecount_must_be_an_integer": 10 - }, - "assertionLinesMissing": [], - "disposition": "renamed", - "note": "kept; upstream d4e9ae57d4 adds getCallSites(0.5) -> ERR_OUT_OF_RANGE" - }, - { - "file": "parallel/test-util-getcallsites.js", - "subtest": "block_10_block_10", - "entry": { - "category": "known-gap", - "reason": "simulated child_process TypeScript CLI execution does not publish its transform map to util.getCallSites" - }, - "baseline": false, - "bestMatch": "block_07_guarantee_the_stacktrace_0_is_the_filename", - "ratio": 0.335, - "bestIsNew": false, - "assertionLines": 6, - "assertionLinesFoundIn": {}, - "assertionLinesMissing": [ - "assert.strictEqual(stderr.toString(), '');", - "assert.match(output, /lineNumber: 8/);", - "assert.match(output, /column: 18/);", - "assert.match(output, /columnNumber: 18/);", - "assert.match(output, /test-get-callsite\\.ts/);", - "assert.strictEqual(status, 0);" - ], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-util-getcallsites.js", - "subtest": "block_11_block_11", - "entry": {}, - "baseline": true, - "bestMatch": "block_07_guarantee_the_stacktrace_0_is_the_filename", - "ratio": 0.321, - "bestIsNew": false, - "assertionLines": 6, - "assertionLinesFoundIn": {}, - "assertionLinesMissing": [ - "assert.strictEqual(stderr.toString(), '');", - "assert.match(output, /lineNumber: 2/);", - "assert.match(output, /column: 18/);", - "assert.match(output, /columnNumber: 18/);", - "assert.match(output, /test-get-callsite\\.ts/);", - "assert.strictEqual(status, 0);" - ], - "disposition": "target-change-removed-upstream", - "commit": [ - "89f4b6cddbba1ef990ac366ba512498e948ed864", - "2026-02-27", - "module: remove --experimental-transform-types" - ] - }, - { - "file": "parallel/test-util-getcallsites.js", - "subtest": "block_12_block_12", - "entry": {}, - "baseline": true, - "bestMatch": "block_07_guarantee_the_stacktrace_0_is_the_filename", - "ratio": 0.326, - "bestIsNew": false, - "assertionLines": 6, - "assertionLinesFoundIn": {}, - "assertionLinesMissing": [ - "assert.strictEqual(stderr.toString(), '');", - "assert.match(output, /lineNumber: 2/);", - "assert.match(output, /column: 18/);", - "assert.match(output, /columnNumber: 18/);", - "assert.match(output, /test-get-callsite-explicit\\.ts/);", - "assert.strictEqual(status, 0);" - ], - "disposition": "target-change-removed-upstream", - "commit": [ - "89f4b6cddbba1ef990ac366ba512498e948ed864", - "2026-02-27", - "module: remove --experimental-transform-types" - ] - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_34_block_34", - "entry": {}, - "baseline": false, - "bestMatch": "block_36_block_36", - "ratio": 0.995, - "bestIsNew": false, - "assertionLines": 18, - "assertionLinesFoundIn": { - "block_00_special_function_inspection": 4, - "block_36_block_36": 13, - "block_23_block_23": 1 - }, - "assertionLinesMissing": [], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_63_block_63", - "entry": { - "category": "runnable" - }, - "baseline": true, - "bestMatch": "block_65_block_65", - "ratio": 0.858, - "bestIsNew": true, - "assertionLines": 10, - "assertionLinesFoundIn": { - "block_00_special_function_inspection": 4, - "block_65_block_65": 3, - "block_01_block_01": 1 - }, - "assertionLinesMissing": [ - "assert.throws(() => util.inspect(new ThrowingClass()), /toStringTag error/);", - "assert.throws(() => util.inspect(x), /TypeError: Converting circular structure to JSON/);" - ], - "disposition": "renamed", - "replacedValue": {}, - "note": "expectations changed upstream: symbol keys print without brackets, a throwing Symbol.toStringTag getter no longer makes inspect() throw ('ThrowingClass {}'), and the circular getter case is formatted instead of throwing" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_77_block_77", - "entry": { - "category": "runnable" - }, - "baseline": true, - "bestMatch": "block_85_block_85", - "ratio": 0.965, - "bestIsNew": true, - "assertionLines": 4, - "assertionLinesFoundIn": { - "block_85_block_85": 3, - "block_51_assumes_that_the_first_numeric_character_is_the_start_of_an_": 1 - }, - "assertionLinesMissing": [], - "disposition": "renamed", - "replacedValue": {}, - "note": "kept with a scoped-package path (@namespace/bar), mustCallAtLeast and RegExp.escape" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_78_block_78", - "entry": { - "category": "node-internals", - "reason": "inherits top-level internal/test/binding dependency" - }, - "baseline": false, - "bestMatch": "block_88_block_88", - "ratio": 0.929, - "bestIsNew": true, - "assertionLines": 1, - "assertionLinesFoundIn": { - "block_88_block_88": 1 - }, - "assertionLinesMissing": [], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_90_block_90", - "entry": { - "category": "runnable" - }, - "baseline": true, - "bestMatch": "block_100_block_100", - "ratio": 0.622, - "bestIsNew": false, - "assertionLines": 1, - "assertionLinesFoundIn": { - "block_00_special_function_inspection": 1 - }, - "assertionLinesMissing": [], - "disposition": "renamed", - "note": "the file is node-internals in 26.13.1; this case does not import internals, so it is classified on its own" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_91_block_91", - "entry": { - "category": "runnable" - }, - "baseline": true, - "bestMatch": "block_101_block_101", - "ratio": 0.775, - "bestIsNew": true, - "assertionLines": 17, - "assertionLinesFoundIn": { - "block_00_special_function_inspection": 8, - "block_101_block_101": 9 - }, - "assertionLinesMissing": [], - "disposition": "renamed", - "replacedValue": {} - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_95_block_95", - "entry": { - "category": "runnable" - }, - "baseline": true, - "bestMatch": "block_106_block_106", - "ratio": 0.999, - "bestIsNew": true, - "assertionLines": 1, - "assertionLinesFoundIn": { - "block_00_special_function_inspection": 1 - }, - "assertionLinesMissing": [], - "disposition": "renamed", - "replacedValue": {}, - "note": "expected output changed upstream: ArrayBuffer byteLength prints as [byteLength]" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_98_block_98", - "entry": { - "category": "runnable" - }, - "baseline": true, - "bestMatch": "block_109_block_109", - "ratio": 0.965, - "bestIsNew": true, - "assertionLines": 1, - "assertionLinesFoundIn": { - "block_00_special_function_inspection": 1 - }, - "assertionLinesMissing": [], - "disposition": "renamed", - "replacedValue": {}, - "note": "expected output changed upstream: an error whose stack is an array of symbols prints as '[Error\\n [\\n Symbol(foo)\\n ]]'" - }, - { - "file": "parallel/test-webcrypto-constructors.js", - "subtest": "block_18_block_18", - "entry": {}, - "baseline": true, - "bestMatch": "block_20_block_20", - "ratio": 0.433, - "bestIsNew": true, - "assertionLines": 1, - "assertionLinesFoundIn": { - "block_06_test_subtlecrypto_prototype_encrypt": 1 - }, - "assertionLinesMissing": [], - "disposition": "renamed" - }, - { - "file": "parallel/test-webcrypto-encrypt-decrypt.js", - "subtest": "block_00_test_encrypt_decrypt_rsa_oaep", - "entry": {}, - "baseline": true, - "bestMatch": "block_00_test_encrypt_decrypt_aes_ctr", - "ratio": 0.454, - "bestIsNew": false, - "assertionLines": 2, - "assertionLinesFoundIn": { - "block_00_test_encrypt_decrypt_aes_ctr": 2 - }, - "assertionLinesMissing": [], - "disposition": "moved-to-top-level", - "note": "now the top-level testRSAOaep function and async IIFE", - "movedTo": "top-level code of the same file, run in every case" - }, - { - "file": "parallel/test-webcrypto-sign-verify.js", - "subtest": "block_05_test_sign_verify_ed448", - "entry": {}, - "baseline": true, - "bestMatch": "block_04_test_sign_verify_ed25519", - "ratio": 0.969, - "bestIsNew": false, - "assertionLines": 2, - "assertionLinesFoundIn": { - "block_00_test_sign_verify_rsassa_pkcs1_v1_5": 2 - }, - "assertionLinesMissing": [], - "disposition": "moved-to-top-level", - "movedTo": "top-level code of the same file, run in every case" - }, - { - "file": "parallel/test-webcrypto-webidl.js", - "subtest": "block_24_aesgcmparams", - "entry": { - "reason": "inherited: requires --expose-internals and internal/crypto/webidl" - }, - "baseline": false, - "bestMatch": "block_26_aeadparams", - "ratio": 0.922, - "bestIsNew": true, - "assertionLines": 2, - "assertionLinesFoundIn": {}, - "assertionLinesMissing": [ - "assert.deepStrictEqual(converters.AesGcmParams({ ...good, filtered: 'out' }, opts), good);", - "assert.throws(() => converters.AesGcmParams({ ...good, iv: undefined }, opts), {" - ], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-webcrypto-webidl.js", - "subtest": "block_27_ed448params", - "entry": { - "reason": "inherited: requires --expose-internals and internal/crypto/webidl" - }, - "baseline": false, - "bestMatch": "block_29_contextparams", - "ratio": 0.916, - "bestIsNew": true, - "assertionLines": 1, - "assertionLinesFoundIn": {}, - "assertionLinesMissing": [ - "assert.deepStrictEqual(converters.Ed448Params({ ...good, filtered: 'out' }, opts), good);" - ], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-webstorage.js", - "subtest": "test_00_disabled_without_experimental_webstorage", - "entry": { - "category": "runnable" - }, - "baseline": true, - "bestMatch": "test_08_disabled_with_no_webstorage", - "ratio": 0.839, - "bestIsNew": true, - "assertionLines": 4, - "assertionLinesFoundIn": { - "test_00_storage_instances_cannot_be_created_in_userland": 3, - "test_08_disabled_with_no_webstorage": 1 - }, - "assertionLinesMissing": [], - "disposition": "renamed", - "replacedValue": { - "category": "unevaluated", - "reason": "newly discovered subtest, not yet evaluated" - }, - "note": "target change: Web Storage is enabled by default in 26.13.1, so the case now disables it with --no-webstorage; the assertion that the APIs are absent when disabled is kept" - }, - { - "file": "parallel/test-webstorage.js", - "subtest": "test_01_emits_a_warning_when_used", - "entry": { - "category": "known-gap", - "reason": "common-shim spawnPromisified child emulation does not support --experimental-webstorage/--localstorage-file flags" - }, - "baseline": false, - "bestMatch": "test_08_disabled_with_no_webstorage", - "ratio": 0.644, - "bestIsNew": true, - "assertionLines": 4, - "assertionLinesFoundIn": { - "test_02_sessionstorage_is_not_persisted": 1, - "test_00_storage_instances_cannot_be_created_in_userland": 2 - }, - "assertionLinesMissing": [ - "assert.match(cp.stderr, /ExperimentalWarning: Web Storage/);" - ], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-webstorage.js", - "subtest": "test_04_localstorage_throws_without_localstorage_file", - "entry": { - "category": "known-gap", - "reason": "common-shim spawnPromisified child emulation does not support --experimental-webstorage/--localstorage-file flags" - }, - "baseline": false, - "bestMatch": "test_00_storage_instances_cannot_be_created_in_userland", - "ratio": 0.677, - "bestIsNew": false, - "assertionLines": 5, - "assertionLinesFoundIn": { - "test_00_storage_instances_cannot_be_created_in_userland": 3 - }, - "assertionLinesMissing": [ - "test('localStorage throws without --localstorage-file ', async () => {", - "assert.match(cp.stderr, /The argument '--localstorage-file' is an invalid localStorage location/);" - ], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "parallel/test-whatwg-readablestream.js", - "subtest": "block_72_block_72", - "entry": { - "category": "node-internals", - "reason": "requires --expose-internals and internal/webstreams/readablestream" - }, - "baseline": false, - "bestMatch": "block_73_block_73", - "ratio": 0.937, - "bestIsNew": true, - "assertionLines": 4, - "assertionLinesFoundIn": { - "block_73_block_73": 4 - }, - "assertionLinesMissing": [], - "disposition": "dropped-no-baseline-case" - }, - { - "file": "sequential/test-crypto-timing-safe-equal.js", - "subtest": "block_02_block_02", - "entry": {}, - "baseline": false, - "bestMatch": "block_01_block_01", - "ratio": 0.171, - "bestIsNew": false, - "assertionLines": 6, - "assertionLinesFoundIn": {}, - "assertionLinesMissing": [ - "assert.strictEqual(testFastPath(foo, bar), false);", - "assert.strictEqual(testFastPath(foo, bar), false);", - "assert.strictEqual(testFastPath(foo, foo), true);", - "assert.throws(() => testFastPath(foo, longer), {", - "assert.strictEqual(getV8FastApiCallCount('crypto.timingSafeEqual.ok'), 2);", - "assert.strictEqual(getV8FastApiCallCount('crypto.timingSafeEqual.error'), 1);" - ], - "disposition": "dropped-no-baseline-case" - } - ], - "nowNodeInternals": { - "note": "22.14.0 baseline cases whose 26.13.1 file imports Node internals at top level, so the loader classifies them as node-internals and every case of the file is unreachable without --expose-internals. The upstream test changed; the runtime did not regress.", - "files": { - "parallel/test-crypto-key-objects-to-crypto-key.js": "const { kSupportedAlgorithms } = require('internal/crypto/util');", - "parallel/test-process-hrtime-bigint.js": "const { internalBinding } = require('internal/test/binding');", - "parallel/test-process-hrtime.js": "const { internalBinding } = require('internal/test/binding');", - "parallel/test-stream-finished.js": "const { kEosNodeSynchronousCallback } = require('internal/streams/end-of-stream');", - "parallel/test-util-deprecate.js": "const internalUtil = require('internal/util');" - }, - "cases": [ - { - "case": "parallel__test_crypto_key_objects_to_crypto_key_js__block_00_block_00", - "now": "parallel__test_crypto_key_objects_to_crypto_key_js", - "how": "unsplit" - }, - { - "case": "parallel__test_crypto_key_objects_to_crypto_key_js__block_01_block_01", - "now": "parallel__test_crypto_key_objects_to_crypto_key_js", - "how": "unsplit" - }, - { - "case": "parallel__test_crypto_key_objects_to_crypto_key_js__block_02_block_02", - "now": "parallel__test_crypto_key_objects_to_crypto_key_js", - "how": "unsplit" - }, - { - "case": "parallel__test_crypto_key_objects_to_crypto_key_js__block_03_block_03", - "now": "parallel__test_crypto_key_objects_to_crypto_key_js", - "how": "unsplit" - }, - { - "case": "parallel__test_crypto_key_objects_to_crypto_key_js__block_04_block_04", - "now": "parallel__test_crypto_key_objects_to_crypto_key_js", - "how": "unsplit" - }, - { - "case": "parallel__test_crypto_key_objects_to_crypto_key_js__block_05_block_05", - "now": "parallel__test_crypto_key_objects_to_crypto_key_js", - "how": "unsplit" - }, - { - "case": "parallel__test_process_hrtime_bigint_js", - "now": "parallel__test_process_hrtime_bigint_js", - "how": "same" - }, - { - "case": "parallel__test_process_hrtime_js", - "now": "parallel__test_process_hrtime_js", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_00_block_00", - "now": "parallel__test_stream_finished_js__block_00_block_00", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_01_block_01", - "now": "parallel__test_stream_finished_js__block_01_block_01", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_02_block_02", - "now": "parallel__test_stream_finished_js__block_02_block_02", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_03_block_03", - "now": "parallel__test_stream_finished_js__block_03_block_03", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_04_block_04", - "now": "parallel__test_stream_finished_js__block_04_block_04", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_05_block_05", - "now": "parallel__test_stream_finished_js__block_05_block_05", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_06_block_06", - "now": "parallel__test_stream_finished_js__block_06_block_06", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_07_block_07", - "now": "parallel__test_stream_finished_js__block_07_block_07", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_09_block_09", - "now": "parallel__test_stream_finished_js__block_09_block_09", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_10_block_10", - "now": "parallel__test_stream_finished_js__block_10_block_10", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_11_block_11", - "now": "parallel__test_stream_finished_js__block_11_block_11", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_12_block_12", - "now": "parallel__test_stream_finished_js__block_12_block_12", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_13_block_13", - "now": "parallel__test_stream_finished_js__block_13_block_13", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_14_test_faulty_input_values_and_options", - "now": "parallel__test_stream_finished_js__block_14_test_faulty_input_values_and_options", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_15_test_that_calling_returned_function_removes_listeners", - "now": "parallel__test_stream_finished_js__block_15_test_that_calling_returned_function_removes_listeners", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_16_block_16", - "now": "parallel__test_stream_finished_js__block_16_block_16", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_17_block_17", - "now": "parallel__test_stream_finished_js__block_17_block_17", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_18_block_18", - "now": "parallel__test_stream_finished_js__block_18_block_18", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_19_block_19", - "now": "parallel__test_stream_finished_js__block_19_block_19", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_20_block_20", - "now": "parallel__test_stream_finished_js__block_20_block_20", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_25_block_25", - "now": "parallel__test_stream_finished_js__block_25_block_25", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_26_block_26", - "now": "parallel__test_stream_finished_js__block_26_block_26", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_27_block_27", - "now": "parallel__test_stream_finished_js__block_27_block_27", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_28_block_28", - "now": "parallel__test_stream_finished_js__block_28_block_28", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_29_block_29", - "now": "parallel__test_stream_finished_js__block_29_block_29", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_30_block_30", - "now": "parallel__test_stream_finished_js__block_30_block_30", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_31_block_31", - "now": "parallel__test_stream_finished_js__block_31_block_31", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_32_block_32", - "now": "parallel__test_stream_finished_js__block_32_block_32", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_33_block_33", - "now": "parallel__test_stream_finished_js__block_33_block_33", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_35_block_35", - "now": "parallel__test_stream_finished_js__block_35_block_35", - "how": "same" - }, - { - "case": "parallel__test_stream_finished_js__block_36_block_36", - "now": "parallel__test_stream_finished_js__block_37_block_37", - "how": "renamed" - }, - { - "case": "parallel__test_stream_finished_js__block_37_block_37", - "now": "parallel__test_stream_finished_js__block_38_block_38", - "how": "renamed" - }, - { - "case": "parallel__test_stream_finished_js__block_38_block_38", - "now": "parallel__test_stream_finished_js__block_39_block_39", - "how": "renamed" - }, - { - "case": "parallel__test_stream_finished_js__block_40_block_40", - "now": "parallel__test_stream_finished_js__block_41_block_41", - "how": "renamed" - }, - { - "case": "parallel__test_util_deprecate_js__block_00_emits_deprecation_only_once_if_same_function_is_called", - "now": "parallel__test_util_deprecate_js__block_00_emits_deprecation_only_once_if_same_function_is_called", - "how": "same" - }, - { - "case": "parallel__test_util_deprecate_js__block_01_emits_deprecation_twice_for_different_functions", - "now": "parallel__test_util_deprecate_js__block_01_emits_deprecation_twice_for_different_functions", - "how": "same" - }, - { - "case": "parallel__test_util_deprecate_js__block_02_functions", - "now": "parallel__test_util_deprecate_js__block_02_functions", - "how": "same" - } - ] - }, - "baselineGaps": { - "note": "Cases that failed in two 26.13.1 runs, classified as known-gap with a 'Node 26.13.1 baseline gap' reason. They are outstanding repairs for the per-module drafts, not accepted gaps.", - "cases": [ - { - "file": "es-module/test-esm-exports-deprecations.mjs", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Unhandled promise rejection: AssertionError: Expected values to be strictly deep-equal:" - }, - { - "file": "es-module/test-esm-exports.mjs", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Unhandled promise rejection: AssertionError: Expected values to be strictly deep-equal:" - }, - { - "file": "es-module/test-esm-import-attributes-errors.js", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "es-module/test-esm-import-attributes-errors.mjs", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "es-module/test-esm-import-meta.mjs", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "es-module/test-esm-imports-deprecations.mjs", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Unhandled promise rejection (likely cause of mustCall failure): TypeError: Invalid module \"#/foo\" is not a val" - }, - { - "file": "es-module/test-esm-imports.mjs", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Unhandled promise rejection (likely cause of mustCall failure): TypeError: Invalid module \"#/foo\" is not a val" - }, - { - "file": "es-module/test-require-module-cached-tla.js", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "es-module/test-require-module-dynamic-import-1.js", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "es-module/test-require-module-dynamic-import-2.js", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "es-module/test-require-module-error-catching.js", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "es-module/test-require-module.js", - "subtest": "block_02_test_esm_that_import_cjs", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "es-module/test-require-module-tla-execution.js", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable", - "reason": "carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" - }, - "error": "- stderr did not match expectation, checker throws:" - }, - { - "file": "es-module/test-require-module-tla-nested.js", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable", - "reason": "carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" - }, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "es-module/test-require-module-tla-print-execution.js", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable", - "reason": "carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" - }, - "error": "- stderr did not match expectation, checker throws:" - }, - { - "file": "es-module/test-require-module-tla-rejected.js", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable", - "reason": "carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" - }, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "es-module/test-require-module-tla-resolved.js", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable", - "reason": "carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" - }, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "es-module/test-require-module-tla-unresolved.js", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable", - "reason": "carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09)" - }, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "es-module/test-require-module-twice.js", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-assert-deep.js", - "subtest": "test_02_date", - "baseline": true, - "previous": {}, - "error": "Missing expected exception." - }, - { - "file": "parallel/test-assert-deep.js", - "subtest": "test_03_regexp", - "baseline": true, - "previous": {}, - "error": "Missing expected exception." - }, - { - "file": "parallel/test-assert-deep.js", - "subtest": "test_05_es6_maps_and_sets", - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "parallel/test-assert-deep.js", - "subtest": "test_07_gh_14441_circular_structures_should_be_consistent", - "baseline": true, - "previous": {}, - "error": "Missing expected exception." - }, - { - "file": "parallel/test-assert-deep.js", - "subtest": "test_12_handle_sparse_arrays", - "baseline": true, - "previous": {}, - "error": "Missing expected exception." - }, - { - "file": "parallel/test-assert-deep.js", - "subtest": "test_19_additional_tests", - "baseline": true, - "previous": {}, - "error": "Expected values to be loosely deep-equal:" - }, - { - "file": "parallel/test-assert-deep.js", - "subtest": "test_27_check_proxies", - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "parallel/test-assert-deep.js", - "subtest": "test_31_test_31", - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "parallel/test-assert-deep.js", - "subtest": "test_40_verify_object_types_being_identical_on_both_sides", - "baseline": true, - "previous": {}, - "error": "Missing expected exception." - }, - { - "file": "parallel/test-assert.js", - "subtest": "test_13_test_strict_assert", - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "parallel/test-assert.js", - "subtest": "test_14_additional_asserts", - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "parallel/test-assert-partial-deep-equal.js", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable", - "reason": "carries 22.14.0 parallel/test-assert-objects.js (upstream 096b61131a)" - }, - "error": "2 test(s) failed" - }, - { - "file": "parallel/test-assert-typedarray-deepequal.js", - "subtest": "test_01_looseequalarraypairs", - "baseline": true, - "previous": {}, - "error": "Expected values to be loosely deep-equal:" - }, - { - "file": "parallel/test-buffer-bytelength.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Conversion from string failed: invalid utf-8 sequence of 1 bytes from index 300" - }, - { - "file": "parallel/test-buffer-concat.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Missing expected exception." - }, - { - "file": "parallel/test-buffer-isascii.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Cannot perform operation on a detached ArrayBuffer" - }, - { - "file": "parallel/test-buffer-isutf8.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Cannot perform operation on a detached ArrayBuffer" - }, - { - "file": "parallel/test-buffer-pool-untransferable.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Missing expected exception (TypeError)." - }, - { - "file": "parallel/test-c-ares.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Missing expected exception." - }, - { - "file": "parallel/test-console.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-crypto-cipheriv-decipheriv.js", - "subtest": "block_00_block_00", - "baseline": true, - "previous": {}, - "error": "Missing expected exception." - }, - { - "file": "parallel/test-crypto-cipheriv-decipheriv.js", - "subtest": "block_01_block_01", - "baseline": true, - "previous": {}, - "error": "Missing expected exception." - }, - { - "file": "parallel/test-crypto-cipheriv-decipheriv.js", - "subtest": "block_02_block_02", - "baseline": true, - "previous": {}, - "error": "Missing expected exception." - }, - { - "file": "parallel/test-crypto-cipheriv-decipheriv.js", - "subtest": "block_03_block_03", - "baseline": true, - "previous": {}, - "error": "Missing expected exception." - }, - { - "file": "parallel/test-crypto-dh-curves.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-crypto-dh-stateless.js", - "subtest": "block_00_block_00", - "baseline": true, - "previous": {}, - "error": "Missing expected exception (TypeError)." - }, - { - "file": "parallel/test-crypto-dh-stateless.js", - "subtest": "block_01_block_01", - "baseline": true, - "previous": {}, - "error": "Missing expected exception (TypeError)." - }, - { - "file": "parallel/test-crypto-dh-stateless.js", - "subtest": "block_02_block_02", - "baseline": true, - "previous": {}, - "error": "Missing expected exception (TypeError)." - }, - { - "file": "parallel/test-crypto-dh-stateless.js", - "subtest": "block_03_block_03", - "baseline": true, - "previous": {}, - "error": "Missing expected exception (TypeError)." - }, - { - "file": "parallel/test-crypto-dh-stateless.js", - "subtest": "block_04_test_that_error_messages_include_the_correct_property_path", - "baseline": true, - "previous": {}, - "error": "Missing expected exception (TypeError)." - }, - { - "file": "parallel/test-crypto-dh-stateless.js", - "subtest": "block_05_block_05", - "baseline": true, - "previous": {}, - "error": "Missing expected exception (TypeError)." - }, - { - "file": "parallel/test-crypto-dh-stateless.js", - "subtest": "block_06_block_06", - "baseline": true, - "previous": {}, - "error": "Missing expected exception (TypeError)." - }, - { - "file": "parallel/test-crypto-dh-stateless.js", - "subtest": "block_07_test_c_error_conditions_both_sync_throws_and_async_callback", - "baseline": true, - "previous": {}, - "error": "Missing expected exception (TypeError)." - }, - { - "file": "parallel/test-crypto-key-objects.js", - "subtest": "block_00_block_00", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-key-objects.js", - "subtest": "block_01_block_01", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-key-objects.js", - "subtest": "block_02_block_02", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-key-objects.js", - "subtest": "block_03_block_03", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-key-objects.js", - "subtest": "block_04_block_04", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-key-objects.js", - "subtest": "block_06_block_06", - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "parallel/test-crypto-key-objects.js", - "subtest": "block_09_block_09", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-key-objects.js", - "subtest": "block_11_block_11", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-key-objects.js", - "subtest": "block_12_block_12", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-key-objects.js", - "subtest": "block_13_block_13", - "baseline": true, - "previous": { - "category": "runnable", - "reason": "carries 22.14.0 subtest block_12_block_12" - }, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-key-objects.js", - "subtest": "block_14_block_14", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-key-objects.js", - "subtest": "block_15_block_15", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-key-objects.js", - "subtest": "block_16_block_16", - "baseline": true, - "previous": { - "category": "runnable", - "reason": "carries 22.14.0 subtest block_15_block_15" - }, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-key-objects.js", - "subtest": "block_17_block_17", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-key-objects.js", - "subtest": "block_18_block_18", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-key-objects.js", - "subtest": "block_10_block_10", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-sign-verify.js", - "subtest": "block_00_block_00", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-sign-verify.js", - "subtest": "block_01_block_01", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-sign-verify.js", - "subtest": "block_02_test_handling_of_exceptional_conditions", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-sign-verify.js", - "subtest": "block_03_test_signing_and_verifying", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-sign-verify.js", - "subtest": "block_04_block_04", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-sign-verify.js", - "subtest": "block_05_block_05", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-sign-verify.js", - "subtest": "block_06_special_tests_for_rsa_pkcs1_pss_padding", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-sign-verify.js", - "subtest": "block_07_https_www_emc_com_emc_plus_rsa_labs_standards_initiatives_pk", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-sign-verify.js", - "subtest": "block_08_test_exceptions_for_invalid_padding_and_saltlength_values", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-sign-verify.js", - "subtest": "block_09_test_throws_exception_when_key_options_is_null", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-sign-verify.js", - "subtest": "block_10_block_10", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-sign-verify.js", - "subtest": "block_11_block_11", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-sign-verify.js", - "subtest": "block_13_regression_test_for_https_github_com_nodejs_node_issues_4079", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-sign-verify.js", - "subtest": "block_14_block_14", - "baseline": true, - "previous": {}, - "error": "Failed to export key" - }, - { - "file": "parallel/test-crypto-sign-verify.js", - "subtest": "block_15_block_15", - "baseline": true, - "previous": { - "category": "runnable", - "reason": "carries 22.14.0 subtest block_17_block_17" - }, - "error": "Failed to export key" - }, - { - "file": "parallel/test-diagnostics-channel-symbol-named.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-domain-with-abort-on-uncaught-exception.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "mustCall verification failed:" - }, - { - "file": "parallel/test-file.js", - "subtest": "block_00_block_00", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "parallel/test-file.js", - "subtest": "block_01_block_01", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "parallel/test-file.js", - "subtest": "block_02_block_02", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "parallel/test-file.js", - "subtest": "block_03_block_03", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "parallel/test-file.js", - "subtest": "block_04_block_04", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "parallel/test-file.js", - "subtest": "block_05_block_05", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "parallel/test-file.js", - "subtest": "block_06_block_06", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "parallel/test-file.js", - "subtest": "block_07_block_07", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "parallel/test-file.js", - "subtest": "block_08_block_08", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "parallel/test-file.js", - "subtest": "block_09_block_09", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "parallel/test-file.js", - "subtest": "block_10_block_10", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "parallel/test-file.js", - "subtest": "block_11_block_11", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "parallel/test-file.js", - "subtest": "block_12_block_12", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "parallel/test-file.js", - "subtest": "block_13_block_13", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "parallel/test-file.js", - "subtest": "block_14_block_14", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "parallel/test-file.js", - "subtest": "block_15_block_15", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "parallel/test-fs-constants.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-fs-promises-appendfile.js", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable", - "reason": "carries 22.14.0 parallel/test-fs-promises-writefile-typedarray.js (upstream 3ac95f2d0c); parallel/test-fs-promises-writefile-with-fd.js (upstream 3ac95f2d0c)" - }, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Ab" - }, - { - "file": "parallel/test-fs-promises-file-handle-append-file.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Ab" - }, - { - "file": "parallel/test-fs-promises-file-handle-dispose.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): TypeError: not a function" - }, - { - "file": "parallel/test-fs-promises-file-handle-read.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): TypeError: Error converting from js 'string' i" - }, - { - "file": "parallel/test-fs-promises.js", - "subtest": "block_00_block_00", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "parallel/test-fs-promises-watch.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Test timed out after 120s" - }, - { - "file": "parallel/test-fs-statfs.js", - "subtest": "block_00_synchronous", - "baseline": true, - "previous": {}, - "error": "The expression evaluated to a falsy value:" - }, - { - "file": "parallel/test-fs-statfs.js", - "subtest": "block_01_synchronous_bigint", - "baseline": true, - "previous": {}, - "error": "The expression evaluated to a falsy value:" - }, - { - "file": "parallel/test-fs-watch-recursive-watch-file.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "mustCall verification failed:" - }, - { - "file": "parallel/test-fs-write-stream-autoclose-option.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Missing expected exception." - }, - { - "file": "parallel/test-http-client-abort-destroy.js", - "subtest": "block_03_block_03", - "baseline": true, - "previous": {}, - "error": "Test timed out after 120s" - }, - { - "file": "parallel/test-http-client-abort-destroy.js", - "subtest": "block_04_block_04", - "baseline": true, - "previous": {}, - "error": "Test timed out after 120s" - }, - { - "file": "parallel/test-http-early-hints-invalid-argument.js", - "subtest": "block_01_block_01", - "baseline": true, - "previous": {}, - "error": "Test timed out after 120s" - }, - { - "file": "parallel/test-http-incoming-matchKnownFields.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "parallel/test-http-invalidheaderfield2.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "_checkInvalidHeaderChar('\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\b', true) unexpectedly failed in lenient mode" - }, - { - "file": "parallel/test-http-outgoing-end-multiple.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Test timed out after 120s" - }, - { - "file": "parallel/test-http-outgoing-writableFinished.js", - "subtest": "block_01_finish_the_end_callback_receives_the_write_error_instead", - "baseline": true, - "previous": {}, - "error": "mustCall verification failed:" - }, - { - "file": "parallel/test-http-outgoing-writableFinished.js", - "subtest": "block_02_surfaces_through_the_socket_write_callbacks", - "baseline": true, - "previous": {}, - "error": "mustCall verification failed:" - }, - { - "file": "parallel/test-http-outgoing-writableFinished.js", - "subtest": "block_03_has_nothing_to_send", - "baseline": true, - "previous": {}, - "error": "mustCall verification failed:" - }, - { - "file": "parallel/test-http-server-response-standalone.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "mustCall verification failed:" - }, - { - "file": "parallel/test-net-autoselectfamily-attempt-timeout-cli-option.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-net-connect-abort-controller.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Test timed out after 120s" - }, - { - "file": "parallel/test-net-connect-options-invalid.js", - "subtest": "block_02_block_02", - "baseline": true, - "previous": {}, - "error": "Missing expected exception (TypeError)." - }, - { - "file": "parallel/test-npm-install.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "- process terminated with status 1, expected 0" - }, - { - "file": "parallel/test-path-join.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "path.win32.join resolves .. through a CON: device-name segment" - }, - { - "file": "parallel/test-path-makelong.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-path-normalize.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-path-resolve.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "path.win32.resolve(\"\\\\\\\\.\\\\PHYSICALDRIVE0\")" - }, - { - "file": "parallel/test-process-getgroups.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "mustCall verification failed:" - }, - { - "file": "parallel/test-require-delete-array-iterator.js", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "value is not iterable" - }, - { - "file": "parallel/test-runner-assert.js", - "subtest": "test_00_expected_methods_are_on_t_assert", - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "parallel/test-runner-custom-assertions.js", - "subtest": "test_00_throws_if_name_is_not_a_string", - "baseline": true, - "previous": {}, - "error": "mustCall verification failed:" - }, - { - "file": "parallel/test-runner-custom-assertions.js", - "subtest": "test_01_throws_if_fn_is_not_a_function", - "baseline": true, - "previous": {}, - "error": "mustCall verification failed:" - }, - { - "file": "parallel/test-runner-custom-assertions.js", - "subtest": "test_03_can_override_existing_assertions", - "baseline": true, - "previous": {}, - "error": "mustCall verification failed:" - }, - { - "file": "parallel/test-runner-custom-assertions.js", - "subtest": "test_04_this_is_set_to_the_testcontext", - "baseline": true, - "previous": {}, - "error": "mustCall verification failed:" - }, - { - "file": "parallel/test-runner-mocking.js", - "subtest": "test_32_local_mocks_are_auto_restored_after_the_test_finishes", - "baseline": true, - "previous": {}, - "error": "mustCall verification failed:" - }, - { - "file": "parallel/test-runner-module-mocking.js", - "subtest": "test_00_input_validation", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Missing expected exception." - }, - { - "file": "parallel/test-runner-test-fullname.js", - "subtest": "test_00_suite", - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-runner-test-fullname.js", - "subtest": "test_01_test_01", - "baseline": true, - "previous": {}, - "error": "mustCall verification failed:" - }, - { - "file": "parallel/test-sqlite-custom-functions.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "10 test(s) failed" - }, - { - "file": "parallel/test-sqlite-data-types.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "7 test(s) failed" - }, - { - "file": "parallel/test-sqlite-database.js", - "subtest": "test_00_database_constructor", - "baseline": true, - "previous": {}, - "error": "26 test(s) failed" - }, - { - "file": "parallel/test-sqlite-database.js", - "subtest": "test_01_database_prototype_open", - "baseline": true, - "previous": {}, - "error": "3 test(s) failed" - }, - { - "file": "parallel/test-sqlite-database.js", - "subtest": "test_02_database_prototype_close", - "baseline": true, - "previous": {}, - "error": "2 test(s) failed" - }, - { - "file": "parallel/test-sqlite-database.js", - "subtest": "test_03_database_prototype_prepare", - "baseline": true, - "previous": {}, - "error": "5 test(s) failed" - }, - { - "file": "parallel/test-sqlite-database.js", - "subtest": "test_04_database_prototype_exec", - "baseline": true, - "previous": {}, - "error": "5 test(s) failed" - }, - { - "file": "parallel/test-sqlite-database.js", - "subtest": "test_05_database_prototype_istransaction", - "baseline": true, - "previous": {}, - "error": "3 test(s) failed" - }, - { - "file": "parallel/test-sqlite-database.js", - "subtest": "test_06_database_prototype_location", - "baseline": true, - "previous": {}, - "error": "5 test(s) failed" - }, - { - "file": "parallel/test-sqlite-database.js", - "subtest": "test_07_database_prototype_symbol_dispose", - "baseline": true, - "previous": {}, - "error": "2 test(s) failed" - }, - { - "file": "parallel/test-sqlite.js", - "subtest": "test_01_err_sqlite_error_is_thrown_for_errors_originating_from_sqlit", - "baseline": true, - "previous": {}, - "error": "not a function" - }, - { - "file": "parallel/test-sqlite.js", - "subtest": "test_02_in_memory_databases_are_supported", - "baseline": true, - "previous": {}, - "error": "not a function" - }, - { - "file": "parallel/test-sqlite.js", - "subtest": "test_04_pragmas_are_supported", - "baseline": true, - "previous": {}, - "error": "not a function" - }, - { - "file": "parallel/test-sqlite-named-parameters.js", - "subtest": "test_00_named_parameters", - "baseline": true, - "previous": {}, - "error": "4 test(s) failed" - }, - { - "file": "parallel/test-sqlite-named-parameters.js", - "subtest": "test_01_statement_prototype_setallowunknownnamedparameters", - "baseline": true, - "previous": {}, - "error": "3 test(s) failed" - }, - { - "file": "parallel/test-sqlite-named-parameters.js", - "subtest": "test_02_options_allowunknownnamedparameters", - "baseline": true, - "previous": {}, - "error": "5 test(s) failed" - }, - { - "file": "parallel/test-sqlite-session.js", - "subtest": "test_00_creating_and_applying_a_changeset", - "baseline": true, - "previous": {}, - "error": "not a function" - }, - { - "file": "parallel/test-sqlite-session.js", - "subtest": "test_01_database_createsession_closed_database_results_in_exception", - "baseline": true, - "previous": {}, - "error": "not a function" - }, - { - "file": "parallel/test-sqlite-session.js", - "subtest": "test_02_session_changeset_closed_database_results_in_exception", - "baseline": true, - "previous": {}, - "error": "not a function" - }, - { - "file": "parallel/test-sqlite-session.js", - "subtest": "test_04_database_applychangeset_closed_database_results_in_exception", - "baseline": true, - "previous": {}, - "error": "not a function" - }, - { - "file": "parallel/test-sqlite-session.js", - "subtest": "test_05_database_createsession_use_table_option_to_track_specific_ta", - "baseline": true, - "previous": {}, - "error": "not a function" - }, - { - "file": "parallel/test-sqlite-session.js", - "subtest": "test_10_database_createsession_filter_changes", - "baseline": true, - "previous": {}, - "error": "not a function" - }, - { - "file": "parallel/test-sqlite-session.js", - "subtest": "test_11_database_createsession_specify_other_database", - "baseline": true, - "previous": {}, - "error": "not a function" - }, - { - "file": "parallel/test-sqlite-session.js", - "subtest": "test_12_database_createsession_wrong_arguments", - "baseline": true, - "previous": {}, - "error": "not a function" - }, - { - "file": "parallel/test-sqlite-session.js", - "subtest": "test_13_database_applychangeset_wrong_arguments", - "baseline": true, - "previous": {}, - "error": "not a function" - }, - { - "file": "parallel/test-sqlite-session.js", - "subtest": "test_15_session_patchset", - "baseline": true, - "previous": {}, - "error": "not a function" - }, - { - "file": "parallel/test-sqlite-session.js", - "subtest": "test_16_session_close_using_session_after_close_throws_exception", - "baseline": true, - "previous": {}, - "error": "not a function" - }, - { - "file": "parallel/test-sqlite-session.js", - "subtest": "test_17_session_close_after_closing_database_throws_exception", - "baseline": true, - "previous": {}, - "error": "not a function" - }, - { - "file": "parallel/test-sqlite-session.js", - "subtest": "test_18_session_close_closing_twice", - "baseline": true, - "previous": {}, - "error": "not a function" - }, - { - "file": "parallel/test-sqlite-statement-columns.js", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable", - "reason": "carries 22.14.0 parallel/test-sqlite-database-sync.js (upstream f2b698f1cf); parallel/test-sqlite-statement-sync.js (upstream f2b698f1cf)" - }, - "error": "7 test(s) failed" - }, - { - "file": "parallel/test-sqlite-statement.js", - "subtest": "test_00_statement_constructor", - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "parallel/test-sqlite-statement.js", - "subtest": "test_01_statement_prototype_get", - "baseline": true, - "previous": {}, - "error": "7 test(s) failed" - }, - { - "file": "parallel/test-sqlite-statement.js", - "subtest": "test_02_statement_prototype_all", - "baseline": true, - "previous": {}, - "error": "6 test(s) failed" - }, - { - "file": "parallel/test-sqlite-statement.js", - "subtest": "test_03_statement_prototype_iterate", - "baseline": true, - "previous": {}, - "error": "10 test(s) failed" - }, - { - "file": "parallel/test-sqlite-statement.js", - "subtest": "test_04_statement_prototype_run", - "baseline": true, - "previous": {}, - "error": "7 test(s) failed" - }, - { - "file": "parallel/test-sqlite-statement.js", - "subtest": "test_05_statement_prototype_sourcesql", - "baseline": true, - "previous": {}, - "error": "2 test(s) failed" - }, - { - "file": "parallel/test-sqlite-statement.js", - "subtest": "test_06_statement_prototype_expandedsql", - "baseline": true, - "previous": {}, - "error": "2 test(s) failed" - }, - { - "file": "parallel/test-sqlite-statement.js", - "subtest": "test_07_statement_prototype_stat", - "baseline": true, - "previous": {}, - "error": "7 test(s) failed" - }, - { - "file": "parallel/test-sqlite-statement.js", - "subtest": "test_08_statement_prototype_resetstats", - "baseline": true, - "previous": {}, - "error": "8 test(s) failed" - }, - { - "file": "parallel/test-sqlite-statement.js", - "subtest": "test_09_statement_prototype_setreadbigints", - "baseline": true, - "previous": {}, - "error": "5 test(s) failed" - }, - { - "file": "parallel/test-sqlite-statement.js", - "subtest": "test_10_statement_prototype_setreturnarrays", - "baseline": true, - "previous": {}, - "error": "2 test(s) failed" - }, - { - "file": "parallel/test-sqlite-statement.js", - "subtest": "test_11_statement_prototype_get_with_array_output", - "baseline": true, - "previous": {}, - "error": "2 test(s) failed" - }, - { - "file": "parallel/test-sqlite-statement.js", - "subtest": "test_12_statement_prototype_all_with_array_output", - "baseline": true, - "previous": {}, - "error": "2 test(s) failed" - }, - { - "file": "parallel/test-sqlite-statement.js", - "subtest": "test_13_statement_prototype_iterate_with_array_output", - "baseline": true, - "previous": {}, - "error": "2 test(s) failed" - }, - { - "file": "parallel/test-sqlite-statement.js", - "subtest": "test_14_statement_prototype_setallowbarenamedparameters", - "baseline": true, - "previous": {}, - "error": "3 test(s) failed" - }, - { - "file": "parallel/test-sqlite-statement.js", - "subtest": "test_15_options_readbigints", - "baseline": true, - "previous": {}, - "error": "4 test(s) failed" - }, - { - "file": "parallel/test-sqlite-statement.js", - "subtest": "test_16_options_returnarrays", - "baseline": true, - "previous": {}, - "error": "6 test(s) failed" - }, - { - "file": "parallel/test-sqlite-statement.js", - "subtest": "test_17_options_allowbarenamedparameters", - "baseline": true, - "previous": {}, - "error": "4 test(s) failed" - }, - { - "file": "parallel/test-sqlite-statement.js", - "subtest": "test_18_statement_prototype_close", - "baseline": true, - "previous": {}, - "error": "2 test(s) failed" - }, - { - "file": "parallel/test-sqlite-statement.js", - "subtest": "test_19_statement_prototype_symbol_dispose", - "baseline": true, - "previous": {}, - "error": "4 test(s) failed" - }, - { - "file": "parallel/test-sqlite-statement.js", - "subtest": "test_20_options_persistent", - "baseline": true, - "previous": {}, - "error": "4 test(s) failed" - }, - { - "file": "parallel/test-sqlite-transactions.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "2 test(s) failed" - }, - { - "file": "parallel/test-sqlite-typed-array-and-data-view.js", - "subtest": "test_00_statement_with_typedarray_dataview", - "baseline": true, - "previous": {}, - "error": "12 test(s) failed" - }, - { - "file": "parallel/test-sqlite-typed-array-and-data-view.js", - "subtest": "test_01_statement_with_arraybuffer_and_sharedarraybuffer", - "baseline": true, - "previous": {}, - "error": "4 test(s) failed" - }, - { - "file": "parallel/test-stream-compose.js", - "subtest": "block_20_block_20", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "parallel/test-stream-finished.js", - "subtest": "block_40_block_40", - "baseline": true, - "previous": { - "category": "runnable", - "reason": "carries 22.14.0 subtest block_39_block_39" - }, - "error": "Cannot find module 'internal/streams/end-of-stream'" - }, - { - "file": "parallel/test-stream-push-strings.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "parallel/test-stream-readable-compose.js", - "subtest": "block_06_block_06", - "baseline": true, - "previous": {}, - "error": "mustCall verification failed:" - }, - { - "file": "parallel/test-stream-readable-infinite-read.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "mustCall verification failed:" - }, - { - "file": "parallel/test-stream-readable-to-web-termination.js", - "subtest": "block_01_block_01", - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected \"actual\" to be strict" - }, - { - "file": "parallel/test-stream-writable-write-error.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "parallel/test-structuredClone-global.js", - "subtest": "block_04_statement_04", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "parallel/test-structuredClone-global.js", - "subtest": "block_05_statement_05", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "parallel/test-structuredClone-global.js", - "subtest": "block_06_statement_06", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "parallel/test-timers-immediate-queue-throw.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "mustCall verification failed:" - }, - { - "file": "parallel/test-timers-max-duration-warning.js", - "subtest": "block_00_block_00", - "baseline": true, - "previous": {}, - "error": "mustCall verification failed:" - }, - { - "file": "parallel/test-timers-max-duration-warning.js", - "subtest": "block_01_block_01", - "baseline": true, - "previous": {}, - "error": "mustCall verification failed:" - }, - { - "file": "parallel/test-url-parse-invalid-input.js", - "subtest": null, - "baseline": true, - "previous": { - "reason": "the runnable assertions execute, while its common.hasIntl-gated invalid-IDNA matrix is covered separately by focused runtime tests" - }, - "error": "Missing expected exception." - }, - { - "file": "parallel/test-url-urltooptions.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Missing expected exception (TypeError)." - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_101_block_101", - "baseline": true, - "previous": { - "category": "runnable", - "reason": "carries 22.14.0 subtest block_91_block_91" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_102_regression_test_for_https_github_com_nodejs_node_issues_4124", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_104_block_104", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_105_block_105", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_106_block_106", - "baseline": true, - "previous": { - "category": "runnable", - "reason": "carries 22.14.0 subtest block_95_block_95" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_107_block_107", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_108_block_108", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_109_block_109", - "baseline": true, - "previous": { - "category": "runnable", - "reason": "carries 22.14.0 subtest block_98_block_98" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_21_exceptions_should_print_the_error_message_not", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_22_block_22", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_26_prevent_enumerable_error_properties_from_being_printed", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_27_doesn_t_capture_stack_trace", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_50_the_constructor_and_symbol_tostringtag", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_51_assumes_that_the_first_numeric_character_is_the_start_of_an_", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_52_test_display_of_constructors", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_53_empty_and_circular_before_depth", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_54_corner_cases", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_55_block_55", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_56_block_56", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_57_block_57", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_58_block_58", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_59_https_github_com_nodejs_node_pull_6334_is_backported", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_60_block_60", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_61_block_61", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_62_block_62", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_63_util_inspect_defaultoptions_tests", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_64_setting_custom_inspect_property_to_a_non_function_should_do_", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_65_block_65", - "baseline": true, - "previous": { - "category": "runnable", - "reason": "carries 22.14.0 subtest block_63_block_63" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_66_block_66", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_67_check_compact_indentation", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_68_block_68", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_69_block_69", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_70_block_70", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_71_class_properties_should_not_be_detected_as_class", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_72_verify_non_enumerable_keys_get_escaped", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_73_check_for_special_colors", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_75_non_indices_array_properties_are_sorted_as_well", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_77_check_that_the_fallback_always_works", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_78_check_the_getter_option", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_84_check_compact_number_mode", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_85_block_85", - "baseline": true, - "previous": { - "category": "runnable", - "reason": "carries 22.14.0 subtest block_77_block_77" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_89_block_89", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_90_inspect_prototype_properties", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_91_regression_test_for_https_github_com_nodejs_node_issues_3573", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_92_test_changing_util_inspect_colors_colors_and_aliases", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_94_truncate_output_for_primitives_with_1_character_left", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_95_block_95", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_96_block_96", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_97_block_97", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_98_block_98", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_99_block_99", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-isDeepStrictEqual.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-parse-env.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "parallel/test-util-stripvtcontrolcharacters.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-util-styletext.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "The argument 'format' must be a valid string format. Received \"grey\"" - }, - { - "file": "parallel/test-vm-module-basic.js", - "subtest": "block_04_check_inspection_of_the_instance", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly deep-equal:" - }, - { - "file": "parallel/test-vm-module-basic.js", - "subtest": "block_05_block_05", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-vm-module-dynamic-import.js", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly" - }, - { - "file": "parallel/test-vm-module-errors.js", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception (Ty" - }, - { - "file": "parallel/test-vm-module-synthetic.js", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Unhandled promise rejection (likely cause of mustCall failure): Error: Module status must not be unlinked or l" - }, - { - "file": "parallel/test-webcrypto-random.js", - "subtest": "block_02_block_02", - "baseline": true, - "previous": {}, - "error": "QuotaExceededError is not defined" - }, - { - "file": "parallel/test-webstorage.js", - "subtest": "test_08_disabled_with_no_webstorage", - "baseline": true, - "previous": { - "category": "runnable", - "reason": "carries 22.14.0 subtest test_00_disabled_without_experimental_webstorage" - }, - "error": "Only --eval/-e, --input-type, and script files are supported in WASM child emulation" - }, - { - "file": "parallel/test-webstream-readable-from.js", - "subtest": null, - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Missing expected exception (TypeError)." - }, - { - "file": "parallel/test-whatwg-readablebytestream-bad-buffers-and-views.js", - "subtest": "block_00_block_00", - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-whatwg-readablebytestream-bad-buffers-and-views.js", - "subtest": "block_01_block_01", - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-whatwg-readablebytestream-bad-buffers-and-views.js", - "subtest": "block_02_block_02", - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-whatwg-readablebytestream-bad-buffers-and-views.js", - "subtest": "block_03_block_03", - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-whatwg-url-custom-searchparams-constructor.js", - "subtest": "block_00_block_00", - "baseline": true, - "previous": { - "category": "runnable" - }, - "error": "Expected values to be strictly equal:" - }, - { - "file": "parallel/test-zlib-convenience-methods.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "not a function" - }, - { - "file": "parallel/test-zlib-empty-buffer.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "Unhandled promise rejection (likely cause of mustCall failure): TypeError: The \"original\" argument must be of " - }, - { - "file": "parallel/test-zlib.js", - "subtest": "block_00_block_00", - "baseline": true, - "previous": {}, - "error": "not a function" - }, - { - "file": "parallel/test-zlib.js", - "subtest": "block_01_block_01", - "baseline": true, - "previous": {}, - "error": "not a function" - }, - { - "file": "parallel/test-zlib-params.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "mustCall verification failed:" - }, - { - "file": "parallel/test-zlib-random-byte-pipes.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "not a function" - }, - { - "file": "parallel/test-zlib-truncated.js", - "subtest": "block_00_value_as_truncated_input", - "baseline": true, - "previous": {}, - "error": "not a function" - }, - { - "file": "parallel/test-zlib-truncated.js", - "subtest": "block_01_mistaken_for_an_empty_truncated_frame", - "baseline": true, - "previous": {}, - "error": "not a function" - }, - { - "file": "parallel/test-zlib-truncated.js", - "subtest": "block_02_must_report_that_the_frame_is_incomplete", - "baseline": true, - "previous": {}, - "error": "not a function" - }, - { - "file": "parallel/test-zlib-write-after-flush.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "not a function" - }, - { - "file": "parallel/test-zlib-zero-byte.js", - "subtest": null, - "baseline": true, - "previous": {}, - "error": "not a function" - }, - { - "file": "parallel/test-blob.js", - "subtest": "block_33_block_33", - "baseline": true, - "previous": { - "category": "unevaluated" - }, - "error": "Unhandled promise rejection: AssertionError: 'a\\rb' !== 'a\\nb'" - }, - { - "file": "parallel/test-sqlite.js", - "subtest": "test_08_sql_apis_enabled_at_build_time", - "baseline": true, - "previous": { - "category": "unevaluated" - }, - "error": "10 test(s) failed" - }, - { - "file": "parallel/test-url-invalid-file-url-path-input.js", - "subtest": null, - "baseline": true, - "previous": { - "category": "unevaluated" - }, - "error": "ERR_INVALID_FILE_URL_PATH has no err.input URL; the historical code assertion passes" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_100_block_100", - "baseline": true, - "previous": { - "category": "unevaluated" - }, - "error": "util.inspect prints the symbol key of a boxed String as [Symbol(foo)]; 26.13.1 expects Symbol(foo)" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_25_block_25", - "baseline": true, - "previous": {}, - "error": "Expected values to be strictly equal:" - } - ], - "passedOnRerun": [], - "repairedInSwitch": [ - { - "file": "parallel/test-process-release.js", - "subtest": null, - "fix": "process.release.lts reports 'Lithium', the LTS codename of 26.13.1 in the official dist index" - } - ], - "repaired": [ - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_00_non_authenticating_mode", - "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_01_throw", - "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_03_test_that_gcm_can_produce_shorter_authentication_tags_than_1", - "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_04_test_that_users_can_manually_restrict_the_gcm_tag_length_to_", - "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_05_authentication_tag_length_has_been_specified", - "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_06_authentication_tag_length_has_been_specified", - "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_07_test_that_setaad_throws_if_an_invalid_plaintext_length_has_b", - "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_08_test_that_setaad_and_update_throw_if_the_plaintext_is_too_lo", - "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_09_been_specified", - "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_10_test_that_final_throws_in_ccm_mode_when_no_authentication_ta", - "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_11_test_that_setauthtag_does_not_throw_in_gcm_mode_when_called_", - "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_12_test_that_an_iv_length_of_11_does_not_overflow_max_message_s", - "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_14_test_that_setauthtag_can_only_be_called_once", - "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_15_https_www_openssl_org_news_secadv_20190306_txt", - "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_16_block_16", - "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_13_final_in_gcm_mode_ocb_mode_and_for_chacha20_poly1305", - "fix": "Decipheriv#final reports a missing or mismatched AEAD tag as Node does: Error 'Unsupported state or unable to authenticate data' without a code" - }, - { - "file": "parallel/test-webcrypto-random.js", - "subtest": "block_00_block_00", - "fix": "crypto.getRandomValues rejects missing and non-ArrayBufferView arguments with Node's WebIDL TypeErrors (ERR_MISSING_ARGS, ERR_INVALID_ARG_TYPE) and reports TypeMismatchError and QuotaExceededError with Node's messages" - }, - { - "file": "parallel/test-webcrypto-random.js", - "subtest": "block_01_block_01", - "fix": "crypto.getRandomValues rejects missing and non-ArrayBufferView arguments with Node's WebIDL TypeErrors (ERR_MISSING_ARGS, ERR_INVALID_ARG_TYPE) and reports TypeMismatchError and QuotaExceededError with Node's messages" - }, - { - "file": "parallel/test-webcrypto-random.js", - "subtest": "block_03_block_03", - "fix": "crypto.getRandomValues rejects missing and non-ArrayBufferView arguments with Node's WebIDL TypeErrors (ERR_MISSING_ARGS, ERR_INVALID_ARG_TYPE) and reports TypeMismatchError and QuotaExceededError with Node's messages" - }, - { - "file": "parallel/test-webcrypto-encrypt-decrypt.js", - "subtest": "block_00_test_encrypt_decrypt_aes_ctr", - "fix": "SubtleCrypto encrypt/decrypt check the key algorithm before its usages and report 'Key algorithm mismatch' or 'Unable to use this key to ' as Node does" - }, - { - "file": "parallel/test-webcrypto-encrypt-decrypt.js", - "subtest": "block_01_test_encrypt_decrypt_aes_cbc", - "fix": "SubtleCrypto encrypt/decrypt check the key algorithm before its usages and report 'Key algorithm mismatch' or 'Unable to use this key to ' as Node does" - }, - { - "file": "parallel/test-webcrypto-encrypt-decrypt.js", - "subtest": "block_02_test_encrypt_decrypt_aes_gcm", - "fix": "SubtleCrypto encrypt/decrypt check the key algorithm before its usages and report 'Key algorithm mismatch' or 'Unable to use this key to ' as Node does" - }, - { - "file": "parallel/test-webcrypto-encrypt-decrypt-aes.js", - "subtest": "block_00_test_aes_cbc_vectors", - "fix": "SubtleCrypto encrypt/decrypt check the key algorithm before its usages and report 'Key algorithm mismatch' or 'Unable to use this key to ' as Node does" - }, - { - "file": "parallel/test-webcrypto-encrypt-decrypt-aes.js", - "subtest": "block_01_test_aes_ctr_vectors", - "fix": "SubtleCrypto encrypt/decrypt check the key algorithm before its usages and report 'Key algorithm mismatch' or 'Unable to use this key to ' as Node does" - }, - { - "file": "parallel/test-webcrypto-encrypt-decrypt-aes.js", - "subtest": "block_02_test_aes_gcm_vectors", - "fix": "SubtleCrypto encrypt/decrypt check the key algorithm before its usages and report 'Key algorithm mismatch' or 'Unable to use this key to ' as Node does" - }, - { - "file": "parallel/test-webcrypto-export-import.js", - "subtest": "block_00_block_00", - "fix": "HMAC import reports Node's usage and zero-length messages, and WebCrypto HMAC JWKs export and validate the registered 'alg' value (none for SHA-3) as Node does" - }, - { - "file": "parallel/test-webcrypto-export-import.js", - "subtest": "block_02_import_export_hmac_secret_key", - "fix": "HMAC import reports Node's usage and zero-length messages, and WebCrypto HMAC JWKs export and validate the registered 'alg' value (none for SHA-3) as Node does" - }, - { - "file": "parallel/test-webcrypto-export-import.js", - "subtest": "block_03_import_export_aes_secret_key", - "fix": "HMAC import reports Node's usage and zero-length messages, and WebCrypto HMAC JWKs export and validate the registered 'alg' value (none for SHA-3) as Node does" - }, - { - "file": "parallel/test-webcrypto-export-import.js", - "subtest": "block_04_import_export_rsa_key_pairs", - "fix": "HMAC import reports Node's usage and zero-length messages, and WebCrypto HMAC JWKs export and validate the registered 'alg' value (none for SHA-3) as Node does" - }, - { - "file": "parallel/test-webcrypto-export-import.js", - "subtest": "block_05_import_export_ec_key_pairs", - "fix": "HMAC import reports Node's usage and zero-length messages, and WebCrypto HMAC JWKs export and validate the registered 'alg' value (none for SHA-3) as Node does" - }, - { - "file": "parallel/test-crypto-gcm-implicit-short-tag.js", - "subtest": null, - "fix": "Decipheriv#setAuthTag accepts only a 16-byte GCM tag when authTagLength is not set, as Node 26 does after removing implicit short tags (DEP0182)" - }, - { - "file": "parallel/test-crypto-hkdf.js", - "subtest": null, - "fix": "hkdf and hkdfSync read the info view's intrinsic byte range, so a user-defined byteLength cannot bypass the 1024-byte limit" - }, - { - "file": "parallel/test-crypto-encoding-validation-error.js", - "subtest": "block_00_block_00", - "fix": "Cipheriv/Decipheriv report an output-encoding change as ERR_INVALID_ARG_VALUE \"The argument 'outputEncoding' cannot be changed from ''\"" - }, - { - "file": "parallel/test-crypto-encoding-validation-error.js", - "subtest": "block_01_block_01", - "fix": "Cipheriv/Decipheriv report an output-encoding change as ERR_INVALID_ARG_VALUE \"The argument 'outputEncoding' cannot be changed from ''\"" - }, - { - "file": "parallel/test-crypto-keygen-eddsa.js", - "subtest": null, - "fix": "generateKeyPair rejects unsupported key types synchronously with ERR_INVALID_ARG_VALUE, as generateKeyPairSync and Node do" - }, - { - "file": "parallel/test-crypto-keygen.js", - "subtest": "block_01_block_01", - "fix": "generateKeyPair rejects unsupported key types synchronously with ERR_INVALID_ARG_VALUE, as generateKeyPairSync and Node do" - }, - { - "file": "parallel/test-crypto-async-sign-verify.js", - "subtest": "block_01_block_01", - "fix": "One-shot sign() and verify() validate options and parse the key synchronously and deliver errors of the signing job itself (such as an RSA key too small for the digest or a non-signing x25519 key) to the callback, as Node does" - }, - { - "file": "parallel/test-crypto-async-sign-verify.js", - "subtest": "block_02_block_02", - "fix": "One-shot sign() and verify() validate options and parse the key synchronously and deliver errors of the signing job itself (such as an RSA key too small for the digest or a non-signing x25519 key) to the callback, as Node does" - } - ] - }, - "matchedByPosition": [ - { - "file": "parallel/test-blob.js", - "subtest": "block_31_statement_31" - }, - { - "file": "parallel/test-blocklist.js", - "subtest": "block_07_block_07" - }, - { - "file": "parallel/test-buffer-from.js", - "subtest": "block_00_block_00" - }, - { - "file": "parallel/test-buffer-from.js", - "subtest": "block_01_block_01" - }, - { - "file": "parallel/test-buffer-from.js", - "subtest": "block_02_block_02" - }, - { - "file": "parallel/test-crypto-authenticated.js", - "subtest": "block_16_block_16" - }, - { - "file": "parallel/test-crypto-hmac.js", - "subtest": "block_04_block_04" - }, - { - "file": "parallel/test-crypto-key-objects.js", - "subtest": "block_05_block_05" - }, - { - "file": "parallel/test-crypto-key-objects.js", - "subtest": "block_06_block_06" - }, - { - "file": "parallel/test-crypto-key-objects.js", - "subtest": "block_09_block_09" - }, - { - "file": "parallel/test-crypto-keygen.js", - "subtest": "block_01_block_01" - }, - { - "file": "parallel/test-crypto-keygen.js", - "subtest": "block_02_block_02" - }, - { - "file": "parallel/test-crypto-rsa-dsa.js", - "subtest": "block_03_block_03" - }, - { - "file": "parallel/test-crypto-sign-verify.js", - "subtest": "block_05_block_05" - }, - { - "file": "parallel/test-crypto-sign-verify.js", - "subtest": "block_10_block_10" - }, - { - "file": "parallel/test-crypto-sign-verify.js", - "subtest": "block_12_block_12" - }, - { - "file": "parallel/test-crypto-sign-verify.js", - "subtest": "block_14_block_14" - }, - { - "file": "parallel/test-crypto-x509.js", - "subtest": "block_00_block_00" - }, - { - "file": "parallel/test-crypto-x509.js", - "subtest": "block_01_block_01" - }, - { - "file": "parallel/test-crypto-x509.js", - "subtest": "block_02_block_02" - }, - { - "file": "parallel/test-dns.js", - "subtest": "block_11_block_11" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_01_block_01" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_02_block_02" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_03_block_03" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_04_block_04" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_05_block_05" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_06_block_06" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_07_block_07" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_08_block_08" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_09_block_09" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_10_block_10" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_11_block_11" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_12_block_12" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_13_block_13" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_14_block_14" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_15_block_15" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_16_block_16" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_17_block_17" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_18_block_18" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_20_block_20" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_22_block_22" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_24_block_24" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_27_block_27" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_28_block_28" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_31_block_31" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_34_block_34" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_35_block_35" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_36_block_36" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_37_block_37" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_38_block_38" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_39_block_39" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_40_block_40" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_41_block_41" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_42_block_42" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_43_block_43" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_46_block_46" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_47_block_47" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_48_block_48" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_51_block_51" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_52_block_52" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_57_block_57" - }, - { - "file": "parallel/test-eventtarget.js", - "subtest": "block_59_block_59" - }, - { - "file": "parallel/test-fs-rm.js", - "subtest": "block_03_block_03" - }, - { - "file": "parallel/test-fs-utils-get-dirents.js", - "subtest": "block_06_block_06" - }, - { - "file": "parallel/test-fs-utils-get-dirents.js", - "subtest": "block_07_block_07" - }, - { - "file": "parallel/test-fs-watch-enoent.js", - "subtest": "block_00_block_00" - }, - { - "file": "parallel/test-fs-watch-enoent.js", - "subtest": "block_01_block_01" - }, - { - "file": "parallel/test-perf-hooks-histogram.js", - "subtest": "block_00_block_00" - }, - { - "file": "parallel/test-perf-hooks-histogram.js", - "subtest": "block_01_block_01" - }, - { - "file": "parallel/test-perf-hooks-histogram.js", - "subtest": "block_02_block_02" - }, - { - "file": "parallel/test-perf-hooks-histogram.js", - "subtest": "block_03_block_03" - }, - { - "file": "parallel/test-perf-hooks-histogram.js", - "subtest": "block_04_block_04" - }, - { - "file": "parallel/test-perf-hooks-histogram.js", - "subtest": "block_05_block_05" - }, - { - "file": "parallel/test-permission-fs-read.js", - "subtest": "block_01_block_01" - }, - { - "file": "parallel/test-permission-fs-read.js", - "subtest": "block_02_block_02" - }, - { - "file": "parallel/test-runner-test-fullname.js", - "subtest": "test_01_test_01" - }, - { - "file": "parallel/test-stream-compose.js", - "subtest": "block_08_block_08" - }, - { - "file": "parallel/test-stream-compose.js", - "subtest": "block_09_block_09" - }, - { - "file": "parallel/test-stream-compose.js", - "subtest": "block_20_block_20" - }, - { - "file": "parallel/test-stream-consumers.js", - "subtest": "block_00_block_00" - }, - { - "file": "parallel/test-stream-consumers.js", - "subtest": "block_01_block_01" - }, - { - "file": "parallel/test-stream-consumers.js", - "subtest": "block_02_block_02" - }, - { - "file": "parallel/test-stream-consumers.js", - "subtest": "block_03_block_03" - }, - { - "file": "parallel/test-stream-consumers.js", - "subtest": "block_04_block_04" - }, - { - "file": "parallel/test-stream-consumers.js", - "subtest": "block_05_block_05" - }, - { - "file": "parallel/test-stream-consumers.js", - "subtest": "block_06_block_06" - }, - { - "file": "parallel/test-stream-consumers.js", - "subtest": "block_07_block_07" - }, - { - "file": "parallel/test-stream-consumers.js", - "subtest": "block_08_block_08" - }, - { - "file": "parallel/test-stream-consumers.js", - "subtest": "block_09_block_09" - }, - { - "file": "parallel/test-stream-destroy.js", - "subtest": "block_04_block_04" - }, - { - "file": "parallel/test-stream-destroy.js", - "subtest": "block_05_block_05" - }, - { - "file": "parallel/test-stream-duplex-from.js", - "subtest": "block_06_block_06" - }, - { - "file": "parallel/test-stream-finished.js", - "subtest": "block_05_block_05" - }, - { - "file": "parallel/test-stream-finished.js", - "subtest": "block_10_block_10" - }, - { - "file": "parallel/test-stream-finished.js", - "subtest": "block_33_block_33" - }, - { - "file": "parallel/test-stream-finished.js", - "subtest": "block_34_block_34" - }, - { - "file": "parallel/test-stream-finished.js", - "subtest": "block_35_block_35" - }, - { - "file": "parallel/test-stream-pipeline.js", - "subtest": "block_06_block_06" - }, - { - "file": "parallel/test-stream-pipeline.js", - "subtest": "block_07_block_07" - }, - { - "file": "parallel/test-stream-pipeline.js", - "subtest": "block_08_block_08" - }, - { - "file": "parallel/test-stream-pipeline.js", - "subtest": "block_09_block_09" - }, - { - "file": "parallel/test-stream-pipeline.js", - "subtest": "block_10_block_10" - }, - { - "file": "parallel/test-stream-pipeline.js", - "subtest": "block_78_block_78" - }, - { - "file": "parallel/test-stream-readable-async-iterators.js", - "subtest": "block_01_block_01" - }, - { - "file": "parallel/test-stream-readable-async-iterators.js", - "subtest": "block_02_block_02" - }, - { - "file": "parallel/test-stream-readable-async-iterators.js", - "subtest": "block_05_block_05" - }, - { - "file": "parallel/test-stream-readable-async-iterators.js", - "subtest": "block_06_block_06" - }, - { - "file": "parallel/test-util-getcallsites.js", - "subtest": "block_03_block_03" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_02_block_02" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_03_block_03" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_23_block_23" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_36_block_36" - }, - { - "file": "parallel/test-util-types.js", - "subtest": "block_00_block_00" - }, - { - "file": "parallel/test-util-types.js", - "subtest": "block_01_block_01" - }, - { - "file": "parallel/test-webcrypto-export-import.js", - "subtest": "block_00_block_00" - }, - { - "file": "parallel/test-whatwg-readablestream.js", - "subtest": "block_11_block_11" - }, - { - "file": "parallel/test-whatwg-readablestream.js", - "subtest": "block_14_block_14" - }, - { - "file": "parallel/test-whatwg-readablestream.js", - "subtest": "block_32_block_32" - }, - { - "file": "parallel/test-whatwg-readablestream.js", - "subtest": "block_36_block_36" - }, - { - "file": "parallel/test-whatwg-readablestream.js", - "subtest": "block_37_block_37" - }, - { - "file": "parallel/test-whatwg-readablestream.js", - "subtest": "block_54_block_54" - }, - { - "file": "parallel/test-whatwg-readablestream.js", - "subtest": "block_55_block_55" - }, - { - "file": "parallel/test-whatwg-readablestream.js", - "subtest": "block_56_block_56" - }, - { - "file": "parallel/test-whatwg-readablestream.js", - "subtest": "block_58_block_58" - }, - { - "file": "parallel/test-whatwg-readablestream.js", - "subtest": "block_70_block_70" - }, - { - "file": "parallel/test-whatwg-webstreams-adapters-to-readablestream.js", - "subtest": "block_06_block_06" - }, - { - "file": "parallel/test-whatwg-writablestream.js", - "subtest": "block_06_block_06" - }, - { - "file": "sequential/test-crypto-timing-safe-equal.js", - "subtest": "block_01_block_01" - }, - { - "file": "sequential/test-performance-eventloopdelay.js", - "subtest": "block_01_block_01" - }, - { - "file": "sequential/test-performance-eventloopdelay.js", - "subtest": "block_02_block_02" - } - ], - "positionCorrections": { - "note": "Blocks the 22.14.0 to 26.13.1 migration matched by position although upstream inserted blocks before them. Each entry was relabelled after reading both versions and running the 26.13.1 block; the label follows the 22.14.0 content it holds.", - "cases": [ - { - "file": "parallel/test-blob.js", - "subtest": "block_29_statement_29", - "entry": { - "category": "node-internals", - "reason": "Asserts internal webstreams kState" - }, - "evidence": "holds 22.14.0 node-internals block_28_statement_28" - }, - { - "file": "parallel/test-blob.js", - "subtest": "block_32_statement_32", - "entry": { - "category": "node-internals", - "reason": "Asserts internal webstreams kState" - }, - "evidence": "holds 22.14.0 node-internals block_31_statement_31" - }, - { - "file": "parallel/test-crypto-hmac.js", - "subtest": "block_07_block_07", - "entry": { - "category": "runnable" - }, - "evidence": "holds 22.14.0 block_04_block_04 (passed); passes twice" - }, - { - "file": "parallel/test-crypto-key-objects.js", - "subtest": "block_10_block_10", - "entry": { - "category": "known-gap", - "reason": "Node 26.13.1 baseline gap: Failed to export key; carries 22.14.0 subtest block_09_block_09" - }, - "evidence": "holds 22.14.0 block_09_block_09 (passed); fails twice" - }, - { - "file": "parallel/test-permission-fs-read.js", - "subtest": "block_02_block_02", - "entry": { - "category": "known-gap", - "reason": "inherited: process.permission and --permission CLI semantics are incomplete in execPath emulation" - }, - "evidence": "holds 22.14.0 known-gap block_01_block_01, not the passing block_02" - }, - { - "file": "parallel/test-permission-fs-read.js", - "subtest": "block_03_block_03", - "entry": { - "category": "runnable" - }, - "evidence": "byte-identical to 22.14.0 block_02_block_02 (passed); passes twice" - }, - { - "file": "parallel/test-stream-consumers.js", - "subtest": "block_03_block_03", - "entry": { - "category": "unevaluated", - "reason": "newly discovered subtest, not yet evaluated" - }, - "evidence": "new block; 22.14.0 block_03_block_03 is now block_04_block_04 and passes" - }, - { - "file": "parallel/test-stream-consumers.js", - "subtest": "block_10_block_10", - "entry": { - "category": "runnable" - }, - "evidence": "holds 22.14.0 block_09_block_09 (passed); passes twice" - }, - { - "file": "parallel/test-stream-pipeline.js", - "subtest": "block_08_block_08", - "entry": { - "category": "runnable" - }, - "evidence": "holds 22.14.0 block_07_block_07 (passed); passes twice" - }, - { - "file": "parallel/test-stream-pipeline.js", - "subtest": "block_09_block_09", - "entry": { - "category": "wasi-impossible", - "reason": "requires full-duplex HTTP request/response streaming semantics not provided by wasi:http" - }, - "evidence": "holds 22.14.0 wasi-impossible block_08_block_08; 22.14.0 block_09_block_09 is now block_10_block_10 and passes" - }, - { - "file": "parallel/test-stream-pipeline.js", - "subtest": "block_11_block_11", - "entry": { - "category": "runnable" - }, - "evidence": "holds 22.14.0 block_10_block_10 (passed); passes twice" - }, - { - "file": "parallel/test-stream-pipeline.js", - "subtest": "block_78_block_78", - "entry": { - "category": "unevaluated", - "reason": "newly discovered subtest, not yet evaluated" - }, - "evidence": "new block; 22.14.0 block_78_block_78 is now block_80_block_80 and passes" - }, - { - "file": "parallel/test-stream-pipeline.js", - "subtest": "block_80_block_80", - "entry": { - "category": "runnable" - }, - "evidence": "holds 22.14.0 block_78_block_78 (passed); passes twice" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_23_block_23", - "entry": {}, - "evidence": "new block under the node-internals file default; 22.14.0 block_23_block_23 is now block_25_block_25" - }, - { - "file": "parallel/test-util-inspect.js", - "subtest": "block_25_block_25", - "entry": { - "category": "known-gap", - "reason": "Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_23_block_23" - }, - "evidence": "holds 22.14.0 runnable block_23_block_23; fails" - }, - { - "file": "parallel/test-whatwg-readablestream.js", - "subtest": "block_71_block_71", - "entry": { - "category": "node-internals", - "reason": "requires --expose-internals and internal/webstreams/readablestream" - }, - "evidence": "holds 22.14.0 node-internals block_70_block_70" - }, - { - "file": "parallel/test-whatwg-readablestream.js", - "subtest": "block_73_block_73", - "entry": { - "category": "node-internals", - "reason": "requires --expose-internals and internal/webstreams/readablestream" - }, - "evidence": "holds 22.14.0 node-internals block_72_block_72" - }, - { - "file": "parallel/test-whatwg-writablestream.js", - "subtest": "block_08_block_08", - "entry": { - "category": "node-internals", - "reason": "requires --expose-internals and internal/worker/js_transferable" - }, - "evidence": "holds 22.14.0 node-internals block_06_block_06" - } - ] - } -} diff --git a/tests/node_compat/report.md b/tests/node_compat/report.md index f538df0db..5f70741e9 100644 --- a/tests/node_compat/report.md +++ b/tests/node_compat/report.md @@ -8,40 +8,40 @@ This report is generated from `config.jsonc` and the pinned vendored Node.js sou Primary compatibility is measured over the public API surface we can provide: CI-enforced passing (`runnable`) plus `known-gap`. WASI-impossible tests, engine differences, unevaluated tests, and Node.js-internals tests are acknowledged separately and excluded from the primary percentage. -**Primary compatibility (CI-enforced):** 2926/4467 (65.5%) +**Primary compatibility (CI-enforced):** 3158/4461 (70.8%) When comparing revisions, read the runnable count and secondary full-public percentage alongside the primary percentage. Reclassifying a test into an excluded category can increase the primary percentage without increasing runnable coverage. | Classification | Count | Primary % | Public inventory % | All listed % | |----------------|-------|-----------|--------------------|--------------| -| ✅ passing (runnable) | 2926 | 65.5% | 30.4% | 27.1% | -| 🧩 known gap | 1541 | 34.5% | 16.0% | 14.3% | +| ✅ passing (runnable) | 3158 | 70.8% | 32.8% | 29.3% | +| 🧩 known gap | 1303 | 29.2% | 13.5% | 12.1% | | 🚫 WASI-impossible (excluded) | 1148 | — | 11.9% | 10.6% | | ⚙️ engine difference (excluded) | 167 | — | 1.7% | 1.5% | -| ❔ unevaluated (excluded) | 3842 | — | 39.9% | 35.6% | -| 🔒 Node.js internals (excluded) | 1180 | — | — | 10.9% | -| **Total** | **10804** | | | **100.0%** | +| ❔ unevaluated (excluded) | 3841 | — | 39.9% | 35.6% | +| 🔒 Node.js internals (excluded) | 1177 | — | — | 10.9% | +| **Total** | **10794** | | | **100.0%** | -Secondary full-public compatibility, including public tests that are currently excluded from primary: **2926/9624 (30.4%)**. +Secondary full-public compatibility, including public tests that are currently excluded from primary: **3158/9617 (32.8%)**. ## Inventory by Module | Module | Total | Passing | Gap | WASI-impossible | Engine diff | Unevaluated | Internals | Primary % | Public compatibility % | |--------|-------|----------|-----|-----------------|-------------|-------------|-----------|-----------|--------------------| | abort | 29 | 26 | 1 | 0 | 0 | 0 | 2 | 96.3% | 96.3% | -| assert | 109 | 66 | 13 | 0 | 0 | 30 | 0 | 83.5% | 60.6% | +| assert | 109 | 78 | 1 | 0 | 0 | 30 | 0 | 98.7% | 71.6% | | async_hooks | 58 | 4 | 28 | 4 | 0 | 20 | 2 | 12.5% | 7.1% | -| blob | 47 | 37 | 3 | 0 | 0 | 4 | 3 | 92.5% | 84.1% | -| buffer | 278 | 167 | 5 | 4 | 1 | 95 | 6 | 97.1% | 61.4% | +| blob | 47 | 38 | 2 | 0 | 0 | 4 | 3 | 95.0% | 86.4% | +| buffer | 278 | 172 | 0 | 4 | 1 | 95 | 6 | 100.0% | 63.2% | | child_process | 217 | 40 | 64 | 88 | 0 | 10 | 15 | 38.5% | 19.8% | | cli | 37 | 9 | 21 | 0 | 0 | 5 | 2 | 30.0% | 25.7% | | cluster | 88 | 0 | 0 | 85 | 0 | 1 | 2 | 0.0% | 0.0% | | common | 16 | 1 | 8 | 0 | 0 | 7 | 0 | 11.1% | 6.2% | | compile | 29 | 0 | 0 | 0 | 15 | 14 | 0 | 0.0% | 0.0% | -| console | 32 | 28 | 2 | 0 | 0 | 1 | 1 | 93.3% | 90.3% | -| crypto | 398 | 162 | 53 | 7 | 0 | 169 | 7 | 75.3% | 41.4% | +| console | 32 | 29 | 1 | 0 | 0 | 1 | 1 | 96.7% | 93.5% | +| crypto | 398 | 198 | 18 | 7 | 0 | 169 | 6 | 91.7% | 50.5% | | dgram | 141 | 22 | 74 | 7 | 0 | 24 | 14 | 22.9% | 17.3% | -| diagnostics_channel | 102 | 23 | 7 | 1 | 2 | 69 | 0 | 76.7% | 22.5% | +| diagnostics_channel | 102 | 24 | 6 | 1 | 2 | 69 | 0 | 80.0% | 23.5% | | dns | 54 | 2 | 29 | 0 | 0 | 9 | 14 | 6.5% | 5.0% | | domain | 61 | 27 | 21 | 12 | 0 | 0 | 1 | 56.2% | 45.0% | | encoding | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 100.0% | 100.0% | @@ -49,21 +49,21 @@ Secondary full-public compatibility, including public tests that are currently e | eslint | 31 | 0 | 0 | 0 | 0 | 7 | 24 | 0.0% | 0.0% | | events | 96 | 59 | 2 | 0 | 0 | 3 | 32 | 96.7% | 92.2% | | fetch | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 100.0% | 100.0% | -| fs | 558 | 299 | 73 | 21 | 5 | 86 | 74 | 80.4% | 61.8% | +| fs | 558 | 326 | 46 | 21 | 5 | 86 | 74 | 87.6% | 67.4% | | global | 9 | 4 | 3 | 0 | 0 | 0 | 2 | 57.1% | 57.1% | | heap | 26 | 0 | 0 | 15 | 8 | 3 | 0 | 0.0% | 0.0% | -| http | 1019 | 231 | 280 | 301 | 2 | 129 | 76 | 45.2% | 24.5% | +| http | 1019 | 240 | 271 | 301 | 2 | 129 | 76 | 47.0% | 25.5% | | inspector | 164 | 1 | 0 | 93 | 0 | 69 | 1 | 100.0% | 0.6% | | internal | 112 | 1 | 0 | 0 | 0 | 56 | 55 | 100.0% | 1.8% | -| module | 193 | 111 | 44 | 7 | 1 | 18 | 12 | 71.6% | 61.3% | -| net | 261 | 147 | 38 | 18 | 1 | 40 | 17 | 79.5% | 60.2% | +| module | 193 | 124 | 31 | 7 | 1 | 18 | 12 | 80.0% | 68.5% | +| net | 261 | 150 | 35 | 18 | 1 | 40 | 17 | 81.1% | 61.5% | | node | 8 | 0 | 0 | 1 | 0 | 0 | 7 | 0.0% | 0.0% | | os | 8 | 5 | 0 | 0 | 0 | 2 | 1 | 100.0% | 71.4% | -| other | 2402 | 184 | 232 | 58 | 11 | 1733 | 184 | 44.2% | 8.3% | -| path | 17 | 12 | 4 | 0 | 0 | 1 | 0 | 75.0% | 70.6% | +| other | 2402 | 195 | 221 | 58 | 11 | 1733 | 184 | 46.9% | 8.8% | +| path | 17 | 16 | 0 | 0 | 0 | 1 | 0 | 100.0% | 94.1% | | perf_hooks | 123 | 4 | 28 | 1 | 0 | 88 | 2 | 12.5% | 3.3% | | permission | 162 | 4 | 40 | 9 | 2 | 105 | 2 | 9.1% | 2.5% | -| process | 118 | 42 | 34 | 4 | 0 | 26 | 12 | 55.3% | 39.6% | +| process | 118 | 44 | 34 | 4 | 0 | 26 | 10 | 56.4% | 40.7% | | promises | 24 | 4 | 11 | 0 | 7 | 2 | 0 | 26.7% | 16.7% | | querystring | 15 | 14 | 0 | 0 | 0 | 1 | 0 | 100.0% | 93.3% | | readline | 102 | 0 | 22 | 0 | 0 | 1 | 79 | 0.0% | 0.0% | @@ -71,24 +71,24 @@ Secondary full-public compatibility, including public tests that are currently e | shadow_realm | 11 | 0 | 0 | 0 | 11 | 0 | 0 | 0.0% | 0.0% | | signal | 5 | 1 | 0 | 3 | 0 | 0 | 1 | 100.0% | 25.0% | | snapshot | 61 | 0 | 0 | 0 | 57 | 4 | 0 | 0.0% | 0.0% | -| sqlite | 117 | 2 | 57 | 0 | 0 | 58 | 0 | 3.4% | 1.7% | +| sqlite | 117 | 27 | 32 | 0 | 0 | 58 | 0 | 45.8% | 23.1% | | stdio | 23 | 12 | 7 | 3 | 0 | 0 | 1 | 63.2% | 54.5% | -| stream | 872 | 679 | 37 | 2 | 0 | 113 | 41 | 94.8% | 81.7% | +| stream | 872 | 686 | 30 | 2 | 0 | 113 | 41 | 95.8% | 82.6% | | string_decoder | 5 | 3 | 0 | 0 | 0 | 2 | 0 | 100.0% | 60.0% | -| test_runner | 344 | 84 | 41 | 21 | 1 | 188 | 9 | 67.2% | 25.1% | -| timers | 112 | 45 | 6 | 0 | 0 | 20 | 41 | 88.2% | 63.4% | +| test_runner | 338 | 88 | 32 | 21 | 1 | 187 | 9 | 73.3% | 26.7% | +| timers | 111 | 47 | 3 | 0 | 0 | 20 | 41 | 94.0% | 67.1% | | tls | 264 | 4 | 7 | 177 | 0 | 65 | 11 | 36.4% | 1.6% | | trace_events | 35 | 12 | 7 | 5 | 0 | 8 | 3 | 63.2% | 37.5% | | tty | 5 | 0 | 3 | 0 | 0 | 0 | 2 | 0.0% | 0.0% | -| url | 51 | 16 | 13 | 0 | 0 | 21 | 1 | 55.2% | 32.0% | -| util | 235 | 27 | 70 | 0 | 0 | 20 | 118 | 27.8% | 23.1% | +| url | 51 | 19 | 10 | 0 | 0 | 21 | 1 | 65.5% | 38.0% | +| util | 235 | 83 | 14 | 0 | 0 | 20 | 118 | 85.6% | 70.9% | | v8 | 57 | 14 | 1 | 0 | 30 | 12 | 0 | 93.3% | 24.6% | -| vm | 173 | 68 | 44 | 3 | 13 | 45 | 0 | 60.7% | 39.3% | -| webcrypto | 175 | 43 | 22 | 1 | 0 | 62 | 47 | 66.2% | 33.6% | -| webstreams | 89 | 65 | 2 | 0 | 0 | 21 | 1 | 97.0% | 73.9% | -| whatwg | 322 | 41 | 37 | 0 | 0 | 56 | 188 | 52.6% | 30.6% | +| vm | 173 | 73 | 39 | 3 | 13 | 45 | 0 | 65.2% | 42.2% | +| webcrypto | 175 | 44 | 21 | 1 | 0 | 62 | 47 | 67.7% | 34.4% | +| webstreams | 89 | 66 | 1 | 0 | 0 | 21 | 1 | 98.5% | 75.0% | +| whatwg | 319 | 43 | 32 | 0 | 0 | 56 | 188 | 57.3% | 32.8% | | worker_threads | 202 | 25 | 29 | 127 | 0 | 13 | 8 | 46.3% | 12.9% | -| zlib | 324 | 44 | 16 | 0 | 0 | 260 | 4 | 73.3% | 13.8% | +| zlib | 324 | 45 | 15 | 0 | 0 | 260 | 4 | 75.0% | 14.1% | ## Split Test Summary @@ -109,7 +109,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-require-module-cycle-esm-esm-cjs-esm.js` | 4 | 0 | 4 | 0 | 0 | 0 | 0 | | `test-require-module-defined-esmodule.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-require-module-with-detection.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | -| `test-require-module.js` | 6 | 5 | 1 | 0 | 0 | 0 | 0 | +| `test-require-module.js` | 6 | 6 | 0 | 0 | 0 | 0 | 0 | | `test-typescript-commonjs.mjs` | 14 | 0 | 14 | 0 | 0 | 0 | 0 | | `test-typescript-eval.mjs` | 24 | 0 | 24 | 0 | 0 | 0 | 0 | | `test-typescript-module.mjs` | 10 | 0 | 10 | 0 | 0 | 0 | 0 | @@ -124,11 +124,11 @@ Secondary full-public compatibility, including public tests that are currently e | `test-assert-class-destructuring.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-assert-class.js` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | | `test-assert-deep-with-error.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | -| `test-assert-deep.js` | 54 | 30 | 9 | 0 | 0 | 15 | 0 | +| `test-assert-deep.js` | 54 | 39 | 0 | 0 | 0 | 15 | 0 | | `test-assert-fail.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | | `test-assert-if-error.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | -| `test-assert-typedarray-deepequal.js` | 3 | 2 | 1 | 0 | 0 | 0 | 0 | -| `test-assert.js` | 23 | 16 | 2 | 0 | 0 | 5 | 0 | +| `test-assert-typedarray-deepequal.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | +| `test-assert.js` | 23 | 17 | 1 | 0 | 0 | 5 | 0 | | `test-async-local-storage-isolation.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-async-local-storage-run-scope.js` | 10 | 0 | 0 | 0 | 0 | 10 | 0 | | `test-bench-cli-backpressure.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | @@ -136,7 +136,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-bench-cli-reporters.js` | 8 | 0 | 0 | 0 | 0 | 8 | 0 | | `test-bench-cli.js` | 12 | 0 | 0 | 0 | 0 | 12 | 0 | | `test-bench-run-exit-code.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | -| `test-blob.js` | 44 | 35 | 3 | 0 | 0 | 3 | 3 | +| `test-blob.js` | 44 | 36 | 2 | 0 | 0 | 3 | 3 | | `test-blocklist.js` | 63 | 17 | 0 | 0 | 0 | 46 | 0 | | `test-broadcastchannel-custom-inspect.js` | 4 | 0 | 0 | 4 | 0 | 0 | 0 | | `test-buffer-alloc-alignment.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | @@ -203,7 +203,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-crypto-async-sign-verify.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-crypto-authenticated.js` | 17 | 16 | 0 | 0 | 0 | 1 | 0 | | `test-crypto-certificate.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | -| `test-crypto-cipheriv-decipheriv.js` | 4 | 0 | 4 | 0 | 0 | 0 | 0 | +| `test-crypto-cipheriv-decipheriv.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | | `test-crypto-dh-constructor.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-crypto-dh-stateless.js` | 8 | 0 | 8 | 0 | 0 | 0 | 0 | | `test-crypto-dh.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | @@ -214,7 +214,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-crypto-hmac.js` | 10 | 8 | 0 | 0 | 0 | 2 | 0 | | `test-crypto-job-error-parity.js` | 13 | 0 | 0 | 0 | 0 | 13 | 0 | | `test-crypto-key-objects-raw.js` | 18 | 0 | 0 | 0 | 0 | 18 | 0 | -| `test-crypto-key-objects.js` | 20 | 0 | 17 | 0 | 0 | 3 | 0 | +| `test-crypto-key-objects.js` | 20 | 16 | 1 | 0 | 0 | 3 | 0 | | `test-crypto-key-store.js` | 10 | 0 | 0 | 0 | 0 | 10 | 0 | | `test-crypto-keygen-raw.js` | 12 | 0 | 0 | 0 | 0 | 12 | 0 | | `test-crypto-keygen.js` | 10 | 10 | 0 | 0 | 0 | 0 | 0 | @@ -230,7 +230,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-crypto-rsa-oaep-mgf1.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | | `test-crypto-scrypt.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | | `test-crypto-secret-keygen.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | -| `test-crypto-sign-verify.js` | 18 | 0 | 16 | 0 | 0 | 2 | 0 | +| `test-crypto-sign-verify.js` | 18 | 15 | 1 | 0 | 0 | 2 | 0 | | `test-crypto-subtle-cross-realm.js` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | | `test-crypto-x509.js` | 5 | 0 | 0 | 0 | 0 | 0 | 5 | | `test-debugger-invalid-json.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | @@ -322,7 +322,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-fastutf8stream-sync.js` | 8 | 0 | 0 | 0 | 0 | 8 | 0 | | `test-fastutf8stream-write.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | | `test-ffi-missing-build.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | -| `test-file.js` | 16 | 0 | 16 | 0 | 0 | 0 | 0 | +| `test-file.js` | 16 | 16 | 0 | 0 | 0 | 0 | 0 | | `test-filehandle-autoclose.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-find-package-json.js` | 11 | 7 | 3 | 0 | 0 | 1 | 0 | | `test-fixed-queue.js` | 3 | 0 | 0 | 0 | 0 | 0 | 3 | @@ -345,7 +345,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-fs-mkdtempDisposableSync.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-fs-opendir.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | | `test-fs-options-immutable.js` | 6 | 0 | 6 | 0 | 0 | 0 | 0 | -| `test-fs-promises.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | +| `test-fs-promises.js` | 2 | 1 | 1 | 0 | 0 | 0 | 0 | | `test-fs-promisified.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-fs-read-position-validation.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-fs-read-promises-position-validation.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | @@ -365,7 +365,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-fs-stat-abort-test.js` | 10 | 0 | 0 | 0 | 0 | 10 | 0 | | `test-fs-stat-bigint.js` | 9 | 0 | 9 | 0 | 0 | 0 | 0 | | `test-fs-stat.js` | 4 | 3 | 0 | 0 | 0 | 1 | 0 | -| `test-fs-statfs.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | +| `test-fs-statfs.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-fs-stream-construct-compat-graceful-fs.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-fs-stream-construct-compat-old-node.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-fs-stream-destroy-emit-error.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | @@ -401,13 +401,13 @@ Secondary full-public compatibility, including public tests that are currently e | `test-http-agent-keep-alive-timeout-buffer.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-http-agent-timeout.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | | `test-http-chunk-extensions-limit.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | -| `test-http-client-abort-destroy.js` | 6 | 4 | 2 | 0 | 0 | 0 | 0 | +| `test-http-client-abort-destroy.js` | 6 | 6 | 0 | 0 | 0 | 0 | 0 | | `test-http-client-abort3.js` | 2 | 0 | 0 | 2 | 0 | 0 | 0 | | `test-http-client-aborted-event.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | | `test-http-client-defaults.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-http-client-res-destroyed.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-http-dummy-characters-smuggling.js` | 2 | 1 | 1 | 0 | 0 | 0 | 0 | -| `test-http-early-hints-invalid-argument.js` | 2 | 1 | 1 | 0 | 0 | 0 | 0 | +| `test-http-early-hints-invalid-argument.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-http-early-hints.js` | 6 | 2 | 4 | 0 | 0 | 0 | 0 | | `test-http-generic-streams.js` | 5 | 0 | 0 | 5 | 0 | 0 | 0 | | `test-http-head-throw-on-response-body-write.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | @@ -424,7 +424,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-http-outgoing-proto.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-http-outgoing-renderHeaders.js` | 4 | 0 | 0 | 0 | 0 | 0 | 4 | | `test-http-outgoing-settimeout.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | -| `test-http-outgoing-writableFinished.js` | 4 | 1 | 3 | 0 | 0 | 0 | 0 | +| `test-http-outgoing-writableFinished.js` | 4 | 3 | 1 | 0 | 0 | 0 | 0 | | `test-http-parser-max-header-pairs-cache.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-http-parser.js` | 12 | 12 | 0 | 0 | 0 | 0 | 0 | | `test-http-req-res-close.js` | 3 | 1 | 0 | 0 | 0 | 0 | 2 | @@ -507,7 +507,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-net-boundsocket.js` | 17 | 0 | 0 | 0 | 0 | 17 | 0 | | `test-net-bytes-written-large.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-net-connect-custom-lookup-non-string-address.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | -| `test-net-connect-options-invalid.js` | 3 | 2 | 1 | 0 | 0 | 0 | 0 | +| `test-net-connect-options-invalid.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-net-connect-options-port.js` | 4 | 0 | 4 | 0 | 0 | 0 | 0 | | `test-net-keepalive-interval-count.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | | `test-net-negative-zero.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | @@ -668,13 +668,12 @@ Secondary full-public compatibility, including public tests that are currently e | `test-require-resolve-opts-paths-relative.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-require-resolve.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-runner-aftereach-runtime-skip.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | -| `test-runner-assert.js` | 7 | 0 | 2 | 0 | 0 | 5 | 0 | +| `test-runner-assert.js` | 7 | 1 | 1 | 0 | 0 | 5 | 0 | | `test-runner-cli-concurrency.js` | 5 | 0 | 0 | 5 | 0 | 0 | 0 | | `test-runner-cli-timeout.js` | 3 | 0 | 0 | 3 | 0 | 0 | 0 | | `test-runner-cli.js` | 13 | 0 | 0 | 11 | 0 | 2 | 0 | | `test-runner-concurrency.js` | 4 | 0 | 4 | 0 | 0 | 0 | 0 | | `test-runner-coverage.js` | 16 | 12 | 0 | 0 | 0 | 4 | 0 | -| `test-runner-custom-assertions.js` | 5 | 1 | 4 | 0 | 0 | 0 | 0 | | `test-runner-diagnostics-channel.js` | 9 | 0 | 0 | 0 | 0 | 9 | 0 | | `test-runner-error-reporter.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | | `test-runner-extraneous-async-activity.js` | 4 | 0 | 4 | 0 | 0 | 0 | 0 | @@ -682,8 +681,8 @@ Secondary full-public compatibility, including public tests that are currently e | `test-runner-get-test-context.js` | 7 | 0 | 0 | 0 | 0 | 7 | 0 | | `test-runner-inspect.mjs` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | | `test-runner-log.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | -| `test-runner-mocking.js` | 54 | 41 | 1 | 0 | 1 | 11 | 0 | -| `test-runner-module-mocking.js` | 23 | 14 | 3 | 0 | 0 | 6 | 0 | +| `test-runner-mocking.js` | 54 | 42 | 0 | 0 | 1 | 11 | 0 | +| `test-runner-module-mocking.js` | 23 | 15 | 2 | 0 | 0 | 6 | 0 | | `test-runner-no-isolation-filtering.js` | 5 | 0 | 3 | 0 | 0 | 2 | 0 | | `test-runner-no-isolation-hooks.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-runner-plan.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | @@ -696,7 +695,6 @@ Secondary full-public compatibility, including public tests that are currently e | `test-runner-tags-inheritance.mjs` | 14 | 0 | 0 | 0 | 0 | 14 | 0 | | `test-runner-tags-validation.mjs` | 16 | 0 | 0 | 0 | 0 | 16 | 0 | | `test-runner-test-filepath.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | -| `test-runner-test-fullname.js` | 3 | 0 | 2 | 0 | 0 | 1 | 0 | | `test-runner-test-rerun-failures.js` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | | `test-runner-wait-for.js` | 7 | 7 | 0 | 0 | 0 | 0 | 0 | | `test-runner-worker-id.js` | 8 | 0 | 0 | 0 | 0 | 8 | 0 | @@ -732,21 +730,21 @@ Secondary full-public compatibility, including public tests that are currently e | `test-sqlite-authz.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-sqlite-backup.mjs` | 15 | 0 | 0 | 0 | 0 | 15 | 0 | | `test-sqlite-config.js` | 9 | 0 | 0 | 0 | 0 | 9 | 0 | -| `test-sqlite-database.js` | 8 | 0 | 8 | 0 | 0 | 0 | 0 | -| `test-sqlite-named-parameters.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | +| `test-sqlite-database.js` | 8 | 3 | 5 | 0 | 0 | 0 | 0 | +| `test-sqlite-named-parameters.js` | 3 | 1 | 2 | 0 | 0 | 0 | 0 | | `test-sqlite-options-getter-reentry.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-sqlite-serialize.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | -| `test-sqlite-session.js` | 28 | 0 | 14 | 0 | 0 | 14 | 0 | -| `test-sqlite-statement.js` | 22 | 1 | 21 | 0 | 0 | 0 | 0 | +| `test-sqlite-session.js` | 28 | 13 | 1 | 0 | 0 | 14 | 0 | +| `test-sqlite-statement.js` | 22 | 4 | 18 | 0 | 0 | 0 | 0 | | `test-sqlite-template-tag.js` | 18 | 0 | 0 | 0 | 0 | 18 | 0 | | `test-sqlite-timeout.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | -| `test-sqlite-typed-array-and-data-view.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | -| `test-sqlite.js` | 9 | 1 | 5 | 0 | 0 | 3 | 0 | +| `test-sqlite-typed-array-and-data-view.js` | 2 | 1 | 1 | 0 | 0 | 0 | 0 | +| `test-sqlite.js` | 9 | 4 | 2 | 0 | 0 | 3 | 0 | | `test-startup-empty-regexp-statics.js` | 3 | 0 | 0 | 0 | 3 | 0 | 0 | | `test-stream-add-abort-signal.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | | `test-stream-auto-destroy.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | | `test-stream-catch-rejections.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | -| `test-stream-compose.js` | 23 | 20 | 2 | 0 | 0 | 1 | 0 | +| `test-stream-compose.js` | 23 | 21 | 1 | 0 | 0 | 1 | 0 | | `test-stream-construct.js` | 12 | 12 | 0 | 0 | 0 | 0 | 0 | | `test-stream-consumers.js` | 18 | 16 | 0 | 0 | 0 | 2 | 0 | | `test-stream-destroy.js` | 7 | 6 | 0 | 0 | 0 | 1 | 0 | @@ -762,7 +760,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-stream-error-once.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-stream-event-names.js` | 6 | 6 | 0 | 0 | 0 | 0 | 0 | | `test-stream-filter.js` | 12 | 12 | 0 | 0 | 0 | 0 | 0 | -| `test-stream-finished.js` | 43 | 0 | 8 | 0 | 0 | 1 | 34 | +| `test-stream-finished.js` | 43 | 1 | 7 | 0 | 0 | 1 | 34 | | `test-stream-flatMap.js` | 8 | 8 | 0 | 0 | 0 | 0 | 0 | | `test-stream-forEach.js` | 11 | 11 | 0 | 0 | 0 | 0 | 0 | | `test-stream-iter-validation.js` | 19 | 0 | 0 | 0 | 0 | 19 | 0 | @@ -779,7 +777,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-stream-promises.js` | 9 | 9 | 0 | 0 | 0 | 0 | 0 | | `test-stream-readable-aborted.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | | `test-stream-readable-async-iterators.js` | 17 | 0 | 7 | 0 | 0 | 10 | 0 | -| `test-stream-readable-compose.js` | 10 | 9 | 1 | 0 | 0 | 0 | 0 | +| `test-stream-readable-compose.js` | 10 | 10 | 0 | 0 | 0 | 0 | 0 | | `test-stream-readable-default-encoding.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-stream-readable-destroy.js` | 23 | 23 | 0 | 0 | 0 | 0 | 0 | | `test-stream-readable-didRead.js` | 6 | 6 | 0 | 0 | 0 | 0 | 0 | @@ -794,7 +792,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-stream-readable-resumeScheduled.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-stream-readable-setEncoding-existing-buffers.js` | 5 | 3 | 0 | 0 | 0 | 2 | 0 | | `test-stream-readable-strategy-option.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | -| `test-stream-readable-to-web-termination.js` | 3 | 2 | 1 | 0 | 0 | 0 | 0 | +| `test-stream-readable-to-web-termination.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-stream-readable-unobserved-eof-readable.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | | `test-stream-readable-unshift.js` | 7 | 7 | 0 | 0 | 0 | 0 | 0 | | `test-stream-reduce.js` | 8 | 7 | 1 | 0 | 0 | 0 | 0 | @@ -829,12 +827,11 @@ Secondary full-public compatibility, including public tests that are currently e | `test-string-decoder-utf8-large.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-stringbytes-external.js` | 3 | 0 | 0 | 0 | 3 | 0 | 0 | | `test-structuredClone-domexception.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | -| `test-structuredClone-global.js` | 22 | 8 | 4 | 0 | 0 | 9 | 1 | +| `test-structuredClone-global.js` | 22 | 11 | 1 | 0 | 0 | 9 | 1 | | `test-tick-processor-version-check.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | | `test-timers-async-store-leak.js` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | | `test-timers-immediate-promisified.js` | 8 | 0 | 0 | 0 | 0 | 0 | 8 | | `test-timers-interval-promisified.js` | 12 | 0 | 0 | 0 | 0 | 0 | 12 | -| `test-timers-max-duration-warning.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | | `test-timers-nan-duration-emit-once-per-process.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-timers-negative-duration-warning-emit-once-per-process.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-timers-not-emit-duration-zero.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | @@ -870,7 +867,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-util-getcallsites.js` | 10 | 8 | 1 | 0 | 0 | 1 | 0 | | `test-util-inspect-getters-accessing-this.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-util-inspect-proxy.js` | 2 | 0 | 0 | 0 | 0 | 0 | 2 | -| `test-util-inspect.js` | 116 | 0 | 55 | 0 | 0 | 0 | 61 | +| `test-util-inspect.js` | 116 | 52 | 3 | 0 | 0 | 0 | 61 | | `test-util-isPartialDeepStrictEqual.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-util-promisify.js` | 19 | 0 | 0 | 0 | 0 | 0 | 19 | | `test-util-text-decoder.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | @@ -948,7 +945,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-vm-codegen.js` | 3 | 0 | 3 | 0 | 0 | 0 | 0 | | `test-vm-context-dont-contextify.js` | 8 | 0 | 8 | 0 | 0 | 0 | 0 | | `test-vm-measure-memory-lazy.js` | 4 | 0 | 0 | 0 | 4 | 0 | 0 | -| `test-vm-module-basic.js` | 13 | 8 | 5 | 0 | 0 | 0 | 0 | +| `test-vm-module-basic.js` | 13 | 10 | 3 | 0 | 0 | 0 | 0 | | `test-vm-module-evaluate-source-text-module.js` | 5 | 0 | 0 | 0 | 0 | 5 | 0 | | `test-vm-module-evaluate-synthethic-module.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-vm-module-evaluate-while-evaluating.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | @@ -971,11 +968,11 @@ Secondary full-public compatibility, including public tests that are currently e | `test-webcrypto-export-import.js` | 7 | 5 | 0 | 0 | 0 | 2 | 0 | | `test-webcrypto-keygen.js` | 9 | 0 | 0 | 0 | 0 | 0 | 9 | | `test-webcrypto-prototype-pollution.mjs` | 11 | 0 | 0 | 0 | 0 | 11 | 0 | -| `test-webcrypto-random.js` | 4 | 3 | 1 | 0 | 0 | 0 | 0 | +| `test-webcrypto-random.js` | 4 | 4 | 0 | 0 | 0 | 0 | 0 | | `test-webcrypto-sign-verify.js` | 5 | 5 | 0 | 0 | 0 | 0 | 0 | | `test-webcrypto-util.js` | 5 | 0 | 0 | 0 | 0 | 0 | 5 | | `test-webcrypto-webidl.js` | 31 | 0 | 0 | 0 | 0 | 0 | 31 | -| `test-webstorage.js` | 11 | 0 | 6 | 0 | 0 | 5 | 0 | +| `test-webstorage.js` | 11 | 1 | 5 | 0 | 0 | 5 | 0 | | `test-webstreams-abort-controller.js` | 6 | 6 | 0 | 0 | 0 | 0 | 0 | | `test-webstreams-adapters-sync-write-error.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-webstreams-adapters-writable-buffer-sources.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | @@ -994,13 +991,12 @@ Secondary full-public compatibility, including public tests that are currently e | `test-whatwg-events-add-event-listener-options-signal.js` | 10 | 10 | 0 | 0 | 0 | 0 | 0 | | `test-whatwg-events-customevent.js` | 3 | 3 | 0 | 0 | 0 | 0 | 0 | | `test-whatwg-headers.js` | 19 | 0 | 0 | 0 | 0 | 19 | 0 | -| `test-whatwg-readablebytestream-bad-buffers-and-views.js` | 4 | 0 | 4 | 0 | 0 | 0 | 0 | | `test-whatwg-readablebytestream.js` | 11 | 0 | 0 | 0 | 0 | 0 | 11 | | `test-whatwg-readablestream.js` | 83 | 0 | 0 | 0 | 0 | 0 | 83 | | `test-whatwg-readablestream.mjs` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-whatwg-transformstream-parked-write-error.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-whatwg-transformstream.js` | 7 | 0 | 0 | 0 | 0 | 0 | 7 | -| `test-whatwg-url-custom-searchparams-constructor.js` | 2 | 1 | 1 | 0 | 0 | 0 | 0 | +| `test-whatwg-url-custom-searchparams-constructor.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-whatwg-url-custom-searchparams-delete.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-whatwg-url-custom-searchparams-stringifier.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-whatwg-url-custom-setters.js` | 2 | 0 | 2 | 0 | 0 | 0 | 0 | @@ -1094,28 +1090,21 @@ Secondary full-public compatibility, including public tests that are currently e ## Classified Non-Runnable Tests -### known gap (1541) +### known gap (1303) | Reason | Count | Example entries | |--------|-------|-----------------| | node:http2 public API is a stub in WebAssembly runtime | 106 | `parallel/test-http2-head-request.js`, `parallel/test-http2-info-headers.js`, `parallel/test-http2-invalidargtypes-errors.js`, ... (+103) | -| Node 26.13.1 baseline gap: Expected values to be strictly equal: | 64 | `es-module/test-require-module-twice.js`, `es-module/test-require-module.js#block_02_test_esm_that_import_cjs`, `parallel/test-console.js`, ... (+61) | +| Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet | 30 | `parallel/test-sqlite-custom-functions.js`, `parallel/test-sqlite-data-types.js`, `parallel/test-sqlite-database.js#test_00_database_constructor`, ... (+27) | | requires isolated process.execPath TypeScript entry execution and Node CLI flags; the direct process.features check requires a separate feature-disabled component | 30 | `es-module/test-typescript.mjs#test_00_expect_process_features_typescript_to_be_false_when_no_exper`, `es-module/test-typescript.mjs#test_01_execute_a_typescript_file`, `es-module/test-typescript.mjs#test_02_execute_a_typescript_file_with_imports`, ... (+27) | | requires simulated process.execPath / Node CLI mode support deferred to follow-up PR | 29 | `es-module/test-esm-cjs-load-error-note.mjs`, `es-module/test-esm-detect-ambiguous.mjs#test_00_module_syntax_detection`, `es-module/test-esm-detect-ambiguous.mjs#test_01_wrapping_a_require_of_an_es_module_while_using_abort_on_unca`, ... (+26) | -| Node 26.13.1 baseline gap: Failed to export key | 26 | `parallel/test-crypto-key-objects.js#block_00_block_00`, `parallel/test-crypto-key-objects.js#block_01_block_01`, `parallel/test-crypto-key-objects.js#block_02_block_02`, ... (+23) | -| Node 26.13.1 baseline gap: not a function | 25 | `parallel/test-sqlite-session.js#test_00_creating_and_applying_a_changeset`, `parallel/test-sqlite-session.js#test_01_database_createsession_closed_database_results_in_exception`, `parallel/test-sqlite-session.js#test_02_session_changeset_closed_database_results_in_exception`, ... (+22) | | requires isolated process.execPath --eval execution, TypeScript input-type flags, and child warning/output/exit capture | 24 | `es-module/test-typescript-eval.mjs#test_00_eval_typescript_esm_syntax`, `es-module/test-typescript-eval.mjs#test_01_eval_typescript_esm_syntax_with_input_type_module`, `es-module/test-typescript-eval.mjs#test_02_eval_typescript_commonjs_syntax`, ... (+21) | | requires isolated process.execPath TypeScript entry execution and Node CLI default-module / require-module flag handling | 24 | `es-module/test-typescript-commonjs.mjs#test_00_require_a_ts_file_with_explicit_extension_succeeds`, `es-module/test-typescript-commonjs.mjs#test_01_eval_require_a_ts_file_with_implicit_extension_fails`, `es-module/test-typescript-commonjs.mjs#test_02_eval_require_a_cts_file_with_implicit_extension_fails`, ... (+21) | -| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected values to be strictly | 23 | `es-module/test-esm-import-attributes-errors.js`, `es-module/test-require-module-cached-tla.js`, `es-module/test-require-module-dynamic-import-1.js`, ... (+20) | | stream edge case not yet handled | 22 | `parallel/test-stream-compose.js#block_17_block_17`, `parallel/test-stream-drop-take.js#block_01_don_t_wait_for_next_item_in_the_original_stream_when_already`, `parallel/test-stream-duplex-from.js#block_17_block_17`, ... (+19) | -| Node 26.13.1 baseline gap: Expected values to be strictly deep-equal: | 19 | `es-module/test-esm-import-attributes-errors.mjs`, `es-module/test-esm-import-meta.mjs`, `es-module/test-require-module-error-catching.js`, ... (+16) | -| Node 26.13.1 baseline gap: mustCall verification failed: | 19 | `parallel/test-domain-with-abort-on-uncaught-exception.js`, `parallel/test-fs-watch-recursive-watch-file.js`, `parallel/test-http-outgoing-writableFinished.js#block_01_finish_the_end_callback_receives_the_write_error_instead`, ... (+16) | | process.permission and --permission CLI semantics are incomplete in execPath emulation | 19 | `parallel/test-cli-permission-deny-fs.js#block_00_block_00`, `parallel/test-cli-permission-deny-fs.js#block_01_block_01`, `parallel/test-cli-permission-deny-fs.js#block_02_block_02`, ... (+16) | | wasi:sockets UDP implementation crashes in wasmtime | 14 | `parallel/test-dgram-connect-send-callback-buffer.js`, `parallel/test-dgram-connect-send-callback-multi-buffer.js`, `parallel/test-dgram-connect-send-default-host.js`, ... (+11) | -| Node 26.13.1 baseline gap: Missing expected exception. | 13 | `parallel/test-assert-deep.js#test_02_date`, `parallel/test-assert-deep.js#test_03_regexp`, `parallel/test-assert-deep.js#test_07_gh_14441_circular_structures_should_be_consistent`, ... (+10) | | domain module depends on async_hooks, not fully working | 13 | `parallel/test-domain-promise.js#block_00_block_00`, `parallel/test-domain-promise.js#block_01_block_01`, `parallel/test-domain-promise.js#block_03_block_03`, ... (+10) | | the shared fixture creates rooted symlink targets that cannot be resolved inside a WASI preopen | 13 | `sequential/test-fs-opendir-recursive.js#block_00_block_00`, `sequential/test-fs-opendir-recursive.js#block_01_block_01`, `sequential/test-fs-opendir-recursive.js#block_02_block_02`, ... (+10) | -| Node 26.13.1 baseline gap: Missing expected exception (TypeError). | 12 | `parallel/test-buffer-pool-untransferable.js`, `parallel/test-crypto-dh-stateless.js#block_00_block_00`, `parallel/test-crypto-dh-stateless.js#block_01_block_01`, ... (+9) | | inherited: process.permission and --permission CLI semantics are incomplete in execPath emulation | 12 | `parallel/test-permission-allow-child-process-cli.js#block_00_guarantee_the_initial_state`, `parallel/test-permission-allow-child-process-cli.js#block_01_to_spawn_unless_allow_child_process_is_sent`, `parallel/test-permission-allow-wasi-cli.js#block_00_guarantee_the_initial_state`, ... (+9) | | node:readline module is not yet supported in WebAssembly environment | 12 | `parallel/test-readline-keys.js`, `parallel/test-readline-position.js`, `parallel/test-readline-reopen.js`, ... (+9) | | inherited: dns.getServers()/setServers default-server behavior and validation are not Node-compatible | 11 | `parallel/test-dns.js#block_00_verify_that_setservers_handles_arrays_with_holes_and_other_o`, `parallel/test-dns.js#block_01_block_01`, `parallel/test-dns.js#block_02_block_02`, ... (+8) | @@ -1123,18 +1112,17 @@ Secondary full-public compatibility, including public tests that are currently e | remaining failures run through spawnSync(process.execPath, ...) and assert exact child-process status/stderr cycle diagnostics; direct node modules app same-process module graph coverage lives in tests/node_modules_apps | 11 | `es-module/test-require-module-cycle-esm-cjs-esm-esm.js#block_00_a_mjs_b_cjs_c_mjs_a_mjs`, `es-module/test-require-module-cycle-esm-cjs-esm-esm.js#block_01_b_cjs_c_mjs_a_mjs_b_cjs`, `es-module/test-require-module-cycle-esm-cjs-esm-esm.js#block_02_c_mjs_a_mjs_b_cjs_c_mjs`, ... (+8) | | rooted symlink targets cannot be resolved inside a WASI preopen; the adapter rejects them at creation, while persistent relative symlinks are covered by runtime tests | 11 | `es-module/test-esm-preserve-symlinks-main.js`, `es-module/test-esm-preserve-symlinks.js`, `es-module/test-esm-symlink-main.js`, ... (+8) | | wasi:sockets UDP implementation hangs in wasmtime | 11 | `parallel/test-dgram-implicit-bind.js`, `parallel/test-dgram-multicast-set-interface.js#block_00_block_00`, `parallel/test-dgram-multicast-set-interface.js#block_02_block_02`, ... (+8) | -| Node 26.13.1 baseline gap: 2 test(s) failed | 10 | `parallel/test-sqlite-database.js#test_02_database_prototype_close`, `parallel/test-sqlite-database.js#test_07_database_prototype_symbol_dispose`, `parallel/test-sqlite-statement.js#test_05_statement_prototype_sourcesql`, ... (+7) | | dgram multicast membership APIs are not implemented (ENOSYS) | 10 | `parallel/test-dgram-membership.js#block_02_addmembership_with_no_argument_should_throw`, `parallel/test-dgram-membership.js#block_03_dropmembership_with_no_argument_should_throw`, `parallel/test-dgram-membership.js#block_04_addmembership_with_invalid_multicast_address_should_throw`, ... (+7) | +| zlib zstd compression APIs (zstdCompress, ZstdCompress) are not implemented | 10 | `parallel/test-zlib-convenience-methods.js`, `parallel/test-zlib-empty-buffer.js`, `parallel/test-zlib-random-byte-pipes.js`, ... (+7) | | async_hooks not fully implemented | 9 | `parallel/test-async-hooks-destroy-on-gc.js`, `parallel/test-async-hooks-disable-during-promise.js`, `parallel/test-async-hooks-disable-gc-tracking.js`, ... (+6) | | net.js TCP implementation incomplete - needs event handling and API fixes | 9 | `parallel/test-net-connect-nodelay.js`, `parallel/test-net-connect-paused-connection.js`, `parallel/test-net-during-close.js`, ... (+6) | | spawn() AbortSignal handling is incomplete (exit code/signal/error semantics differ from Node) | 9 | `parallel/test-child-process-spawn-controller.js#block_00_block_00`, `parallel/test-child-process-spawn-controller.js#block_01_block_01`, `parallel/test-child-process-spawn-controller.js#block_02_block_02`, ... (+6) | | spawnSync() returns ENOSYS for non-execPath commands; Node expects ENOENT after option validation | 9 | `parallel/test-child-process-spawnsync-validation-errors.js#block_00_block_00`, `parallel/test-child-process-spawnsync-validation-errors.js#block_01_block_01`, `parallel/test-child-process-spawnsync-validation-errors.js#block_02_block_02`, ... (+6) | | the split fixture creates rooted symlink targets before the isolated stat subtests; those targets cannot be resolved inside a WASI preopen | 9 | `parallel/test-fs-stat-bigint.js#block_00_block_00`, `parallel/test-fs-stat-bigint.js#block_01_block_01`, `parallel/test-fs-stat-bigint.js#block_02_block_02`, ... (+6) | | util.format output formatting differences | 9 | `parallel/test-util-format.js#block_00_block_00`, `parallel/test-util-format.js#block_01_string_format_specifier_including_tostring_properties_on_the`, `parallel/test-util-format.js#block_02_symbol_toprimitive_handling_for_string_format_specifier`, ... (+6) | +| Node 26.13.1 crypto.diffieHellman() key-type and option validation is not met yet; open DH coverage obligation from the 22.14.0 baseline | 8 | `parallel/test-crypto-dh-stateless.js#block_00_block_00`, `parallel/test-crypto-dh-stateless.js#block_01_block_01`, `parallel/test-crypto-dh-stateless.js#block_02_block_02`, ... (+5) | | Readable.prototype.drop.length is 2 instead of Node's 1; later iterator-helper assertions are not reached | 8 | `parallel/test-stream-iterator-helpers-test262-tests.mjs#block_00_that_happen_before_stream_conversion_were_not_ported`, `parallel/test-stream-iterator-helpers-test262-tests.mjs#block_01_block_01`, `parallel/test-stream-iterator-helpers-test262-tests.mjs#block_02_block_02`, ... (+5) | | vm.constants.DONT_CONTEXTIFY and vanilla-context behavior are not implemented | 8 | `parallel/test-vm-context-dont-contextify.js#block_00_block_00`, `parallel/test-vm-context-dont-contextify.js#block_01_block_01`, `parallel/test-vm-context-dont-contextify.js#block_02_block_02`, ... (+5) | -| Node 26.13.1 baseline gap: 4 test(s) failed | 6 | `parallel/test-sqlite-named-parameters.js#test_00_named_parameters`, `parallel/test-sqlite-statement.js#test_15_options_readbigints`, `parallel/test-sqlite-statement.js#test_17_options_allowbarenamedparameters`, ... (+3) | -| Node 26.13.1 baseline gap: Test timed out after 120s | 6 | `parallel/test-fs-promises-watch.js`, `parallel/test-http-client-abort-destroy.js#block_03_block_03`, `parallel/test-http-client-abort-destroy.js#block_04_block_04`, ... (+3) | | WebAssembly global is missing in current runtime | 6 | `es-module/test-wasm-memory-out-of-bound.js`, `es-module/test-wasm-simple.js`, `es-module/test-wasm-web-api.js`, ... (+3) | | all assertions are gated by common.hasIntl; URL-only IDNA formatting is covered by focused runtime tests while the broader Intl API remains unavailable | 6 | `parallel/test-url-format-whatwg.js#test_00_should_format`, `parallel/test-url-format-whatwg.js#test_01_handle_invalid_arguments`, `parallel/test-url-format-whatwg.js#test_02_any_falsy_value_other_than_undefined_will_be_treated_as_fals`, ... (+3) | | fork() AbortSignal handling is incomplete (exit code/signal/error semantics differ from Node) | 6 | `parallel/test-child-process-fork-abort-signal.js#block_00_block_00`, `parallel/test-child-process-fork-abort-signal.js#block_01_block_01`, `parallel/test-child-process-fork-abort-signal.js#block_02_block_02`, ... (+3) | @@ -1142,7 +1130,6 @@ Secondary full-public compatibility, including public tests that are currently e | inherited: perf_hooks createHistogram/monitorEventLoopDelay are not implemented | 6 | `parallel/test-perf-hooks-histogram.js#block_00_block_00`, `parallel/test-perf-hooks-histogram.js#block_01_block_01`, `parallel/test-perf-hooks-histogram.js#block_02_block_02`, ... (+3) | | same-process import.meta.resolve behavior is covered by runtime tests; remaining vendored failure requires child_process execPath emulation for --input-type/--import ESM CLI modes | 6 | `es-module/test-esm-import-meta-resolve.mjs#block_00_block_00`, `es-module/test-esm-import-meta-resolve.mjs#block_01_block_01`, `es-module/test-esm-import-meta-resolve.mjs#block_02_block_02`, ... (+3) | | the test's meaningful body requires rooted symlink targets; common.canCreateSymLink skips it under the supported relative-only WASI boundary | 6 | `parallel/test-fs-options-immutable.js#block_00_block_00`, `parallel/test-fs-options-immutable.js#block_01_block_01`, `parallel/test-fs-options-immutable.js#block_02_block_02`, ... (+3) | -| Node 26.13.1 baseline gap: 5 test(s) failed | 5 | `parallel/test-sqlite-database.js#test_03_database_prototype_prepare`, `parallel/test-sqlite-database.js#test_04_database_prototype_exec`, `parallel/test-sqlite-database.js#test_06_database_prototype_location`, ... (+2) | | common-shim spawnPromisified child emulation does not support --experimental-webstorage/--localstorage-file flags | 5 | `parallel/test-webstorage.js#test_00_storage_instances_cannot_be_created_in_userland`, `parallel/test-webstorage.js#test_02_sessionstorage_is_not_persisted`, `parallel/test-webstorage.js#test_05_localstorage_is_not_persisted_if_it_is_unused`, ... (+2) | | inherited: buffer.transcode and ICU transcoding are not implemented | 5 | `parallel/test-icu-transcode.js#block_00_block_00`, `parallel/test-icu-transcode.js#block_01_block_01`, `parallel/test-icu-transcode.js#block_02_test_that_uint8array_arguments_are_okay`, ... (+2) | | inherited: perf_hooks PerformanceResourceTiming/markResourceTiming behavior is incomplete | 5 | `parallel/test-perf-hooks-resourcetiming.js#block_00_performanceresourcetiming_should_not_be_initialized_external`, `parallel/test-perf-hooks-resourcetiming.js#block_01_using_performance_getentries`, `parallel/test-perf-hooks-resourcetiming.js#block_02_default_values`, ... (+2) | @@ -1152,9 +1139,6 @@ Secondary full-public compatibility, including public tests that are currently e | requires simulated process.execPath / Node CLI module_timer and trace-event support | 5 | `parallel/test-module-print-timing.mjs#test_00_should_print_the_timing_information_for_cjs`, `parallel/test-module-print-timing.mjs#test_01_should_write_tracing_information_for_cjs`, `parallel/test-module-print-timing.mjs#test_02_should_write_tracing_print_logs_for_cjs`, ... (+2) | | util.getSystemErrorName is unavailable | 5 | `parallel/test-child-process-execfilesync-maxbuf.js#block_00_verify_that_an_error_is_returned_if_maxbuffer_is_surpassed`, `parallel/test-child-process-execfilesync-maxbuf.js#block_02_default_maxbuffer_size_is_1024_1024`, `parallel/test-child-process-spawnsync-maxbuf.js#block_00_verify_that_an_error_is_returned_if_maxbuffer_is_surpassed`, ... (+2) | | IPv6 sockets are not available in this runtime (common.hasIPv6=false) | 4 | `parallel/test-dgram-ipv6only.js`, `parallel/test-dgram-udp6-link-local-address.js`, `parallel/test-dgram-udp6-send-default-host.js`, ... (+1) | -| Node 26.13.1 baseline gap: 3 test(s) failed | 4 | `parallel/test-sqlite-database.js#test_01_database_prototype_open`, `parallel/test-sqlite-database.js#test_05_database_prototype_istransaction`, `parallel/test-sqlite-named-parameters.js#test_01_statement_prototype_setallowunknownnamedparameters`, ... (+1) | -| Node 26.13.1 baseline gap: 7 test(s) failed | 4 | `parallel/test-sqlite-data-types.js`, `parallel/test-sqlite-statement.js#test_01_statement_prototype_get`, `parallel/test-sqlite-statement.js#test_04_statement_prototype_run`, ... (+1) | -| Node 26.13.1 baseline gap: Expected values to be strictly deep-equal:; carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09) | 4 | `es-module/test-require-module-tla-nested.js`, `es-module/test-require-module-tla-rejected.js`, `es-module/test-require-module-tla-resolved.js`, ... (+1) | | WASM child emulation does not support Node.js --test CLI output behavior | 4 | `parallel/test-runner-extraneous-async-activity.js#block_00_block_00`, `parallel/test-runner-extraneous-async-activity.js#block_01_block_01`, `parallel/test-runner-extraneous-async-activity.js#block_02_block_02`, ... (+1) | | inherited: --frozen-intrinsics flag semantics are not implemented | 4 | `parallel/test-freeze-intrinsics.js#block_00_ensure_we_can_extend_console`, `parallel/test-freeze-intrinsics.js#block_01_ensure_we_can_write_override_object_prototype_properties_on_`, `parallel/test-freeze-intrinsics.js#block_02_ensure_we_can_not_override_globalthis`, ... (+1) | | inherited: common-shim mustCall()/mustCallAtLeast() argument validation differs from Node's test harness | 4 | `parallel/test-common.js#block_00_test_for_leaked_global_detection`, `parallel/test-common.js#block_01_test_for_disabling_leaked_global_detection`, `parallel/test-common.js#block_02_test_tmpdir`, ... (+1) | @@ -1199,14 +1183,6 @@ Secondary full-public compatibility, including public tests that are currently e | DSA keygen currently supports only modern key sizes; legacy 512-bit variant fails | 2 | `parallel/test-crypto-keygen-async-dsa-key-object.js`, `parallel/test-crypto-keygen-async-dsa.js` | | HTTP keep-alive socket identity reuse across sequential requests is not implemented | 2 | `parallel/test-http-keepalive-client.js`, `parallel/test-http-keepalive-request.js` | | IncomingMessage 'aborted' event is not emitted when the server destroys a keep-alive response | 2 | `parallel/test-http-client-aborted-event.js#block_00_block_00`, `parallel/test-http-client-aborted-event.js#block_01_block_01` | -| Node 26.13.1 baseline gap: - stderr did not match expectation, checker throws:; carries 22.14.0 es-module/test-require-module-tla.js (upstream 8d10bc7b09) | 2 | `es-module/test-require-module-tla-execution.js`, `es-module/test-require-module-tla-print-execution.js` | -| Node 26.13.1 baseline gap: 10 test(s) failed | 2 | `parallel/test-sqlite-custom-functions.js`, `parallel/test-sqlite-statement.js#test_03_statement_prototype_iterate` | -| Node 26.13.1 baseline gap: 6 test(s) failed | 2 | `parallel/test-sqlite-statement.js#test_02_statement_prototype_all`, `parallel/test-sqlite-statement.js#test_16_options_returnarrays` | -| Node 26.13.1 baseline gap: Cannot perform operation on a detached ArrayBuffer | 2 | `parallel/test-buffer-isascii.js`, `parallel/test-buffer-isutf8.js` | -| Node 26.13.1 baseline gap: Expected values to be loosely deep-equal: | 2 | `parallel/test-assert-deep.js#test_19_additional_tests`, `parallel/test-assert-typedarray-deepequal.js#test_01_looseequalarraypairs` | -| Node 26.13.1 baseline gap: The expression evaluated to a falsy value: | 2 | `parallel/test-fs-statfs.js#block_00_synchronous`, `parallel/test-fs-statfs.js#block_01_synchronous_bigint` | -| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): TypeError: Invalid module "#/foo" is not a val | 2 | `es-module/test-esm-imports-deprecations.mjs`, `es-module/test-esm-imports.mjs` | -| Node 26.13.1 baseline gap: Unhandled promise rejection: AssertionError: Expected values to be strictly deep-equal: | 2 | `es-module/test-esm-exports-deprecations.mjs`, `es-module/test-esm-exports.mjs` | | TextDecoderStream invalid-encoding errors are not Node-compatible yet | 2 | `parallel/test-whatwg-webstreams-encoding.js#block_00_block_00`, `parallel/test-whatwg-webstreams-encoding.js#block_01_block_01` | | WASM child emulation does not support Node.js --test CLI reporter execution | 2 | `parallel/test-runner-error-reporter.js#test_00_all_tests_failures_reported_without_fail_fast_flag`, `parallel/test-runner-error-reporter.js#test_01_fail_fast_stops_test_execution_after_first_failure` | | async_hooks createHook callback validation is incomplete | 2 | `parallel/test-async-hooks-constructor.js`, `parallel/test-async-wrap-constructor.js` | @@ -1341,48 +1317,12 @@ Secondary full-public compatibility, including public tests that are currently e | MessagePort util.inspect output/shape is not Node-compatible | 1 | `parallel/test-worker-message-port-inspect-during-init-hook.js` | | NODE_OPTIONS behavior via --env-file is incomplete in execPath child emulation | 1 | `parallel/test-dotenv-node-options.js` | | NODE_V8_COVERAGE warning behavior in child_process execPath emulation is incomplete | 1 | `parallel/test-coverage-with-inspector-disabled.js` | -| Node 26.13.1 baseline gap: - process terminated with status 1, expected 0 | 1 | `parallel/test-npm-install.js` | -| Node 26.13.1 baseline gap: 10 test(s) failed; carries 22.14.0 subtest test_05_math_functions_are_enabled | 1 | `parallel/test-sqlite.js#test_08_sql_apis_enabled_at_build_time` | -| Node 26.13.1 baseline gap: 12 test(s) failed | 1 | `parallel/test-sqlite-typed-array-and-data-view.js#test_00_statement_with_typedarray_dataview` | -| Node 26.13.1 baseline gap: 2 test(s) failed; carries 22.14.0 parallel/test-assert-objects.js (upstream 096b61131a) | 1 | `parallel/test-assert-partial-deep-equal.js` | -| Node 26.13.1 baseline gap: 26 test(s) failed | 1 | `parallel/test-sqlite-database.js#test_00_database_constructor` | -| Node 26.13.1 baseline gap: 7 test(s) failed; carries 22.14.0 parallel/test-sqlite-database-sync.js (upstream f2b698f1cf); parallel/test-sqlite-statement-sync.js (upstream f2b698f1cf) | 1 | `parallel/test-sqlite-statement-columns.js` | -| Node 26.13.1 baseline gap: 8 test(s) failed | 1 | `parallel/test-sqlite-statement.js#test_08_statement_prototype_resetstats` | -| Node 26.13.1 baseline gap: Cannot find module 'internal/streams/end-of-stream'; carries 22.14.0 subtest block_39_block_39 | 1 | `parallel/test-stream-finished.js#block_40_block_40` | -| Node 26.13.1 baseline gap: Conversion from string failed: invalid utf-8 sequence of 1 bytes from index 300 | 1 | `parallel/test-buffer-bytelength.js` | -| Node 26.13.1 baseline gap: ERR_INVALID_FILE_URL_PATH has no err.input URL; the historical code assertion passes; carries 22.14.0 parallel/test-url-fileurltopath.js subtest test_03_fileurltopath_with_invalid_path | 1 | `parallel/test-url-invalid-file-url-path-input.js` | -| Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_23_block_23 | 1 | `parallel/test-util-inspect.js#block_25_block_25` | -| Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_63_block_63 | 1 | `parallel/test-util-inspect.js#block_65_block_65` | -| Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_77_block_77 | 1 | `parallel/test-util-inspect.js#block_85_block_85` | -| Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_91_block_91 | 1 | `parallel/test-util-inspect.js#block_101_block_101` | -| Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_95_block_95 | 1 | `parallel/test-util-inspect.js#block_106_block_106` | -| Node 26.13.1 baseline gap: Expected values to be strictly equal:; carries 22.14.0 subtest block_98_block_98 | 1 | `parallel/test-util-inspect.js#block_109_block_109` | -| Node 26.13.1 baseline gap: Failed to export key; carries 22.14.0 subtest block_09_block_09 | 1 | `parallel/test-crypto-key-objects.js#block_10_block_10` | -| Node 26.13.1 baseline gap: Failed to export key; carries 22.14.0 subtest block_12_block_12 | 1 | `parallel/test-crypto-key-objects.js#block_13_block_13` | -| Node 26.13.1 baseline gap: Failed to export key; carries 22.14.0 subtest block_15_block_15 | 1 | `parallel/test-crypto-key-objects.js#block_16_block_16` | -| Node 26.13.1 baseline gap: Failed to export key; carries 22.14.0 subtest block_17_block_17 | 1 | `parallel/test-crypto-sign-verify.js#block_15_block_15` | -| Node 26.13.1 baseline gap: Missing expected exception.; the runnable assertions execute, while its common.hasIntl-gated invalid-IDNA matrix is covered separately by focused runtime tests | 1 | `parallel/test-url-parse-invalid-input.js` | -| Node 26.13.1 baseline gap: Only --eval/-e, --input-type, and script files are supported in WASM child emulation; carries 22.14.0 subtest test_00_disabled_without_experimental_webstorage | 1 | `parallel/test-webstorage.js#test_08_disabled_with_no_webstorage` | -| Node 26.13.1 baseline gap: QuotaExceededError is not defined (the Node 26 QuotaExceededError global is not implemented) | 1 | `parallel/test-webcrypto-random.js#block_02_block_02` | -| Node 26.13.1 baseline gap: The argument 'format' must be a valid string format. Received "grey" | 1 | `parallel/test-util-styletext.js` | -| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Expected "actual" to be strict | 1 | `parallel/test-stream-readable-to-web-termination.js#block_01_block_01` | -| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected exception (Ty | 1 | `parallel/test-vm-module-errors.js` | -| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Ab | 1 | `parallel/test-fs-promises-file-handle-append-file.js` | -| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): AssertionError: Missing expected rejection (Ab; carries 22.14.0 parallel/test-fs-promises-writefile-typedarray.js (upstream 3ac95f2d0c) | 1 | `parallel/test-fs-promises-appendfile.js` | -| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): Error: Module status must not be unlinked or l | 1 | `parallel/test-vm-module-synthetic.js` | -| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): TypeError: Error converting from js 'string' i | 1 | `parallel/test-fs-promises-file-handle-read.js` | -| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): TypeError: The "original" argument must be of | 1 | `parallel/test-zlib-empty-buffer.js` | -| Node 26.13.1 baseline gap: Unhandled promise rejection (likely cause of mustCall failure): TypeError: not a function | 1 | `parallel/test-fs-promises-file-handle-dispose.js` | -| Node 26.13.1 baseline gap: Unhandled promise rejection: AssertionError: 'a\rb' !== 'a\nb'; carries 22.14.0 subtest block_32_block_32 | 1 | `parallel/test-blob.js#block_33_block_33` | -| Node 26.13.1 baseline gap: _checkInvalidHeaderChar('\x01\x02\x03\x04\x05\x06\x07\b', true) unexpectedly failed in lenient mode | 1 | `parallel/test-http-invalidheaderfield2.js` | -| Node 26.13.1 baseline gap: path.win32.join resolves .. through a CON: device-name segment | 1 | `parallel/test-path-join.js` | -| Node 26.13.1 baseline gap: path.win32.resolve("\\\\.\\PHYSICALDRIVE0") | 1 | `parallel/test-path-resolve.js` | -| Node 26.13.1 baseline gap: util.inspect prints the symbol key of a boxed String as [Symbol(foo)]; 26.13.1 expects Symbol(foo); carries 22.14.0 subtest block_90_block_90 | 1 | `parallel/test-util-inspect.js#block_100_block_100` | -| Node 26.13.1 baseline gap: value is not iterable | 1 | `parallel/test-require-delete-array-iterator.js` | | OKP (Ed/X) key import/export compatibility is incomplete | 1 | `parallel/test-webcrypto-export-import-cfrg.js` | | OutgoingMessage implicit Content-Length/Transfer-Encoding and Connection header behavior is not Node-compatible | 1 | `parallel/test-http-content-length.js` | | OutgoingMessage.getHeaders() shape is not Node-compatible (null-prototype object expected) | 1 | `parallel/test-http-mutable-headers.js` | | Overridden globalAgent socket bookkeeping (agent.sockets/close lifecycle) is not Node-compatible | 1 | `parallel/test-http-client-override-global-agent.js` | +| QuickJS exposes no eval/Function source text, so assert.ok there reports 'false == true' (the 22.14.0 expectation) instead of the Node 26.13.1 source line | 1 | `parallel/test-assert.js#test_14_additional_asserts` | +| QuickJS makes Error.stackTraceLimit a read-only data property after Object.defineProperty(Error, "stackTraceLimit", { value: 0 }), unlike V8 | 1 | `parallel/test-util-inspect.js#block_25_block_25` | | QuickJS property redefinition errors use engine-specific wording; Node-compatible normalization without replacing public intrinsics is tracked by GOL-361 | 1 | `es-module/test-esm-live-binding.mjs` | | RSA imported-key algorithm metadata compatibility is incomplete | 1 | `parallel/test-webcrypto-encrypt-decrypt-rsa.js` | | RSA key import/export metadata compatibility is incomplete | 1 | `parallel/test-webcrypto-export-import-rsa.js` | @@ -1464,6 +1404,7 @@ Secondary full-public compatibility, including public tests that are currently e | child_process -p/process.title behavior is incomplete in WASM child emulation | 1 | `sequential/test-process-title.js` | | child_process exec/spawn emulation does not fully match --help process behavior | 1 | `parallel/test-cli-node-print-help.js` | | child_process execPath emulation does not implement --completion-bash output | 1 | `parallel/test-bash-completion.js` | +| child_process execPath emulation does not implement --experimental-print-required-tla diagnostics output | 1 | `es-module/test-require-module-tla-print-execution.js` | | child_process execPath emulation does not yet match Node CLI argument validation/exit codes | 1 | `parallel/test-cli-bad-options.js` | | child_process execPath emulation does not yet support this ESM/CJS fixture runner path; direct CJS named export interop is covered by test-require-module.js | 1 | `es-module/test-esm-cjs-exports.js` | | child_process execPath emulation does not yet support this ESM/CJS fixture runner path; same-process CJS import/require interop is covered by module-interop runtime tests | 1 | `es-module/test-esm-cjs-main.js` | @@ -1495,6 +1436,7 @@ Secondary full-public compatibility, including public tests that are currently e | console.* does not publish diagnostics_channel events yet | 1 | `parallel/test-console-diagnostics-channels.js` | | contextCodeGeneration/codeGeneration options do not block string eval with the expected EvalError | 1 | `parallel/test-vm-codegen.js#block_01_block_01` | | contextified global proxy identity/property fallback semantics are incomplete | 1 | `parallel/test-vm-property-not-on-sandbox.js` | +| createDiffieHellman() verifyError prime checks are not implemented; open DH coverage obligation from the 22.14.0 baseline | 1 | `parallel/test-crypto-dh-curves.js` | | decoding empty-passphrase encrypted PEM traps in the WASM crypto backend | 1 | `parallel/test-crypto-keygen-empty-passphrase-no-prompt.js` | | deep async recursion intended to exercise V8 stack recovery can trap the QuickJS/WASM runtime before JavaScript can catch and log the RangeError | 1 | `parallel/test-ttywrap-stack.js` | | default clientError path does not send/close with Node-compatible 400 Bad Request behavior | 1 | `parallel/test-http-server-destroy-socket-on-client-error.js` | @@ -1601,6 +1543,7 @@ Secondary full-public compatibility, including public tests that are currently e | node-compat runner treats a no-listener rejection as failure even with --unhandled-rejections=none | 1 | `parallel/test-promise-unhandled-silent-no-hook.js` | | node:http abort/destroy response lifecycle (aborted/error/close ordering) is incomplete | 1 | `parallel/test-http-abort-client.js` | | node:http client path does not honor/verify net.Socket connect noDelay semantics like Node | 1 | `parallel/test-http-nodelay.js` | +| node:http client requests always use wasi:http, so a createConnection socket's write failures are not observed | 1 | `parallel/test-http-outgoing-writableFinished.js#block_01_finish_the_end_callback_receives_the_write_error_instead` | | node:http client socketPath flow used by this domain test is incomplete (request/response never completes) | 1 | `parallel/test-http-client-response-domain.js` | | node:http client socketPath transport flow is incomplete (unix-socket request hangs) | 1 | `parallel/test-http-client-pipe-end.js` | | node:https Agent constructor compatibility is incomplete (call without new) | 1 | `parallel/test-https-agent-constructor.js` | @@ -1656,6 +1599,8 @@ Secondary full-public compatibility, including public tests that are currently e | requires V8 hidden-class constructor-name recovery after the prototype constructor is detached | 1 | `parallel/test-util-inspect.js#block_76_manipulate_the_prototype_in_weird_ways` | | requires actual TCP socket reuse with remotePort identity tracking via server; wasi:http creates new connections per request | 1 | `parallel/test-http-agent-scheduling.js` | | requires child_process execFileSync with copied process.execPath and Node global module path layout | 1 | `parallel/test-module-loading-globalpaths.js` | +| requires child_process.exec of a shell command line, which WASM child emulation does not support | 1 | `parallel/test-domain-with-abort-on-uncaught-exception.js` | +| requires child_process.exec('id -G'), which WASM child emulation does not support | 1 | `parallel/test-process-getgroups.js` | | requires fd option for listen | 1 | `parallel/test-net-listen-fd0.js` | | requires net.createServer with pauseOnConnect and socket.localPort; wasi:http does not expose socket-level properties | 1 | `parallel/test-http-agent-reuse-drained-socket-only.js` | | requires onread option with buffer/callback | 1 | `parallel/test-net-onread-static-buffer.js` | @@ -1665,6 +1610,7 @@ Secondary full-public compatibility, including public tests that are currently e | requires simulated process.execPath / Node CLI mode support for child-process JSON module warning assertions | 1 | `es-module/test-esm-json.mjs#test_02_should_not_print_an_experimental_warning` | | requires spawned process.execPath entry-point execution plus WebAssembly module loading support | 1 | `es-module/test-esm-extensionless-esm-and-wasm.mjs#test_03_should_run_as_the_entry_point` | | requires spawned process.execPath entry-point execution to verify extensionless .wasm classification outside module scope | 1 | `es-module/test-esm-extensionless-esm-and-wasm.mjs#test_08_should_error_as_the_entry_point` | +| requires spawning the npm CLI, which WASM child emulation does not support | 1 | `parallel/test-npm-install.js` | | response writable state around aborted proxy close is not Node-compatible | 1 | `parallel/test-http-writable-true-after-close.js` | | response write + socket-error path does not preserve the expected truncated raw HTTP ending | 1 | `parallel/test-http-header-badrequest.js` | | runInContext sloppy-mode var/delete semantics still require contextified global script bindings | 1 | `parallel/test-vm-not-strict.js` | @@ -2010,14 +1956,14 @@ Secondary full-public compatibility, including public tests that are currently e | vm.Script.createCachedData relies on V8 code cache internals unavailable in QuickJS | 1 | `parallel/test-vm-createcacheddata.js` | | vm.SourceTextModule dynamic import referrer realm semantics depend on Node VM realm behavior not modeled by the QuickJS host | 1 | `parallel/test-vm-module-referrer-realm.mjs` | -### unevaluated (3842) +### unevaluated (3841) | Reason | Count | Example entries | |--------|-------|-----------------| | newly discovered, not yet evaluated | 3639 | `es-module/test-cjs-defer-static-import-eval.mjs`, `es-module/test-defer-import-builtin-module.mjs`, `es-module/test-defer-import-eval-with-tla.mjs`, ... (+3636) | -| newly discovered subtest, not yet evaluated | 203 | `es-module/test-esm-json.mjs#test_01_should_load_json_with_import_calls`, `parallel/test-assert-deep.js#test_01_loose_deepequal`, `parallel/test-assert-deep.js#test_08_deepstrictequal_handles_shared_expected_array_elements_after`, ... (+200) | +| newly discovered subtest, not yet evaluated | 202 | `es-module/test-esm-json.mjs#test_01_should_load_json_with_import_calls`, `parallel/test-assert-deep.js#test_01_loose_deepequal`, `parallel/test-assert-deep.js#test_08_deepstrictequal_handles_shared_expected_array_elements_after`, ... (+199) | -### Node.js internals (1180) +### Node.js internals (1177) | Reason | Count | Example entries | |--------|-------|-----------------| @@ -2026,7 +1972,7 @@ Secondary full-public compatibility, including public tests that are currently e | requires --expose-internals plus internal/test/binding internalBinding('js_stream'/'util') | 61 | `parallel/test-util-inspect.js#block_00_special_function_inspection`, `parallel/test-util-inspect.js#block_01_block_01`, `parallel/test-util-inspect.js#block_02_block_02`, ... (+58) | | requires --expose-internals and internal/webstreams/adapters | 60 | `parallel/test-whatwg-webstreams-adapters-streambase.js#block_00_block_00`, `parallel/test-whatwg-webstreams-adapters-streambase.js#block_01_block_01`, `parallel/test-whatwg-webstreams-adapters-streambase.js#block_02_block_02`, ... (+57) | | inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs | 53 | `parallel/test-eventtarget.js#block_00_first_test_event`, `parallel/test-eventtarget.js#block_01_block_01`, `parallel/test-eventtarget.js#block_02_block_02`, ... (+50) | -| missing reason | 46 | `parallel/test-cli-node-options-disallowed.js`, `parallel/test-crypto-key-objects-to-crypto-key.js`, `parallel/test-fs-syncwritestream.js`, ... (+43) | +| missing reason | 43 | `parallel/test-cli-node-options-disallowed.js`, `parallel/test-fs-syncwritestream.js`, `parallel/test-fs-watch-abort-signal.js#block_00_block_00`, ... (+40) | | uses --expose-internals with internal/test/binding (internalBinding('uv')) | 32 | `parallel/test-fs-copyfile.js`, `parallel/test-fs-error-messages.js#block_00_stat`, `parallel/test-fs-error-messages.js#block_01_lstat`, ... (+29) | | requires internal/test/binding and internalBinding('js_stream') | 28 | `parallel/test-util-types.js#block_00_block_00`, `parallel/test-util-types.js#block_01_block_01`, `parallel/test-util-types.js#block_02_block_02`, ... (+25) | | requires --expose-internals and internal/crypto/webidl | 24 | `parallel/test-webcrypto-webidl.js#block_00_required_arguments_length`, `parallel/test-webcrypto-webidl.js#block_01_boolean`, `parallel/test-webcrypto-webidl.js#block_02_https_webidl_spec_whatwg_org_abstract_opdef_converttoint`, ... (+21) | @@ -2275,18 +2221,15 @@ Secondary full-public compatibility, including public tests that are currently e ## Config Hygiene -46 non-runnable entries are missing a reason. +43 non-runnable entries are missing a reason.
Entries missing reasons - `parallel/test-cli-node-options-disallowed.js` (Node.js internals) -- `parallel/test-crypto-key-objects-to-crypto-key.js` (Node.js internals) - `parallel/test-fs-syncwritestream.js` (Node.js internals) - `parallel/test-fs-watch-abort-signal.js#block_00_block_00` (Node.js internals) - `parallel/test-fs-watch-abort-signal.js#block_01_block_01` (Node.js internals) -- `parallel/test-process-hrtime-bigint.js` (Node.js internals) -- `parallel/test-process-hrtime.js` (Node.js internals) - `parallel/test-stream-finished.js#block_00_block_00` (Node.js internals) - `parallel/test-stream-finished.js#block_01_block_01` (Node.js internals) - `parallel/test-stream-finished.js#block_02_block_02` (Node.js internals) diff --git a/tests/node_compat/target-selection.md b/tests/node_compat/target-selection.md index 3b3444af2..1e000593a 100644 --- a/tests/node_compat/target-selection.md +++ b/tests/node_compat/target-selection.md @@ -3,8 +3,9 @@ **Status:** Node.js 26.13.1 with npm 11.20.0 is the selected target for NJ-02 (GOL-1947), compared against Node.js 24.22.3. This record is a qualification result, not implemented runtime support. NJ-02 has since switched the `node_compat` suite and the runtime's `process` version -metadata to 26.13.1; see [`mapping-22.14.0-to-26.13.1.json`](mapping-22.14.0-to-26.13.1.json). Host -Node.js and npm pins are still 22.14.0 and 10.9.2. +metadata to 26.13.1; its 22.14.0 baseline audit is kept with +[pull request #218](https://github.com/golemcloud/wasm-rquickjs/pull/218). Host Node.js and npm pins +are still 22.14.0 and 10.9.2. No material blocker to Node 26 was found, and it is supported one year longer than Node 24 (end of life 2029-04-30 against 2028-04-30). diff --git a/tests/node_compat_config_report.rs b/tests/node_compat_config_report.rs index 6bae041cd..dd41a6d19 100644 --- a/tests/node_compat_config_report.rs +++ b/tests/node_compat_config_report.rs @@ -32,7 +32,6 @@ use test_r::test; const CONFIG_PATH: &str = "tests/node_compat/config.jsonc"; const REPORT_PATH: &str = "tests/node_compat/report.md"; const SUITE_ROOT: &str = "tests/node_compat/suite"; -const TARGET_MAPPING_RECORD_PATH: &str = "tests/node_compat/mapping-22.14.0-to-26.13.1.json"; #[derive(Debug, Clone)] struct InventoryItem { @@ -320,7 +319,6 @@ fn module_related_node_compat_entries_are_configured() -> anyhow::Result<()> { fn module_related_known_gaps_are_deferred_or_covered() -> anyhow::Result<()> { let entries = load_node_compat_config(CONFIG_PATH)?; let module_entrypoints = collect_module_related_entrypoints()?; - let recorded_baseline_gaps = recorded_target_baseline_gaps()?; let items = expand_entries(&entries); let unexpected: Vec<_> = items @@ -329,7 +327,6 @@ fn module_related_known_gaps_are_deferred_or_covered() -> anyhow::Result<()> { (module_entrypoints.contains(&item.file_path) || is_module_adjacent_known_gap(item)) && item.category == NodeCompatCategory::KnownGap && !is_accepted_module_known_gap_reason(item.reason.as_deref()) - && !is_recorded_target_baseline_gap(item, &recorded_baseline_gaps) }) .map(|item| { format!( @@ -349,32 +346,6 @@ fn module_related_known_gaps_are_deferred_or_covered() -> anyhow::Result<()> { Ok(()) } -#[test] -#[test_r::tag(report_contract)] -fn target_baseline_gaps_match_the_mapping_record() -> anyhow::Result<()> { - let recorded = recorded_target_baseline_gaps()?; - let labelled: BTreeSet = expand_entries(&load_node_compat_config(CONFIG_PATH)?) - .into_iter() - .filter(|item| { - item.category == NodeCompatCategory::KnownGap - && item - .reason - .as_deref() - .is_some_and(|reason| reason.starts_with(TARGET_BASELINE_GAP_REASON_PREFIX)) - }) - .map(|item| item.key) - .collect(); - - let unrecorded: Vec<_> = labelled.difference(&recorded).collect(); - let unlabelled: Vec<_> = recorded.difference(&labelled).collect(); - assert!( - unrecorded.is_empty() && unlabelled.is_empty(), - "baseline-gap entries in {CONFIG_PATH} and baselineGaps.cases in {TARGET_MAPPING_RECORD_PATH} differ\nlabelled but not recorded:\n{unrecorded:#?}\nrecorded but not a labelled known gap:\n{unlabelled:#?}" - ); - - Ok(()) -} - #[test] #[test_r::tag(report_contract)] fn module_known_gap_deferrals_require_an_exact_reason() { @@ -460,38 +431,6 @@ fn is_accepted_module_known_gap_reason(reason: Option<&str>) -> bool { reason.is_some_and(|reason| ACCEPTED_REASONS.contains(&reason)) } -const TARGET_BASELINE_GAP_REASON_PREFIX: &str = "Node 26.13.1 baseline gap: "; - -/// Outstanding target-switch regressions are not accepted deferrals, but each one is -/// listed in the target mapping record for a per-module repair draft. Only those exact -/// entries may carry the baseline-gap reason. -fn recorded_target_baseline_gaps() -> anyhow::Result> { - let record: serde_json::Value = - serde_json::from_str(&fs::read_to_string(TARGET_MAPPING_RECORD_PATH)?)?; - let cases = record["baselineGaps"]["cases"] - .as_array() - .ok_or_else(|| anyhow::anyhow!("{TARGET_MAPPING_RECORD_PATH} lacks baselineGaps.cases"))?; - cases - .iter() - .map(|case| { - let file = case["file"] - .as_str() - .ok_or_else(|| anyhow::anyhow!("baseline gap without file: {case}"))?; - Ok(match case["subtest"].as_str() { - Some(subtest) => format!("{file}#{subtest}"), - None => file.to_string(), - }) - }) - .collect() -} - -fn is_recorded_target_baseline_gap(item: &InventoryItem, recorded: &BTreeSet) -> bool { - item.reason - .as_deref() - .is_some_and(|reason| reason.starts_with(TARGET_BASELINE_GAP_REASON_PREFIX)) - && recorded.contains(&item.key) -} - fn collect_module_related_entrypoints() -> anyhow::Result> { let mut entries = BTreeSet::new(); collect_matching_files("es-module", is_es_module_entrypoint, &mut entries)?; From 8c2c7436a098ce0204eabfc9e8b92f7ecbb84add Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 23 Nov 2026 20:32:27 +0000 Subject: [PATCH 46/55] Run CI From c1b5436f6677be534e595487511930e83ab2bf19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Mon, 23 Nov 2026 21:11:31 +0000 Subject: [PATCH 47/55] Update runtime tests for Node 26 behavior --- .../runtime/cjs-require/src/cjs-require.js | 7 ++++- .../src/module-resolution.js | 17 +++++++---- examples/runtime/node-http/src/node-http.js | 20 +++++++++---- .../structured-clone/src/structured-clone.js | 8 +++-- examples/runtime/url/src/url.js | 29 +++++++++---------- .../test-18-cjs-lexer-helper-reexports.mjs | 8 ++++- tests/runtime/fetch.rs | 2 +- tests/runtime/typescript_runtime.rs | 2 +- 8 files changed, 60 insertions(+), 33 deletions(-) diff --git a/examples/runtime/cjs-require/src/cjs-require.js b/examples/runtime/cjs-require/src/cjs-require.js index 1d133605d..b4b243a36 100644 --- a/examples/runtime/cjs-require/src/cjs-require.js +++ b/examples/runtime/cjs-require/src/cjs-require.js @@ -476,6 +476,7 @@ export const testRequirePackageImports = () => { false, './dep.cjs', ], + '#/slash-dep': './dep.cjs', }, })); fs.writeFileSync('/imports-app/dep.cjs', 'module.exports = { mode: "require" };'); @@ -492,6 +493,7 @@ export const testRequirePackageImports = () => { 'exports.nullTarget = function() { return require("#null-target"); };', 'exports.falseTarget = function() { return require("#false-target"); };', 'exports.arrayFalseFallback = require("#array-false-fallback");', + 'exports.slashDep = require("#/slash-dep");', ].join('\n')); const appRequire = require('module').createRequire('/imports-app/main.cjs'); @@ -510,7 +512,8 @@ export const testRequirePackageImports = () => { }, ); assert.throws(() => mod.invalidBare(), { code: 'ERR_INVALID_MODULE_SPECIFIER' }); - assert.throws(() => mod.initialSlash(), { code: 'ERR_INVALID_MODULE_SPECIFIER' }); + // Node 25+ accepts `#/` subpath imports, so an unmapped one is merely undefined. + assert.throws(() => mod.initialSlash(), { code: 'ERR_PACKAGE_IMPORT_NOT_DEFINED' }); assert.throws(() => mod.importOnly(), { code: 'ERR_PACKAGE_IMPORT_NOT_DEFINED' }); assert.throws( () => mod.nullTarget(), @@ -525,6 +528,8 @@ export const testRequirePackageImports = () => { ); assert.throws(() => mod.falseTarget(), { code: 'ERR_INVALID_PACKAGE_TARGET' }); assert.deepStrictEqual(mod.arrayFalseFallback, { mode: 'require' }); + assert.deepStrictEqual(mod.slashDep, { mode: 'require' }); + assert.strictEqual(appRequire.resolve('#/slash-dep'), '/imports-app/dep.cjs'); assert.strictEqual(appRequire.resolve('#dep'), '/imports-app/dep.cjs'); assert.throws( () => Module._resolveFilename('#missing', null), diff --git a/examples/runtime/module-resolution/src/module-resolution.js b/examples/runtime/module-resolution/src/module-resolution.js index b5719a870..3dd3892b5 100644 --- a/examples/runtime/module-resolution/src/module-resolution.js +++ b/examples/runtime/module-resolution/src/module-resolution.js @@ -9883,9 +9883,10 @@ export const testVmMainContextDefaultLoader = async () => { ].join('\n')); assert.strictEqual(util.inspect(inspectSourceTextModule, { depth: -1 }), '[SourceTextModule]'); const inspectSyntheticModule = new vm.SyntheticModule([], () => {}, { context: inspectContext }); + // Node 26 links a SyntheticModule when it is constructed. assert.strictEqual(util.inspect(inspectSyntheticModule), [ 'SyntheticModule {', - " status: 'unlinked',", + " status: 'linked',", " identifier: 'vm:module(0)',", " context: { foo: 'bar' }", '}', @@ -9894,8 +9895,8 @@ export const testVmMainContextDefaultLoader = async () => { for (const invalidThis of [null, { __proto__: null }, vm.SourceTextModule.prototype]) { assert.throws(() => inspectSourceTextModule[util.inspect.custom].call(invalidThis), { name: 'TypeError', - code: 'ERR_INVALID_ARG_TYPE', - message: /The "this" argument must be an instance of Module/, + code: 'ERR_INVALID_THIS', + message: 'Value of "this" must be of type Module', }); } assert.throws(() => new vm.SyntheticModule(undefined, () => {}, {}), { @@ -10049,10 +10050,14 @@ export const testVmMainContextDefaultLoader = async () => { assert.throws(() => syntheticModule.setExport(1, 2), TypeError); assert.throws(() => syntheticModule.setExport('missing', 2), ReferenceError); + // Node 26 links a SyntheticModule at construction, so exports can be set before evaluate(). const prelinkedSynthetic = new vm.SyntheticModule(['x'], function() {}); - assert.throws(() => prelinkedSynthetic.setExport('x', 1), { - code: 'ERR_VM_MODULE_STATUS', - }); + assert.strictEqual(prelinkedSynthetic.status, 'linked'); + prelinkedSynthetic.setExport('x', 1); + assert.strictEqual(prelinkedSynthetic.namespace.x, 1); + await prelinkedSynthetic.evaluate(); + assert.strictEqual(prelinkedSynthetic.status, 'evaluated'); + assert.strictEqual(prelinkedSynthetic.namespace.x, 1); const rejectedSynthetic = new vm.SyntheticModule([], function() { const promise = Promise.reject(new Error('ignored')); diff --git a/examples/runtime/node-http/src/node-http.js b/examples/runtime/node-http/src/node-http.js index ffcb93a80..1d0726b97 100644 --- a/examples/runtime/node-http/src/node-http.js +++ b/examples/runtime/node-http/src/node-http.js @@ -734,7 +734,8 @@ export function httpResponseLifecycle() { } return Buffer.concat(wire).toString().endsWith('\r\n\r\nbody') && - order.join(',') === 'listener,callback' && + // Like Node 26, end() callbacks run before 'finish' listeners. + order.join(',') === 'callback,listener' && writeOrder.join(',') === 'after-write,callback' && throwingMessage === 'socket write failed' && throwingCallbackCount === 0 && @@ -821,9 +822,9 @@ export async function httpResponseRepeatedEndCallbacks() { Buffer.concat(wire).toString().endsWith('\r\n\r\nbody') === false || finishCount !== 1 || firstCallbackCount !== 1 || - firstCallbackError !== undefined || + firstCallbackError !== null || queuedCallbackCount !== 1 || - queuedCallbackError !== undefined || + queuedCallbackError !== null || !queuedCallbackWasAsync || finishedCallbackCount !== 1 || finishedCallbackCode !== 'ERR_STREAM_ALREADY_FINISHED' || @@ -861,7 +862,7 @@ export async function httpResponseRepeatedEndCallbacks() { if ( !blockedResponse.writableFinished || blockedCallbackCount !== 1 || - blockedCallbackError !== undefined + blockedCallbackError !== null ) { return false; } @@ -944,6 +945,7 @@ export async function httpResponseRepeatedEndCallbacks() { let responseErrorCount = 0; let cancelledFinishCount = 0; let endCallbackCount = 0; + let endCallbackError; let writeCallbackCount = 0; let writeCallbackError; socket.on('error', (error) => { @@ -963,14 +965,20 @@ export async function httpResponseRepeatedEndCallbacks() { writeCallbackCount++; writeCallbackError = error; }); - response.end('body', () => endCallbackCount++); + response.end('body', (error) => { + endCallbackCount++; + endCallbackError = error; + }); socket.destroy(withError ? expectedError : undefined); for (const completion of completions) { if (typeof completion === 'function') completion(expectedError); } await new Promise((resolve) => setImmediate(resolve)); + // Like Node 26, a cancelled flush reports its error to the end() callback + // and the response never emits 'finish'. if (responseErrorCount !== 0 || - cancelledFinishCount !== 1 || endCallbackCount !== 1 || + cancelledFinishCount !== 0 || endCallbackCount !== 1 || + endCallbackError !== expectedError || writeCallbackCount !== 1 || writeCallbackError !== expectedError || socketCloseCount !== 1 || socketErrorCount !== Number(withError) || (withError && socketError !== expectedError)) { diff --git a/examples/runtime/structured-clone/src/structured-clone.js b/examples/runtime/structured-clone/src/structured-clone.js index 4df4f95e0..d6e65fab5 100644 --- a/examples/runtime/structured-clone/src/structured-clone.js +++ b/examples/runtime/structured-clone/src/structured-clone.js @@ -330,9 +330,13 @@ export async function testPolicyCase(index) { const outer = new Constructor([blob]); assert.equal(await structuredClone(outer).text(), 'hello world'); } - const file = structuredClone(new BufferFile(['hi'],'secret.txt',{type:'TEXT/PLAIN'})); + // Node 26 keeps a File's name and lastModified across structuredClone (nodejs/node#47612). + const file = structuredClone(new BufferFile(['hi'],'secret.txt',{type:'TEXT/PLAIN', lastModified: 5})); assert.equal(await file.text(), 'hi'); - assert.equal(file.name, undefined); + assert.equal(file instanceof BufferFile, true); + assert.equal(file.name, 'secret.txt'); + assert.equal(file.lastModified, 5); + assert.equal(file.type, 'text/plain'); break; } case 7: { diff --git a/examples/runtime/url/src/url.js b/examples/runtime/url/src/url.js index 5ea70f2b0..9b3a5bf2f 100644 --- a/examples/runtime/url/src/url.js +++ b/examples/runtime/url/src/url.js @@ -339,21 +339,20 @@ export const test10 = () => { } } - const invalidPort = url.parse('http://faß.example:abc/'); - if (invalidPort.hostname !== 'xn--fa-hia.example') return false; - if (invalidPort.pathname !== '/:abc/') return false; - if (invalidPort.href !== 'http://xn--fa-hia.example/:abc/') return false; - - const multiColon = url.parse('http://faß.example:abc:def/path'); - if (multiColon.hostname !== 'xn--fa-hia.example') return false; - if (multiColon.pathname !== '/:abc:def/path') return false; - if (multiColon.href !== 'http://xn--fa-hia.example/:abc:def/path') return false; - - const multiColonWithPort = url.parse('http://example.com::80/path'); - if (multiColonWithPort.hostname !== 'example.com') return false; - if (multiColonWithPort.port !== '80') return false; - if (multiColonWithPort.pathname !== '/:/path') return false; - if (multiColonWithPort.href !== 'http://example.com:80/:/path') return false; + // Like Node 26, url.parse() rejects a host with an invalid port instead of moving it to the path. + for (const invalidPort of [ + 'http://faß.example:abc/', + 'http://faß.example:abc:def/path', + 'http://example.com::80/path', + ]) { + try { + url.parse(invalidPort); + return false; + } catch (error) { + if (error.code !== 'ERR_INVALID_ARG_VALUE') return false; + if (error.message !== `The argument 'url' ${invalidPort}. Received 'Invalid port in url'`) return false; + } + } const slashesHost = url.parse('//example.com/path', false, true); if (slashesHost.hostname !== 'example.com') return false; diff --git a/tests/node_modules_apps/apps/module-interop/test-18-cjs-lexer-helper-reexports.mjs b/tests/node_modules_apps/apps/module-interop/test-18-cjs-lexer-helper-reexports.mjs index 989229105..1191a1afd 100644 --- a/tests/node_modules_apps/apps/module-interop/test-18-cjs-lexer-helper-reexports.mjs +++ b/tests/node_modules_apps/apps/module-interop/test-18-cjs-lexer-helper-reexports.mjs @@ -25,7 +25,13 @@ export const run = () => { assert.strictEqual(packageBeta, 'pkg-beta'); assert.strictEqual(packageReexportDefault.alpha, 'pkg-alpha'); assert.strictEqual(packageReexportDefault['runtime-only'], 'pkg-runtime-only'); - assert.deepStrictEqual(Object.keys(packageReexportNs).sort(), ['alpha', 'beta', 'default']); + // Node 23+ adds a 'module.exports' export to CommonJS namespaces. The raw test runs on the + // host baseline Node and in the runtime target, so expect the exact keys of the running Node. + const nodeMajor = Number(process.versions.node.split('.')[0]); + assert.deepStrictEqual( + Object.keys(packageReexportNs).sort(), + nodeMajor >= 23 ? ['alpha', 'beta', 'default', 'module.exports'] : ['alpha', 'beta', 'default'], + ); assert.strictEqual(negativeNs.default.depNested, 'dep-nested'); assert.strictEqual(negativeNs.default.depDynamic, 'dep-dynamic'); diff --git a/tests/runtime/fetch.rs b/tests/runtime/fetch.rs index 00520a9ab..d1c67ff09 100644 --- a/tests/runtime/fetch.rs +++ b/tests/runtime/fetch.rs @@ -71,7 +71,7 @@ async fn fetch_post_and_get_as_array_buffer( assert_eq!( output, - "fetch test 2\nResponse body as ArrayBuffer: ArrayBuffer {\n [Uint8Contents]: <7b 22 69 64 22 3a 30 2c 22 75 73 65 72 49 64 22 3a 31 2c 22 74 69 74 6c 65 22 3a 22 66 6f 6f 22 2c 22 62 6f 64 79 22 3a 22 62 61 72 22 2c 22 63 6f 6d 70 6c 65 74 65 64 22 3a 66 61 6c 73 65 7d>,\n byteLength: 64\n}\n" + "fetch test 2\nResponse body as ArrayBuffer: ArrayBuffer {\n [Uint8Contents]: <7b 22 69 64 22 3a 30 2c 22 75 73 65 72 49 64 22 3a 31 2c 22 74 69 74 6c 65 22 3a 22 66 6f 6f 22 2c 22 62 6f 64 79 22 3a 22 62 61 72 22 2c 22 63 6f 6d 70 6c 65 74 65 64 22 3a 66 61 6c 73 65 7d>,\n [byteLength]: 64\n}\n" ); Ok(()) diff --git a/tests/runtime/typescript_runtime.rs b/tests/runtime/typescript_runtime.rs index a2fa09ae2..7ba3a93ea 100644 --- a/tests/runtime/typescript_runtime.rs +++ b/tests/runtime/typescript_runtime.rs @@ -110,7 +110,7 @@ async fn strip_typescript_types_matches_node_contract( assert_eq!(report["rewriteImportedDefault"]["answer"], 42); assert_eq!( report["rewriteImportedKeys"], - serde_json::json!(["changed", "default"]) + serde_json::json!(["changed", "default", "module.exports"]) ); assert_eq!(report["rewriteImportedChangedIsUndefined"], true); assert_eq!(report["rewriteTransformCount"], 2); From 7d206164d1b4960d048db6225b7ffd65ef68b99d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Tue, 24 Nov 2026 10:47:32 +0000 Subject: [PATCH 48/55] Run subtest afterEach hooks once --- .../skeleton/src/builtin/test.js | 15 ++++-- examples/runtime/assert/src/assert.js | 50 +++++++++++++++++++ examples/runtime/assert/wit/assert.wit | 1 + .../generated_types_assert_exports.d.ts | 1 + tests/runtime/assert.rs | 17 +++++++ 5 files changed, 79 insertions(+), 5 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/test.js b/crates/wasm-rquickjs/skeleton/src/builtin/test.js index b50b3c560..f99739e0a 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/test.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/test.js @@ -268,17 +268,22 @@ TestContext.prototype.test = function (name, optionsOrFn, maybeFn) { const runHooks = function (hooks) { for (let i = 0; i < hooks.length; i++) hooks[i].call(childCtx, childCtx); }; - const succeed = function () { + // Like Node 26's runOnce-wrapped afterEach, teardown runs at most once: a hook that throws + // after the subtest succeeded must not run again when that error is handled as a failure. + let tornDown = false; + const teardown = function (rethrow) { + if (tornDown) return; + tornDown = true; try { runHooks(afterEachFns); + } catch (e) { + if (rethrow) throw e; } finally { childCtx.mock.restoreAll(); } }; - const fail = function () { - try { runHooks(afterEachFns); } catch (ignored) {} - childCtx.mock.restoreAll(); - }; + const succeed = function () { teardown(true); }; + const fail = function () { teardown(false); }; try { runHooks(beforeEachFns); diff --git a/examples/runtime/assert/src/assert.js b/examples/runtime/assert/src/assert.js index 248875a4f..558946eb4 100644 --- a/examples/runtime/assert/src/assert.js +++ b/examples/runtime/assert/src/assert.js @@ -2,6 +2,7 @@ import assert from 'node:assert'; import { AssertionError } from 'node:assert'; import fs from 'node:fs'; import { createRequire } from 'node:module'; +import test from 'node:test'; const require = createRequire(import.meta.url); @@ -494,3 +495,52 @@ export const testEvalGeneratedMessage = () => { return message !== 'false == true' && message.startsWith('The expression evaluated to a falsy value:'); }; + +// A throwing afterEach hook runs exactly once per subtest and the subtest's mocks are restored, +// whether the subtest is synchronous, returns a promise or uses a done callback. Node reports +// the hook failure through the parent and resolves t.test(); this runtime rejects t.test() with +// the hook error, so either outcome is accepted, but no other error is. +export const testSubtestAfterEachOnce = async () => { + try { + const hookError = new Error('afterEach failed'); + const target = { method() { return 'original'; } }; + const calls = []; + const outcomes = {}; + const mockAndRecord = (st, kind) => { + st.mock.method(target, 'method', () => 'mocked'); + calls.push(kind + ':' + target.method()); + }; + await test('afterEach once', async (t) => { + t.afterEach(() => { + calls.push('afterEach'); + throw hookError; + }); + const subtests = [ + ['sync', (st) => { mockAndRecord(st, 'sync'); }], + ['promise', async (st) => { await null; mockAndRecord(st, 'promise'); }], + ['callback', (st, done) => { mockAndRecord(st, 'callback'); done(); }], + ]; + for (const [kind, fn] of subtests) { + try { + await t.test(kind, fn); + outcomes[kind] = 'resolved'; + } catch (e) { + outcomes[kind] = e === hookError ? 'hook-error' : e; + } + calls.push(kind + ':' + target.method()); + } + }); + assert.deepStrictEqual(calls, [ + 'sync:mocked', 'afterEach', 'sync:original', + 'promise:mocked', 'afterEach', 'promise:original', + 'callback:mocked', 'afterEach', 'callback:original', + ]); + for (const kind of ['sync', 'promise', 'callback']) { + assert.ok(outcomes[kind] === 'resolved' || outcomes[kind] === 'hook-error', kind); + } + return true; + } catch (e) { + console.error(e); + return false; + } +}; diff --git a/examples/runtime/assert/wit/assert.wit b/examples/runtime/assert/wit/assert.wit index 7a7a3b15b..9b25a52b8 100644 --- a/examples/runtime/assert/wit/assert.wit +++ b/examples/runtime/assert/wit/assert.wit @@ -15,4 +15,5 @@ world assert { export test-strict-mode: func() -> bool; export test-assertion-error: func() -> bool; export test-eval-generated-message: func() -> bool; + export test-subtest-after-each-once: func() -> bool; } diff --git a/tests/goldenfiles/generated_types_assert_exports.d.ts b/tests/goldenfiles/generated_types_assert_exports.d.ts index 3843cd3d8..f64581845 100644 --- a/tests/goldenfiles/generated_types_assert_exports.d.ts +++ b/tests/goldenfiles/generated_types_assert_exports.d.ts @@ -13,4 +13,5 @@ declare module 'assert' { export function testStrictMode(): boolean; export function testAssertionError(): boolean; export function testEvalGeneratedMessage(): boolean; + export function testSubtestAfterEachOnce(): boolean; } diff --git a/tests/runtime/assert.rs b/tests/runtime/assert.rs index 67f01ec6b..124cd4d7e 100644 --- a/tests/runtime/assert.rs +++ b/tests/runtime/assert.rs @@ -188,3 +188,20 @@ async fn assert_test_eval_generated_message( assert_eq!(r, Some(Val::Bool(true))); Ok(()) } + +#[test] +async fn assert_test_subtest_after_each_once( + #[tagged_as("assert")] compiled_test: &CompiledTest, +) -> anyhow::Result<()> { + let (r, output) = invoke_and_capture_output( + compiled_test.wasm_path(), + None, + "test-subtest-after-each-once", + &[], + ) + .await; + let r = r?; + println!("Output:\n{}", output); + assert_eq!(r, Some(Val::Bool(true))); + Ok(()) +} From d235247c384db960f61facb4d062321a7bded3dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Tue, 24 Nov 2026 11:44:54 +0000 Subject: [PATCH 49/55] Prefix ReadableStream.from iterator error as Node does --- .../skeleton/src/builtin/webstreams.js | 2 +- examples/runtime/streams/src/streams.js | 20 +++++++++++++++++++ examples/runtime/streams/wit/streams.wit | 1 + .../generated_types_streams_exports.d.ts | 1 + tests/runtime/streams.rs | 15 ++++++++++++++ 5 files changed, 38 insertions(+), 1 deletion(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/webstreams.js b/crates/wasm-rquickjs/skeleton/src/builtin/webstreams.js index f9efe1503..f5c9ef7ef 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/webstreams.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/webstreams.js @@ -121,7 +121,7 @@ ReadableStream.from = function from(iterable) { ? asyncIteratorFactory.call(iterable) : iteratorFactory.call(iterable); if (iterator === null || (typeof iterator !== 'object' && typeof iterator !== 'function')) { - throw errInvalidState('The iterator method must return an object'); + throw errInvalidState('Invalid state: The iterator method must return an object'); } return new ReadableStream({ async pull(controller) { diff --git a/examples/runtime/streams/src/streams.js b/examples/runtime/streams/src/streams.js index c6bd31793..1d6f2d186 100644 --- a/examples/runtime/streams/src/streams.js +++ b/examples/runtime/streams/src/streams.js @@ -246,3 +246,23 @@ export async function testDuplexFromWeb() { } return result; } + +// ReadableStream.from gets the iterator eagerly, and rejects a non-object iterator as Node 26 does. +export function testReadableStreamFromIterator() { + let called = 0; + const stream = ReadableStream.from({ + [Symbol.iterator]() { + called++; + return [1][Symbol.iterator](); + }, + }); + assert.ok(stream instanceof ReadableStream); + assert.strictEqual(called, 1); + assert.throws(() => ReadableStream.from({ [Symbol.iterator]() { return 1; } }), { + name: 'TypeError', + code: 'ERR_INVALID_STATE', + message: 'Invalid state: The iterator method must return an object', + }); + return 'ok'; +} + diff --git a/examples/runtime/streams/wit/streams.wit b/examples/runtime/streams/wit/streams.wit index 9d65c9257..4c9d82292 100644 --- a/examples/runtime/streams/wit/streams.wit +++ b/examples/runtime/streams/wit/streams.wit @@ -12,4 +12,5 @@ world streams { export test-writable-from-web: func() -> string; export test-writable-to-web: func() -> string; export test-duplex-from-web: func() -> string; + export test-readable-stream-from-iterator: func() -> string; } diff --git a/tests/goldenfiles/generated_types_streams_exports.d.ts b/tests/goldenfiles/generated_types_streams_exports.d.ts index 1904bc56a..584bbf4fa 100644 --- a/tests/goldenfiles/generated_types_streams_exports.d.ts +++ b/tests/goldenfiles/generated_types_streams_exports.d.ts @@ -10,4 +10,5 @@ declare module 'streams' { export function testWritableFromWeb(): string; export function testWritableToWeb(): string; export function testDuplexFromWeb(): string; + export function testReadableStreamFromIterator(): string; } diff --git a/tests/runtime/streams.rs b/tests/runtime/streams.rs index f7eb99b27..27ecf8675 100644 --- a/tests/runtime/streams.rs +++ b/tests/runtime/streams.rs @@ -154,3 +154,18 @@ async fn duplex_from_web(#[tagged_as("streams")] compiled: &CompiledTest) -> any assert_eq!(r, Some(Val::String("echo:hello".to_string()))); Ok(()) } + +#[test] +async fn readable_stream_from_iterator( + #[tagged_as("streams")] compiled: &CompiledTest, +) -> anyhow::Result<()> { + let (r, output) = invoke_and_capture_output( + compiled.wasm_path(), + None, + "test-readable-stream-from-iterator", + &[], + ) + .await; + assert_eq!(r?, Some(Val::String("ok".to_string())), "{output}"); + Ok(()) +} From 00d779a83c929dacee90fe59a504665f5f530b48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Tue, 24 Nov 2026 15:09:18 +0000 Subject: [PATCH 50/55] Fix SQLite prepare options [skip ci] --- .../skeleton/src/builtin/sqlite.js | 23 +++-- examples/runtime/sqlite/src/sqlite.js | 98 +++++++++++++++++++ examples/runtime/sqlite/wit/sqlite.wit | 1 + .../generated_types_sqlite_exports.d.ts | 1 + tests/node_compat/config.jsonc | 8 +- tests/node_compat/report.md | 18 ++-- tests/runtime/sqlite.rs | 12 +++ 7 files changed, 142 insertions(+), 19 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/sqlite.js b/crates/wasm-rquickjs/skeleton/src/builtin/sqlite.js index aea0b653f..90f7b76fd 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/sqlite.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/sqlite.js @@ -124,12 +124,23 @@ class _DatabaseSyncImpl { err.code = 'ERR_INVALID_ARG_TYPE'; throw err; } - const stmtOptions = { - readBigInts: options.readBigInts ?? this.#options.readBigInts, - returnArrays: options.returnArrays ?? this.#options.returnArrays, - allowBareNamedParameters: options.allowBareNamedParameters ?? this.#options.allowBareNamedParameters, - allowUnknownNamedParameters: options.allowUnknownNamedParameters ?? this.#options.allowUnknownNamedParameters, - }; + if (options === null || (typeof options !== 'object' && typeof options !== 'function')) { + const err = new TypeError('The "options" argument must be an object.'); + err.code = 'ERR_INVALID_ARG_TYPE'; + throw err; + } + const stmtOptions = {}; + for (const key of ['returnArrays', 'readBigInts', 'allowBareNamedParameters', 'allowUnknownNamedParameters']) { + const value = options[key]; + if (value !== undefined && typeof value !== 'boolean') { + const err = new TypeError(`The "options.${key}" argument must be a boolean.`); + err.code = 'ERR_INVALID_ARG_TYPE'; + throw err; + } + stmtOptions[key] = value === undefined ? this.#options[key] : value; + } + // An option getter can close the database while validation runs. + if (this.#connId === null) throwDbNotOpen('ERR_INVALID_STATE'); return new Statement(_stmtSecret, this.#connId, sql, stmtOptions); } diff --git a/examples/runtime/sqlite/src/sqlite.js b/examples/runtime/sqlite/src/sqlite.js index f42c589d7..cfb10b13b 100644 --- a/examples/runtime/sqlite/src/sqlite.js +++ b/examples/runtime/sqlite/src/sqlite.js @@ -1,6 +1,7 @@ import { DatabaseSync, serializeDatabaseSync, restoreDatabaseSync, isAutocommitDatabaseSync } from 'node:sqlite'; import * as fs from 'node:fs'; import * as path from 'node:path'; +import assert from 'node:assert/strict'; let tmpCounter = 0; @@ -219,3 +220,100 @@ export function testTypeValidation() { return true; } + +export function testPrepareOptions() { + const db = new DatabaseSync(':memory:', { + readBigInts: true, + returnArrays: true, + allowBareNamedParameters: false, + allowUnknownNamedParameters: true, + }); + try { + const keys = ['returnArrays', 'readBigInts', 'allowBareNamedParameters', 'allowUnknownNamedParameters']; + for (const key of keys) { + for (const value of [null, 'true', 1, {}]) { + assert.throws(() => db.prepare('SELECT 7', { [key]: value }), { + name: 'TypeError', code: 'ERR_INVALID_ARG_TYPE', + message: `The "options.${key}" argument must be a boolean.`, + }); + } + } + for (const options of [null, 0, 'options', false]) { + assert.throws(() => db.prepare('SELECT 7', options), { + name: 'TypeError', code: 'ERR_INVALID_ARG_TYPE', + message: 'The "options" argument must be an object.', + }); + } + + const calls = []; + const options = {}; + for (const key of keys) { + Object.defineProperty(options, key, { + get() { calls.push(key); return undefined; }, + }); + } + assert.deepEqual(db.prepare("SELECT 7 AS n, 'pear' AS label", options).get(), [7n, 'pear']); + assert.deepEqual(calls, keys); + for (let i = 0; i < keys.length - 1; i++) { + const options = { + [keys[i]]: null, + get [keys[i + 1]]() { throw new Error('later option must not be read'); }, + }; + assert.throws(() => db.prepare('SELECT 7', options), { + code: 'ERR_INVALID_ARG_TYPE', + message: `The "options.${keys[i]}" argument must be a boolean.`, + }); + } + const sentinel = new Error('option getter'); + assert.throws(() => db.prepare('SELECT 7', { + get readBigInts() { throw sentinel; }, + }), error => error === sentinel); + const unread = { get returnArrays() { throw sentinel; } }; + assert.throws(() => db.prepare(null, unread), { + code: 'ERR_INVALID_ARG_TYPE', message: /The "sql" argument must be a string/, + }); + + for (const options of [undefined, {}, [], () => {}, { readBigInts: undefined, returnArrays: undefined }]) { + assert.deepEqual(db.prepare("SELECT 7 AS n, 'pear' AS label", options).get(), [7n, 'pear']); + } + const query = db.prepare("SELECT 7 AS n, 'pear' AS label", Object.create({ + readBigInts: false, returnArrays: false, + })); + assert.deepEqual(query.get(), { __proto__: null, n: 7, label: 'pear' }); + query.setReadBigInts(true); + query.setReturnArrays(true); + assert.deepEqual(query.get(), [7n, 'pear']); + + const sql = 'SELECT $left AS x, $right AS y'; + assert.deepEqual(db.prepare(sql).get({ left: 13n, right: 29n }), [null, null]); + const named = db.prepare(sql, Object.create({ allowBareNamedParameters: true })); + assert.deepEqual(named.get({ left: 13n, right: 29n, extra: 41n }), [13n, 29n]); + const strict = db.prepare(sql, { + allowBareNamedParameters: true, allowUnknownNamedParameters: false, + }); + assert.throws(() => strict.get({ left: 13n, right: 29n, extra: 41n }), { code: 'ERR_INVALID_STATE' }); + strict.setAllowUnknownNamedParameters(true); + assert.deepEqual(strict.get({ left: 13n, right: 29n, extra: 41n }), [13n, 29n]); + named.setAllowBareNamedParameters(false); + assert.deepEqual(named.get({ left: 13n, right: 29n }), [null, null]); + assert.deepEqual(named.get({ $left: 13n, $right: 29n }), [13n, 29n]); + for (const value of [undefined, null]) { + const closing = new DatabaseSync(':memory:'); + assert.throws(() => closing.prepare('SELECT 7', { + get returnArrays() { closing.close(); return value; }, + }), value === undefined ? { + code: 'ERR_INVALID_STATE', message: 'database is not open', + } : { + code: 'ERR_INVALID_ARG_TYPE', + message: 'The "options.returnArrays" argument must be a boolean.', + }); + } + db.close(); + assert.throws(() => db.prepare(null, unread), { + code: 'ERR_INVALID_STATE', message: 'database is not open', + }); + } finally { + if (db.isOpen) db.close(); + } + return true; +} diff --git a/examples/runtime/sqlite/wit/sqlite.wit b/examples/runtime/sqlite/wit/sqlite.wit index 3a214dd95..32d1e071b 100644 --- a/examples/runtime/sqlite/wit/sqlite.wit +++ b/examples/runtime/sqlite/wit/sqlite.wit @@ -11,4 +11,5 @@ world sqlite { export test-wal-mode-snapshot: func() -> bool; export test-autocommit-tracking: func() -> bool; export test-type-validation: func() -> bool; + export test-prepare-options: func() -> bool; } diff --git a/tests/goldenfiles/generated_types_sqlite_exports.d.ts b/tests/goldenfiles/generated_types_sqlite_exports.d.ts index 8b6465fff..a1077e8c3 100644 --- a/tests/goldenfiles/generated_types_sqlite_exports.d.ts +++ b/tests/goldenfiles/generated_types_sqlite_exports.d.ts @@ -9,4 +9,5 @@ declare module 'sqlite' { export function testWalModeSnapshot(): boolean; export function testAutocommitTracking(): boolean; export function testTypeValidation(): boolean; + export function testPrepareOptions(): boolean; } diff --git a/tests/node_compat/config.jsonc b/tests/node_compat/config.jsonc index 3d9de62df..5acc160b9 100644 --- a/tests/node_compat/config.jsonc +++ b/tests/node_compat/config.jsonc @@ -8590,7 +8590,7 @@ "subtests": { "test_00_named_parameters": {}, "test_01_statement_prototype_setallowunknownnamedparameters": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, - "test_02_options_allowunknownnamedparameters": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" } + "test_02_options_allowunknownnamedparameters": { "category": "runnable" } } }, "parallel/test-sqlite-session.js": { @@ -15035,9 +15035,9 @@ "test_12_statement_prototype_all_with_array_output": {}, "test_13_statement_prototype_iterate_with_array_output": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, "test_14_statement_prototype_setallowbarenamedparameters": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, - "test_15_options_readbigints": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, - "test_16_options_returnarrays": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, - "test_17_options_allowbarenamedparameters": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "test_15_options_readbigints": { "category": "runnable" }, + "test_16_options_returnarrays": { "category": "runnable" }, + "test_17_options_allowbarenamedparameters": { "category": "runnable" }, "test_18_statement_prototype_close": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, "test_19_statement_prototype_symbol_dispose": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, "test_20_options_persistent": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, diff --git a/tests/node_compat/report.md b/tests/node_compat/report.md index 5f70741e9..0dc825dc7 100644 --- a/tests/node_compat/report.md +++ b/tests/node_compat/report.md @@ -8,21 +8,21 @@ This report is generated from `config.jsonc` and the pinned vendored Node.js sou Primary compatibility is measured over the public API surface we can provide: CI-enforced passing (`runnable`) plus `known-gap`. WASI-impossible tests, engine differences, unevaluated tests, and Node.js-internals tests are acknowledged separately and excluded from the primary percentage. -**Primary compatibility (CI-enforced):** 3158/4461 (70.8%) +**Primary compatibility (CI-enforced):** 3162/4461 (70.9%) When comparing revisions, read the runnable count and secondary full-public percentage alongside the primary percentage. Reclassifying a test into an excluded category can increase the primary percentage without increasing runnable coverage. | Classification | Count | Primary % | Public inventory % | All listed % | |----------------|-------|-----------|--------------------|--------------| -| ✅ passing (runnable) | 3158 | 70.8% | 32.8% | 29.3% | -| 🧩 known gap | 1303 | 29.2% | 13.5% | 12.1% | +| ✅ passing (runnable) | 3162 | 70.9% | 32.9% | 29.3% | +| 🧩 known gap | 1299 | 29.1% | 13.5% | 12.0% | | 🚫 WASI-impossible (excluded) | 1148 | — | 11.9% | 10.6% | | ⚙️ engine difference (excluded) | 167 | — | 1.7% | 1.5% | | ❔ unevaluated (excluded) | 3841 | — | 39.9% | 35.6% | | 🔒 Node.js internals (excluded) | 1177 | — | — | 10.9% | | **Total** | **10794** | | | **100.0%** | -Secondary full-public compatibility, including public tests that are currently excluded from primary: **3158/9617 (32.8%)**. +Secondary full-public compatibility, including public tests that are currently excluded from primary: **3162/9617 (32.9%)**. ## Inventory by Module @@ -71,7 +71,7 @@ Secondary full-public compatibility, including public tests that are currently e | shadow_realm | 11 | 0 | 0 | 0 | 11 | 0 | 0 | 0.0% | 0.0% | | signal | 5 | 1 | 0 | 3 | 0 | 0 | 1 | 100.0% | 25.0% | | snapshot | 61 | 0 | 0 | 0 | 57 | 4 | 0 | 0.0% | 0.0% | -| sqlite | 117 | 27 | 32 | 0 | 0 | 58 | 0 | 45.8% | 23.1% | +| sqlite | 117 | 31 | 28 | 0 | 0 | 58 | 0 | 52.5% | 26.5% | | stdio | 23 | 12 | 7 | 3 | 0 | 0 | 1 | 63.2% | 54.5% | | stream | 872 | 686 | 30 | 2 | 0 | 113 | 41 | 95.8% | 82.6% | | string_decoder | 5 | 3 | 0 | 0 | 0 | 2 | 0 | 100.0% | 60.0% | @@ -731,11 +731,11 @@ Secondary full-public compatibility, including public tests that are currently e | `test-sqlite-backup.mjs` | 15 | 0 | 0 | 0 | 0 | 15 | 0 | | `test-sqlite-config.js` | 9 | 0 | 0 | 0 | 0 | 9 | 0 | | `test-sqlite-database.js` | 8 | 3 | 5 | 0 | 0 | 0 | 0 | -| `test-sqlite-named-parameters.js` | 3 | 1 | 2 | 0 | 0 | 0 | 0 | +| `test-sqlite-named-parameters.js` | 3 | 2 | 1 | 0 | 0 | 0 | 0 | | `test-sqlite-options-getter-reentry.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-sqlite-serialize.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-sqlite-session.js` | 28 | 13 | 1 | 0 | 0 | 14 | 0 | -| `test-sqlite-statement.js` | 22 | 4 | 18 | 0 | 0 | 0 | 0 | +| `test-sqlite-statement.js` | 22 | 7 | 15 | 0 | 0 | 0 | 0 | | `test-sqlite-template-tag.js` | 18 | 0 | 0 | 0 | 0 | 18 | 0 | | `test-sqlite-timeout.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-sqlite-typed-array-and-data-view.js` | 2 | 1 | 1 | 0 | 0 | 0 | 0 | @@ -1090,14 +1090,14 @@ Secondary full-public compatibility, including public tests that are currently e ## Classified Non-Runnable Tests -### known gap (1303) +### known gap (1299) | Reason | Count | Example entries | |--------|-------|-----------------| | node:http2 public API is a stub in WebAssembly runtime | 106 | `parallel/test-http2-head-request.js`, `parallel/test-http2-info-headers.js`, `parallel/test-http2-invalidargtypes-errors.js`, ... (+103) | -| Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet | 30 | `parallel/test-sqlite-custom-functions.js`, `parallel/test-sqlite-data-types.js`, `parallel/test-sqlite-database.js#test_00_database_constructor`, ... (+27) | | requires isolated process.execPath TypeScript entry execution and Node CLI flags; the direct process.features check requires a separate feature-disabled component | 30 | `es-module/test-typescript.mjs#test_00_expect_process_features_typescript_to_be_false_when_no_exper`, `es-module/test-typescript.mjs#test_01_execute_a_typescript_file`, `es-module/test-typescript.mjs#test_02_execute_a_typescript_file_with_imports`, ... (+27) | | requires simulated process.execPath / Node CLI mode support deferred to follow-up PR | 29 | `es-module/test-esm-cjs-load-error-note.mjs`, `es-module/test-esm-detect-ambiguous.mjs#test_00_module_syntax_detection`, `es-module/test-esm-detect-ambiguous.mjs#test_01_wrapping_a_require_of_an_es_module_while_using_abort_on_unca`, ... (+26) | +| Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet | 26 | `parallel/test-sqlite-custom-functions.js`, `parallel/test-sqlite-data-types.js`, `parallel/test-sqlite-database.js#test_00_database_constructor`, ... (+23) | | requires isolated process.execPath --eval execution, TypeScript input-type flags, and child warning/output/exit capture | 24 | `es-module/test-typescript-eval.mjs#test_00_eval_typescript_esm_syntax`, `es-module/test-typescript-eval.mjs#test_01_eval_typescript_esm_syntax_with_input_type_module`, `es-module/test-typescript-eval.mjs#test_02_eval_typescript_commonjs_syntax`, ... (+21) | | requires isolated process.execPath TypeScript entry execution and Node CLI default-module / require-module flag handling | 24 | `es-module/test-typescript-commonjs.mjs#test_00_require_a_ts_file_with_explicit_extension_succeeds`, `es-module/test-typescript-commonjs.mjs#test_01_eval_require_a_ts_file_with_implicit_extension_fails`, `es-module/test-typescript-commonjs.mjs#test_02_eval_require_a_cts_file_with_implicit_extension_fails`, ... (+21) | | stream edge case not yet handled | 22 | `parallel/test-stream-compose.js#block_17_block_17`, `parallel/test-stream-drop-take.js#block_01_don_t_wait_for_next_item_in_the_original_stream_when_already`, `parallel/test-stream-duplex-from.js#block_17_block_17`, ... (+19) | diff --git a/tests/runtime/sqlite.rs b/tests/runtime/sqlite.rs index 07be7d438..38cd3d341 100644 --- a/tests/runtime/sqlite.rs +++ b/tests/runtime/sqlite.rs @@ -196,3 +196,15 @@ async fn sqlite_test_memory_roundtrip_unoptimized( assert_eq!(r, Some(Val::Bool(true))); Ok(()) } + +#[test] +async fn sqlite_test_prepare_options( + #[tagged_as("sqlite")] compiled_test: &CompiledTest, +) -> anyhow::Result<()> { + let (r, output) = + invoke_and_capture_output(compiled_test.wasm_path(), None, "test-prepare-options", &[]) + .await; + println!("Output:\n{}", output); + assert_eq!(r?, Some(Val::Bool(true))); + Ok(()) +} From 9747a85911620f9a6415014a480d532e841fa882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Tue, 24 Nov 2026 15:39:10 +0000 Subject: [PATCH 51/55] Run SQLite CI From 7d1e932afefc412b68c9d2d6cb81ed96cd40b3a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Tue, 24 Nov 2026 17:56:35 +0000 Subject: [PATCH 52/55] Fix SQLite value contracts [skip ci] --- .../skeleton/src/builtin/sqlite.js | 2 +- .../skeleton/src/builtin/sqlite.rs | 5 +- examples/runtime/sqlite/src/sqlite.js | 57 +++++++++++++++++++ examples/runtime/sqlite/wit/sqlite.wit | 2 + .../generated_types_sqlite_exports.d.ts | 2 + tests/node_compat/config.jsonc | 2 +- tests/node_compat/report.md | 16 +++--- tests/runtime/sqlite.rs | 28 +++++++++ 8 files changed, 100 insertions(+), 14 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/sqlite.js b/crates/wasm-rquickjs/skeleton/src/builtin/sqlite.js index 90f7b76fd..d94ba13bc 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/sqlite.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/sqlite.js @@ -333,7 +333,7 @@ class _DatabaseSyncImpl { } get isTransaction() { - if (this.#connId === null) return false; + if (this.#connId === null) throwDbNotOpen('ERR_INVALID_STATE'); return !is_autocommit(this.#connId); } } diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/sqlite.rs b/crates/wasm-rquickjs/skeleton/src/builtin/sqlite.rs index 0e17a2302..d455f436a 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/sqlite.rs +++ b/crates/wasm-rquickjs/skeleton/src/builtin/sqlite.rs @@ -250,12 +250,9 @@ fn js_value_to_sqlite<'js>( return Ok(rusqlite::types::Value::Integer(if b { 1 } else { 0 })); } if let Some(i) = val.as_int() { - return Ok(rusqlite::types::Value::Integer(i as i64)); + return Ok(rusqlite::types::Value::Real(i as f64)); } if let Some(f) = val.as_float() { - if f.fract() == 0.0 && f >= i64::MIN as f64 && f <= i64::MAX as f64 { - return Ok(rusqlite::types::Value::Integer(f as i64)); - } return Ok(rusqlite::types::Value::Real(f)); } if val.is_big_int() { diff --git a/examples/runtime/sqlite/src/sqlite.js b/examples/runtime/sqlite/src/sqlite.js index cfb10b13b..4e5666fad 100644 --- a/examples/runtime/sqlite/src/sqlite.js +++ b/examples/runtime/sqlite/src/sqlite.js @@ -317,3 +317,60 @@ export function testPrepareOptions() { } return true; } + +export function testTransactionState() { + const db = new DatabaseSync(':memory:', { open: false }); + const closed = { code: 'ERR_INVALID_STATE', message: 'database is not open' }; + assert.throws(() => db.isTransaction, closed); + try { + db.open(); + assert.equal(db.isTransaction, false); + db.exec('CREATE TABLE values_test (n INTEGER)'); + db.exec('BEGIN; INSERT INTO values_test VALUES (13)'); + assert.equal(db.isTransaction, true); + db.exec('COMMIT'); + assert.equal(db.isTransaction, false); + db.exec('BEGIN; INSERT INTO values_test VALUES (29)'); + assert.equal(db.isTransaction, true); + db.exec('ROLLBACK'); + assert.equal(db.isTransaction, false); + assert.deepEqual(db.prepare('SELECT n FROM values_test').all(), [{ __proto__: null, n: 13 }]); + db.close(); + assert.throws(() => db.isTransaction, closed); + db.open(); + assert.equal(db.isTransaction, false); + } finally { + if (db.isOpen) db.close(); + } + return true; +} + +export function testNumberBinding() { + const db = new DatabaseSync(':memory:'); + try { + for (const readBigInts of [true, false]) { + const query = db.prepare('SELECT $n AS n, typeof($n) AS kind, $b AS b, typeof($b) AS bigint_kind', { readBigInts }); + for (const n of [13, -7, 2 ** 40 + 1, Number.MAX_SAFE_INTEGER, 1.25, Infinity, -Infinity]) { + const expected = { __proto__: null, n, kind: 'real', b: readBigInts ? 29n : 29, bigint_kind: 'integer' }; + assert.deepEqual(query.get({ n, b: 29n }), expected); + assert.deepEqual(query.all({ n, b: 29n }), [expected]); + assert.deepEqual([...query.iterate({ n, b: 29n })], [expected]); + } + assert.deepEqual(db.prepare('SELECT ? AS n, typeof(?) AS kind', { readBigInts }).get(NaN, NaN), { + __proto__: null, n: null, kind: 'null', + }); + } + db.exec('CREATE TABLE affinity_test (i INTEGER, r REAL, untyped)'); + const insert = db.prepare('INSERT INTO affinity_test VALUES (?, ?, ?)'); + insert.run(13, 29n, -7); + assert.deepEqual(db.prepare('SELECT i, r, untyped, typeof(untyped) AS kind FROM affinity_test', { + readBigInts: true, + }).get(), { __proto__: null, i: 13n, r: 29, untyped: -7, kind: 'real' }); + assert.deepEqual(db.prepare('SELECT ? AS n, typeof(?) AS kind', { + readBigInts: true, + }).get(-0, -0), { __proto__: null, n: -0, kind: 'real' }); + } finally { + db.close(); + } + return true; +} diff --git a/examples/runtime/sqlite/wit/sqlite.wit b/examples/runtime/sqlite/wit/sqlite.wit index 32d1e071b..2a9a0cefe 100644 --- a/examples/runtime/sqlite/wit/sqlite.wit +++ b/examples/runtime/sqlite/wit/sqlite.wit @@ -12,4 +12,6 @@ world sqlite { export test-autocommit-tracking: func() -> bool; export test-type-validation: func() -> bool; export test-prepare-options: func() -> bool; + export test-transaction-state: func() -> bool; + export test-number-binding: func() -> bool; } diff --git a/tests/goldenfiles/generated_types_sqlite_exports.d.ts b/tests/goldenfiles/generated_types_sqlite_exports.d.ts index a1077e8c3..ad4333526 100644 --- a/tests/goldenfiles/generated_types_sqlite_exports.d.ts +++ b/tests/goldenfiles/generated_types_sqlite_exports.d.ts @@ -10,4 +10,6 @@ declare module 'sqlite' { export function testAutocommitTracking(): boolean; export function testTypeValidation(): boolean; export function testPrepareOptions(): boolean; + export function testTransactionState(): boolean; + export function testNumberBinding(): boolean; } diff --git a/tests/node_compat/config.jsonc b/tests/node_compat/config.jsonc index 5acc160b9..e0675ffb3 100644 --- a/tests/node_compat/config.jsonc +++ b/tests/node_compat/config.jsonc @@ -14987,7 +14987,7 @@ "test_02_database_prototype_close": {}, "test_03_database_prototype_prepare": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, "test_04_database_prototype_exec": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, - "test_05_database_prototype_istransaction": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, + "test_05_database_prototype_istransaction": {}, "test_06_database_prototype_location": { "category": "known-gap", "reason": "Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet" }, "test_07_database_prototype_symbol_dispose": {} } diff --git a/tests/node_compat/report.md b/tests/node_compat/report.md index 0dc825dc7..6f7382f6a 100644 --- a/tests/node_compat/report.md +++ b/tests/node_compat/report.md @@ -8,21 +8,21 @@ This report is generated from `config.jsonc` and the pinned vendored Node.js sou Primary compatibility is measured over the public API surface we can provide: CI-enforced passing (`runnable`) plus `known-gap`. WASI-impossible tests, engine differences, unevaluated tests, and Node.js-internals tests are acknowledged separately and excluded from the primary percentage. -**Primary compatibility (CI-enforced):** 3162/4461 (70.9%) +**Primary compatibility (CI-enforced):** 3163/4461 (70.9%) When comparing revisions, read the runnable count and secondary full-public percentage alongside the primary percentage. Reclassifying a test into an excluded category can increase the primary percentage without increasing runnable coverage. | Classification | Count | Primary % | Public inventory % | All listed % | |----------------|-------|-----------|--------------------|--------------| -| ✅ passing (runnable) | 3162 | 70.9% | 32.9% | 29.3% | -| 🧩 known gap | 1299 | 29.1% | 13.5% | 12.0% | +| ✅ passing (runnable) | 3163 | 70.9% | 32.9% | 29.3% | +| 🧩 known gap | 1298 | 29.1% | 13.5% | 12.0% | | 🚫 WASI-impossible (excluded) | 1148 | — | 11.9% | 10.6% | | ⚙️ engine difference (excluded) | 167 | — | 1.7% | 1.5% | | ❔ unevaluated (excluded) | 3841 | — | 39.9% | 35.6% | | 🔒 Node.js internals (excluded) | 1177 | — | — | 10.9% | | **Total** | **10794** | | | **100.0%** | -Secondary full-public compatibility, including public tests that are currently excluded from primary: **3162/9617 (32.9%)**. +Secondary full-public compatibility, including public tests that are currently excluded from primary: **3163/9617 (32.9%)**. ## Inventory by Module @@ -71,7 +71,7 @@ Secondary full-public compatibility, including public tests that are currently e | shadow_realm | 11 | 0 | 0 | 0 | 11 | 0 | 0 | 0.0% | 0.0% | | signal | 5 | 1 | 0 | 3 | 0 | 0 | 1 | 100.0% | 25.0% | | snapshot | 61 | 0 | 0 | 0 | 57 | 4 | 0 | 0.0% | 0.0% | -| sqlite | 117 | 31 | 28 | 0 | 0 | 58 | 0 | 52.5% | 26.5% | +| sqlite | 117 | 32 | 27 | 0 | 0 | 58 | 0 | 54.2% | 27.4% | | stdio | 23 | 12 | 7 | 3 | 0 | 0 | 1 | 63.2% | 54.5% | | stream | 872 | 686 | 30 | 2 | 0 | 113 | 41 | 95.8% | 82.6% | | string_decoder | 5 | 3 | 0 | 0 | 0 | 2 | 0 | 100.0% | 60.0% | @@ -730,7 +730,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-sqlite-authz.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | | `test-sqlite-backup.mjs` | 15 | 0 | 0 | 0 | 0 | 15 | 0 | | `test-sqlite-config.js` | 9 | 0 | 0 | 0 | 0 | 9 | 0 | -| `test-sqlite-database.js` | 8 | 3 | 5 | 0 | 0 | 0 | 0 | +| `test-sqlite-database.js` | 8 | 4 | 4 | 0 | 0 | 0 | 0 | | `test-sqlite-named-parameters.js` | 3 | 2 | 1 | 0 | 0 | 0 | 0 | | `test-sqlite-options-getter-reentry.js` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | | `test-sqlite-serialize.js` | 2 | 0 | 0 | 0 | 0 | 2 | 0 | @@ -1090,14 +1090,14 @@ Secondary full-public compatibility, including public tests that are currently e ## Classified Non-Runnable Tests -### known gap (1299) +### known gap (1298) | Reason | Count | Example entries | |--------|-------|-----------------| | node:http2 public API is a stub in WebAssembly runtime | 106 | `parallel/test-http2-head-request.js`, `parallel/test-http2-info-headers.js`, `parallel/test-http2-invalidargtypes-errors.js`, ... (+103) | | requires isolated process.execPath TypeScript entry execution and Node CLI flags; the direct process.features check requires a separate feature-disabled component | 30 | `es-module/test-typescript.mjs#test_00_expect_process_features_typescript_to_be_false_when_no_exper`, `es-module/test-typescript.mjs#test_01_execute_a_typescript_file`, `es-module/test-typescript.mjs#test_02_execute_a_typescript_file_with_imports`, ... (+27) | | requires simulated process.execPath / Node CLI mode support deferred to follow-up PR | 29 | `es-module/test-esm-cjs-load-error-note.mjs`, `es-module/test-esm-detect-ambiguous.mjs#test_00_module_syntax_detection`, `es-module/test-esm-detect-ambiguous.mjs#test_01_wrapping_a_require_of_an_es_module_while_using_abort_on_unca`, ... (+26) | -| Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet | 26 | `parallel/test-sqlite-custom-functions.js`, `parallel/test-sqlite-data-types.js`, `parallel/test-sqlite-database.js#test_00_database_constructor`, ... (+23) | +| Node 26.13.1 node:sqlite API additions or changed expectations are not implemented yet | 25 | `parallel/test-sqlite-custom-functions.js`, `parallel/test-sqlite-data-types.js`, `parallel/test-sqlite-database.js#test_00_database_constructor`, ... (+22) | | requires isolated process.execPath --eval execution, TypeScript input-type flags, and child warning/output/exit capture | 24 | `es-module/test-typescript-eval.mjs#test_00_eval_typescript_esm_syntax`, `es-module/test-typescript-eval.mjs#test_01_eval_typescript_esm_syntax_with_input_type_module`, `es-module/test-typescript-eval.mjs#test_02_eval_typescript_commonjs_syntax`, ... (+21) | | requires isolated process.execPath TypeScript entry execution and Node CLI default-module / require-module flag handling | 24 | `es-module/test-typescript-commonjs.mjs#test_00_require_a_ts_file_with_explicit_extension_succeeds`, `es-module/test-typescript-commonjs.mjs#test_01_eval_require_a_ts_file_with_implicit_extension_fails`, `es-module/test-typescript-commonjs.mjs#test_02_eval_require_a_cts_file_with_implicit_extension_fails`, ... (+21) | | stream edge case not yet handled | 22 | `parallel/test-stream-compose.js#block_17_block_17`, `parallel/test-stream-drop-take.js#block_01_don_t_wait_for_next_item_in_the_original_stream_when_already`, `parallel/test-stream-duplex-from.js#block_17_block_17`, ... (+19) | diff --git a/tests/runtime/sqlite.rs b/tests/runtime/sqlite.rs index 38cd3d341..e5234207b 100644 --- a/tests/runtime/sqlite.rs +++ b/tests/runtime/sqlite.rs @@ -208,3 +208,31 @@ async fn sqlite_test_prepare_options( assert_eq!(r?, Some(Val::Bool(true))); Ok(()) } + +#[test] +async fn sqlite_test_transaction_state( + #[tagged_as("sqlite")] compiled_test: &CompiledTest, +) -> anyhow::Result<()> { + let (r, output) = invoke_and_capture_output( + compiled_test.wasm_path(), + None, + "test-transaction-state", + &[], + ) + .await; + println!("Output:\n{}", output); + assert_eq!(r?, Some(Val::Bool(true))); + Ok(()) +} + +#[test] +async fn sqlite_test_number_binding( + #[tagged_as("sqlite")] compiled_test: &CompiledTest, +) -> anyhow::Result<()> { + let (r, output) = + invoke_and_capture_output(compiled_test.wasm_path(), None, "test-number-binding", &[]) + .await; + println!("Output:\n{}", output); + assert_eq!(r?, Some(Val::Bool(true))); + Ok(()) +} From 69217c116d5d79c184a0b84d4e784a7c995a084f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Thu, 26 Nov 2026 08:48:36 +0000 Subject: [PATCH 53/55] Preserve Node baseline coverage and migration decisions --- .../skeleton/src/builtin/util.js | 12 +- examples/runtime/assert/src/assert.js | 35 ++++++ tests/migrate_config_split.rs | 109 ++++++++++++++++-- tests/node_compat/README.md | 6 +- tests/node_compat/config.jsonc | 76 ++++++------ tests/node_compat/report.md | 70 +++-------- tests/node_compat_config_report.rs | 45 ++++++++ 7 files changed, 251 insertions(+), 102 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/util.js b/crates/wasm-rquickjs/skeleton/src/builtin/util.js index 38ddc528b..4f7f20742 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/util.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/util.js @@ -1073,8 +1073,16 @@ function _innerDeep(a, b, strict, memo) { } export function innerDeepEqual(a, b, strict, memo) { + const previousCount = _deepCallCount; _deepCallCount = 0; - return _innerDeep(a, b, strict, memo); + const previous = _deepSkipPrototype; + _deepSkipPrototype = false; + try { + return _innerDeep(a, b, strict, memo); + } finally { + _deepCallCount = previousCount; + _deepSkipPrototype = previous; + } } // Node 26 util.isDeepStrictEqual(val1, val2, skipPrototype): strict comparison that @@ -1082,12 +1090,14 @@ export function innerDeepEqual(a, b, strict, memo) { let _deepSkipPrototype = false; export function isDeepStrictEqual(val1, val2, skipPrototype) { + const previousCount = _deepCallCount; _deepCallCount = 0; const previous = _deepSkipPrototype; _deepSkipPrototype = !!skipPrototype; try { return _innerDeep(val1, val2, true, undefined); } finally { + _deepCallCount = previousCount; _deepSkipPrototype = previous; } } diff --git a/examples/runtime/assert/src/assert.js b/examples/runtime/assert/src/assert.js index 558946eb4..0da5488ed 100644 --- a/examples/runtime/assert/src/assert.js +++ b/examples/runtime/assert/src/assert.js @@ -1,6 +1,7 @@ import assert from 'node:assert'; import { AssertionError } from 'node:assert'; import fs from 'node:fs'; +import { isDeepStrictEqual } from 'node:util'; import { createRequire } from 'node:module'; import test from 'node:test'; @@ -140,6 +141,40 @@ export const testDeepStrictEqual = () => { assert.deepStrictEqual(new Date(0), new Date(0)); assert.deepStrictEqual(/abc/g, /abc/g); + // Independent assertions in a getter must not inherit util's skipPrototype option. + class A { constructor() { this.value = 1; } } + class B { constructor() { this.value = 1; } } + const a = new A(); + const b = new B(); + const left = { + get value() { + assert.throws(() => assert.deepStrictEqual(a, b), { code: 'ERR_ASSERTION' }); + assert.notDeepStrictEqual(a, b); + assert.strictEqual(isDeepStrictEqual(a, b), false); + return a; + } + }; + assert.strictEqual(isDeepStrictEqual(left, { value: b }, true), true); + assert.strictEqual(isDeepStrictEqual(a, b), false); + const sentinel = new Error('getter failure'); + assert.throws(() => isDeepStrictEqual({ + get value() { throw sentinel; } + }, { value: b }, true), (error) => error === sentinel); + assert.throws(() => assert.deepStrictEqual(a, b), { code: 'ERR_ASSERTION' }); + + // Nested comparisons also have independent recursion budgets. + const nested = Array.from({ length: 3000 }, (_, index) => index); + const tail = Array.from({ length: 2500 }, (_, index) => index); + for (const compare of [assert.deepStrictEqual, isDeepStrictEqual]) { + assert.strictEqual(isDeepStrictEqual({ + get a() { + compare(nested, nested.slice()); + return 1; + }, + z: tail + }, { a: 1, z: tail.slice() }), true); + } + // Strict: type matters let caught = false; try { assert.deepStrictEqual({ a: 1 }, { a: '1' }); } catch (e) { caught = true; } diff --git a/tests/migrate_config_split.rs b/tests/migrate_config_split.rs index 0928d7699..b0772da4b 100644 --- a/tests/migrate_config_split.rs +++ b/tests/migrate_config_split.rs @@ -8,10 +8,11 @@ //! `target/node-compat-migration-report.json`) and fails when an entry needs a manual mapping: //! a configured file whose source is gone, a subtest that disappeared, or a split file that can //! no longer be split and whose subtests had different metadata. +//! The authoritative config is written only when no review decisions remain unresolved. //! //! When a split file's subtests changed, the previous vendored suite is required as //! `NODE_COMPAT_MIGRATION_PREVIOUS_SUITE`: a subtest keeps the metadata of the previous subtest -//! with identical source, so an unchanged block that moved to another index (and therefore another +//! with byte-identical source, so an unchanged block that moved to another index (and therefore another //! generated name such as `block_05_block_05`) keeps its own classification. //! //! A changed subtest with a generated name keeps the metadata of the previous subtest at its @@ -338,14 +339,9 @@ fn format_split(meta: &Map, subtests: &[(String, Value)]) -> Stri lines.join("\n") } -/// Subtest names with their source text, whitespace-normalised. +/// Subtest names with their exact source text, including whitespace inside literals. fn discovered_subtests(discovery: &SubtestDiscovery, source: &str) -> Vec<(String, String)> { - let text = |(start, end): (u32, u32)| { - source[start as usize..end as usize] - .split_whitespace() - .collect::>() - .join(" ") - }; + let text = |(start, end): (u32, u32)| source[start as usize..end as usize].to_string(); match discovery { SubtestDiscovery::None => Vec::new(), SubtestDiscovery::Block(blocks) => blocks @@ -1257,7 +1253,6 @@ fn migrate_config_split() -> anyhow::Result<()> { previous_suite.as_deref().map(Path::new), decisions.as_deref(), )?; - fs::write(config_path, migrated)?; if let Some(parent) = Path::new(&report_path).parent() { fs::create_dir_all(parent)?; } @@ -1302,6 +1297,7 @@ fn migrate_config_split() -> anyhow::Result<()> { report.needs_review() ); } + fs::write(config_path, migrated)?; Ok(()) } @@ -1762,6 +1758,101 @@ mod contract { assert_eq!(migration.report.needs_review(), 0); } + #[test] + #[test_r::tag(migration_contract)] + fn literal_whitespace_changes_need_a_decision() { + for (previous, current) in [ + (r#"{ check("a b"); }"#, r#"{ check("a b"); }"#), + ("{ check(`a b`); }", "{ check(`a b`); }"), + ("{ check(/a b/); }", "{ check(/a b/); }"), + ] { + let fixture = Fixture::new(); + fixture + .previous( + "parallel/test-a.js", + &format!("{previous}\n{{ stable(); }}\n"), + ) + .source( + "parallel/test-a.js", + &format!("{current}\n{{ stable(); }}\n"), + ); + let migration = fixture.migrate( + r#" "parallel/test-a.js": { "split": true, "subtests": { "block_00_block_00": { "category": "runnable" }, "block_01_block_01": {} } }"#, + ); + assert_eq!( + migration.report.needs_review(), + 1, + "{previous} -> {current}" + ); + } + } + + #[test] + #[test_r::tag(migration_contract)] + fn unresolved_migration_preserves_config_on_retry() { + let fixture = Fixture::new(); + let root = fixture.temp.path(); + let config_path = root.join("tests/node_compat/config.jsonc"); + fixture.source("tests/node_compat/suite/parallel/test-a.js", TWO_TESTS); + fixture.previous( + "parallel/test-a.js", + &node_tests(&["alpha", "beta", "gone"]), + ); + let original = config( + r#" "parallel/test-a.js": { "split": true, "subtests": { "test_00_alpha": {}, "test_01_beta": {}, "test_02_gone": { "category": "runnable" } } }"#, + ); + fs::write(&config_path, &original).unwrap(); + let report_path = root.join("report.json"); + for attempt in 0..3 { + if report_path.exists() { + fs::remove_file(&report_path).unwrap(); + } + // Unlike the pure migrate() contracts, exercise the documented command's + // persistence boundary: a rejected proposal must not overwrite its input. + let mut command = std::process::Command::new(std::env::current_exe().unwrap()); + command + .current_dir(root) + .args(["--exact", "migrate_config_split"]) + .env("NODE_COMPAT_MIGRATION_REPORT", &report_path) + .env_remove("NODE_COMPAT_MIGRATION_PREVIOUS_SUITE") + .env_remove("NODE_COMPAT_MIGRATION_DECISIONS"); + if attempt != 1 { + command.env( + "NODE_COMPAT_MIGRATION_PREVIOUS_SUITE", + fixture.previous.path(), + ); + } + let output = command.output().unwrap(); + assert!(!output.status.success(), "migration unexpectedly succeeded"); + assert_eq!(fs::read_to_string(&config_path).unwrap(), original); + if attempt == 1 { + assert!( + !report_path.exists(), + "no proposal was computed without the previous suite" + ); + let diagnostics = format!( + "{}{}", + String::from_utf8_lossy(&output.stdout), + String::from_utf8_lossy(&output.stderr) + ); + assert!( + diagnostics.contains("NODE_COMPAT_MIGRATION_PREVIOUS_SUITE"), + "{diagnostics}" + ); + continue; + } + assert!( + report_path.exists(), + "{}\n{}", + String::from_utf8_lossy(&output.stdout), + String::from_utf8_lossy(&output.stderr) + ); + let report: Value = + serde_json::from_str(&fs::read_to_string(&report_path).unwrap()).unwrap(); + assert_eq!(report["removedSubtests"][0]["subtest"], "test_02_gone"); + } + } + /// Three blocks: the first two change, the third does not. const PREVIOUS_BLOCKS: &str = "{ one(1); }\n{ two(1); }\n{ three(); }\n"; const CURRENT_BLOCKS: &str = "{ one(2); }\n{ two(2); }\n{ three(); }\n"; diff --git a/tests/node_compat/README.md b/tests/node_compat/README.md index 6fda7f23a..67e4f499e 100644 --- a/tests/node_compat/README.md +++ b/tests/node_compat/README.md @@ -70,6 +70,8 @@ and of each surviving subtest: changed. Otherwise it keeps the metadata of the previous subtest with the same name, or of the one with the same unique description. A new subtest starts `unevaluated` unless the file is already excluded from the runner. + Source matching is byte-exact, including whitespace inside and outside literals; + reformatting can therefore require a mapping or positional decision. - A changed subtest with a generated name keeps the metadata of the previous subtest at its position only as a proposal. The report lists every such subtest under `matchedByPosition`, including excluded ones, and the run fails until each @@ -84,7 +86,9 @@ It never deletes an entry. Configured files without a source, removed subtests, undecided unsplits, positional subtests without an accepted decision and unused decisions are written to `target/node-compat-migration-report.json` (override with `NODE_COMPAT_MIGRATION_REPORT`), and the run fails until each one is mapped by -reading both versions. The tool's contract tests run with +reading both versions. `config.jsonc` is written only when no review decisions +remain unresolved; a run with unresolved decisions writes only the report and +leaves the authoritative config untouched for the next attempt. The tool's contract tests run with `cargo test --test migrate_config_split -- ':tag:migration_contract'`. ### Mapping decisions for subtests matched by position diff --git a/tests/node_compat/config.jsonc b/tests/node_compat/config.jsonc index 3d9de62df..420281771 100644 --- a/tests/node_compat/config.jsonc +++ b/tests/node_compat/config.jsonc @@ -333,9 +333,9 @@ "category": "runnable", "split": true, "subtests": { - "block_00_emits_deprecation_only_once_if_same_function_is_called": {}, - "block_01_emits_deprecation_twice_for_different_functions": {}, - "block_02_functions": {}, + "block_00_emits_deprecation_only_once_if_same_function_is_called": { "category": "runnable" }, + "block_01_emits_deprecation_twice_for_different_functions": { "category": "runnable" }, + "block_02_functions": { "category": "runnable" }, "block_03_test_modifyprototype_option": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" } } }, @@ -8757,48 +8757,48 @@ "category": "runnable", "split": true, "subtests": { - "block_00_block_00": {}, - "block_01_block_01": {}, - "block_02_block_02": {}, - "block_03_block_03": {}, - "block_04_block_04": {}, - "block_05_block_05": {}, - "block_06_block_06": {}, - "block_07_block_07": {}, + "block_00_block_00": { "category": "runnable" }, + "block_01_block_01": { "category": "runnable" }, + "block_02_block_02": { "category": "runnable" }, + "block_03_block_03": { "category": "runnable" }, + "block_04_block_04": { "category": "runnable" }, + "block_05_block_05": { "category": "runnable" }, + "block_06_block_06": { "category": "runnable" }, + "block_07_block_07": { "category": "runnable" }, "block_08_block_08": { "category": "known-gap", "reason": "stream edge case not yet handled" }, - "block_09_block_09": {}, - "block_10_block_10": {}, - "block_11_block_11": {}, - "block_12_block_12": {}, - "block_13_block_13": {}, - "block_14_test_faulty_input_values_and_options": {}, - "block_15_test_that_calling_returned_function_removes_listeners": {}, - "block_16_block_16": {}, - "block_17_block_17": {}, - "block_18_block_18": {}, - "block_19_block_19": {}, - "block_20_block_20": {}, + "block_09_block_09": { "category": "runnable" }, + "block_10_block_10": { "category": "runnable" }, + "block_11_block_11": { "category": "runnable" }, + "block_12_block_12": { "category": "runnable" }, + "block_13_block_13": { "category": "runnable" }, + "block_14_test_faulty_input_values_and_options": { "category": "runnable" }, + "block_15_test_that_calling_returned_function_removes_listeners": { "category": "runnable" }, + "block_16_block_16": { "category": "runnable" }, + "block_17_block_17": { "category": "runnable" }, + "block_18_block_18": { "category": "runnable" }, + "block_19_block_19": { "category": "runnable" }, + "block_20_block_20": { "category": "runnable" }, "block_21_block_21": { "category": "known-gap", "reason": "stream edge case not yet handled" }, "block_22_block_22": { "category": "known-gap", "reason": "stream edge case not yet handled" }, "block_23_block_23": { "category": "known-gap", "reason": "stream edge case not yet handled" }, "block_24_block_24": { "category": "known-gap", "reason": "stream edge case not yet handled" }, - "block_25_block_25": {}, - "block_26_block_26": {}, - "block_27_block_27": {}, - "block_28_block_28": {}, - "block_29_block_29": {}, - "block_30_block_30": {}, - "block_31_block_31": {}, - "block_32_block_32": {}, - "block_33_block_33": {}, + "block_25_block_25": { "category": "runnable" }, + "block_26_block_26": { "category": "runnable" }, + "block_27_block_27": { "category": "runnable" }, + "block_28_block_28": { "category": "runnable" }, + "block_29_block_29": { "category": "runnable" }, + "block_30_block_30": { "category": "runnable" }, + "block_31_block_31": { "category": "runnable" }, + "block_32_block_32": { "category": "runnable" }, + "block_33_block_33": { "category": "runnable" }, "block_34_block_34": { "category": "known-gap", "reason": "stream.finished hangs in destroyed-stream callback ordering path" }, - "block_35_block_35": {}, - "block_36_block_36": { "category": "unevaluated", "reason": "newly discovered subtest, not yet evaluated" }, - "block_37_block_37": {}, - "block_38_block_38": {}, - "block_39_block_39": {}, + "block_35_block_35": { "category": "known-gap", "reason": "Node 26.13.1 gap: HTTP response aborted/error callbacks after serverRes.destroy() time out" }, + "block_36_block_36": { "category": "runnable", "reason": "carries 22.14.0 subtest block_35_block_35 (writable aborted/close ordering)" }, + "block_37_block_37": { "category": "runnable" }, + "block_38_block_38": { "category": "runnable" }, + "block_39_block_39": { "category": "runnable" }, "block_40_block_40": { "category": "runnable", "reason": "carries 22.14.0 subtest block_39_block_39" }, - "block_41_block_41": {}, + "block_41_block_41": { "category": "runnable" }, "block_42_block_42": { "category": "known-gap", "reason": "stream edge case not yet handled" } } }, diff --git a/tests/node_compat/report.md b/tests/node_compat/report.md index 5f70741e9..bd6d19ebc 100644 --- a/tests/node_compat/report.md +++ b/tests/node_compat/report.md @@ -8,21 +8,21 @@ This report is generated from `config.jsonc` and the pinned vendored Node.js sou Primary compatibility is measured over the public API surface we can provide: CI-enforced passing (`runnable`) plus `known-gap`. WASI-impossible tests, engine differences, unevaluated tests, and Node.js-internals tests are acknowledged separately and excluded from the primary percentage. -**Primary compatibility (CI-enforced):** 3158/4461 (70.8%) +**Primary compatibility (CI-enforced):** 3195/4499 (71.0%) When comparing revisions, read the runnable count and secondary full-public percentage alongside the primary percentage. Reclassifying a test into an excluded category can increase the primary percentage without increasing runnable coverage. | Classification | Count | Primary % | Public inventory % | All listed % | |----------------|-------|-----------|--------------------|--------------| -| ✅ passing (runnable) | 3158 | 70.8% | 32.8% | 29.3% | -| 🧩 known gap | 1303 | 29.2% | 13.5% | 12.1% | +| ✅ passing (runnable) | 3195 | 71.0% | 33.1% | 29.6% | +| 🧩 known gap | 1304 | 29.0% | 13.5% | 12.1% | | 🚫 WASI-impossible (excluded) | 1148 | — | 11.9% | 10.6% | | ⚙️ engine difference (excluded) | 167 | — | 1.7% | 1.5% | -| ❔ unevaluated (excluded) | 3841 | — | 39.9% | 35.6% | -| 🔒 Node.js internals (excluded) | 1177 | — | — | 10.9% | +| ❔ unevaluated (excluded) | 3840 | — | 39.8% | 35.6% | +| 🔒 Node.js internals (excluded) | 1140 | — | — | 10.6% | | **Total** | **10794** | | | **100.0%** | -Secondary full-public compatibility, including public tests that are currently excluded from primary: **3158/9617 (32.8%)**. +Secondary full-public compatibility, including public tests that are currently excluded from primary: **3195/9654 (33.1%)**. ## Inventory by Module @@ -73,7 +73,7 @@ Secondary full-public compatibility, including public tests that are currently e | snapshot | 61 | 0 | 0 | 0 | 57 | 4 | 0 | 0.0% | 0.0% | | sqlite | 117 | 27 | 32 | 0 | 0 | 58 | 0 | 45.8% | 23.1% | | stdio | 23 | 12 | 7 | 3 | 0 | 0 | 1 | 63.2% | 54.5% | -| stream | 872 | 686 | 30 | 2 | 0 | 113 | 41 | 95.8% | 82.6% | +| stream | 872 | 720 | 31 | 2 | 0 | 112 | 7 | 95.9% | 83.2% | | string_decoder | 5 | 3 | 0 | 0 | 0 | 2 | 0 | 100.0% | 60.0% | | test_runner | 338 | 88 | 32 | 21 | 1 | 187 | 9 | 73.3% | 26.7% | | timers | 111 | 47 | 3 | 0 | 0 | 20 | 41 | 94.0% | 67.1% | @@ -81,7 +81,7 @@ Secondary full-public compatibility, including public tests that are currently e | trace_events | 35 | 12 | 7 | 5 | 0 | 8 | 3 | 63.2% | 37.5% | | tty | 5 | 0 | 3 | 0 | 0 | 0 | 2 | 0.0% | 0.0% | | url | 51 | 19 | 10 | 0 | 0 | 21 | 1 | 65.5% | 38.0% | -| util | 235 | 83 | 14 | 0 | 0 | 20 | 118 | 85.6% | 70.9% | +| util | 235 | 86 | 14 | 0 | 0 | 20 | 115 | 86.0% | 71.7% | | v8 | 57 | 14 | 1 | 0 | 30 | 12 | 0 | 93.3% | 24.6% | | vm | 173 | 73 | 39 | 3 | 13 | 45 | 0 | 65.2% | 42.2% | | webcrypto | 175 | 44 | 21 | 1 | 0 | 62 | 47 | 67.7% | 34.4% | @@ -760,7 +760,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-stream-error-once.js` | 2 | 2 | 0 | 0 | 0 | 0 | 0 | | `test-stream-event-names.js` | 6 | 6 | 0 | 0 | 0 | 0 | 0 | | `test-stream-filter.js` | 12 | 12 | 0 | 0 | 0 | 0 | 0 | -| `test-stream-finished.js` | 43 | 1 | 7 | 0 | 0 | 1 | 34 | +| `test-stream-finished.js` | 43 | 35 | 8 | 0 | 0 | 0 | 0 | | `test-stream-flatMap.js` | 8 | 8 | 0 | 0 | 0 | 0 | 0 | | `test-stream-forEach.js` | 11 | 11 | 0 | 0 | 0 | 0 | 0 | | `test-stream-iter-validation.js` | 19 | 0 | 0 | 0 | 0 | 19 | 0 | @@ -860,7 +860,7 @@ Secondary full-public compatibility, including public tests that are currently e | `test-urlpattern.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | | `test-util-callbackify.js` | 9 | 9 | 0 | 0 | 0 | 0 | 0 | | `test-util-convert-signal-to-exit-code.mjs` | 3 | 0 | 0 | 0 | 0 | 3 | 0 | -| `test-util-deprecate.js` | 4 | 0 | 0 | 0 | 0 | 1 | 3 | +| `test-util-deprecate.js` | 4 | 3 | 0 | 0 | 0 | 1 | 0 | | `test-util-exception-with-host-port.js` | 6 | 0 | 0 | 0 | 0 | 6 | 0 | | `test-util-format.js` | 9 | 0 | 9 | 0 | 0 | 0 | 0 | | `test-util-getcallsites-sourcemap.js` | 4 | 0 | 0 | 0 | 0 | 4 | 0 | @@ -1090,7 +1090,7 @@ Secondary full-public compatibility, including public tests that are currently e ## Classified Non-Runnable Tests -### known gap (1303) +### known gap (1304) | Reason | Count | Example entries | |--------|-------|-----------------| @@ -1317,6 +1317,7 @@ Secondary full-public compatibility, including public tests that are currently e | MessagePort util.inspect output/shape is not Node-compatible | 1 | `parallel/test-worker-message-port-inspect-during-init-hook.js` | | NODE_OPTIONS behavior via --env-file is incomplete in execPath child emulation | 1 | `parallel/test-dotenv-node-options.js` | | NODE_V8_COVERAGE warning behavior in child_process execPath emulation is incomplete | 1 | `parallel/test-coverage-with-inspector-disabled.js` | +| Node 26.13.1 gap: HTTP response aborted/error callbacks after serverRes.destroy() time out | 1 | `parallel/test-stream-finished.js#block_35_block_35` | | OKP (Ed/X) key import/export compatibility is incomplete | 1 | `parallel/test-webcrypto-export-import-cfrg.js` | | OutgoingMessage implicit Content-Length/Transfer-Encoding and Connection header behavior is not Node-compatible | 1 | `parallel/test-http-content-length.js` | | OutgoingMessage.getHeaders() shape is not Node-compatible (null-prototype object expected) | 1 | `parallel/test-http-mutable-headers.js` | @@ -1956,14 +1957,14 @@ Secondary full-public compatibility, including public tests that are currently e | vm.Script.createCachedData relies on V8 code cache internals unavailable in QuickJS | 1 | `parallel/test-vm-createcacheddata.js` | | vm.SourceTextModule dynamic import referrer realm semantics depend on Node VM realm behavior not modeled by the QuickJS host | 1 | `parallel/test-vm-module-referrer-realm.mjs` | -### unevaluated (3841) +### unevaluated (3840) | Reason | Count | Example entries | |--------|-------|-----------------| | newly discovered, not yet evaluated | 3639 | `es-module/test-cjs-defer-static-import-eval.mjs`, `es-module/test-defer-import-builtin-module.mjs`, `es-module/test-defer-import-eval-with-tla.mjs`, ... (+3636) | -| newly discovered subtest, not yet evaluated | 202 | `es-module/test-esm-json.mjs#test_01_should_load_json_with_import_calls`, `parallel/test-assert-deep.js#test_01_loose_deepequal`, `parallel/test-assert-deep.js#test_08_deepstrictequal_handles_shared_expected_array_elements_after`, ... (+199) | +| newly discovered subtest, not yet evaluated | 201 | `es-module/test-esm-json.mjs#test_01_should_load_json_with_import_calls`, `parallel/test-assert-deep.js#test_01_loose_deepequal`, `parallel/test-assert-deep.js#test_08_deepstrictequal_handles_shared_expected_array_elements_after`, ... (+198) | -### Node.js internals (1177) +### Node.js internals (1140) | Reason | Count | Example entries | |--------|-------|-----------------| @@ -1972,7 +1973,6 @@ Secondary full-public compatibility, including public tests that are currently e | requires --expose-internals plus internal/test/binding internalBinding('js_stream'/'util') | 61 | `parallel/test-util-inspect.js#block_00_special_function_inspection`, `parallel/test-util-inspect.js#block_01_block_01`, `parallel/test-util-inspect.js#block_02_block_02`, ... (+58) | | requires --expose-internals and internal/webstreams/adapters | 60 | `parallel/test-whatwg-webstreams-adapters-streambase.js#block_00_block_00`, `parallel/test-whatwg-webstreams-adapters-streambase.js#block_01_block_01`, `parallel/test-whatwg-webstreams-adapters-streambase.js#block_02_block_02`, ... (+57) | | inherited: requires --expose-internals, inspect integration, and internal EventTarget APIs | 53 | `parallel/test-eventtarget.js#block_00_first_test_event`, `parallel/test-eventtarget.js#block_01_block_01`, `parallel/test-eventtarget.js#block_02_block_02`, ... (+50) | -| missing reason | 43 | `parallel/test-cli-node-options-disallowed.js`, `parallel/test-fs-syncwritestream.js`, `parallel/test-fs-watch-abort-signal.js#block_00_block_00`, ... (+40) | | uses --expose-internals with internal/test/binding (internalBinding('uv')) | 32 | `parallel/test-fs-copyfile.js`, `parallel/test-fs-error-messages.js#block_00_stat`, `parallel/test-fs-error-messages.js#block_01_lstat`, ... (+29) | | requires internal/test/binding and internalBinding('js_stream') | 28 | `parallel/test-util-types.js#block_00_block_00`, `parallel/test-util-types.js#block_01_block_01`, `parallel/test-util-types.js#block_02_block_02`, ... (+25) | | requires --expose-internals and internal/crypto/webidl | 24 | `parallel/test-webcrypto-webidl.js#block_00_required_arguments_length`, `parallel/test-webcrypto-webidl.js#block_01_boolean`, `parallel/test-webcrypto-webidl.js#block_02_https_webidl_spec_whatwg_org_abstract_opdef_converttoint`, ... (+21) | @@ -2009,6 +2009,7 @@ Secondary full-public compatibility, including public tests that are currently e | uses --expose-internals and require('internal/http2/util') | 7 | `parallel/test-http2-client-socket-destroy.js`, `parallel/test-http2-create-client-secure-session.js`, `parallel/test-http2-server-http1-client.js`, ... (+4) | | uses internal/test/binding UV constants and watcher._handle internals | 7 | `parallel/test-fs-watch-enoent.js#block_00_block_00`, `parallel/test-fs-watch-enoent.js#block_01_block_01`, `parallel/test-fs-watch-enoent.js#block_02_block_02`, ... (+4) | | inherited: uses --expose-internals, internal/test/binding, and internal/dgram handle internals | 6 | `parallel/test-handle-wrap-hasref.js#block_00_child_process`, `parallel/test-handle-wrap-hasref.js#block_01_dgram_ipv4`, `parallel/test-handle-wrap-hasref.js#block_02_dgram_ipv6`, ... (+3) | +| missing reason | 6 | `parallel/test-cli-node-options-disallowed.js`, `parallel/test-fs-syncwritestream.js`, `parallel/test-fs-watch-abort-signal.js#block_00_block_00`, ... (+3) | | requires --expose-internals, internal/fs/utils, and internal/test/binding constants.fs | 6 | `parallel/test-fs-utils-get-dirents.js#block_04_block_04`, `parallel/test-fs-utils-get-dirents.js#block_05_getdirent`, `parallel/test-fs-utils-get-dirents.js#block_06_block_06`, ... (+3) | | requires internal/timers | 6 | `parallel/test-timers-refresh.js#block_00_unref_d_timer`, `parallel/test-timers-refresh.js#block_01_should_throw_with_non_functions`, `parallel/test-timers-refresh.js#block_02_unref_pooled_timer`, ... (+3) | | uses --expose-internals and internal/errors SystemError | 6 | `parallel/test-errors-systemerror-frozen-intrinsics.js`, `parallel/test-errors-systemerror-stackTraceLimit-custom-setter.js`, `parallel/test-errors-systemerror-stackTraceLimit-deleted-and-Error-sealed.js`, ... (+3) | @@ -2221,7 +2222,7 @@ Secondary full-public compatibility, including public tests that are currently e ## Config Hygiene -43 non-runnable entries are missing a reason. +6 non-runnable entries are missing a reason.
Entries missing reasons @@ -2230,43 +2231,6 @@ Secondary full-public compatibility, including public tests that are currently e - `parallel/test-fs-syncwritestream.js` (Node.js internals) - `parallel/test-fs-watch-abort-signal.js#block_00_block_00` (Node.js internals) - `parallel/test-fs-watch-abort-signal.js#block_01_block_01` (Node.js internals) -- `parallel/test-stream-finished.js#block_00_block_00` (Node.js internals) -- `parallel/test-stream-finished.js#block_01_block_01` (Node.js internals) -- `parallel/test-stream-finished.js#block_02_block_02` (Node.js internals) -- `parallel/test-stream-finished.js#block_03_block_03` (Node.js internals) -- `parallel/test-stream-finished.js#block_04_block_04` (Node.js internals) -- `parallel/test-stream-finished.js#block_05_block_05` (Node.js internals) -- `parallel/test-stream-finished.js#block_06_block_06` (Node.js internals) -- `parallel/test-stream-finished.js#block_07_block_07` (Node.js internals) -- `parallel/test-stream-finished.js#block_09_block_09` (Node.js internals) -- `parallel/test-stream-finished.js#block_10_block_10` (Node.js internals) -- `parallel/test-stream-finished.js#block_11_block_11` (Node.js internals) -- `parallel/test-stream-finished.js#block_12_block_12` (Node.js internals) -- `parallel/test-stream-finished.js#block_13_block_13` (Node.js internals) -- `parallel/test-stream-finished.js#block_14_test_faulty_input_values_and_options` (Node.js internals) -- `parallel/test-stream-finished.js#block_15_test_that_calling_returned_function_removes_listeners` (Node.js internals) -- `parallel/test-stream-finished.js#block_16_block_16` (Node.js internals) -- `parallel/test-stream-finished.js#block_17_block_17` (Node.js internals) -- `parallel/test-stream-finished.js#block_18_block_18` (Node.js internals) -- `parallel/test-stream-finished.js#block_19_block_19` (Node.js internals) -- `parallel/test-stream-finished.js#block_20_block_20` (Node.js internals) -- `parallel/test-stream-finished.js#block_25_block_25` (Node.js internals) -- `parallel/test-stream-finished.js#block_26_block_26` (Node.js internals) -- `parallel/test-stream-finished.js#block_27_block_27` (Node.js internals) -- `parallel/test-stream-finished.js#block_28_block_28` (Node.js internals) -- `parallel/test-stream-finished.js#block_29_block_29` (Node.js internals) -- `parallel/test-stream-finished.js#block_30_block_30` (Node.js internals) -- `parallel/test-stream-finished.js#block_31_block_31` (Node.js internals) -- `parallel/test-stream-finished.js#block_32_block_32` (Node.js internals) -- `parallel/test-stream-finished.js#block_33_block_33` (Node.js internals) -- `parallel/test-stream-finished.js#block_35_block_35` (Node.js internals) -- `parallel/test-stream-finished.js#block_37_block_37` (Node.js internals) -- `parallel/test-stream-finished.js#block_38_block_38` (Node.js internals) -- `parallel/test-stream-finished.js#block_39_block_39` (Node.js internals) -- `parallel/test-stream-finished.js#block_41_block_41` (Node.js internals) -- `parallel/test-util-deprecate.js#block_00_emits_deprecation_only_once_if_same_function_is_called` (Node.js internals) -- `parallel/test-util-deprecate.js#block_01_emits_deprecation_twice_for_different_functions` (Node.js internals) -- `parallel/test-util-deprecate.js#block_02_functions` (Node.js internals) - `parallel/test-webcrypto-derivebits.js#block_01_test_hkdf_bit_derivation` (Node.js internals) - `parallel/test-webcrypto-derivebits.js#block_02_test_pbkdf2_bit_derivation` (Node.js internals) diff --git a/tests/node_compat_config_report.rs b/tests/node_compat_config_report.rs index dd41a6d19..a9564b46b 100644 --- a/tests/node_compat_config_report.rs +++ b/tests/node_compat_config_report.rs @@ -234,6 +234,51 @@ fn node_compat_config_classifies_from_vendored_source() -> anyhow::Result<()> { Ok(()) } +#[test] +#[test_r::tag(report_contract)] +fn historical_public_subtests_remain_in_primary_inventory() -> anyhow::Result<()> { + let entries = load_node_compat_config(CONFIG_PATH)?; + for (path, indices) in [ + ("parallel/test-util-deprecate.js", &[0, 1, 2][..]), + ( + "parallel/test-stream-finished.js", + &[ + 0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 25, 26, 27, + 28, 29, 30, 31, 32, 33, 36, 37, 38, 39, 40, 41, + ][..], + ), + ] { + let entry = entries.iter().find(|entry| entry.path == path).unwrap(); + for index in indices { + let subtest = entry + .subtests + .iter() + .find(|subtest| subtest.index == *index) + .unwrap(); + assert!( + matches!( + subtest.category, + NodeCompatCategory::Runnable | NodeCompatCategory::KnownGap + ), + "{path}#{} lost its public coverage obligation: {:?}", + subtest.name, + subtest.category + ); + if subtest.category == NodeCompatCategory::KnownGap { + assert!( + subtest + .reason + .as_deref() + .is_some_and(|reason| !reason.is_empty()), + "{path}#{} needs a per-cause gap reason", + subtest.name + ); + } + } + } + Ok(()) +} + struct NodeCompatConfigFixture { _temp: Utf8TempDir, config_path: camino::Utf8PathBuf, From d164f4423aa8bc03470ec7d61ce50b977db3b9e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Thu, 26 Nov 2026 10:21:08 +0000 Subject: [PATCH 54/55] Isolate SQLite prepare options --- .../skeleton/src/builtin/sqlite.js | 2 +- examples/runtime/sqlite/src/sqlite.js | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/sqlite.js b/crates/wasm-rquickjs/skeleton/src/builtin/sqlite.js index d94ba13bc..2ef8af294 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/sqlite.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/sqlite.js @@ -129,7 +129,7 @@ class _DatabaseSyncImpl { err.code = 'ERR_INVALID_ARG_TYPE'; throw err; } - const stmtOptions = {}; + const stmtOptions = { __proto__: null }; for (const key of ['returnArrays', 'readBigInts', 'allowBareNamedParameters', 'allowUnknownNamedParameters']) { const value = options[key]; if (value !== undefined && typeof value !== 'boolean') { diff --git a/examples/runtime/sqlite/src/sqlite.js b/examples/runtime/sqlite/src/sqlite.js index 4e5666fad..6afbff336 100644 --- a/examples/runtime/sqlite/src/sqlite.js +++ b/examples/runtime/sqlite/src/sqlite.js @@ -297,6 +297,23 @@ export function testPrepareOptions() { named.setAllowBareNamedParameters(false); assert.deepEqual(named.get({ left: 13n, right: 29n }), [null, null]); assert.deepEqual(named.get({ $left: 13n, $right: 29n }), [13n, 29n]); + for (const key of keys) { + const descriptor = Object.getOwnPropertyDescriptor(Object.prototype, key); + let row; + try { + Object.defineProperty(Object.prototype, key, { + configurable: true, get() { return false; }, + }); + row = db.prepare(sql, { + returnArrays: true, readBigInts: true, + allowBareNamedParameters: true, allowUnknownNamedParameters: true, + }).get({ left: 13n, right: 29n, extra: 41n }); + } finally { + if (descriptor) Object.defineProperty(Object.prototype, key, descriptor); + else delete Object.prototype[key]; + } + assert.deepEqual(row, [13n, 29n]); + } for (const value of [undefined, null]) { const closing = new DatabaseSync(':memory:'); assert.throws(() => closing.prepare('SELECT 7', { From c7cb37df4ba788e6d842a66eb996acd7b093ba0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Istv=C3=A1n=20B=C3=ADr=C3=B3?= Date: Thu, 26 Nov 2026 14:05:34 +0000 Subject: [PATCH 55/55] Fix async hooks and raw P-521 imports --- .../skeleton/src/builtin/test.js | 86 +++++++++---------- .../skeleton/src/builtin/web-crypto.js | 67 ++++----------- .../skeleton/src/builtin/web_crypto.rs | 31 ++++++- examples/runtime/assert/src/assert.js | 63 +++++++++++++- examples/runtime/crypto/src/crypto.js | 41 +++++++++ tests/runtime/crypto.rs | 57 ++++++++++++ 6 files changed, 245 insertions(+), 100 deletions(-) diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/test.js b/crates/wasm-rquickjs/skeleton/src/builtin/test.js index f99739e0a..34cc70610 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/test.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/test.js @@ -265,71 +265,69 @@ TestContext.prototype.test = function (name, optionsOrFn, maybeFn) { // its subtests: beforeEach from the outermost context in, afterEach from the innermost out. const beforeEachFns = collectContextHooks(parentTest, '_beforeEachFns').reverse().flat(); const afterEachFns = collectContextHooks(parentTest, '_afterEachFns').flat(); - const runHooks = function (hooks) { - for (let i = 0; i < hooks.length; i++) hooks[i].call(childCtx, childCtx); + const runHooks = function (hooks, start = 0) { + for (let i = start; i < hooks.length; i++) { + const result = hooks[i].call(childCtx, childCtx); + if (result && typeof result.then === 'function') { + return Promise.resolve(result).then(function () { return runHooks(hooks, i + 1); }); + } + } }; // Like Node 26's runOnce-wrapped afterEach, teardown runs at most once: a hook that throws // after the subtest succeeded must not run again when that error is handled as a failure. let tornDown = false; - const teardown = function (rethrow) { + const teardown = function () { if (tornDown) return; tornDown = true; try { - runHooks(afterEachFns); + const result = runHooks(afterEachFns); + if (result && typeof result.then === 'function') { + return Promise.resolve(result).finally(function () { childCtx.mock.restoreAll(); }); + } } catch (e) { - if (rethrow) throw e; - } finally { childCtx.mock.restoreAll(); + throw e; + } + childCtx.mock.restoreAll(); + }; + const fail = function (error) { + // A body/setup failure wins over a secondary teardown failure, but cleanup + // still finishes before the child settles. Preserve the existing skip contract. + const finish = function () { if (!(error instanceof SkipError)) throw error; }; + try { + return Promise.resolve(teardown()).then(finish, finish); + } catch { + return Promise.resolve().then(finish); } }; - const succeed = function () { teardown(true); }; - const fail = function () { teardown(false); }; - try { - runHooks(beforeEachFns); + const runBody = function () { + let result; if (fn.length >= 2) { // done callback pattern - return new Promise(function (resolve, reject) { + result = new Promise(function (resolve, reject) { const done = function (err) { - if (err) { - fail(); - reject(err); - return; - } - try { - succeed(); - } catch (e) { - reject(e); - return; - } - resolve(); + if (err) reject(err); + else resolve(); }; - try { - fn.call(childCtx, childCtx, done); - } catch (e) { - fail(); - reject(e); - } + fn.call(childCtx, childCtx, done); }); + } else { + result = fn.call(childCtx, childCtx); } - - const result = fn.call(childCtx, childCtx); if (result && typeof result.then === 'function') { - return result.then(function () { - succeed(); - }, function (e) { - fail(); - throw e; - }); + return Promise.resolve(result).then(teardown); } - succeed(); - return Promise.resolve(); + return teardown(); + }; + try { + const setup = runHooks(beforeEachFns); + // Keep synchronous hooks and bodies eager; only yield when a hook/body does. + const result = setup && typeof setup.then === 'function' + ? Promise.resolve(setup).then(runBody) : runBody(); + return Promise.resolve(result).catch(fail); } catch (e) { - fail(); - if (e instanceof SkipError) { - return Promise.resolve(); - } - return Promise.reject(e); + return fail(e); } }; diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js b/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js index 9593f21a9..f09cee82d 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js +++ b/crates/wasm-rquickjs/skeleton/src/builtin/web-crypto.js @@ -2527,6 +2527,12 @@ export function getDiffieHellman(name) { // ===== ECDH ===== +function createInvalidCurveError(curve) { + const err = new Error('Invalid curve: ' + curve); + err.code = 'ERR_CRYPTO_INVALID_CURVE'; + return err; +} + function ECDH(curve) { if (!(this instanceof ECDH)) return new ECDH(curve); if (typeof curve !== 'string') { @@ -2536,9 +2542,7 @@ function ECDH(curve) { } const handle = webCryptoNative.ecdh_create(curve); if (handle === null || handle === undefined) { - const err = new Error('Invalid curve: ' + curve); - err.code = 'ERR_CRYPTO_INVALID_CURVE'; - throw err; + throw createInvalidCurveError(curve); } this._handle = handle; } @@ -2954,52 +2958,6 @@ const RAW_EC_ECDH_NAMES = { }; const EC_PUBLIC_KEY_OID = [0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01]; -// The native ECDH has no P-521, so derive a raw P-521 private key's public -// point (d * G, uncompressed) with BigInt affine arithmetic. -const P521_P = (1n << 521n) - 1n; -const P521_B = 0x0051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00n; -const P521_G = [ - 0x00c6858e06b70404e9cd9e3ecb662395b4429c648139053fb521f828af606b4d3dbaa14b5e77efe75928fe1dc127a2ffa8de3348b3c1856a429bf97e7e31c2e5bd66n, - 0x011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650n, -]; - -function p521PublicPoint(privateBytes) { - const mod = (a) => { a %= P521_P; return a < 0n ? a + P521_P : a; }; - const inv = (a) => { - let t = 0n, nt = 1n, r = P521_P, nr = mod(a); - while (nr) { const q = r / nr; [t, nt] = [nt, t - q * nt]; [r, nr] = [nr, r - q * nr]; } - return mod(t); - }; - const add = (p1, p2) => { - if (!p1) return p2; - if (!p2) return p1; - const [x1, y1] = p1, [x2, y2] = p2; - let l; - if (x1 === x2) { - if (mod(y1 + y2) === 0n) return null; - l = mod((3n * x1 * x1 - 3n) * inv(2n * y1)); - } else { - l = mod((y2 - y1) * inv(x2 - x1)); - } - const x3 = mod(l * l - x1 - x2); - return [x3, mod(l * (x1 - x3) - y1)]; - }; - let k = 0n; - for (const b of privateBytes) k = (k << 8n) | BigInt(b); - let r = null, q = P521_G; - for (; k; k >>= 1n) { - if (k & 1n) r = add(r, q); - q = add(q, q); - } - if (!r) throw new ERR_INVALID_ARG_VALUE('key.key', 'invalid private key'); - const out = [0x04]; - for (const c of r) { - const hex = c.toString(16).padStart(132, '0'); - for (let i = 0; i < hex.length; i += 2) out.push(parseInt(hex.slice(i, i + 2), 16)); - } - return out; -} - function derTlv(tag, content) { const n = content.length; const len = n < 0x80 ? [n] : n < 0x100 ? [0x81, n] : [0x82, n >> 8, n & 0xff]; @@ -3071,7 +3029,16 @@ function importRawKey(key, isPrivate) { let point = bytes; if (isPrivate) { if (crv === 'P-521') { - point = p521PublicPoint(bytes); + if (bytes.length !== 66) { + throw new ERR_INVALID_ARG_VALUE('key.key', key.key); + } + if (!webCryptoNative.p521_supported()) { + throw createInvalidCurveError(RAW_EC_ECDH_NAMES[crv]); + } + point = webCryptoNative.p521_raw_public_key(new Uint8Array(bytes)); + if (point === null || point === undefined) { + throw new ERR_INVALID_ARG_VALUE('key.key', key.key); + } } else { const ecdh = createECDH(RAW_EC_ECDH_NAMES[crv]); ecdh.setPrivateKey(Buffer.from(bytes)); diff --git a/crates/wasm-rquickjs/skeleton/src/builtin/web_crypto.rs b/crates/wasm-rquickjs/skeleton/src/builtin/web_crypto.rs index ec21e27ae..41790c414 100644 --- a/crates/wasm-rquickjs/skeleton/src/builtin/web_crypto.rs +++ b/crates/wasm-rquickjs/skeleton/src/builtin/web_crypto.rs @@ -6798,8 +6798,35 @@ pub mod native_module { } } - /// Returns the 66-byte private scalar followed by the 133-byte uncompressed - /// public point, or nothing when this tier has no P-521 backend. + #[rquickjs::function] + pub fn p521_supported() -> bool { + cfg!(feature = "crypto-full") + } + + /// Derives an uncompressed P-521 point from a fixed-width raw scalar modulo n. + /// The caller retains the original scalar encoding for raw key exports. + #[rquickjs::function] + pub fn p521_raw_public_key(private_key: TypedArray<'_, u8>) -> Option> { + #[cfg(feature = "crypto-full")] + { + use elliptic_curve::{Curve, field, sec1::ToSec1Point}; + + let bytes = p521::FieldBytes::from(super::typed_array_array::<66>(&private_key)?); + let scalar = field::bytes_to_uint::(&bytes); + // Raw imports accept noncanonical scalars too. Use the existing fixed-width + // remainder, not Scalar::reduce (which only subtracts the order once). + let reduced = scalar.rem(p521::NistP521::ORDER.as_nz_ref()); + let bytes = field::uint_to_bytes::(&reduced); + let secret = p521::SecretKey::from_bytes(&bytes).ok()?; + Some(secret.public_key().to_sec1_point(false).as_bytes().to_vec()) + } + #[cfg(not(feature = "crypto-full"))] + { + let _ = private_key; + None + } + } + // ===== ECDH native functions ===== #[rquickjs::function] diff --git a/examples/runtime/assert/src/assert.js b/examples/runtime/assert/src/assert.js index 0da5488ed..f02bd91b0 100644 --- a/examples/runtime/assert/src/assert.js +++ b/examples/runtime/assert/src/assert.js @@ -531,12 +531,67 @@ export const testEvalGeneratedMessage = () => { message.startsWith('The expression evaluated to a falsy value:'); }; -// A throwing afterEach hook runs exactly once per subtest and the subtest's mocks are restored, -// whether the subtest is synchronous, returns a promise or uses a done callback. Node reports -// the hook failure through the parent and resolves t.test(); this runtime rejects t.test() with -// the hook error, so either outcome is accepted, but no other error is. +// Subtests await async setup and teardown, then restore mocks before settling, for synchronous, +// promise and done-callback bodies. Teardown runs once even after setup/body failure; that +// primary error wins over a secondary teardown error. Node reports child failures through the +// parent and resolves t.test(); this runtime rejects, so error identity is checked only on +// rejection. Both outcomes are accepted, but cleanup order and mock restoration always apply. export const testSubtestAfterEachOnce = async () => { try { + for (const kind of ['sync', 'promise', 'callback']) { + const target = { method() { return 'original'; } }; + const calls = []; + await test('async hooks ' + kind, async (t) => { + t.beforeEach(async (st) => { + await null; + st.mock.method(target, 'method', () => 'mocked'); + calls.push('before'); + }); + t.afterEach(async () => { + await null; + calls.push('after:' + target.method()); + }); + const body = (st) => { calls.push('body:' + target.method()); }; + const fn = kind === 'callback' ? (st, done) => { body(st); done(); } + : kind === 'promise' ? async (st) => { await null; body(st); } : body; + await t.test(kind, fn); + calls.push('settled:' + target.method()); + }); + assert.deepStrictEqual(calls, ['before', 'body:mocked', 'after:mocked', 'settled:original']); + } + + for (const phase of ['setup', 'body', 'teardown']) { + const primary = new Error(phase + ' failed'); + const secondary = new Error('secondary teardown failure'); + const target = { method() { return 'original'; } }; + const calls = []; + await test('async hook rejection ' + phase, async (t) => { + t.beforeEach(async (st) => { + st.mock.method(target, 'method', () => 'mocked'); + await null; + calls.push('before'); + if (phase === 'setup') throw primary; + }); + t.afterEach(async () => { + await null; + calls.push('after:' + target.method()); + throw phase === 'teardown' ? primary : secondary; + }); + try { + await t.test(phase, async () => { + calls.push('body'); + if (phase === 'body') throw primary; + }); + } catch (e) { + assert.strictEqual(e, primary); + } + calls.push('settled:' + target.method()); + }); + assert.deepStrictEqual(calls, phase === 'setup' + ? ['before', 'after:mocked', 'settled:original'] + : ['before', 'body', 'after:mocked', 'settled:original']); + } + const hookError = new Error('afterEach failed'); const target = { method() { return 'original'; } }; const calls = []; diff --git a/examples/runtime/crypto/src/crypto.js b/examples/runtime/crypto/src/crypto.js index f2532e929..279477258 100644 --- a/examples/runtime/crypto/src/crypto.js +++ b/examples/runtime/crypto/src/crypto.js @@ -499,6 +499,46 @@ export function p521KeyPair() { const onCurve = ([x, y]) => mod(y * y - (x * x * x - 3n * x + b)) === 0n; const big = (value) => BigInt('0x' + Buffer.from(value, 'base64url').toString('hex')); + // Raw P-521 scalars have exactly 66 bytes. Independent SEC 2 points G/-G + // also check noncanonical imports, including values needing many reductions. + const scalar = (v) => Buffer.from(v.toString(16).padStart(132, '0'), 'hex'); + const rawImports = {}; + for (const namedCurve of ['P-521', 'secp521r1']) { + const observed = rawImports[namedCurve] = {}; + for (const [name, d, y] of [ + ['one', 1n, g[1]], ['orderMinusOne', n - 1n, p - g[1]], + ['orderPlusOne', n + 1n, g[1]], ['largePlusOne', 127n * n + 1n, g[1]], + ['largeMinusOne', 127n * n - 1n, p - g[1]], + ]) { + const bytes = scalar(d); + try { + const key = createPrivateKey({ key: bytes, format: 'raw-private', asymmetricKeyType: 'ec', namedCurve }); + const rawJwk = key.export({ format: 'jwk' }); + observed[name] = { + x: big(rawJwk.x) === g[0], y: big(rawJwk.y) === y, + d: big(rawJwk.d) === d, raw: key.export({ format: 'raw-private' }).equals(bytes), + }; + } catch (e) { + observed[name] = `${e.name} ${e.code}`; + } + } + for (const bytes of [ + Buffer.from([1]), Buffer.alloc(65, 1), Buffer.alloc(67, 1), + Buffer.alloc(0), Buffer.alloc(6600, 0x55), + ]) { + try { + createPrivateKey({ key: bytes, format: 'raw-private', asymmetricKeyType: 'ec', namedCurve }); + observed['length' + bytes.length] = 'accepted'; + } catch (e) { + observed['length' + bytes.length] = `${e.name} ${e.code}`; + } + } + } + // Lower tiers can report the raw-import contract without generating an unsupported key. + if (rawImports['P-521'].one === 'Error ERR_CRYPTO_INVALID_CURVE') { + return JSON.stringify({ rawImports }); + } + const { privateKey, publicKey } = generateKeyPairSync('ec', { namedCurve: 'P-521' }); const jwk = privateKey.export({ format: 'jwk' }); const publicJwk = publicKey.export({ format: 'jwk' }); @@ -528,6 +568,7 @@ export function p521KeyPair() { publicIsScalarTimesGenerator: expected !== null && expected[0] === point[0] && expected[1] === point[1], privateCarriesPublic: jwk.x === publicJwk.x && jwk.y === publicJwk.y, exportRoundTrips, + rawImports, }); } diff --git a/tests/runtime/crypto.rs b/tests/runtime/crypto.rs index 8b3a73cc9..6043eb473 100644 --- a/tests/runtime/crypto.rs +++ b/tests/runtime/crypto.rs @@ -12,6 +12,17 @@ async fn compiled_crypto() -> CompiledTest { .expect("Failed to compile crypto") } +#[test_dep(tagged_as = "crypto_normal", scope = Cloneable)] +async fn compiled_crypto_normal() -> CompiledTest { + CompiledTest::new_with_features( + Utf8Path::new("examples/runtime/crypto"), + true, + FeatureCombination::Normal, + ) + .await + .expect("Failed to compile normal crypto") +} + #[test] async fn web_crypto_random_uuid( #[tagged_as("crypto")] compiled: &CompiledTest, @@ -1198,6 +1209,19 @@ async fn crypto_p521_key_pair( return Err(anyhow!("Expected string result")); }; let actual: serde_json::Value = serde_json::from_str(&json)?; + // Raw-import observations match Node.js 26.13.1, with points checked against SEC 2. + let raw_imports = serde_json::json!({ + "one": {"x": true, "y": true, "d": true, "raw": true}, + "orderMinusOne": {"x": true, "y": true, "d": true, "raw": true}, + "orderPlusOne": {"x": true, "y": true, "d": true, "raw": true}, + "largePlusOne": {"x": true, "y": true, "d": true, "raw": true}, + "largeMinusOne": {"x": true, "y": true, "d": true, "raw": true}, + "length0": "TypeError ERR_INVALID_ARG_VALUE", + "length1": "TypeError ERR_INVALID_ARG_VALUE", + "length65": "TypeError ERR_INVALID_ARG_VALUE", + "length67": "TypeError ERR_INVALID_ARG_VALUE", + "length6600": "TypeError ERR_INVALID_ARG_VALUE", + }); assert_eq!( actual, serde_json::json!({ @@ -1208,6 +1232,39 @@ async fn crypto_p521_key_pair( "publicIsScalarTimesGenerator": true, "privateCarriesPublic": true, "exportRoundTrips": [true, true, true, true], + "rawImports": {"P-521": raw_imports, "secp521r1": raw_imports}, + }) + ); + Ok(()) +} + +#[test] +async fn crypto_p521_raw_import_without_backend( + #[tagged_as("crypto_normal")] compiled: &CompiledTest, +) -> anyhow::Result<()> { + let (result, _output) = + invoke_and_capture_output(compiled.wasm_path(), None, "p521-key-pair", &[]).await; + let Some(Val::String(json)) = result? else { + return Err(anyhow!("Expected string result")); + }; + let actual: serde_json::Value = serde_json::from_str(&json)?; + // Valid scalars lack a backend, while bad lengths still fail input validation. + let raw_imports = serde_json::json!({ + "one": "Error ERR_CRYPTO_INVALID_CURVE", + "orderMinusOne": "Error ERR_CRYPTO_INVALID_CURVE", + "orderPlusOne": "Error ERR_CRYPTO_INVALID_CURVE", + "largePlusOne": "Error ERR_CRYPTO_INVALID_CURVE", + "largeMinusOne": "Error ERR_CRYPTO_INVALID_CURVE", + "length0": "TypeError ERR_INVALID_ARG_VALUE", + "length1": "TypeError ERR_INVALID_ARG_VALUE", + "length65": "TypeError ERR_INVALID_ARG_VALUE", + "length67": "TypeError ERR_INVALID_ARG_VALUE", + "length6600": "TypeError ERR_INVALID_ARG_VALUE", + }); + assert_eq!( + actual, + serde_json::json!({ + "rawImports": {"P-521": raw_imports, "secp521r1": raw_imports}, }) ); Ok(())