| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 6c677abee3e678323b1287d2af84c188850e437d..f51b2b3eec3f6e79e28b2aeb224f889207e915f2 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -263,7 +263,6 @@ static ScriptOrigin GetScriptOriginForScript(i::Isolate* isolate,
|
| v8::Integer::New(v8_isolate, script->column_offset()),
|
| v8::Boolean::New(v8_isolate, options.IsSharedCrossOrigin()),
|
| v8::Integer::New(v8_isolate, script->id()),
|
| - v8::Boolean::New(v8_isolate, options.IsEmbedderDebugScript()),
|
| Utils::ToLocal(source_map_url),
|
| v8::Boolean::New(v8_isolate, options.IsOpaque()));
|
| return origin;
|
| @@ -9036,6 +9035,14 @@ bool DebugInterface::Script::GetPossibleBreakpoints(
|
| return true;
|
| }
|
|
|
| +bool DebugInterface::Script::IsInspectorScript() const {
|
| + i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate();
|
| + i::HandleScope handle_scope(isolate);
|
| + i::Handle<i::Script> script = Utils::OpenHandle(this);
|
| + i::Script::Type type = static_cast<i::Script::Type>(script->type());
|
| + return type == i::Script::TYPE_INSPECTOR;
|
| +}
|
| +
|
| int DebugInterface::Script::GetSourcePosition(const Location& location) const {
|
| i::Handle<i::Script> script = Utils::OpenHandle(this);
|
|
|
|
|