| Index: src/inspector/v8-injected-script-host.cc
|
| diff --git a/src/inspector/v8-injected-script-host.cc b/src/inspector/v8-injected-script-host.cc
|
| index 3748ec9aa302aab22c8ff8366606f3ead9825a41..d3e89d9d7b8382523bbfca91ae101b663abf1a69 100644
|
| --- a/src/inspector/v8-injected-script-host.cc
|
| +++ b/src/inspector/v8-injected-script-host.cc
|
| @@ -127,14 +127,22 @@ void V8InjectedScriptHost::subtypeCallback(
|
| info.GetReturnValue().Set(toV8StringInternalized(isolate, "regexp"));
|
| return;
|
| }
|
| - if (value->IsMap() || value->IsWeakMap()) {
|
| + if (value->IsMap()) {
|
| info.GetReturnValue().Set(toV8StringInternalized(isolate, "map"));
|
| return;
|
| }
|
| - if (value->IsSet() || value->IsWeakSet()) {
|
| + if (value->IsWeakMap()) {
|
| + info.GetReturnValue().Set(toV8StringInternalized(isolate, "weakmap"));
|
| + return;
|
| + }
|
| + if (value->IsSet()) {
|
| info.GetReturnValue().Set(toV8StringInternalized(isolate, "set"));
|
| return;
|
| }
|
| + if (value->IsWeakSet()) {
|
| + info.GetReturnValue().Set(toV8StringInternalized(isolate, "weakset"));
|
| + return;
|
| + }
|
| if (value->IsMapIterator() || value->IsSetIterator()) {
|
| info.GetReturnValue().Set(toV8StringInternalized(isolate, "iterator"));
|
| return;
|
|
|