playwright/packages/playwright-core/src/utils/isomorphic
Max Schmitt 5f527fedb1
fix: JSHandle preview text for non-ascii attributes/children (#28038)
This surfaced in .NET that the string in the driver got incorrectly cut,
then transferred to .NET as an invalid UTF8 character
[`\ud835`](https://charbase.com/d835-unicode-invalid-character) which
.NET wasn't able to parse and threw an error.

Drive-by: Move similar function from
`packages/playwright-core/src/client/page.ts` into isomorphic
`stringUtils`.

https://github.com/microsoft/playwright-dotnet/issues/2748
2023-11-09 00:11:01 +01:00
..
cssParser.ts fix(css parser): support nested builtin functions (#27841) 2023-10-27 13:16:12 -07:00
cssTokenizer.ts chore: move sever/isomorphic to utils/ to use it in client (#21445) 2023-03-06 18:49:14 -08:00
locatorGenerators.ts fix(inspector): highlight xpath/css locators without engine prefix (#27742) 2023-10-23 18:23:28 +02:00
locatorParser.ts feat: support alternative quotes in js parseLocator() (#27718) 2023-10-20 08:42:29 -07:00
locatorUtils.ts fix(locators): escape quotes in regular expressions (#27002) 2023-09-11 15:49:04 -07:00
selectorParser.ts fix(inspector): highlight xpath/css locators without engine prefix (#27742) 2023-10-23 18:23:28 +02:00
stringUtils.ts fix: JSHandle preview text for non-ascii attributes/children (#28038) 2023-11-09 00:11:01 +01:00
traceUtils.ts chore: introduce testInfo.testId (#21670) 2023-03-14 15:58:55 -07:00