From e40d4b24859638a5415915e169443a526f4423d0 Mon Sep 17 00:00:00 2001 From: Ivan Krasilnikov Date: Fri, 27 Mar 2026 13:30:17 +0800 Subject: [PATCH] Clarify behavior when AsyncTestComplete/Failure are both present --- INTERPRETING.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/INTERPRETING.md b/INTERPRETING.md index b5cb6de4462..865ebc4a4f3 100644 --- a/INTERPRETING.md +++ b/INTERPRETING.md @@ -361,9 +361,11 @@ following strings: In the event of a passing test run, this function will be invoked with the string `'Test262:AsyncTestComplete'`. If invoked with a string that is prefixed with the character sequence `Test262:AsyncTestFailure:`, the test - must be interpreted as failed. The implementation is free to select an - appropriate length of time to wait before considering the test "timed out" - and failing. + must be interpreted as failed. If the `print` function is invoked with both + `'Test262:AsyncTestComplete'` and a string prefixed with + `'Test262:AsyncTestFailure:'`, the test must be interpreted as failed. + The implementation is free to select an appropriate length of time to wait + before considering the test "timed out" and failing. *Example*