Skip to content

Conversation

fit2bot
Copy link
Contributor

@fit2bot fit2bot commented Mar 31, 2025

Perf: Connect Message

@fit2bot fit2bot requested a review from a team March 31, 2025 06:51
@ZhaoJiSen ZhaoJiSen merged commit e1249c1 into dev Mar 31, 2025
2 of 3 checks passed
@ZhaoJiSen ZhaoJiSen deleted the pr@dev@perf_connect_message branch March 31, 2025 06:51
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot
C Maintainability Rating on New Code (required ≥ A)
D Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@@ -69,6 +69,10 @@
if (msg.id !== this.id) { return; }

switch (msg.name) {
case 'PING': {
this.iframeWindow.postMessage({name: 'PONG', id: this.id}, '*');

Check failure

Code scanning / SonarCloud

Origins should be verified during cross-origin communications High

Specify a target origin for this message. See more on SonarQube Cloud
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants