This is a testharness.js-based test.
PASS Set HTTP URL frame location.protocol to x 
PASS Set data URL frame location.protocol to x 
FAIL Set HTTP URL frame location.protocol to data Blocked a frame with origin "http://web-platform.test:8001" from accessing a cross-origin frame.
PASS Set data URL frame location.protocol to data 
FAIL Set HTTP URL frame location.protocol to file Failed to set the 'protocol' property on 'Location': 'file://web-platform.test:8001/common/blank.html' is not a valid URL.
PASS Set data URL frame location.protocol to file 
PASS Set HTTP URL frame location.protocol to ftp 
PASS Set data URL frame location.protocol to ftp 
PASS Set HTTP URL frame location.protocol to gopher 
PASS Set data URL frame location.protocol to gopher 
PASS Set HTTP URL frame location.protocol to http+x 
PASS Set data URL frame location.protocol to http+x 
Harness: the test ran to completion.

