/**
* @author thatcher
*/
load('dist/env.rhino.js');
window.location = 'test/html/malformed.html';
var fixture = document.xml,
testhtml = '
this is a
pigoink oink!',
success = function(){
print(doc.xml);
};
var doc;
//Envjs.logLevel = Envjs.DEBUG;
doc = new DOMParser().parseFromString(testhtml);
print(doc.xml);
doc.body.innerHTML = testfragment;
print(doc.xml);
/*
var start = new Date().getTime();
for(var i=0;i<1000;i++){
parseHtmlDocument(trivial, document, null, null);
}
var stop = new Date().getTime();
print("1000 parses "+(stop-start));
*/