Commit 0fe0885f authored by Andrey Kosyakov's avatar Andrey Kosyakov Committed by Chromium LUCI CQ

Add a test for crbug.com/1156334

Bug: 1156334
Change-Id: Ib5c7cc364391ab75a4394bc480f09dea9e76f8ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2583602
Auto-Submit: Andrey Kosyakov <caseq@chromium.org>
Commit-Queue: Peter Kvitek <kvitekp@chromium.org>
Reviewed-by: default avatarPeter Kvitek <kvitekp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#835807}
parent 260f8b29
Tests that \0x7f passes through the protocol as is
Got: "", 127 (length: 1)
(async function(testRunner) {
testRunner.log('Tests that \\0x7f passes through the protocol as is');
const page = await testRunner.createPage();
const session = await page.createSession();
const str = await session.evaluate(`"\x7f"`);
testRunner.log(`Got: "${str}", ${str.charCodeAt(0)} (length: ${str.length})`);
testRunner.completeTest();
})
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment