From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../test/mochitest/code_function-search-03.js | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 devtools/client/debugger/test/mochitest/code_function-search-03.js (limited to 'devtools/client/debugger/test/mochitest/code_function-search-03.js') diff --git a/devtools/client/debugger/test/mochitest/code_function-search-03.js b/devtools/client/debugger/test/mochitest/code_function-search-03.js new file mode 100644 index 000000000..e64292a92 --- /dev/null +++ b/devtools/client/debugger/test/mochitest/code_function-search-03.js @@ -0,0 +1,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) { +} -- cgit v1.2.3