merge: v4.10.4-lts - #1411
Conversation
…n in a new window.
…ical sessions after asset deletion.
…adapt to the window display.
Co-authored-by: wangruidong <940853815@qq.com>
Co-authored-by: wangruidong <940853815@qq.com>
Co-authored-by: wangruidong <940853815@qq.com>
Fixed: translate
… different assets
| this.currentView.iframeElement.postMessage({ name: 'OPEN' }, '*'); | ||
| break; | ||
| } | ||
| this.currentView.iframeElement.postMessage({ name: 'OPEN' }, '*'); |
Check failure
Code scanning / SonarCloud
Origins should be verified during cross-origin communications
| { name: 'PING', id: this.id, protocol: this.view.protocol }, | ||
| '*' | ||
| ); | ||
| this.iframeWindow.postMessage({ name: 'PING', id: this.id, disbaleFileManager }, '*'); |
Check failure
Code scanning / SonarCloud
Origins should be verified during cross-origin communications
| } catch (error) { | ||
| this.asset = new Asset(); | ||
| } |
Check notice
Code scanning / SonarCloud
Exceptions should not be ignored
| handleK8sIframeEvent() { | ||
| this.ping = setInterval(() => { | ||
| this.iframeRef.nativeElement.contentWindow.postMessage({name: 'PING', id: this.id}, '*'); | ||
| this.iframeRef.nativeElement.contentWindow.postMessage({ name: 'PING', id: this.id }, '*'); |
Check failure
Code scanning / SonarCloud
Origins should be verified during cross-origin communications
| }, 1000); | ||
|
|
||
| window.addEventListener('message', (event) => { | ||
| window.addEventListener('message', event => { |
Check failure
Code scanning / SonarCloud
Origins should be verified during cross-origin communications
| break; | ||
| case 'PING': | ||
| this.iframeRef.nativeElement.contentWindow.postMessage({name: 'PING', id: this.id}, '*'); | ||
| this.iframeRef.nativeElement.contentWindow.postMessage( |
Check failure
Code scanning / SonarCloud
Origins should be verified during cross-origin communications
|


merge: v4.10.4-lts