Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

async_test(function(t) {
let crossOriginFrame = document.createElement('iframe');
document.body.appendChild(crossOriginFrame);
crossOriginFrame.addEventListener('load', t.step_func_done(function() {
let crossOriginWindow = crossOriginFrame.contentWindow;
window.addEventListener('click', crossOriginWindow);
}));
}, "EventListener.addEventListener doesn't throw when a cross origin object is passed in.");