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

Side by Side Diff: third_party/WebKit/Source/modules/background_fetch/BackgroundFetchManagerTest.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 "modules/background_fetch/BackgroundFetchManager.h" 5 #include "modules/background_fetch/BackgroundFetchManager.h"
6 6
7 #include "bindings/core/v8/Dictionary.h" 7 #include "bindings/core/v8/Dictionary.h"
8 #include "bindings/core/v8/ExceptionState.h" 8 #include "bindings/core/v8/ExceptionState.h"
9 #include "bindings/core/v8/ScriptState.h" 9 #include "bindings/core/v8/ScriptState.h"
10 #include "bindings/core/v8/V8Binding.h" 10 #include "bindings/core/v8/V8BindingForCore.h"
11 #include "bindings/core/v8/V8BindingForTesting.h" 11 #include "bindings/core/v8/V8BindingForTesting.h"
12 #include "bindings/modules/v8/RequestOrUSVString.h" 12 #include "bindings/modules/v8/RequestOrUSVString.h"
13 #include "bindings/modules/v8/RequestOrUSVStringOrRequestOrUSVStringSequence.h" 13 #include "bindings/modules/v8/RequestOrUSVStringOrRequestOrUSVStringSequence.h"
14 #include "core/dom/ExceptionCode.h" 14 #include "core/dom/ExceptionCode.h"
15 #include "modules/fetch/Request.h" 15 #include "modules/fetch/Request.h"
16 #include "public/platform/modules/serviceworker/WebServiceWorkerRequest.h" 16 #include "public/platform/modules/serviceworker/WebServiceWorkerRequest.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 18
19 namespace blink { 19 namespace blink {
20 20
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 RequestOrUSVStringOrRequestOrUSVStringSequence:: 178 RequestOrUSVStringOrRequestOrUSVStringSequence::
179 fromRequestOrUSVStringSequence(request_sequence); 179 fromRequestOrUSVStringSequence(request_sequence);
180 180
181 Vector<WebServiceWorkerRequest> web_requests = 181 Vector<WebServiceWorkerRequest> web_requests =
182 CreateWebRequestVector(scope, requests); 182 CreateWebRequestVector(scope, requests);
183 ASSERT_TRUE(scope.GetExceptionState().HadException()); 183 ASSERT_TRUE(scope.GetExceptionState().HadException());
184 EXPECT_EQ(scope.GetExceptionState().Code(), kV8TypeError); 184 EXPECT_EQ(scope.GetExceptionState().Code(), kV8TypeError);
185 } 185 }
186 186
187 } // namespace blink 187 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/xml/DocumentXSLT.cpp ('k') | third_party/WebKit/Source/modules/cachestorage/Cache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698