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 24 matching lines...) Expand all Loading... |
35 ] interface InjectedScriptHost { | 35 ] interface InjectedScriptHost { |
36 void clearConsoleMessages(); | 36 void clearConsoleMessages(); |
37 | 37 |
38 [Custom] void inspect(any objectId, any hints); | 38 [Custom] void inspect(any objectId, any hints); |
39 [Custom] any inspectedObject(long num); | 39 [Custom] any inspectedObject(long num); |
40 [Custom] any internalConstructorName(any obj); | 40 [Custom] any internalConstructorName(any obj); |
41 [Custom] boolean isHTMLAllCollection(any obj); | 41 [Custom] boolean isHTMLAllCollection(any obj); |
42 [Custom] DOMString type(any obj); | 42 [Custom] DOMString type(any obj); |
43 [Custom] any functionDetails(any obj); | 43 [Custom] any functionDetails(any obj); |
44 [Custom] Array getInternalProperties(any obj); | 44 [Custom] Array getInternalProperties(any obj); |
45 [Custom] Array getEventListeners(Node node); | 45 [Custom] Array getEventListeners(EventTarget target); |
46 [Custom] any evaluate(DOMString text); | 46 [Custom] any evaluate(DOMString text); |
47 [Custom] DOMString databaseId(any database); | 47 [Custom] DOMString databaseId(any database); |
48 [Custom] DOMString storageId(any storage); | 48 [Custom] DOMString storageId(any storage); |
49 [Custom] void debugFunction(any fn); | 49 [Custom] void debugFunction(any fn); |
50 [Custom] void undebugFunction(any fn); | 50 [Custom] void undebugFunction(any fn); |
51 [Custom] void monitorFunction(any fn); | 51 [Custom] void monitorFunction(any fn); |
52 [Custom] void unmonitorFunction(any fn); | 52 [Custom] void unmonitorFunction(any fn); |
53 | 53 |
54 // Only declarative scope (local, with and catch) is accepted. Returns undef
ined. | 54 // Only declarative scope (local, with and catch) is accepted. Returns undef
ined. |
55 [Custom] any setFunctionVariableValue(any functionObject, int scopeIndex, DO
MString variableName, any newValue); | 55 [Custom] any setFunctionVariableValue(any functionObject, int scopeIndex, DO
MString variableName, any newValue); |
56 }; | 56 }; |
OLD | NEW |