| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 interface PrivateScriptTest { | |
| 6 [ImplementedInPrivateScript] void doNothing(); | |
| 7 [ImplementedInPrivateScript] short return123(); | |
| 8 [ImplementedInPrivateScript] short echoInteger(short value); | |
| 9 [ImplementedInPrivateScript] DOMString echoString(DOMString value); | |
| 10 [ImplementedInPrivateScript] Node echoNode(Node value); | |
| 11 [ImplementedInPrivateScript] short addInteger(short value1, short value2); | |
| 12 [ImplementedInPrivateScript] DOMString addString(DOMString value1, DOMString
value2); | |
| 13 [ImplementedInPrivateScript] void setIntegerToPrototype(short value); | |
| 14 [ImplementedInPrivateScript] short getIntegerFromPrototype(); | |
| 15 [ImplementedInPrivateScript] void setIntegerToDocument(Document document, sh
ort value); | |
| 16 [ImplementedInPrivateScript] short getIntegerFromDocument(Document document)
; | |
| 17 [ImplementedInPrivateScript] Node createElement(Document document); | |
| 18 [ImplementedInPrivateScript] void appendChild(Node node1, Node node2); | |
| 19 [ImplementedInPrivateScript] Node firstChild(Node node); | |
| 20 [ImplementedInPrivateScript] Node nextSibling(Node node); | |
| 21 [ImplementedInPrivateScript] DOMString innerHTML(Node node); | |
| 22 [ImplementedInPrivateScript] void setInnerHTML(Node node, DOMString string); | |
| 23 [ImplementedInPrivateScript] void addClickListener(Node node); | |
| 24 [ImplementedInPrivateScript] void clickNode(Document document, Node node); | |
| 25 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute
; | |
| 26 [ImplementedInPrivateScript] attribute short shortAttribute; | |
| 27 [ImplementedInPrivateScript] attribute DOMString stringAttribute; | |
| 28 [ImplementedInPrivateScript] attribute Node nodeAttribute; | |
| 29 [ImplementedInPrivateScript] attribute Node? nodeAttributeThrowsIndexSizeErr
or; | |
| 30 [ImplementedInPrivateScript] void voidMethodThrowsDOMSyntaxError(); | |
| 31 [ImplementedInPrivateScript] void voidMethodThrowsError(); | |
| 32 [ImplementedInPrivateScript] void voidMethodThrowsTypeError(); | |
| 33 [ImplementedInPrivateScript] void voidMethodThrowsRangeError(); | |
| 34 [ImplementedInPrivateScript] void voidMethodThrowsSyntaxError(); | |
| 35 [ImplementedInPrivateScript] void voidMethodThrowsReferenceError(); | |
| 36 [ImplementedInPrivateScript] void voidMethodThrowsStackOverflowError(); | |
| 37 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] short addIntegerFor
PrivateScriptOnly(short value1, short value2); | |
| 38 [ImplementedInPrivateScript, OnlyExposedToPrivateScript] attribute DOMString
stringAttributeForPrivateScriptOnly; | |
| 39 [ImplementedInPrivateScript] short addIntegerImplementedInCPP(short value1,
short value2); | |
| 40 [OnlyExposedToPrivateScript] short addIntegerImplementedInCPPForPrivateScrip
tOnly(short value1, short value2); | |
| 41 [ImplementedInPrivateScript] attribute DOMString stringAttributeImplementedI
nCPP; | |
| 42 [OnlyExposedToPrivateScript] attribute DOMString stringAttributeImplementedI
nCPPForPrivateScriptOnly; | |
| 43 [ImplementedInPrivateScript] void dispatchDocumentOnload(Document document); | |
| 44 }; | |
| OLD | NEW |