g"/>
<script>
test(function() {
  var ss = document.styleSheets[0];
  assert_equals(ss.ownerNode.id, "test-style", "Got the wrong style element");

  var media = ss.media;
  test(function() {
    // https://www.w3.org/Bugs/Public/show_bug.cgi?id=17526
    assert_equals(media.mediaText, "screen, print", "Serialization should be \"screen, print\"");
  }, "MediaList.mediaText");

  test(function() {
    assert_equals(media.length, 2, "Got wrong number of media");
  }, "MediaList.length");

  test(function() {
