old_contents: "use strict";
  
  var jsdom = require("../..").jsdom;
  
  // These tests are mostly random regression tests, not systematic parsing tests. They are compiled from the bug tracker.
  
  exports["unclosed <td> (GH-605)"] = function (t) {
    var doc = jsdom("<table><tr><td>first td<td>second td</tr></table>");
  
    var tds = doc.getElementsByTagName("td");
  
    t.equal(tds.length, 2);
    t.equal(tds[0].innerHTML, 'first td');
    t.equal(tds[1].innerHTML, 'second td');
  
    t.done();
  };
  
new_contents: "use strict";
  
  var jsdom = require("../..").jsdom;
  
  // These tests are mostly random regression tests, not systematic parsing tests. They are compiled from the bug tracker.
  
  exports["unclosed <td> (GH-605)"] = function (t) {
    var doc = jsdom("<table><tr><td>first td<td>second td</tr></table>");
  
    var tds = doc.getElementsByTagName("td");
  
    t.equal(tds.length, 2);
    t.equal(tds[0].innerHTML, 'first td');
    t.equal(tds[1].innerHTML, 'second td');
  
    t.done();
  };
  
  exports["innerHTML of <script type='text/html'> (GH-575)"] = function (t) {
    var doc = jsdom("<script type='text/html'>script innerHTML</script>");
  
    var scripts = doc.getElementsByTagName("script");
  
    t.equal(scripts.length, 1);
    t.equal(scripts[0].innerHTML, "script innerHTML");
  
    t.done();
  };
  
subject: Add test for innerHTML of <script> tags. Fixes #575.