Backout changeset 3b7d72e5e850 (bug 1196128, r=vladan)

This commit is contained in:
David Anderson
2015-08-24 23:20:30 -04:00
parent 304639f462
commit 3d89191f67
2 changed files with 1 additions and 24 deletions

View File

@@ -74,16 +74,6 @@ function reportTestReason(val) {
histogram.add(val);
}
function reportSnapshotContents(canvas) {
try {
var data = canvas.toDataURL();
Cc['@mozilla.org/observer-service;1'].
getService(Ci.nsIObserverService).
notifyObservers(null, "graphics-sanity-test-failed", data);
} catch (e) {
}
}
function annotateCrashReport(value) {
try {
// "1" if we're annotating the crash report, "" to remove the annotation.
@@ -177,9 +167,7 @@ let listener = {
// Perform the compositor backbuffer test, which currently we use for
// actually deciding whether to enable hardware media decoding.
if (!testCompositor(this.win, this.ctx)) {
reportSnapshotContents(this.canvas);
}
testCompositor(this.win, this.ctx);
this.endTest();
},