Well, they aren’t done yet, but I thought I’d share some new reporter screenshots. As you can see quite a few refinements. Still a little rough, but I think it illustrates how simple the process is. There’s some obvious UI uglies still in there. It can take well under 30 seconds to submit a report.
We automate the collection of just about all the important data, so we can make sure we get a pretty accurate rundown of what is included.
Still missing is collecting some buildconfig info. So if anyone knows why the following code doesn’t work, let me know:
function getBuildConfig() {
var ioservice =
Components.classes["@mozilla.org/network/io-service;1"].
getService(Components.interfaces.nsIIOService);
var channel = ioservice.newChannel("chrome://global/content/buildconfig.html",
null, null);
var stream = channel.open();
var parser = new DOMParser();
var buildconfig = parser.parseFromStream(stream, "UTF-8", stream.available(),
"application/xhtml+XML");
return buildconfig.documentElement.firstChild.textContent;
}
< ?pre>