Index: Source/core/frame/Window.idl |
diff --git a/Source/core/frame/Window.idl b/Source/core/frame/Window.idl |
index 6b85aa197fb35e6cfe212350fce228cb3d324a8f..e6fbe2e0dae490c660aaf7ceb2653923679ac5ba 100644 |
--- a/Source/core/frame/Window.idl |
+++ b/Source/core/frame/Window.idl |
@@ -32,6 +32,7 @@ |
Custom=ToV8, |
ImplementedAs=DOMWindow, |
PrimaryGlobal, |
+ TypeChecking=Unrestricted, |
] interface Window : EventTarget { |
// DOM Level 0 |
readonly attribute Screen screen; |
@@ -95,11 +96,11 @@ |
readonly attribute double pageXOffset; |
readonly attribute double pageYOffset; |
- void scrollBy(double x, double y); |
+ void scrollBy(unrestricted double x, unrestricted double y); |
[RuntimeEnabled=CSSOMSmoothScroll] void scrollBy([Default=Undefined] optional ScrollToOptions scrollToOptions); |
- void scrollTo(double x, double y); |
+ void scrollTo(unrestricted double x, unrestricted double y); |
[RuntimeEnabled=CSSOMSmoothScroll] void scrollTo([Default=Undefined] optional ScrollToOptions scrollToOptions); |
- void scroll(double x, double y); |
+ void scroll(unrestricted double x, unrestricted double y); |
[RuntimeEnabled=CSSOMSmoothScroll] void scroll([Default=Undefined] optional ScrollToOptions scrollOptions); |
void moveBy(optional long x, optional long y); |
void moveTo(optional long x, optional long y); // FIXME: Arguments should not be optional, or should have defaults. |