提交 c1930b6b 编写于 作者: J Johannes Rieken
上级 cdb37318
......@@ -56,9 +56,9 @@
if (value === '<!DOCTYPE html><style type="text/css">:host { display: flex; }</style>') {
return value;
}
// throw new Error('INVALID html usage' + value);
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;
}
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册