summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/src/test/fixtures/foobar.json
blob: f225bf1f7adeffe6e5bdd5bf3764637c7179c71e (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
  "sources": {
    "sources": {
      "fooSourceActor": {
        "id": "fooSourceActor",
        "url": "http://example.com/foo/foo.js",
        "filename": "foo.js",
        "pathname": "foo/foo.js"
      },
      "barSourceActor": {
        "id": "barSourceActor",
        "url": "http://example.com/bar/bar.js",
        "filename": "bar.js",
        "pathname": "bar/bar.js"
      },
      "bazzSourceActor": {
        "id": "bazzSourceActor",
        "url": "http://example.com/bazz/bazz.js",
        "filename": "bazz.js",
        "pathname": "bazz/bazz.js"
      }
    },
    "sourcesText": {
      "fooSourceActor": {
        "contentType": "text/javascript",
        "text": "function() {\n  return foo;\n}"
      },
      "barSourceActor": {
        "contentType": "text/javascript",
        "text": "function() {\n  return bar;\n}"
      },
      "bazzSourceActor": {
        "contentType": "text/javascript",
        "text": "function() {\n  return bazz;\n}"
      }
    }
  },
  "breakpoints": {
    "breakpoints": {
      "fooBreakpointActor": {
        "id": "fooBreakpointActor",
        "location": {
          "sourceId": "fooSourceActor",
          "line": 16
        }
      },
      "barBreakpointActor": {
        "id": "barBreakpointActor",
        "location": {
          "sourceId": "barSourceActor",
          "line": 18
        }
      }
    }
  }
}