mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 875986, part 4 - check no thumbnail file before capture. r=adw
This commit is contained in:
parent
c143f4d69a
commit
d8474723d5
@ -247,8 +247,9 @@ let tests = [
|
|||||||
// that cookie is not saved for subsequent requests.
|
// that cookie is not saved for subsequent requests.
|
||||||
function noCookiesStored() {
|
function noCookiesStored() {
|
||||||
let url = testPageURL({ setRedCookie: true });
|
let url = testPageURL({ setRedCookie: true });
|
||||||
yield capture(url);
|
|
||||||
let file = fileForURL(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.");
|
ok(file.exists(), "Thumbnail file should exist after capture.");
|
||||||
file.remove(false);
|
file.remove(false);
|
||||||
// now load it up in a browser - it should *not* be red, otherwise the
|
// now load it up in a browser - it should *not* be red, otherwise the
|
||||||
|
Loading…
Reference in New Issue
Block a user