Disable quirks mode in iframe extension worker

This commit is contained in:
Thomas Weber committed 2022-03-31 15:05:11 -05:00
1 parent 9eab49dded
commit 5bc62a4fa3
1 file changed
+2 -1
@@ -53,7 +53,8 @@ class IframeExtensionWorker {
window.addEventListener('message', this._onWindowMessage.bind(this));
const blob = new Blob([
`<body><script>window.__WRAPPED_IFRAME_ID__=${JSON.stringify(this.id)};${frameSource}</script></body>`
// eslint-disable-next-line max-len
`<!DOCTYPE html><body><script>window.__WRAPPED_IFRAME_ID__=${JSON.stringify(this.id)};${frameSource}</script></body>`
], {
type: 'text/html'
});