summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/test/mochitest/code_function-search-03.js
blob: e64292a926c0a5d2df454cb06cee31a4d565b870 (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
/* Any copyright is dedicated to the Public Domain.
   http://creativecommons.org/publicdomain/zero/1.0/ */

window.addEventListener("bogus", function namedEventListener() {
  // Blah! Third source!
});

try {
  var bar = foo.sub.sub.test({
    a: function A() {
    }
  });

  bar.alpha = foo.sub.sub.test({
    b: function B() {
    }
  });

  bar.alpha.beta = new X(Y(Z(foo.sub.sub.test({
    c: function C() {
    }
  }))));

  this.theta = new X(new Y(new Z(new foo.sub.sub.test({
    d: function D() {
    }
  }))));

  var fun = foo = bar = this.t_foo = window.w_bar = function baz() {};

} catch (e) {
}