Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: LayoutTests/fast/dom/Window/window-resize-and-move-arguments-expected.txt

Issue 886463010: Make arguments to window.{move,resize}{To,By} non-optional (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/Window/window-resize-and-move-arguments-expected.txt
diff --git a/LayoutTests/fast/dom/Window/window-resize-and-move-arguments-expected.txt b/LayoutTests/fast/dom/Window/window-resize-and-move-arguments-expected.txt
index 3f3e33ab1ae7d83cd081a821fa720cd56bf96c48..d1367f4eaa5634b53667437a7cb106ac433f7e17 100644
--- a/LayoutTests/fast/dom/Window/window-resize-and-move-arguments-expected.txt
+++ b/LayoutTests/fast/dom/Window/window-resize-and-move-arguments-expected.txt
@@ -7,10 +7,12 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
window.resizeTo Tests
Testing - resizeTo with 0 arguments
+PASS window.resizeTo() threw exception TypeError: Failed to execute 'resizeTo' on 'Window': 2 arguments required, but only 0 present..
PASS window.outerWidth is resetWidth
PASS window.outerHeight is resetHeight
Testing - resizeTo with 1 argument
-PASS window.outerWidth is width
+PASS window.resizeTo(width) threw exception TypeError: Failed to execute 'resizeTo' on 'Window': 2 arguments required, but only 1 present..
+PASS window.outerWidth is resetWidth
PASS window.outerHeight is resetHeight
Testing - resizeTo with more than 2 arguments
PASS window.outerWidth is width
@@ -19,10 +21,12 @@ PASS window.outerHeight is height
window.resizeBy Tests
Testing - resizeBy with 0 arguments
+PASS window.resizeBy() threw exception TypeError: Failed to execute 'resizeBy' on 'Window': 2 arguments required, but only 0 present..
PASS window.outerWidth is resetWidth
PASS window.outerHeight is resetHeight
Testing - resizeBy with 1 argument
-PASS window.outerWidth is resetWidth + x
+PASS window.resizeBy(x) threw exception TypeError: Failed to execute 'resizeBy' on 'Window': 2 arguments required, but only 1 present..
+PASS window.outerWidth is resetWidth
PASS window.outerHeight is resetHeight
Testing - resizeBy with more than 2 arguments
PASS window.outerWidth is resetWidth + x
@@ -31,10 +35,12 @@ PASS window.outerHeight is resetHeight + y
window.moveTo Tests
Testing - moveTo with 0 arguments
+PASS window.moveTo() threw exception TypeError: Failed to execute 'moveTo' on 'Window': 2 arguments required, but only 0 present..
PASS window.screenX is resetX
PASS window.screenY is resetY
Testing - moveTo with 1 argument
-PASS window.screenX is Math.max(x, screen.availLeft)
+PASS window.moveTo(x) threw exception TypeError: Failed to execute 'moveTo' on 'Window': 2 arguments required, but only 1 present..
+PASS window.screenX is resetX
PASS window.screenY is resetY
Testing - moveTo with more than 2 arguments
PASS window.screenX is Math.max(x, screen.availLeft)
@@ -43,10 +49,12 @@ PASS window.screenY is Math.max(y, screen.availTop)
window.moveBy Tests
Testing - moveBy with 0 arguments
+PASS window.moveBy() threw exception TypeError: Failed to execute 'moveBy' on 'Window': 2 arguments required, but only 0 present..
PASS window.screenX is resetX
PASS window.screenY is resetY
Testing - moveBy with 1 argument
-PASS window.screenX is resetX + x
+PASS window.moveBy(x) threw exception TypeError: Failed to execute 'moveBy' on 'Window': 2 arguments required, but only 1 present..
+PASS window.screenX is resetX
PASS window.screenY is resetY
Testing - moveBy with more than 2 arguments
PASS window.screenX is resetX + x

Powered by Google App Engine
This is Rietveld 408576698