Improved cross-origin support

Building

We are building an experimental solution to work with cross-origin content without using explicit cross-origin commands, to make it easier to test cross origin workflows and remove some of the challenges of writing these kinds of tests.