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

Side by Side Diff: third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoaderTest.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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 "core/loader/modulescript/ModuleScriptLoader.h" 5 #include "core/loader/modulescript/ModuleScriptLoader.h"
6 6
7 #include "bindings/core/v8/V8Binding.h" 7 #include "bindings/core/v8/V8BindingForCore.h"
8 #include "core/dom/Document.h" 8 #include "core/dom/Document.h"
9 #include "core/dom/Modulator.h" 9 #include "core/dom/Modulator.h"
10 #include "core/dom/ModuleScript.h" 10 #include "core/dom/ModuleScript.h"
11 #include "core/loader/modulescript/ModuleScriptFetchRequest.h" 11 #include "core/loader/modulescript/ModuleScriptFetchRequest.h"
12 #include "core/loader/modulescript/ModuleScriptLoaderClient.h" 12 #include "core/loader/modulescript/ModuleScriptLoaderClient.h"
13 #include "core/loader/modulescript/ModuleScriptLoaderRegistry.h" 13 #include "core/loader/modulescript/ModuleScriptLoaderRegistry.h"
14 #include "core/testing/DummyModulator.h" 14 #include "core/testing/DummyModulator.h"
15 #include "core/testing/DummyPageHolder.h" 15 #include "core/testing/DummyPageHolder.h"
16 #include "platform/heap/Handle.h" 16 #include "platform/heap/Handle.h"
17 #include "platform/loader/fetch/ResourceFetcher.h" 17 #include "platform/loader/fetch/ResourceFetcher.h"
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 162
163 EXPECT_FALSE(client->WasNotifyFinished()) 163 EXPECT_FALSE(client->WasNotifyFinished())
164 << "ModuleScriptLoader unexpectedly finished synchronously."; 164 << "ModuleScriptLoader unexpectedly finished synchronously.";
165 platform_->GetURLLoaderMockFactory()->ServeAsynchronousRequests(); 165 platform_->GetURLLoaderMockFactory()->ServeAsynchronousRequests();
166 166
167 EXPECT_TRUE(client->WasNotifyFinished()); 167 EXPECT_TRUE(client->WasNotifyFinished());
168 EXPECT_FALSE(client->GetModuleScript()); 168 EXPECT_FALSE(client->GetModuleScript());
169 } 169 }
170 170
171 } // namespace blink 171 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698