| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google 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 are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 64 |
| 65 [domain=Inspector] void setExtraHeaders(in Object headers); | 65 [domain=Inspector] void setExtraHeaders(in Object headers); |
| 66 | 66 |
| 67 [domain=Inspector] void getCookies(out Array cookies, out String cookies
String); | 67 [domain=Inspector] void getCookies(out Array cookies, out String cookies
String); |
| 68 [domain=Inspector] void deleteCookie(in String cookieName, in String dom
ain); | 68 [domain=Inspector] void deleteCookie(in String cookieName, in String dom
ain); |
| 69 | 69 |
| 70 /////////////////////////////////////////////////////////////////////// | 70 /////////////////////////////////////////////////////////////////////// |
| 71 // Runtime | 71 // Runtime |
| 72 /////////////////////////////////////////////////////////////////////// | 72 /////////////////////////////////////////////////////////////////////// |
| 73 | 73 |
| 74 [domain=Runtime] void evaluate(in String expression, in String objectGro
up, out Value result); | 74 [domain=Runtime] void evaluate(in String expression, in String objectGro
up, in boolean includeCommandLineAPI, out Value result); |
| 75 [domain=Runtime] void getCompletions(in String expression, in boolean in
cludeInspectorCommandLineAPI, out Value result); | 75 [domain=Runtime] void getCompletions(in String expression, in boolean in
cludeCommandLineAPI, out Value result); |
| 76 [domain=Runtime] void getProperties(in Object objectId, in boolean ignor
eHasOwnProperty, in boolean abbreviate, out Value result); | 76 [domain=Runtime] void getProperties(in Object objectId, in boolean ignor
eHasOwnProperty, in boolean abbreviate, out Value result); |
| 77 [domain=Runtime] void setPropertyValue(in Object objectId, in String pro
pertyName, in String expression, out Value result); | 77 [domain=Runtime] void setPropertyValue(in Object objectId, in String pro
pertyName, in String expression, out Value result); |
| 78 [domain=Runtime] void releaseWrapperObjectGroup(in long injectedScriptId
, in String objectGroup); | 78 [domain=Runtime] void releaseWrapperObjectGroup(in long injectedScriptId
, in String objectGroup); |
| 79 | 79 |
| 80 /////////////////////////////////////////////////////////////////////// | 80 /////////////////////////////////////////////////////////////////////// |
| 81 // Injected Script | 81 // Injected Script |
| 82 /////////////////////////////////////////////////////////////////////// | 82 /////////////////////////////////////////////////////////////////////// |
| 83 | 83 |
| 84 [domain=InjectedScript] void evaluateOnSelf(in String functionBody, in A
rray argumentsArray, out Value result); | 84 [domain=InjectedScript] void evaluateOnSelf(in String functionBody, in A
rray argumentsArray, out Value result); |
| 85 | 85 |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 [domain=Debugger] void pause(); | 269 [domain=Debugger] void pause(); |
| 270 [notify, domain=Debugger] void pausedScript(out Object details); | 270 [notify, domain=Debugger] void pausedScript(out Object details); |
| 271 [domain=Debugger] void resume(); | 271 [domain=Debugger] void resume(); |
| 272 [notify, domain=Debugger] void resumedScript(); // FIXME: Make this out
parameter of resume if possible. | 272 [notify, domain=Debugger] void resumedScript(); // FIXME: Make this out
parameter of resume if possible. |
| 273 | 273 |
| 274 [domain=Debugger] void editScriptSource(in String sourceID, in String ne
wContent, out boolean success, out String result, out Value newCallFrames); | 274 [domain=Debugger] void editScriptSource(in String sourceID, in String ne
wContent, out boolean success, out String result, out Value newCallFrames); |
| 275 [domain=Debugger] void getScriptSource(in String sourceID, out String sc
riptSource); | 275 [domain=Debugger] void getScriptSource(in String sourceID, out String sc
riptSource); |
| 276 | 276 |
| 277 [domain=Debugger] void setPauseOnExceptionsState(in long pauseOnExceptio
nsState, out long newState); | 277 [domain=Debugger] void setPauseOnExceptionsState(in long pauseOnExceptio
nsState, out long newState); |
| 278 | 278 |
| 279 [domain=Debugger] void evaluateOnCallFrame(in Object callFrameId, in Str
ing expression, in String objectGroup, out Value result); | 279 [domain=Debugger] void evaluateOnCallFrame(in Object callFrameId, in Str
ing expression, in String objectGroup, in boolean includeCommandLineAPI, out Val
ue result); |
| 280 [domain=Debugger] void getCompletionsOnCallFrame(in Object callFrameId,
in String expression, in boolean includeInspectorCommandLineAPI, out Value resul
t); | 280 [domain=Debugger] void getCompletionsOnCallFrame(in Object callFrameId,
in String expression, in boolean includeCommandLineAPI, out Value result); |
| 281 | 281 |
| 282 [notify, domain=Debugger] void breakpointResolved(out String breakpointI
d, out String sourceID, out unsigned int lineNumber, out String condition, out b
oolean enabled, out unsigned int originalLineNumber); | 282 [notify, domain=Debugger] void breakpointResolved(out String breakpointI
d, out String sourceID, out unsigned int lineNumber, out String condition, out b
oolean enabled, out unsigned int originalLineNumber); |
| 283 | 283 |
| 284 #if defined(ENABLE_WORKERS) && ENABLE_WORKERS | 284 #if defined(ENABLE_WORKERS) && ENABLE_WORKERS |
| 285 [notify, domain=Debugger] void didCreateWorker(out long id, out String u
rl, out boolean isShared); | 285 [notify, domain=Debugger] void didCreateWorker(out long id, out String u
rl, out boolean isShared); |
| 286 [notify, domain=Debugger] void didDestroyWorker(out long id); | 286 [notify, domain=Debugger] void didDestroyWorker(out long id); |
| 287 #endif // ENABLE_WORKERS | 287 #endif // ENABLE_WORKERS |
| 288 | 288 |
| 289 /////////////////////////////////////////////////////////////////////// | 289 /////////////////////////////////////////////////////////////////////// |
| 290 // Profiler API | 290 // Profiler API |
| (...skipping 16 matching lines...) Expand all Loading... |
| 307 [domain=Profiler] void takeHeapSnapshot(); | 307 [domain=Profiler] void takeHeapSnapshot(); |
| 308 [notify, domain=Profiler] void addProfileHeader(out Object header); | 308 [notify, domain=Profiler] void addProfileHeader(out Object header); |
| 309 [notify, domain=Profiler] void addHeapSnapshotChunk(out unsigned long ui
d, out String chunk); | 309 [notify, domain=Profiler] void addHeapSnapshotChunk(out unsigned long ui
d, out String chunk); |
| 310 [notify, domain=Profiler] void finishHeapSnapshot(out unsigned long uid)
; | 310 [notify, domain=Profiler] void finishHeapSnapshot(out unsigned long uid)
; |
| 311 [notify, domain=Profiler] void setRecordingProfile(out boolean isProfili
ng); | 311 [notify, domain=Profiler] void setRecordingProfile(out boolean isProfili
ng); |
| 312 [notify, domain=Profiler] void resetProfiles(); | 312 [notify, domain=Profiler] void resetProfiles(); |
| 313 | 313 |
| 314 #endif // ENABLE_JAVASCRIPT_DEBUGGER | 314 #endif // ENABLE_JAVASCRIPT_DEBUGGER |
| 315 }; | 315 }; |
| 316 } | 316 } |
| OLD | NEW |