1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/devtools/debugger/test/code_function-search-01.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,42 @@ 1.4 +/* Any copyright is dedicated to the Public Domain. 1.5 + http://creativecommons.org/publicdomain/zero/1.0/ */ 1.6 + 1.7 +function test() { 1.8 + // Blah! First source! 1.9 +} 1.10 + 1.11 +test.prototype = { 1.12 + anonymousExpression: function() { 1.13 + }, 1.14 + namedExpression: function NAME() { 1.15 + }, 1.16 + sub: { 1.17 + sub: { 1.18 + sub: { 1.19 + } 1.20 + } 1.21 + } 1.22 +}; 1.23 + 1.24 +var foo = { 1.25 + a_test: function() { 1.26 + }, 1.27 + n_test: function x() { 1.28 + }, 1.29 + sub: { 1.30 + a_test: function() { 1.31 + }, 1.32 + n_test: function y() { 1.33 + }, 1.34 + sub: { 1.35 + a_test: function() { 1.36 + }, 1.37 + n_test: function z() { 1.38 + }, 1.39 + sub: { 1.40 + test_SAME_NAME: function test_SAME_NAME() { 1.41 + } 1.42 + } 1.43 + } 1.44 + } 1.45 +};