Unable to share MediaStream between popup and main window

Issue #13599026 • Assigned to Travis L.


Andrew S.
Sep 6, 2017
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

I am opening a popup window that calls getUserMedia and creates a URL with the media stream. I am then attempting to set this URL as the src of a video element back in the main window, but am getting an InvalidAccessError. This works in Chrome, Firefox and Opera, so is there something in Edge’s security policy that is blocking this on purpose?

I have created the following JSBin that demonstrates the issue, though in this case it seems to fail silently rather than returning the InvalidAccessError. Please note, this example will not work in Chrome 60+ or Opera 47+ due to the fact that the popup has an about:blank URL. In my actual code, the popup uses a real URL.



0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Assigned To to “Venkat K.”

      Changed Assigned To from “Venkat K.” to “Frank L.”

      Changed Assigned To to “travil”

      Changed Title from “Unable to share WebRTC media stream between popup and main window” to “Unable to share MediaStream between popup and main window”

      Changed Assigned To from “travil” to “Travis L.”

      Changed Status

    • This bug has marked as duplicate. Please follow the parent issue to get new updates.

    • Hi,

      This has been marked as a duplicate of a different issue (#11324352), but that issue is complaining about window.opener being undefined in the popup.

      That is not true in my case. In the following example you can see that window.opener is valid, but sharing the MediaStream between the popup and main window still doesn’t work:


      Please can you confirm whether this is, in fact, a different issue to #11324352?



    • Changed Status

    • I am reopening this issue, due to the reason mentioned in the comment above.

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Steps to Reproduce

      Changed Assigned To to “Travis L.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in