Disable quirks mode in iframe extension worker
This commit is contained in:
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'
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user