Use the main world script context for mime handler postMessage.
Previously, calling postMessage from an isolated world would use that world's context for calling the proxy frame's postMessage(). This resulted in "Illegal invocation" errors. This CL avoids this problem by using the main world script context when calling postMessage on the proxy frame. BUG=453184 Review URL: https://codereview.chromium.org/861073004 Cr-Commit-Position: refs/heads/master@{#313665}
Showing
Please register or sign in to comment