OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 }, | 123 }, |
124 | 124 |
125 /** | 125 /** |
126 * @return {boolean} | 126 * @return {boolean} |
127 */ | 127 */ |
128 isNode: function() | 128 isNode: function() |
129 { | 129 { |
130 return false; | 130 return false; |
131 }, | 131 }, |
132 | 132 |
133 reveal: function() | |
134 { | |
135 WebInspector.Revealer.reveal(this); | |
136 }, | |
137 | |
138 /** | 133 /** |
139 * @param {function(?DebuggerAgent.FunctionDetails)} callback | 134 * @param {function(?DebuggerAgent.FunctionDetails)} callback |
140 */ | 135 */ |
141 functionDetails: function(callback) | 136 functionDetails: function(callback) |
142 { | 137 { |
143 callback(null); | 138 callback(null); |
144 } | 139 } |
145 } | 140 } |
146 | 141 |
147 /** | 142 /** |
(...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1029 result = functionDeclaration.apply(target, rawArgs); | 1024 result = functionDeclaration.apply(target, rawArgs); |
1030 } catch (e) { | 1025 } catch (e) { |
1031 result = null; | 1026 result = null; |
1032 } | 1027 } |
1033 | 1028 |
1034 callback(result); | 1029 callback(result); |
1035 }, | 1030 }, |
1036 | 1031 |
1037 __proto__: WebInspector.RemoteObject.prototype | 1032 __proto__: WebInspector.RemoteObject.prototype |
1038 } | 1033 } |
OLD | NEW |