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

Unified Diff: Source/core/dom/Document.idl

Issue 935583003: Add TypeChecking=Unrestricted to Document (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.idl
diff --git a/Source/core/dom/Document.idl b/Source/core/dom/Document.idl
index 9797d2e96644c6898c5a68eb83b05b6d6037b2aa..ec721b24768a9ccaa4bea4568f29d11700fd54bc 100644
--- a/Source/core/dom/Document.idl
+++ b/Source/core/dom/Document.idl
@@ -25,7 +25,9 @@ typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext;
// http://www.w3.org/TR/page-visibility/#VisibilityState
enum VisibilityState { "hidden", "visible", "prerender", "unloaded" };
-interface Document : Node {
+[
+ TypeChecking=Unrestricted,
+] interface Document : Node {
// DOM Level 1 Core
readonly attribute DocumentType doctype;
@@ -184,14 +186,14 @@ interface Document : Node {
[RuntimeEnabled=Touch] Touch createTouch([Default=Undefined] optional Window window,
[Default=Undefined] optional EventTarget target,
[Default=Undefined] optional long identifier,
- [Default=Undefined] optional double pageX,
- [Default=Undefined] optional double pageY,
- [Default=Undefined] optional double screenX,
- [Default=Undefined] optional double screenY,
- [Default=Undefined] optional double webkitRadiusX,
- [Default=Undefined] optional double webkitRadiusY,
- [Default=Undefined] optional float webkitRotationAngle,
- [Default=Undefined] optional float webkitForce);
+ [Default=Undefined] optional unrestricted double pageX,
+ [Default=Undefined] optional unrestricted double pageY,
+ [Default=Undefined] optional unrestricted double screenX,
+ [Default=Undefined] optional unrestricted double screenY,
+ [Default=Undefined] optional unrestricted double webkitRadiusX,
+ [Default=Undefined] optional unrestricted double webkitRadiusY,
+ [Default=Undefined] optional unrestricted float webkitRotationAngle,
+ [Default=Undefined] optional unrestricted float webkitForce);
[RuntimeEnabled=Touch] TouchList createTouchList(Touch... touches);
[CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=DocumentRegisterElement] CustomElementConstructor registerElement(DOMString name, optional ElementRegistrationOptions options);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698