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 "config.h" | |
6 #include "core/streams/ReadableStreamReader.h" | 5 #include "core/streams/ReadableStreamReader.h" |
7 | 6 |
8 #include "bindings/core/v8/ExceptionState.h" | 7 #include "bindings/core/v8/ExceptionState.h" |
9 #include "bindings/core/v8/ScriptState.h" | 8 #include "bindings/core/v8/ScriptState.h" |
10 #include "bindings/core/v8/ToV8.h" | 9 #include "bindings/core/v8/ToV8.h" |
11 #include "bindings/core/v8/V8ThrowException.h" | 10 #include "bindings/core/v8/V8ThrowException.h" |
12 #include "core/dom/DOMException.h" | 11 #include "core/dom/DOMException.h" |
13 #include "core/dom/Document.h" | 12 #include "core/dom/Document.h" |
14 #include "core/dom/ExceptionCode.h" | 13 #include "core/dom/ExceptionCode.h" |
15 #include "core/streams/ReadableStream.h" | 14 #include "core/streams/ReadableStream.h" |
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
577 | 576 |
578 isolate()->RunMicrotasks(); | 577 isolate()->RunMicrotasks(); |
579 EXPECT_TRUE(onFulfilled.isNull()); | 578 EXPECT_TRUE(onFulfilled.isNull()); |
580 EXPECT_EQ("SyntaxError: some error", onRejected); | 579 EXPECT_EQ("SyntaxError: some error", onRejected); |
581 EXPECT_FALSE(exceptionState.hadException()); | 580 EXPECT_FALSE(exceptionState.hadException()); |
582 } | 581 } |
583 | 582 |
584 } // namespace | 583 } // namespace |
585 | 584 |
586 } // namespace blink | 585 } // namespace blink |
OLD | NEW |