chromium/third_party/blink/web_tests/http/tests/devtools/bindings/resources/magic-script.js

window.foo = console.log.bind(console, 'foo');