summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/test/mochitest/code_function-search-01.js
blob: 77331d722799ad49b70baeffbccd64a43e1f2627 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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() {
        }
      }
    }
  }
};