Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 17b904b046ebb757614c2e2b7f5e5eb5de14cf7f..37c289abf4809a52b8ccf45753711fedd662e65c 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -264,7 +264,8 @@ static ScriptOrigin GetScriptOriginForScript(i::Isolate* isolate, |
v8::Boolean::New(v8_isolate, options.IsSharedCrossOrigin()), |
v8::Integer::New(v8_isolate, script->id()), |
Utils::ToLocal(source_map_url), |
- v8::Boolean::New(v8_isolate, options.IsOpaque())); |
+ v8::Boolean::New(v8_isolate, options.IsOpaque()), |
+ v8::Boolean::New(v8_isolate, script->type() == i::Script::TYPE_WASM)); |
return origin; |
} |