Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
[ID: 1223031]
Blink>ServiceWorker
Supplemental component tags only. Set main component first. [ID: 1222907]
[ID: 1223136]
Design doc to be reviewed. [ID: 1223032]
[ID: 1223087]
[ID: 1223134]
Milestone(s) impacted by this issue. [ID: 1223085]
[ID: 1223084]
[ID: 1223086]
[ID: 1223034]
Link to incidents in IRM as a result of this ticket. [ID: 1300460]
[ID: 1223088]
This field contains Gerrit urls of code changes that ‘fix’ a security bug (i.e., excluding logging/cleanup commits) and is used when a singular fix cannot be uniquely identified from the existing “Code Changes” field. The change can be in the chromium repo or any other third_party repo. [ID: 1358989]
Blink
[ID: 1253656]
View issue level access limits(Press Alt + Right arrow for more information)
Attachment actions
Estimated effort
Unintended behavior
View staffing
Description
Steps to reproduce the problem
Problem Description
Messages sent by extension service workers to iframes with the srcdoc attribute are throwing "Error: Could not establish connection. Receiving end does not exist."
See Loom here:https://www.loom.com/share/ebf8d393f2274e06ab4c93b696709b0e
Minimum reproduction: https://github.com/pixiebrix/srcdoc-iframe-content-script/tree/main
Summary
Messages sent by service worker via chrome.tabs.sendMessage throw when set to srcdoc iframes
Custom Questions
Which component does this fall under?
Blink>ServiceWorker
Does this work in other browsers?
Not sure - I don't know
Additional Data
Category: API
Chrome Channel: Stable
Regression: Yes