Test the MediaQueryList interface:
http://dev.w3.org/csswg/cssom-view/#the-mediaquerylist-interface
.