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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/ScriptStreamerTest.cpp

Issue 2834053003: Split V8Binding (Closed)
Patch Set: Rebase Created 3 years, 7 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium 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 "bindings/core/v8/ScriptStreamer.h" 5 #include "bindings/core/v8/ScriptStreamer.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "bindings/core/v8/ScriptSourceCode.h" 9 #include "bindings/core/v8/ScriptSourceCode.h"
10 #include "bindings/core/v8/ScriptStreamerThread.h" 10 #include "bindings/core/v8/ScriptStreamerThread.h"
11 #include "bindings/core/v8/V8Binding.h" 11 #include "bindings/core/v8/V8BindingForCore.h"
12 #include "bindings/core/v8/V8BindingForTesting.h" 12 #include "bindings/core/v8/V8BindingForTesting.h"
13 #include "bindings/core/v8/V8ScriptRunner.h" 13 #include "bindings/core/v8/V8ScriptRunner.h"
14 #include "core/dom/ClassicScript.h" 14 #include "core/dom/ClassicScript.h"
15 #include "core/dom/Element.h" 15 #include "core/dom/Element.h"
16 #include "core/dom/PendingScript.h" 16 #include "core/dom/PendingScript.h"
17 #include "core/frame/Settings.h" 17 #include "core/frame/Settings.h"
18 #include "platform/heap/Handle.h" 18 #include "platform/heap/Handle.h"
19 #include "platform/testing/UnitTestHelpers.h" 19 #include "platform/testing/UnitTestHelpers.h"
20 #include "public/platform/Platform.h" 20 #include "public/platform/Platform.h"
21 #include "public/platform/WebScheduler.h" 21 #include "public/platform/WebScheduler.h"
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 EXPECT_TRUE(V8ScriptRunner::CompileScript(source_code, scope.GetIsolate(), 405 EXPECT_TRUE(V8ScriptRunner::CompileScript(source_code, scope.GetIsolate(),
406 kSharableCrossOrigin, 406 kSharableCrossOrigin,
407 kV8CacheOptionsDefault) 407 kV8CacheOptionsDefault)
408 .ToLocal(&script)); 408 .ToLocal(&script));
409 EXPECT_FALSE(try_catch.HasCaught()); 409 EXPECT_FALSE(try_catch.HasCaught());
410 } 410 }
411 411
412 } // namespace 412 } // namespace
413 413
414 } // namespace blink 414 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698