make trusted types policy strict

This commit is contained in:
Johannes Rieken
2021-01-19 18:01:06 +01:00
parent bcb5f3c77b
commit ee4f4dbf97
@@ -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;
}
});