Merge pull request #3137 from r0hanSH/fix_dom_xss

Fix DOM XSS
edit
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
1 changed files with 4 additions and 0 deletions

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';