blob: f2effdaf978c4965daf4be7030152cd3cf2e6bab [file] [log] [blame]
window.jsTestIsAsync = true;
document.addEventListener('securitypolicyviolation', function handleEvent(e) {
window.e = e;
for (key in expectations)
shouldBe('window.e.' + key, JSON.stringify(expectations[key]));
finishJSTest();
});
window.addEventListener('load', function () {
debug('Kicking off the tests:');
run();
});