summaryrefslogtreecommitdiffstats
path: root/devtools/client/webconsole/test/browser/test-simple-function.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/webconsole/test/browser/test-simple-function.js')
-rw-r--r--devtools/client/webconsole/test/browser/test-simple-function.js11
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..398f354c42
--- /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);