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

Side by Side Diff: third_party/WebKit/Source/core/testing/DummyModulator.cpp

Issue 2839563002: [ES6 modules] Return previous error when an instantiation is reattempt. (Closed)
Patch Set: comments 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
« no previous file with comments | « third_party/WebKit/Source/core/testing/DummyModulator.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "core/testing/DummyModulator.h" 5 #include "core/testing/DummyModulator.h"
6 6
7 #include "bindings/core/v8/ScriptValue.h" 7 #include "bindings/core/v8/ScriptValue.h"
8 8
9 namespace blink { 9 namespace blink {
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 AccessControlStatus) { 70 AccessControlStatus) {
71 NOTREACHED(); 71 NOTREACHED();
72 return ScriptModule(); 72 return ScriptModule();
73 } 73 }
74 74
75 ScriptValue DummyModulator::InstantiateModule(ScriptModule) { 75 ScriptValue DummyModulator::InstantiateModule(ScriptModule) {
76 NOTREACHED(); 76 NOTREACHED();
77 return ScriptValue(); 77 return ScriptValue();
78 } 78 }
79 79
80 ScriptValue DummyModulator::GetInstantiationError(const ModuleScript*) {
81 NOTREACHED();
82 return ScriptValue();
83 }
84
80 Vector<String> DummyModulator::ModuleRequestsFromScriptModule(ScriptModule) { 85 Vector<String> DummyModulator::ModuleRequestsFromScriptModule(ScriptModule) {
81 NOTREACHED(); 86 NOTREACHED();
82 return Vector<String>(); 87 return Vector<String>();
83 } 88 }
84 89
85 void DummyModulator::ExecuteModule(const ModuleScript*) { 90 void DummyModulator::ExecuteModule(const ModuleScript*) {
86 NOTREACHED(); 91 NOTREACHED();
87 } 92 }
88 93
89 } // namespace blink 94 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/DummyModulator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698