summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/test/mochitest/code_function-search-01.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/debugger/test/mochitest/code_function-search-01.js')
-rw-r--r--devtools/client/debugger/test/mochitest/code_function-search-01.js42
1 files changed, 42 insertions, 0 deletions
diff --git a/devtools/client/debugger/test/mochitest/code_function-search-01.js b/devtools/client/debugger/test/mochitest/code_function-search-01.js
new file mode 100644
index 000000000..77331d722
--- /dev/null
+++ b/devtools/client/debugger/test/mochitest/code_function-search-01.js
@@ -0,0 +1,42 @@
+/* Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/ */
+
+function test() {
+ // Blah! First source!
+}
+
+test.prototype = {
+ anonymousExpression: function () {
+ },
+ namedExpression: function NAME() {
+ },
+ sub: {
+ sub: {
+ sub: {
+ }
+ }
+ }
+};
+
+var foo = {
+ a_test: function () {
+ },
+ n_test: function x() {
+ },
+ sub: {
+ a_test: function () {
+ },
+ n_test: function y() {
+ },
+ sub: {
+ a_test: function () {
+ },
+ n_test: function z() {
+ },
+ sub: {
+ test_SAME_NAME: function test_SAME_NAME() {
+ }
+ }
+ }
+ }
+};