@ -111,6 +113,7 @@ var gImage1Data; // ImageData object for the reference image
@@ -111,6 +113,7 @@ var gImage1Data; // ImageData object for the reference image
var gImage2Data; // ImageData object for the test output image
var gFlashingPixels = []; // array of <path> objects that should be flashed due to pixel color mismatch
var gPath = ''; // path taken from #web= and prepended to ref/snp urls
var gSelected = null; // currently selected comparison
function ID(id) {
if (!(id in gIDCache))
@ -316,6 +319,7 @@ function build_viewer() {
@@ -316,6 +319,7 @@ function build_viewer() {
tr.appendChild(td);
td = document.createElement("td");
td.id = "url" + i;
td.className = "url";
// Only display part of URL after "/mozilla/".
var match = item.url.match(/\/mozilla\/(.*)/);
@ -354,6 +358,11 @@ function get_image_data(src, whenReady) {
@@ -354,6 +358,11 @@ function get_image_data(src, whenReady) {