OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> | 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> |
4 * Copyright (C) 2010 Google Inc. All rights reserved. | 4 * Copyright (C) 2010 Google Inc. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions are | 7 * modification, are permitted provided that the following conditions are |
8 * met: | 8 * met: |
9 * | 9 * |
10 * * Redistributions of source code must retain the above copyright | 10 * * Redistributions of source code must retain the above copyright |
(...skipping 28 matching lines...) Expand all Loading... |
39 void copyText(in DOMString text); | 39 void copyText(in DOMString text); |
40 [Custom] void inspect(in any objectId, in any hints); | 40 [Custom] void inspect(in any objectId, in any hints); |
41 [Custom] any inspectedObject(in int num); | 41 [Custom] any inspectedObject(in int num); |
42 [Custom] any internalConstructorName(in any object); | 42 [Custom] any internalConstructorName(in any object); |
43 [Custom] boolean isHTMLAllCollection(in any object); | 43 [Custom] boolean isHTMLAllCollection(in any object); |
44 [Custom] DOMString type(in any object); | 44 [Custom] DOMString type(in any object); |
45 [Custom] any functionDetails(in any object); | 45 [Custom] any functionDetails(in any object); |
46 [Custom] Array getInternalProperties(in any object); | 46 [Custom] Array getInternalProperties(in any object); |
47 [Custom] Array getEventListeners(in Node node); | 47 [Custom] Array getEventListeners(in Node node); |
48 | 48 |
| 49 // FIXME: Remove evaluateReturnsEvalFunction once InjectedScriptHost returns
eval in evaluate on V8. https://webkit.org/b/113134 |
| 50 readonly attribute boolean evaluateReturnsEvalFunction; |
| 51 |
| 52 #if defined(V8_BINDING) && V8_BINDING |
| 53 [Custom] any evaluate(in DOMString text); |
| 54 #else |
| 55 [Custom] readonly attribute any evaluate; |
| 56 #endif |
| 57 |
49 [Custom] DOMString databaseId(in any database); | 58 [Custom] DOMString databaseId(in any database); |
50 [Custom] DOMString storageId(in any storage); | 59 [Custom] DOMString storageId(in any storage); |
51 [Custom] any evaluate(in DOMString text); | 60 |
52 // Only declarative scope (local, with and catch) is accepted. Returns undef
ined. | 61 // Only declarative scope (local, with and catch) is accepted. Returns undef
ined. |
53 [Custom] any setFunctionVariableValue(in any functionObject, in int scopeInd
ex, in DOMString variableName, any newValue); | 62 [Custom] any setFunctionVariableValue(in any functionObject, in int scopeInd
ex, in DOMString variableName, any newValue); |
54 }; | 63 }; |
OLD | NEW |