OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2010 Google Inc. All rights reserved. | 2 * Copyright (c) 2010 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 29 matching lines...) Expand all Loading... |
40 class ScriptArguments; | 40 class ScriptArguments; |
41 class ScriptCallStack; | 41 class ScriptCallStack; |
42 class ScriptState; | 42 class ScriptState; |
43 | 43 |
44 const v8::StackTrace::StackTraceOptions stackTraceOptions = static_cast<v8::Stac
kTrace::StackTraceOptions>( | 44 const v8::StackTrace::StackTraceOptions stackTraceOptions = static_cast<v8::Stac
kTrace::StackTraceOptions>( |
45 v8::StackTrace::kLineNumber | 45 v8::StackTrace::kLineNumber |
46 | v8::StackTrace::kColumnOffset | 46 | v8::StackTrace::kColumnOffset |
47 | v8::StackTrace::kScriptNameOrSourceURL | 47 | v8::StackTrace::kScriptNameOrSourceURL |
48 | v8::StackTrace::kFunctionName); | 48 | v8::StackTrace::kFunctionName); |
49 | 49 |
50 PassRefPtr<ScriptCallStack> createScriptCallStack(v8::Handle<v8::StackTrace>, si
ze_t maxStackSize); | 50 PassRefPtr<ScriptCallStack> createScriptCallStack(v8::Handle<v8::StackTrace>, si
ze_t maxStackSize, v8::Isolate*); |
51 PassRefPtr<ScriptCallStack> createScriptCallStack(size_t maxStackSize, bool empt
yStackIsAllowed = false); | 51 PassRefPtr<ScriptCallStack> createScriptCallStack(size_t maxStackSize, bool empt
yStackIsAllowed = false); |
52 PassRefPtr<ScriptCallStack> createScriptCallStackForConsole(size_t maxStackSize
= ScriptCallStack::maxCallStackSizeToCapture); | 52 PassRefPtr<ScriptCallStack> createScriptCallStackForConsole(size_t maxStackSize
= ScriptCallStack::maxCallStackSizeToCapture); |
53 PassRefPtr<ScriptArguments> createScriptArguments(const v8::FunctionCallbackInfo
<v8::Value>& v8arguments, unsigned skipArgumentCount); | 53 PassRefPtr<ScriptArguments> createScriptArguments(const v8::FunctionCallbackInfo
<v8::Value>& v8arguments, unsigned skipArgumentCount); |
54 | 54 |
55 // This is just an alias to 'createScriptCallStackForConsole();' for compat with
JSC. | 55 // This is just an alias to 'createScriptCallStackForConsole();' for compat with
JSC. |
56 PassRefPtr<ScriptCallStack> createScriptCallStackForConsole(ScriptState*); | 56 PassRefPtr<ScriptCallStack> createScriptCallStackForConsole(ScriptState*); |
57 PassRefPtr<ScriptCallStack> createScriptCallStack(ScriptState*, size_t maxStackS
ize = ScriptCallStack::maxCallStackSizeToCapture); | 57 PassRefPtr<ScriptCallStack> createScriptCallStack(ScriptState*, size_t maxStackS
ize = ScriptCallStack::maxCallStackSizeToCapture); |
58 | 58 |
59 } // namespace WebCore | 59 } // namespace WebCore |
60 | 60 |
61 #endif // ScriptCallStackFactory_h | 61 #endif // ScriptCallStackFactory_h |
OLD | NEW |