browser/devtools/debugger/test/code_function-search-01.js

Wed, 31 Dec 2014 06:55:46 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:46 +0100
changeset 1
ca08bd8f51b2
permissions
-rw-r--r--

Added tag TORBROWSER_REPLICA for changeset 6474c204b198

michael@0 1 /* Any copyright is dedicated to the Public Domain.
michael@0 2 http://creativecommons.org/publicdomain/zero/1.0/ */
michael@0 3
michael@0 4 function test() {
michael@0 5 // Blah! First source!
michael@0 6 }
michael@0 7
michael@0 8 test.prototype = {
michael@0 9 anonymousExpression: function() {
michael@0 10 },
michael@0 11 namedExpression: function NAME() {
michael@0 12 },
michael@0 13 sub: {
michael@0 14 sub: {
michael@0 15 sub: {
michael@0 16 }
michael@0 17 }
michael@0 18 }
michael@0 19 };
michael@0 20
michael@0 21 var foo = {
michael@0 22 a_test: function() {
michael@0 23 },
michael@0 24 n_test: function x() {
michael@0 25 },
michael@0 26 sub: {
michael@0 27 a_test: function() {
michael@0 28 },
michael@0 29 n_test: function y() {
michael@0 30 },
michael@0 31 sub: {
michael@0 32 a_test: function() {
michael@0 33 },
michael@0 34 n_test: function z() {
michael@0 35 },
michael@0 36 sub: {
michael@0 37 test_SAME_NAME: function test_SAME_NAME() {
michael@0 38 }
michael@0 39 }
michael@0 40 }
michael@0 41 }
michael@0 42 };

mercurial