mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-09 19:34:34 +01:00
make trusted types policy strict
This commit is contained in:
@@ -56,9 +56,9 @@
|
||||
if (value === '<!DOCTYPE html><style type="text/css">:host { display: flex; }</style>') {
|
||||
return value;
|
||||
}
|
||||
// throw new Error('UNTRUSTED html usage, default trusted types policy should NEVER be reached');
|
||||
console.trace('UNTRUSTED html usage, default trusted types policy should NEVER be reached');
|
||||
return value;
|
||||
throw new Error('UNTRUSTED html usage, default trusted types policy should NEVER be reached');
|
||||
// console.trace('UNTRUSTED html usage, default trusted types policy should NEVER be reached');
|
||||
// return value;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user