OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/streams/ReadableStreamOperations.h" | 5 #include "core/streams/ReadableStreamOperations.h" |
6 | 6 |
7 #include "bindings/core/v8/ExceptionState.h" | 7 #include "bindings/core/v8/ExceptionState.h" |
8 #include "bindings/core/v8/ScriptFunction.h" | 8 #include "bindings/core/v8/ScriptFunction.h" |
9 #include "bindings/core/v8/ScriptValue.h" | 9 #include "bindings/core/v8/ScriptValue.h" |
10 #include "bindings/core/v8/V8BindingForCore.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/core/v8/V8IteratorResultValue.h" | 12 #include "bindings/core/v8/V8IteratorResultValue.h" |
13 #include "bindings/core/v8/V8ThrowException.h" | |
14 #include "core/dom/Document.h" | 13 #include "core/dom/Document.h" |
15 #include "core/streams/ReadableStreamController.h" | 14 #include "core/streams/ReadableStreamController.h" |
16 #include "core/streams/UnderlyingSourceBase.h" | 15 #include "core/streams/UnderlyingSourceBase.h" |
17 #include "platform/bindings/ScriptState.h" | 16 #include "platform/bindings/ScriptState.h" |
18 #include "platform/bindings/V8BindingMacros.h" | 17 #include "platform/bindings/V8BindingMacros.h" |
| 18 #include "platform/bindings/V8ThrowException.h" |
19 #include "platform/heap/Handle.h" | 19 #include "platform/heap/Handle.h" |
20 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
21 #include "v8/include/v8.h" | 21 #include "v8/include/v8.h" |
22 | 22 |
23 namespace blink { | 23 namespace blink { |
24 | 24 |
25 namespace { | 25 namespace { |
26 | 26 |
27 class NotReached : public ScriptFunction { | 27 class NotReached : public ScriptFunction { |
28 public: | 28 public: |
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 EXPECT_EQ("hello", it1->Value()); | 494 EXPECT_EQ("hello", it1->Value()); |
495 EXPECT_TRUE(it2->IsSet()); | 495 EXPECT_TRUE(it2->IsSet()); |
496 EXPECT_TRUE(it2->IsValid()); | 496 EXPECT_TRUE(it2->IsValid()); |
497 EXPECT_FALSE(it2->IsDone()); | 497 EXPECT_FALSE(it2->IsDone()); |
498 EXPECT_EQ("hello", it2->Value()); | 498 EXPECT_EQ("hello", it2->Value()); |
499 } | 499 } |
500 | 500 |
501 } // namespace | 501 } // namespace |
502 | 502 |
503 } // namespace blink | 503 } // namespace blink |
OLD | NEW |