Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

Commit

Permalink
receiver/iframe: don't sandbox iframes
Browse files Browse the repository at this point in the history
This may seem a good idea to avoid iframes doing crazy stuff but some
perfectly valid uses are just blocked. For example, it is not possible
for an iframe to change its origin to a super domain (edition.cnn.com
is not allowed to change its domain to cnn.com when it should).
  • Loading branch information
vincentbernat committed Nov 29, 2015
1 parent bfec0fb commit 0eff2ba
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/scripts/receiver/iframe-queue.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ module.exports = (function(window, undefined) {
vp.adapt(this.el);

// Load the URL
this.el.setAttribute('sandbox', 'allow-scripts allow-same-origin');
this.el.setAttribute('src', dashboard.url);
}

Expand Down

0 comments on commit 0eff2ba

Please sign in to comment.