Upgrade to rusty_v8 0.7.0 (#6801)

This commit is contained in:
Bert Belder 2020-07-18 22:32:11 +02:00
parent aebea6bd24
commit faa64edaf4
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461
7 changed files with 162 additions and 172 deletions

View file

@ -415,7 +415,11 @@ impl DenoInspector {
});
// Tell the inspector about the global context.
let context = core_state.global_context.get(scope).unwrap();
let context = core_state
.global_context
.as_ref()
.map(|context| v8::Local::new(scope, context))
.unwrap();
let context_name = v8::inspector::StringView::from(&b"global context"[..]);
self_.context_created(context, Self::CONTEXT_GROUP_ID, context_name);