Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / Source / core / testing / PrivateScriptTest.idl
blobf2dd041cc7cac6ff675fbb4ea293a207f22b7795
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
6 GarbageCollected,
7 TypeChecking=Interface,
8 ] interface PrivateScriptTest {
9 [ImplementedInPrivateScript] void doNothing();
10 [ImplementedInPrivateScript] short return123();
11 [ImplementedInPrivateScript] short echoInteger(short value);
12 [ImplementedInPrivateScript] DOMString echoString(DOMString value);
13 [ImplementedInPrivateScript] Node echoNode(Node value);
14 [ImplementedInPrivateScript] short addInteger(short value1, short value2);
15 [ImplementedInPrivateScript] DOMString addString(DOMString value1, DOMString value2);
16 [ImplementedInPrivateScript] void setIntegerToPrototype(short value);
17 [ImplementedInPrivateScript] short getIntegerFromPrototype();
18 [ImplementedInPrivateScript] void setIntegerToDocument(Document document, short value);
19 [ImplementedInPrivateScript] short getIntegerFromDocument(Document document);
20 [ImplementedInPrivateScript] Node createElement(Document document);
21 [ImplementedInPrivateScript] void appendChild(Node node1, Node node2);
22 [ImplementedInPrivateScript] Node firstChild(Node node);
23 [ImplementedInPrivateScript] Node nextSibling(Node node);
24 [ImplementedInPrivateScript] DOMString innerHTML(Node node);
25 [ImplementedInPrivateScript] void setInnerHTML(Node node, DOMString string);
26 [ImplementedInPrivateScript] void addClickListener(Node node);
27 [ImplementedInPrivateScript] void clickNode(Document document, Node node);
28 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute;
29 [ImplementedInPrivateScript] attribute short shortAttribute;
30 [ImplementedInPrivateScript] attribute DOMString stringAttribute;
31 [ImplementedInPrivateScript] attribute Node nodeAttribute;
32 [ImplementedInPrivateScript] attribute Node? nodeAttributeThrowsIndexSizeError;
33 [ImplementedInPrivateScript] void voidMethodThrowsDOMSyntaxError();
34 [ImplementedInPrivateScript] void voidMethodThrowsError();
35 [ImplementedInPrivateScript] void voidMethodThrowsTypeError();
36 [ImplementedInPrivateScript] void voidMethodThrowsRangeError();
37 [ImplementedInPrivateScript] void voidMethodThrowsSyntaxError();
38 [ImplementedInPrivateScript] void voidMethodThrowsReferenceError();
39 [ImplementedInPrivateScript] void voidMethodThrowsStackOverflowError();
40 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short addIntegerForPrivateScriptOnly(short value1, short value2);
41 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString stringAttributeForPrivateScriptOnly;
42 [ImplementedInPrivateScript] short addIntegerImplementedInCPP(short value1, short value2);
43 [OnlyExposedToPrivateScript] short addIntegerImplementedInCPPForPrivateScriptOnly(short value1, short value2);
44 [ImplementedInPrivateScript] attribute DOMString stringAttributeImplementedInCPP;
45 [OnlyExposedToPrivateScript] attribute DOMString stringAttributeImplementedInCPPForPrivateScriptOnly;
46 [ImplementedInPrivateScript] void dispatchDocumentOnload(Document document);