diff options
Diffstat (limited to 'devtools/client/webconsole/test/browser/test-simple-function.js')
-rw-r--r-- | devtools/client/webconsole/test/browser/test-simple-function.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devtools/client/webconsole/test/browser/test-simple-function.js b/devtools/client/webconsole/test/browser/test-simple-function.js new file mode 100644 index 0000000000..9b0d2f55e0 --- /dev/null +++ b/devtools/client/webconsole/test/browser/test-simple-function.js @@ -0,0 +1,11 @@ +"use strict"; + +window.test = function() { + console.log("simple function"); +}; + +window.test_bound_target = function() { + console.log("simple bound target function"); +}; + +window.test_bound = window.test_bound_target.bind(window); |