5973073: [Extensions] Improve warnings parsing (host) permissions in MV3

Refs: https://chromium-review.googlesource.com/c/chromium/src/+/5973073
This commit is contained in:
David Sanders
2024-10-31 08:48:25 -07:00
parent 3a3c527a1d
commit c571e561e0

View File

@@ -97,7 +97,7 @@ describe('chrome extensions', () => {
const warning = await new Promise(resolve => { process.on('warning', resolve); });
const malformedHost = /Permission 'malformed_host' is unknown or URL pattern is malformed/;
const malformedHost = /URL pattern 'malformed_host' is malformed/;
expect(warning).to.match(malformedHost);
});