@@ -286,7 +286,6 @@ window.onload = function () {\n\
286286 iframe.name = "ace_inner";\n\
287287 iframe.title = "pad";\n\
288288 iframe.scrolling = "no";\n\
289- iframe.setAttribute("sandbox", "allow-same-origin allow-scripts allow-popups allow-forms allow-modals");\n\
290289 var outerdocbody = document.getElementById("outerdocbody");\n\
291290 iframe.frameBorder = 0;\n\
292291 iframe.allowTransparency = true; // for IE\n\
@@ -326,13 +325,10 @@ window.onload = function () {\n\
326325
327326 // bizarrely, in FF2, a file with no "external" dependencies won't finish loading properly
328327 // (throbs busy while typing)
329- var testHTML = '<span>WONT WORK in Chrome</span><iframe src="/editable2.html" style="position:fixed;left:200px;right:0;top:250px;bottom:0;width:400px;height:200px;z-index:90999" sandbox="allow-same-origin allow-scripts allow-popups allow-forms allow-modals"></iframe>' ;
330-
331- outerHTML . push ( '<style type="text/css" title="dynamicsyntax"></style>' , '<link rel="stylesheet" type="text/css" href="data:text/css,"/>' , scriptTag ( outerScript ) , '</head><body id="outerdocbody" class="outerdocbody"><div id="sidediv" class="sidediv"><!-- --></div><div id="linemetricsdiv">x</div>' + testHTML + '</body></html>' ) ;
328+ outerHTML . push ( '<style type="text/css" title="dynamicsyntax"></style>' , '<link rel="stylesheet" type="text/css" href="data:text/css,"/>' , scriptTag ( outerScript ) , '</head><body id="outerdocbody" class="outerdocbody"><div id="sidediv" class="sidediv"><!-- --></div><div id="linemetricsdiv">x</div></body></html>' ) ;
332329
333330 var outerFrame = document . createElement ( "IFRAME" ) ;
334331 outerFrame . name = "ace_outer" ;
335- outerFrame . setAttribute ( "sandbox" , "allow-same-origin allow-scripts allow-popups allow-forms allow-modals" ) ;
336332 outerFrame . frameBorder = 0 ; // for IE
337333 outerFrame . title = "Ether" ;
338334 info . frame = outerFrame ;
0 commit comments