Bug 875986, part 4 - check no thumbnail file before capture. r=adw
This commit is contained in:
@@ -247,8 +247,9 @@ let tests = [
|
||||
// that cookie is not saved for subsequent requests.
|
||||
function noCookiesStored() {
|
||||
let url = testPageURL({ setRedCookie: true });
|
||||
yield capture(url);
|
||||
let file = fileForURL(url);
|
||||
ok(!file.exists(), "Thumbnail file should not exist before capture.");
|
||||
yield capture(url);
|
||||
ok(file.exists(), "Thumbnail file should exist after capture.");
|
||||
file.remove(false);
|
||||
// now load it up in a browser - it should *not* be red, otherwise the
|
||||
|
||||
Reference in New Issue
Block a user