Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: test/inspector/task-runner.cc

Issue 2379303002: Revert "[inspector] added inspector test runner [part 3-5]" (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/inspector/runtime/run-script-async-expected.txt ('k') | test/inspector/testcfg.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "test/inspector/task-runner.h" 5 #include "test/inspector/task-runner.h"
6 6
7 namespace { 7 namespace {
8 8
9 const int kTaskRunnerIndex = 2; 9 const int kTaskRunnerIndex = 2;
10 10
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 .ToLocalChecked(); 125 .ToLocalChecked();
126 126
127 v8::ScriptCompiler::Source scriptSource(source, origin); 127 v8::ScriptCompiler::Source scriptSource(source, origin);
128 v8::Local<v8::Script> script; 128 v8::Local<v8::Script> script;
129 if (!v8::ScriptCompiler::Compile(local_context, &scriptSource) 129 if (!v8::ScriptCompiler::Compile(local_context, &scriptSource)
130 .ToLocal(&script)) 130 .ToLocal(&script))
131 return; 131 return;
132 v8::MaybeLocal<v8::Value> result; 132 v8::MaybeLocal<v8::Value> result;
133 result = script->Run(local_context); 133 result = script->Run(local_context);
134 } 134 }
135
136 // main to make compiler happy before other patch will be landed.
137 int main(int argc, char* argv[]) { return 0; }
OLDNEW
« no previous file with comments | « test/inspector/runtime/run-script-async-expected.txt ('k') | test/inspector/testcfg.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698