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

Unified Diff: Source/core/testing/Internals.idl

Issue 966723002: Add [TypeChecking=Interface] to Internals and PrivateScriptTest (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
Index: Source/core/testing/Internals.idl
diff --git a/Source/core/testing/Internals.idl b/Source/core/testing/Internals.idl
index 9f7dc181de7797bd8adc5b181bd611e714124983..f5598c6af7921c395a1d73dff20d913d05e11049 100644
--- a/Source/core/testing/Internals.idl
+++ b/Source/core/testing/Internals.idl
@@ -27,7 +27,7 @@
[
DoNotCheckConstants,
GarbageCollected,
- TypeChecking=Unrestricted,
+ TypeChecking=(Interface,Unrestricted),
] interface Internals {
DOMString address(Node node);
@@ -223,7 +223,7 @@
// |node| should be Document, HTMLIFrameElement, or unspecified.
// If |node| is an HTMLIFrameElement, it assumes node.contentDocument is
// specified without security checks. Unspecified means this document.
- [RaisesException] void updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(optional Node node);
+ [RaisesException] void updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(optional Node? node = null);
Jens Widell 2015/02/27 15:49:51 This is called with an (explicit) undefined argume
[RaisesException, TypeChecking=Interface] void forceFullRepaint(Document document);

Powered by Google App Engine
This is Rietveld 408576698