Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add allow-same-origin for sandbox iframe's attribute in responsible l…

…ayout
  • Loading branch information...
commit 735c43b9b72f6c3128c57a4998a35b517184eb1c 1 parent 20afff8
Wojciech Krawczyk authored
2  source/common/javascript/generated/view-responsive-layouts.js
View
@@ -73,7 +73,7 @@ WebDeveloper.Generated.initialize = function(data, locale)
childElement.setAttribute("scrolling", "yes");
childElement.setAttribute("src", url);
childElement.setAttribute("width", parseInt(width, 10) + scrollbarWidth);
- childElement.setAttribute("sandbox", "allow-forms allow-scripts");
+ childElement.setAttribute("sandbox", "allow-forms allow-scripts allow-same-origin");
container.appendChild(childElement);
content.appendChild(container);
Please sign in to comment.
Something went wrong with that request. Please try again.