| 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 "config.h" | |
| 6 #include "core/streams/ReadableStream.h" | 5 #include "core/streams/ReadableStream.h" |
| 7 | 6 |
| 8 #include "bindings/core/v8/ExceptionState.h" | 7 #include "bindings/core/v8/ExceptionState.h" |
| 9 #include "bindings/core/v8/ScriptPromiseResolver.h" | 8 #include "bindings/core/v8/ScriptPromiseResolver.h" |
| 10 #include "bindings/core/v8/ScriptState.h" | 9 #include "bindings/core/v8/ScriptState.h" |
| 11 #include "bindings/core/v8/V8Binding.h" | 10 #include "bindings/core/v8/V8Binding.h" |
| 12 #include "core/dom/DOMArrayBuffer.h" | 11 #include "core/dom/DOMArrayBuffer.h" |
| 13 #include "core/dom/DOMException.h" | 12 #include "core/dom/DOMException.h" |
| 14 #include "core/dom/Document.h" | 13 #include "core/dom/Document.h" |
| 15 #include "core/dom/ExceptionCode.h" | 14 #include "core/dom/ExceptionCode.h" |
| (...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 645 reader->read(scriptState()); | 644 reader->read(scriptState()); |
| 646 EXPECT_FALSE(stream->isPulling()); | 645 EXPECT_FALSE(stream->isPulling()); |
| 647 checkpoint.Call(9); | 646 checkpoint.Call(9); |
| 648 reader->read(scriptState()); | 647 reader->read(scriptState()); |
| 649 EXPECT_TRUE(stream->isPulling()); | 648 EXPECT_TRUE(stream->isPulling()); |
| 650 | 649 |
| 651 stream->error(DOMException::create(AbortError, "done")); | 650 stream->error(DOMException::create(AbortError, "done")); |
| 652 } | 651 } |
| 653 | 652 |
| 654 } // namespace blink | 653 } // namespace blink |
| OLD | NEW |