Permalink
Browse files

Merge pull request #6 from wojtekk/master

Responsive layouts and iframe killer
  • Loading branch information...
2 parents 5c791d0 + 735c43b commit efe59b89f1241d58e7d7cc6f1b28c24fe651c2b3 @chrispederick committed Aug 15, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 source/common/javascript/generated/view-responsive-layouts.js
@@ -73,6 +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 allow-same-origin");
container.appendChild(childElement);
content.appendChild(container);

0 comments on commit efe59b8

Please sign in to comment.