Shadow DOM and frames

In a cross-origin frame

The form is the test provider's page inside a frame: another origin than the page's.

The frame comes from the test provider, a second origin.