The binding layer is now passing the current realm to the API implementations, but it's wrong. Except for a few cases, all the operations about DOM objects must be run with the relevant realm of the platform object. We should switch from the current realm to the relevant realm of the platform object.
Comment 1 by bugdroid1@chromium.org
, Jul 22 2016