title: Can you add a javascript callback listener to matchMedia on Android Chrome?
body: <p>I'm using matchMedia on a page and I've noticed that on Chrome for Android, the check for matches works, but when you try to add a listener to the media query, the callback function never fires.</p>
  
  <p>I've run the same code on the desktop and it works fine, but it doesn't seem to call the callback in the listener on Android 4.x devices with Chrome as the browser. Has this not been implemented in the browser yet?</p>
  
  <pre><code>var width768Check = window.matchMedia("(min-width: 768px)");
  console.log(width768Check.matches);
  console.log(width768Check.addListener);
  width768Check.addListener(function(mediaQueryList) {
      console.log(mediaQueryList.matches);
  });
  </code></pre>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I've been testing using a Nexus 7 tablet with Google Chrome v18.0.1025469 and Android v4.2.1 and a Asus Transformer tablet with the same version of Google Chrome and a different version of Android, v4.0.3.</p>
  
  <p>The funny thing is that the Asus tablet uses the listener callback functions correctly and the Nexus 7 does not. I'm not sure why the same version of Chrome on a newer version of the Android operating system would cause issues. Also, for the Nexus 7, I downloaded Dolphin Browser and everything works fine.</p>