[Webkit-unassigned] [Bug 232693] New: Ignore BroadcastChannel::postMessage from detached iframe / closing worker contexts

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 3 20:37:59 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=232693

            Bug ID: 232693
           Summary: Ignore BroadcastChannel::postMessage from detached
                    iframe / closing worker contexts
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: awillia at google.com

Pending an update to the spec [1], calling postMessage on BroadcastChannel objects associated with detached iframes or closing workers should have no effect.

See new tests in [2] for more details.

Per [3] it sounds like postMessage might throw an exception (as if the BroadcastChannel was closed) instead of the postMessage having no effect in at least certain detached iframe cases.

[1] https://github.com/whatwg/html/issues/7219
[2] https://github.com/web-platform-tests/wpt/pull/31290
[3] https://github.com/whatwg/html/issues/7219#issuecomment-943480682

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211104/d1c9350b/attachment.htm>


More information about the webkit-unassigned mailing list