From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- testing/web-platform/tests/ecmascript/README.md | 8 + .../tests/ecmascript/locale-compat.html | 50 +++++ .../tests/ecmascript/regexp-lookbehind.html | 206 +++++++++++++++++++++ 3 files changed, 264 insertions(+) create mode 100644 testing/web-platform/tests/ecmascript/README.md create mode 100644 testing/web-platform/tests/ecmascript/locale-compat.html create mode 100644 testing/web-platform/tests/ecmascript/regexp-lookbehind.html (limited to 'testing/web-platform/tests/ecmascript') diff --git a/testing/web-platform/tests/ecmascript/README.md b/testing/web-platform/tests/ecmascript/README.md new file mode 100644 index 0000000000..d005bf654d --- /dev/null +++ b/testing/web-platform/tests/ecmascript/README.md @@ -0,0 +1,8 @@ +# ECMAScript tests + +This directory contains tests related to the [ECMA-262](https://tc39.es/ecma262/) and [ECMA-402](https://tc39.es/ecma402/) specifications. + +Although these specifications are already covered through [Test262](https://github.com/tc39/test262), occasionally it’s useful to have Web Platform Tests coverage for a subset of ECMAScript functionality. Examples include: + +- Any functionality that ECMAScript specifies as “implementation-defined” despite Web Compatibility requiring specific semantics. ([example](https://github.com/web-platform-tests/wpt/pull/41760)) +- Any ECMAScript functionality that needs to be reported via wpt.fyi (for [example](https://github.com/web-platform-tests/wpt/pull/37928), because it’s included in Interop 2023). diff --git a/testing/web-platform/tests/ecmascript/locale-compat.html b/testing/web-platform/tests/ecmascript/locale-compat.html new file mode 100644 index 0000000000..7480698787 --- /dev/null +++ b/testing/web-platform/tests/ecmascript/locale-compat.html @@ -0,0 +1,50 @@ + + + +Web Compatibility requirements for implementation-defined locale-specific JavaScript APIs + + + diff --git a/testing/web-platform/tests/ecmascript/regexp-lookbehind.html b/testing/web-platform/tests/ecmascript/regexp-lookbehind.html new file mode 100644 index 0000000000..07156f570e --- /dev/null +++ b/testing/web-platform/tests/ecmascript/regexp-lookbehind.html @@ -0,0 +1,206 @@ + + + +JavaScript RegExp lookbehind assertions: alternations + + + + -- cgit v1.2.3