upgrade webkit (#17889)

This commit is contained in:
pfg
2025-03-03 21:38:05 -08:00
committed by GitHub
parent 0d4bd61ae0
commit 821f42dd8e
2 changed files with 32 additions and 1 deletions

View File

@@ -2,7 +2,7 @@ option(WEBKIT_VERSION "The version of WebKit to use")
option(WEBKIT_LOCAL "If a local version of WebKit should be used instead of downloading")
if(NOT WEBKIT_VERSION)
set(WEBKIT_VERSION f14adff4c39ba08174b84a942f9584028fc9a7ae)
set(WEBKIT_VERSION de0b8bec75574eae9b71c979525c6a8fcee1986f)
endif()
string(SUBSTRING ${WEBKIT_VERSION} 0 16 WEBKIT_VERSION_PREFIX)

View File

@@ -0,0 +1,31 @@
test("17766 minimal", () => {
expect(/^(?:H|Hangul)$/.test("Hangul")).toBe(true);
});
test("17766 acorn", () => {
expect(require("acorn").parse("/\\p{Script=Hangul}/u", { ecmaVersion: 2025 })).toMatchInlineSnapshot(`
Node {
"body": [
Node {
"end": 20,
"expression": Node {
"end": 20,
"raw": "/\\p{Script=Hangul}/u",
"regex": {
"flags": "u",
"pattern": "\\p{Script=Hangul}",
},
"start": 0,
"type": "Literal",
"value": /\\p{Script=Hangul}/u,
},
"start": 0,
"type": "ExpressionStatement",
},
],
"end": 20,
"sourceType": "script",
"start": 0,
"type": "Program",
}
`);
});