← Back to Runtime domain

Runtime.removeBinding

This method does not remove binding function from global object but unsubscribes current runtime agent from Runtime.bindingCalled notifications.

Domain: Runtime stable

Parameters

NameTypeDescription
namestring

Example Request

{
  "id": 1,
  "method": "Runtime.removeBinding",
  "params": {
    "name": "example-name"
  }
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('Runtime.removeBinding', {"name": "example-name"});
console.log(result);