OLD | NEW |
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/ScriptPromiseProperty.h" | 5 #include "bindings/core/v8/ScriptPromiseProperty.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 | 8 |
9 #include "bindings/core/v8/DOMWrapperWorld.h" | |
10 #include "bindings/core/v8/ScriptFunction.h" | 9 #include "bindings/core/v8/ScriptFunction.h" |
11 #include "bindings/core/v8/ScriptPromise.h" | 10 #include "bindings/core/v8/ScriptPromise.h" |
12 #include "bindings/core/v8/ScriptState.h" | 11 #include "bindings/core/v8/ScriptState.h" |
13 #include "bindings/core/v8/ScriptValue.h" | 12 #include "bindings/core/v8/ScriptValue.h" |
14 #include "bindings/core/v8/V8BindingForCore.h" | 13 #include "bindings/core/v8/V8BindingForCore.h" |
15 #include "bindings/core/v8/V8BindingForTesting.h" | 14 #include "bindings/core/v8/V8BindingForTesting.h" |
16 #include "bindings/core/v8/V8GCController.h" | 15 #include "bindings/core/v8/V8GCController.h" |
17 #include "core/dom/Document.h" | 16 #include "core/dom/Document.h" |
18 #include "core/testing/DummyPageHolder.h" | 17 #include "core/testing/DummyPageHolder.h" |
19 #include "core/testing/GCObservation.h" | 18 #include "core/testing/GCObservation.h" |
20 #include "core/testing/GarbageCollectedScriptWrappable.h" | 19 #include "core/testing/GarbageCollectedScriptWrappable.h" |
| 20 #include "platform/bindings/DOMWrapperWorld.h" |
21 #include "platform/heap/Handle.h" | 21 #include "platform/heap/Handle.h" |
22 #include "platform/wtf/PassRefPtr.h" | 22 #include "platform/wtf/PassRefPtr.h" |
23 #include "platform/wtf/RefPtr.h" | 23 #include "platform/wtf/RefPtr.h" |
24 #include "testing/gtest/include/gtest/gtest.h" | 24 #include "testing/gtest/include/gtest/gtest.h" |
25 #include "v8/include/v8.h" | 25 #include "v8/include/v8.h" |
26 | 26 |
27 namespace blink { | 27 namespace blink { |
28 | 28 |
29 namespace { | 29 namespace { |
30 | 30 |
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 ResolveWithString) { | 489 ResolveWithString) { |
490 Test(String("hello"), "hello", __FILE__, __LINE__); | 490 Test(String("hello"), "hello", __FILE__, __LINE__); |
491 } | 491 } |
492 | 492 |
493 TEST_F(ScriptPromisePropertyNonScriptWrappableResolutionTargetTest, | 493 TEST_F(ScriptPromisePropertyNonScriptWrappableResolutionTargetTest, |
494 ResolveWithInteger) { | 494 ResolveWithInteger) { |
495 Test(-1, "-1", __FILE__, __LINE__); | 495 Test(-1, "-1", __FILE__, __LINE__); |
496 } | 496 } |
497 | 497 |
498 } // namespace blink | 498 } // namespace blink |
OLD | NEW |