Merge pull request #3137 from r0hanSH/fix_dom_xss

Fix DOM XSS
This commit is contained in:
Hakim El Hattab 2022-02-28 09:17:34 +01:00 committed by GitHub
commit c47bf217be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -368,6 +368,10 @@
window.addEventListener( 'message', function( event ) { window.addEventListener( 'message', function( event ) {
if (window.location.origin !== event.origin){
return;
}
clearTimeout( connectionTimeout ); clearTimeout( connectionTimeout );
connectionStatus.style.display = 'none'; connectionStatus.style.display = 'none';