mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1139560 - Fix mochitest expectations for currentSrc. r=orange for a CLOSED TREE
This commit is contained in:
parent
cfe4583509
commit
300ff451c0
@ -69,7 +69,7 @@
|
||||
ok(img.currentSrc.endsWith("non_existent_image.404"), "Should have synchronously selected source");
|
||||
|
||||
img.removeAttribute("src");
|
||||
is(img.currentSrc, null, "Should have dropped currentSrc");
|
||||
is(img.currentSrc, '', "Should have dropped currentSrc");
|
||||
|
||||
// Load another image while previous load is still pending
|
||||
img.src = testPNG200;
|
||||
|
@ -65,7 +65,7 @@
|
||||
info("test 1");
|
||||
img.srcset = testPNG100;
|
||||
img.src = testPNG50;
|
||||
is(img.currentSrc, null, "Should not have synchronously selected source");
|
||||
is(img.currentSrc, '', "Should not have synchronously selected source");
|
||||
|
||||
// No events should have fired synchronously, now we should get just one load (and no 404 error)
|
||||
expectEvents(1, 0, nextTest);
|
||||
|
Loading…
Reference in New Issue
Block a user