← Back to release summary

Window.{move,resize}{To,By} with non-optional arguments

Category
DOM
Type
New or changed feature
Status
Enabled by default (Chrome 45)
Intent stage
None

Summary

The functions window.moveTo(), window.moveBy(), window.resizeTo() and window.resizeBy() throw TypeError when called with fewer than two arguments.

Standards & signals

View on chromestatus.com