struct Protocol::Runtime::AddBinding

Overview

If executionContextId is empty, adds binding with the given name on the global objects of all inspected contexts, including those created later, bindings survive reloads. Binding function takes exactly one argument, this argument should be string, in case of any other input, function throws an exception. Each binding function call produces Runtime.bindingCalled notification.

Included Modules

Defined in:

protocol/runtime.cr

Constructors

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]