Skip to content

Commit

Permalink
Bug 726402 - Fix intermittent test_bug369370.html. r=bz
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Yan committed Feb 18, 2012
1 parent d381d32 commit 73e2a27
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions content/html/document/test/test_bug369370.html
Expand Up @@ -39,8 +39,8 @@
is(kidWin.innerHeight, 300, "Checking doc height");

// Image just loaded and is scaled to window size.
is(img.width, 378, "image width");
is(img.height, 284, "image height");
is(img.width, 400, "image width");
is(img.height, 300, "image height");
is(kidDoc.body.scrollLeft, 0, "Checking scrollLeft");
is(kidDoc.body.scrollTop, 0, "Checking scrollTop");

Expand All @@ -61,8 +61,8 @@
img.dispatchEvent(event);
ok(true, "----- click 2 -----");

is(img.width, 378, "image width");
is(img.height, 284, "image height");
is(img.width, 400, "image width");
is(img.height, 300, "image height");
is(kidDoc.body.scrollLeft, 0, "Checking scrollLeft");
is(kidDoc.body.scrollTop, 0, "Checking scrollTop");

Expand All @@ -83,8 +83,8 @@
img.dispatchEvent(event);
ok(true, "----- click 4 -----");

is(img.width, 378, "image width");
is(img.height, 284, "image height");
is(img.width, 400, "image width");
is(img.height, 300, "image height");
is(kidDoc.body.scrollLeft, 0, "Checking scrollLeft");
is(kidDoc.body.scrollTop, 0, "Checking scrollTop");

Expand Down

0 comments on commit 73e2a27

Please sign in to comment.