DescriptionMake arguments to window.{move,resize}{To,By} non-optional
When missing these arguments used to default to "the current value" so
calling the functions without arguments was a no-op. This is not
compatible with other implementations.
In Firefox (35), the arguments are not optional, so calling the functions
with fewer than two arguments throws a TypeError.
In IE (11), the arguments are optional with zero default value.
This patch aligns with Firefox's behavior, and also simplifies the
implementation by not dealing with missing arguments.
BUG=453421
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197024
Patch Set 1 #
Total comments: 1
Patch Set 2 : adjust additional tests #Patch Set 3 : rebased #Patch Set 4 : rebased #
Total comments: 2
Messages
Total messages: 17 (6 generated)
|