summaryrefslogtreecommitdiffstats
path: root/toolkit/content/tests/chrome/window_largemenu.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/content/tests/chrome/window_largemenu.xhtml')
-rw-r--r--toolkit/content/tests/chrome/window_largemenu.xhtml8
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/content/tests/chrome/window_largemenu.xhtml b/toolkit/content/tests/chrome/window_largemenu.xhtml
index d84b045e78..8e6b6718b4 100644
--- a/toolkit/content/tests/chrome/window_largemenu.xhtml
+++ b/toolkit/content/tests/chrome/window_largemenu.xhtml
@@ -363,8 +363,8 @@ function testPopupMovement()
is(screenX, expectedx, gTests[gTestIndex] + " (6000, 100) x");
is(screenY, 100, gTests[gTestIndex] + " (6000, 100) y");
- is(popup.getAttribute("left"), "", gTests[gTestIndex] + " left is empty after moving");
- is(popup.getAttribute("top"), "", gTests[gTestIndex] + " top is empty after moving");
+ is(popup.getAttribute("left"), null, gTests[gTestIndex] + " left is empty after moving");
+ is(popup.getAttribute("top"), null, gTests[gTestIndex] + " top is empty after moving");
popup.setAttribute("left", "80");
popup.setAttribute("top", "82");
[screenX, screenY] = getScreenXY(popup);
@@ -387,8 +387,8 @@ function testPopupMovement()
is(screenX, expectedx, gTests[gTestIndex] + " move after set left and top x to -1");
is(screenY, expectedy, gTests[gTestIndex] + " move after set left and top y to -1");
- is(popup.getAttribute("left"), "", gTests[gTestIndex] + " left is not set after moving to -1");
- is(popup.getAttribute("top"), "", gTests[gTestIndex] + " top is not set after moving to -1");
+ is(popup.getAttribute("left"), null, gTests[gTestIndex] + " left is not set after moving to -1");
+ is(popup.getAttribute("top"), null, gTests[gTestIndex] + " top is not set after moving to -1");
popup.hidePopup();
}