OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * Copyright (C) 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2013 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 [RaisesException] boolean ignoreLayoutWithPendingStylesheets(Document docume
nt); | 275 [RaisesException] boolean ignoreLayoutWithPendingStylesheets(Document docume
nt); |
276 | 276 |
277 // These functions are for testing NetInfo. You must call setNetworkStateNot
ifierTestOnly(true) | 277 // These functions are for testing NetInfo. You must call setNetworkStateNot
ifierTestOnly(true) |
278 // before calling setNetworkConnectionInfo. | 278 // before calling setNetworkConnectionInfo. |
279 void setNetworkStateNotifierTestOnly(boolean testOnly); | 279 void setNetworkStateNotifierTestOnly(boolean testOnly); |
280 [RaisesException] void setNetworkConnectionInfo(DOMString type); | 280 [RaisesException] void setNetworkConnectionInfo(DOMString type); |
281 | 281 |
282 // This function is for testing HitRegions on Canvas2D. | 282 // This function is for testing HitRegions on Canvas2D. |
283 unsigned long countHitRegions(CanvasRenderingContext2D context); | 283 unsigned long countHitRegions(CanvasRenderingContext2D context); |
284 | 284 |
| 285 // FIXME: Move these tests to a separate IDL file. |
285 [ImplementedInPrivateScript] void doNothing(); | 286 [ImplementedInPrivateScript] void doNothing(); |
286 [ImplementedInPrivateScript] short return123(); | 287 [ImplementedInPrivateScript] short return123(); |
287 [ImplementedInPrivateScript] short echoInteger(short value); | 288 [ImplementedInPrivateScript] short echoInteger(short value); |
288 [ImplementedInPrivateScript] DOMString echoString(DOMString value); | 289 [ImplementedInPrivateScript] DOMString echoString(DOMString value); |
289 [ImplementedInPrivateScript] Node echoNode(Node value); | 290 [ImplementedInPrivateScript] Node echoNode(Node value); |
290 [ImplementedInPrivateScript] short addInteger(short value1, short value2); | 291 [ImplementedInPrivateScript] short addInteger(short value1, short value2); |
291 [ImplementedInPrivateScript] DOMString addString(DOMString value1, DOMString
value2); | 292 [ImplementedInPrivateScript] DOMString addString(DOMString value1, DOMString
value2); |
292 [ImplementedInPrivateScript] void setIntegerToPrototype(short value); | 293 [ImplementedInPrivateScript] void setIntegerToPrototype(short value); |
293 [ImplementedInPrivateScript] short getIntegerFromPrototype(); | 294 [ImplementedInPrivateScript] short getIntegerFromPrototype(); |
294 [ImplementedInPrivateScript] void setIntegerToDocument(Document document, sh
ort value); | 295 [ImplementedInPrivateScript] void setIntegerToDocument(Document document, sh
ort value); |
295 [ImplementedInPrivateScript] short getIntegerFromDocument(Document document)
; | 296 [ImplementedInPrivateScript] short getIntegerFromDocument(Document document)
; |
296 [ImplementedInPrivateScript] Node createElement(Document document); | 297 [ImplementedInPrivateScript] Node createElement(Document document); |
297 [ImplementedInPrivateScript] void appendChild(Node node1, Node node2); | 298 [ImplementedInPrivateScript] void appendChild(Node node1, Node node2); |
298 [ImplementedInPrivateScript] Node firstChild(Node node); | 299 [ImplementedInPrivateScript] Node firstChild(Node node); |
299 [ImplementedInPrivateScript] Node nextSibling(Node node); | 300 [ImplementedInPrivateScript] Node nextSibling(Node node); |
300 [ImplementedInPrivateScript] DOMString innerHTML(Node node); | 301 [ImplementedInPrivateScript] DOMString innerHTML(Node node); |
301 [ImplementedInPrivateScript] void setInnerHTML(Node node, DOMString string); | 302 [ImplementedInPrivateScript] void setInnerHTML(Node node, DOMString string); |
302 [ImplementedInPrivateScript] void addClickListener(Node node); | 303 [ImplementedInPrivateScript] void addClickListener(Node node); |
303 [ImplementedInPrivateScript] void clickNode(Document document, Node node); | 304 [ImplementedInPrivateScript] void clickNode(Document document, Node node); |
| 305 [ImplementedInPrivateScript] readonly attribute short readonlyShortAttribute
; |
| 306 [ImplementedInPrivateScript] attribute short shortAttribute; |
| 307 [ImplementedInPrivateScript] attribute DOMString stringAttribute; |
| 308 [ImplementedInPrivateScript] attribute Node nodeAttribute; |
304 }; | 309 }; |
OLD | NEW |