You can provide your own implementation of matchMedia. This can be used for handling an iframe content window.