mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
5973073: [Extensions] Improve warnings parsing (host) permissions in MV3
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/5973073
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user