(data)
| 22 | |
| 23 | // Send message to content script |
| 24 | function postToContentScript(data) { |
| 25 | window.postMessage({ |
| 26 | source: 'stream-panel-inject', |
| 27 | payload: data |
| 28 | }, '*'); |
| 29 | } |
| 30 | |
| 31 | // Parse complete SSE event blocks. The caller is responsible for buffering |
| 32 | // incomplete trailing data between chunks. |
no outgoing calls
no test coverage detected