いつの間にかGreasemonkeyでiframeをopenできなくなってた件

Greasemonkeyで以下のコードを書くとエラーが出る

var ifrm = document.createElement('iframe');
document.body.appendChild(ifrm);
var ifrmdoc = ifrm.contentDocument;
ifrmdoc.open();
ifrmdoc.writeln('<html><head><title>test</title></head><body>test</body></html>');
ifrmdoc.close();

openのところでこけているっぽい。

ちょっと前はできてたと思うんだが、
これはバグなのか、何かの脆弱性対策なのか、何なんだろう