Source code
Revision control
Copy as Markdown
Other Tools
exports[`Group displays a group 1`] = `
<div
className="frames-group"
onContextMenu={[Function]}
>
<div
className="group"
key="frame"
onClick={[Function]}
role="listitem"
tabIndex={0}
title="Show Back frames"
>
<FrameIndent />
<FrameLocation
expanded={false}
frame={
Object {
"asyncCause": null,
"displayName": "foo",
"generatedLocation": Object {
"column": undefined,
"line": 4,
"source": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
},
"sourceActorId": "source-actor",
},
"id": "frame",
"index": 0,
"library": "Back",
"location": Object {
"column": undefined,
"line": 4,
"source": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
},
"sourceActorId": "source-actor",
},
"scope": Object {
"actor": "scope-actor",
"bindings": Object {
"arguments": Array [],
"variables": Object {},
},
"function": null,
"object": null,
"parent": null,
"scopeKind": "",
"type": "block",
},
"source": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
"state": "on-stack",
"this": Object {},
"thread": "FakeThread",
"type": "call",
}
}
/>
<span
className="clipboard-only"
>
</span>
<Badge
badgeText={1}
/>
<br
className="clipboard-only"
/>
</div>
</div>
`;
exports[`Group passes the getFrameTitle prop to the Frame components 1`] = `
<div
className="frames-group expanded"
onContextMenu={[Function]}
>
<div
className="group"
key="1"
onClick={[Function]}
role="listitem"
tabIndex={0}
title="Collapse Back frames"
>
<FrameIndent />
<FrameLocation
expanded={true}
frame={
Object {
"asyncCause": null,
"displayName": "renderFoo",
"generatedLocation": Object {
"column": undefined,
"line": 55,
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "mahscripts.js",
"group": "myfile.com",
"path": "/mahscripts.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "mahscripts.js",
"shortName": "mahscripts.js",
"thread": "FakeThread",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "mahscripts.js",
"group": "myfile.com",
"path": "/mahscripts.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "mahscripts.js",
"shortName": "mahscripts.js",
"thread": "FakeThread",
},
},
"sourceActorId": "source-actor",
},
"id": "1",
"index": 0,
"library": "Back",
"location": Object {
"column": undefined,
"line": 55,
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "mahscripts.js",
"group": "myfile.com",
"path": "/mahscripts.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "mahscripts.js",
"shortName": "mahscripts.js",
"thread": "FakeThread",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "mahscripts.js",
"group": "myfile.com",
"path": "/mahscripts.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "mahscripts.js",
"shortName": "mahscripts.js",
"thread": "FakeThread",
},
},
"sourceActorId": "source-actor",
},
"scope": Object {
"actor": "scope-actor",
"bindings": Object {
"arguments": Array [],
"variables": Object {},
},
"function": null,
"object": null,
"parent": null,
"scopeKind": "",
"type": "block",
},
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "mahscripts.js",
"group": "myfile.com",
"path": "/mahscripts.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "mahscripts.js",
"shortName": "mahscripts.js",
"thread": "FakeThread",
},
"state": "on-stack",
"this": Object {},
"thread": "FakeThread",
"type": "call",
}
}
/>
<span
className="clipboard-only"
>
</span>
<Badge
badgeText={3}
/>
<br
className="clipboard-only"
/>
</div>
<div
className="frames-list"
>
<Frame
disableContextMenu={false}
displayFullUrl={false}
frame={
Object {
"asyncCause": null,
"displayName": "renderFoo",
"generatedLocation": Object {
"column": undefined,
"line": 55,
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "mahscripts.js",
"group": "myfile.com",
"path": "/mahscripts.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "mahscripts.js",
"shortName": "mahscripts.js",
"thread": "FakeThread",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "mahscripts.js",
"group": "myfile.com",
"path": "/mahscripts.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "mahscripts.js",
"shortName": "mahscripts.js",
"thread": "FakeThread",
},
},
"sourceActorId": "source-actor",
},
"id": "1",
"index": 0,
"library": "Back",
"location": Object {
"column": undefined,
"line": 55,
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "mahscripts.js",
"group": "myfile.com",
"path": "/mahscripts.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "mahscripts.js",
"shortName": "mahscripts.js",
"thread": "FakeThread",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "mahscripts.js",
"group": "myfile.com",
"path": "/mahscripts.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "mahscripts.js",
"shortName": "mahscripts.js",
"thread": "FakeThread",
},
},
"sourceActorId": "source-actor",
},
"scope": Object {
"actor": "scope-actor",
"bindings": Object {
"arguments": Array [],
"variables": Object {},
},
"function": null,
"object": null,
"parent": null,
"scopeKind": "",
"type": "block",
},
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "mahscripts.js",
"group": "myfile.com",
"path": "/mahscripts.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "mahscripts.js",
"shortName": "mahscripts.js",
"thread": "FakeThread",
},
"state": "on-stack",
"this": Object {},
"thread": "FakeThread",
"type": "call",
}
}
getFrameTitle={[Function]}
hideLocation={true}
isInGroup={true}
key="1"
panel="webconsole"
selectFrame={[MockFunction]}
selectLocation={[MockFunction]}
selectedFrame={
Object {
"asyncCause": null,
"displayName": "foo",
"generatedLocation": Object {
"column": undefined,
"line": 4,
"source": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
},
"sourceActorId": "source-actor",
},
"id": "frame",
"index": 0,
"library": "Back",
"location": Object {
"column": undefined,
"line": 4,
"source": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
},
"sourceActorId": "source-actor",
},
"scope": Object {
"actor": "scope-actor",
"bindings": Object {
"arguments": Array [],
"variables": Object {},
},
"function": null,
"object": null,
"parent": null,
"scopeKind": "",
"type": "block",
},
"source": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
"state": "on-stack",
"this": Object {},
"thread": "FakeThread",
"type": "call",
}
}
shouldMapDisplayName={false}
/>
<Frame
disableContextMenu={false}
displayFullUrl={false}
frame={
Object {
"asyncCause": null,
"displayName": "a",
"generatedLocation": Object {
"column": undefined,
"line": 55,
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "back.js",
"group": "myfile.com",
"path": "/back.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "back.js",
"shortName": "back.js",
"thread": "FakeThread",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "back.js",
"group": "myfile.com",
"path": "/back.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "back.js",
"shortName": "back.js",
"thread": "FakeThread",
},
},
"sourceActorId": "source-actor",
},
"id": "2",
"index": 0,
"library": "Back",
"location": Object {
"column": undefined,
"line": 55,
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "back.js",
"group": "myfile.com",
"path": "/back.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "back.js",
"shortName": "back.js",
"thread": "FakeThread",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "back.js",
"group": "myfile.com",
"path": "/back.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "back.js",
"shortName": "back.js",
"thread": "FakeThread",
},
},
"sourceActorId": "source-actor",
},
"scope": Object {
"actor": "scope-actor",
"bindings": Object {
"arguments": Array [],
"variables": Object {},
},
"function": null,
"object": null,
"parent": null,
"scopeKind": "",
"type": "block",
},
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "back.js",
"group": "myfile.com",
"path": "/back.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "back.js",
"shortName": "back.js",
"thread": "FakeThread",
},
"state": "on-stack",
"this": Object {},
"thread": "FakeThread",
"type": "call",
}
}
getFrameTitle={[Function]}
hideLocation={true}
isInGroup={true}
key="2"
panel="webconsole"
selectFrame={[MockFunction]}
selectLocation={[MockFunction]}
selectedFrame={
Object {
"asyncCause": null,
"displayName": "foo",
"generatedLocation": Object {
"column": undefined,
"line": 4,
"source": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
},
"sourceActorId": "source-actor",
},
"id": "frame",
"index": 0,
"library": "Back",
"location": Object {
"column": undefined,
"line": 4,
"source": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
},
"sourceActorId": "source-actor",
},
"scope": Object {
"actor": "scope-actor",
"bindings": Object {
"arguments": Array [],
"variables": Object {},
},
"function": null,
"object": null,
"parent": null,
"scopeKind": "",
"type": "block",
},
"source": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
"state": "on-stack",
"this": Object {},
"thread": "FakeThread",
"type": "call",
}
}
shouldMapDisplayName={false}
/>
<Frame
disableContextMenu={false}
displayFullUrl={false}
frame={
Object {
"asyncCause": null,
"displayName": "b",
"generatedLocation": Object {
"column": undefined,
"line": 55,
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "back.js",
"group": "myfile.com",
"path": "/back.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "back.js",
"shortName": "back.js",
"thread": "FakeThread",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "back.js",
"group": "myfile.com",
"path": "/back.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "back.js",
"shortName": "back.js",
"thread": "FakeThread",
},
},
"sourceActorId": "source-actor",
},
"id": "3",
"index": 0,
"library": "Back",
"location": Object {
"column": undefined,
"line": 55,
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "back.js",
"group": "myfile.com",
"path": "/back.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "back.js",
"shortName": "back.js",
"thread": "FakeThread",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "back.js",
"group": "myfile.com",
"path": "/back.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "back.js",
"shortName": "back.js",
"thread": "FakeThread",
},
},
"sourceActorId": "source-actor",
},
"scope": Object {
"actor": "scope-actor",
"bindings": Object {
"arguments": Array [],
"variables": Object {},
},
"function": null,
"object": null,
"parent": null,
"scopeKind": "",
"type": "block",
},
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "back.js",
"group": "myfile.com",
"path": "/back.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "back.js",
"shortName": "back.js",
"thread": "FakeThread",
},
"state": "on-stack",
"this": Object {},
"thread": "FakeThread",
"type": "call",
}
}
getFrameTitle={[Function]}
hideLocation={true}
isInGroup={true}
key="3"
panel="webconsole"
selectFrame={[MockFunction]}
selectLocation={[MockFunction]}
selectedFrame={
Object {
"asyncCause": null,
"displayName": "foo",
"generatedLocation": Object {
"column": undefined,
"line": 4,
"source": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
},
"sourceActorId": "source-actor",
},
"id": "frame",
"index": 0,
"library": "Back",
"location": Object {
"column": undefined,
"line": 4,
"source": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
},
"sourceActorId": "source-actor",
},
"scope": Object {
"actor": "scope-actor",
"bindings": Object {
"arguments": Array [],
"variables": Object {},
},
"function": null,
"object": null,
"parent": null,
"scopeKind": "",
"type": "block",
},
"source": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
"state": "on-stack",
"this": Object {},
"thread": "FakeThread",
"type": "call",
}
}
shouldMapDisplayName={false}
/>
</div>
</div>
`;
exports[`Group renders group with anonymous functions 1`] = `
<div
className="frames-group"
onContextMenu={[Function]}
>
<div
className="group"
key="1"
onClick={[Function]}
role="listitem"
tabIndex={0}
title="Show Back frames"
>
<FrameIndent />
<FrameLocation
expanded={false}
frame={
Object {
"asyncCause": null,
"displayName": "display-1",
"generatedLocation": Object {
"column": undefined,
"line": 55,
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "mahscripts.js",
"group": "myfile.com",
"path": "/mahscripts.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "mahscripts.js",
"shortName": "mahscripts.js",
"thread": "FakeThread",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "mahscripts.js",
"group": "myfile.com",
"path": "/mahscripts.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "mahscripts.js",
"shortName": "mahscripts.js",
"thread": "FakeThread",
},
},
"sourceActorId": "source-actor",
},
"id": "1",
"index": 0,
"library": "Back",
"location": Object {
"column": undefined,
"line": 55,
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "mahscripts.js",
"group": "myfile.com",
"path": "/mahscripts.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "mahscripts.js",
"shortName": "mahscripts.js",
"thread": "FakeThread",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "mahscripts.js",
"group": "myfile.com",
"path": "/mahscripts.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "mahscripts.js",
"shortName": "mahscripts.js",
"thread": "FakeThread",
},
},
"sourceActorId": "source-actor",
},
"scope": Object {
"actor": "scope-actor",
"bindings": Object {
"arguments": Array [],
"variables": Object {},
},
"function": null,
"object": null,
"parent": null,
"scopeKind": "",
"type": "block",
},
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "mahscripts.js",
"group": "myfile.com",
"path": "/mahscripts.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "mahscripts.js",
"shortName": "mahscripts.js",
"thread": "FakeThread",
},
"state": "on-stack",
"this": Object {},
"thread": "FakeThread",
"type": "call",
}
}
/>
<span
className="clipboard-only"
>
</span>
<Badge
badgeText={3}
/>
<br
className="clipboard-only"
/>
</div>
</div>
`;
exports[`Group renders group with anonymous functions 2`] = `
<div
className="frames-group expanded"
onContextMenu={[Function]}
>
<div
className="group"
key="1"
onClick={[Function]}
role="listitem"
tabIndex={0}
title="Collapse Back frames"
>
<FrameIndent />
<FrameLocation
expanded={true}
frame={
Object {
"asyncCause": null,
"displayName": "display-1",
"generatedLocation": Object {
"column": undefined,
"line": 55,
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "mahscripts.js",
"group": "myfile.com",
"path": "/mahscripts.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "mahscripts.js",
"shortName": "mahscripts.js",
"thread": "FakeThread",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "mahscripts.js",
"group": "myfile.com",
"path": "/mahscripts.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "mahscripts.js",
"shortName": "mahscripts.js",
"thread": "FakeThread",
},
},
"sourceActorId": "source-actor",
},
"id": "1",
"index": 0,
"library": "Back",
"location": Object {
"column": undefined,
"line": 55,
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "mahscripts.js",
"group": "myfile.com",
"path": "/mahscripts.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "mahscripts.js",
"shortName": "mahscripts.js",
"thread": "FakeThread",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "mahscripts.js",
"group": "myfile.com",
"path": "/mahscripts.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "mahscripts.js",
"shortName": "mahscripts.js",
"thread": "FakeThread",
},
},
"sourceActorId": "source-actor",
},
"scope": Object {
"actor": "scope-actor",
"bindings": Object {
"arguments": Array [],
"variables": Object {},
},
"function": null,
"object": null,
"parent": null,
"scopeKind": "",
"type": "block",
},
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "mahscripts.js",
"group": "myfile.com",
"path": "/mahscripts.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "mahscripts.js",
"shortName": "mahscripts.js",
"thread": "FakeThread",
},
"state": "on-stack",
"this": Object {},
"thread": "FakeThread",
"type": "call",
}
}
/>
<span
className="clipboard-only"
>
</span>
<Badge
badgeText={3}
/>
<br
className="clipboard-only"
/>
</div>
<div
className="frames-list"
>
<Frame
disableContextMenu={false}
displayFullUrl={false}
frame={
Object {
"asyncCause": null,
"displayName": "display-1",
"generatedLocation": Object {
"column": undefined,
"line": 55,
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "mahscripts.js",
"group": "myfile.com",
"path": "/mahscripts.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "mahscripts.js",
"shortName": "mahscripts.js",
"thread": "FakeThread",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "mahscripts.js",
"group": "myfile.com",
"path": "/mahscripts.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "mahscripts.js",
"shortName": "mahscripts.js",
"thread": "FakeThread",
},
},
"sourceActorId": "source-actor",
},
"id": "1",
"index": 0,
"library": "Back",
"location": Object {
"column": undefined,
"line": 55,
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "mahscripts.js",
"group": "myfile.com",
"path": "/mahscripts.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "mahscripts.js",
"shortName": "mahscripts.js",
"thread": "FakeThread",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "mahscripts.js",
"group": "myfile.com",
"path": "/mahscripts.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "mahscripts.js",
"shortName": "mahscripts.js",
"thread": "FakeThread",
},
},
"sourceActorId": "source-actor",
},
"scope": Object {
"actor": "scope-actor",
"bindings": Object {
"arguments": Array [],
"variables": Object {},
},
"function": null,
"object": null,
"parent": null,
"scopeKind": "",
"type": "block",
},
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "mahscripts.js",
"group": "myfile.com",
"path": "/mahscripts.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "mahscripts.js",
"shortName": "mahscripts.js",
"thread": "FakeThread",
},
"state": "on-stack",
"this": Object {},
"thread": "FakeThread",
"type": "call",
}
}
hideLocation={true}
isInGroup={true}
key="1"
panel="webconsole"
selectFrame={[MockFunction]}
selectLocation={[MockFunction]}
selectedFrame={
Object {
"asyncCause": null,
"displayName": "foo",
"generatedLocation": Object {
"column": undefined,
"line": 4,
"source": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
},
"sourceActorId": "source-actor",
},
"id": "frame",
"index": 0,
"library": "Back",
"location": Object {
"column": undefined,
"line": 4,
"source": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
},
"sourceActorId": "source-actor",
},
"scope": Object {
"actor": "scope-actor",
"bindings": Object {
"arguments": Array [],
"variables": Object {},
},
"function": null,
"object": null,
"parent": null,
"scopeKind": "",
"type": "block",
},
"source": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
"state": "on-stack",
"this": Object {},
"thread": "FakeThread",
"type": "call",
}
}
shouldMapDisplayName={false}
/>
<Frame
disableContextMenu={false}
displayFullUrl={false}
frame={
Object {
"asyncCause": null,
"displayName": "display-2",
"generatedLocation": Object {
"column": undefined,
"line": 55,
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "back.js",
"group": "myfile.com",
"path": "/back.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "back.js",
"shortName": "back.js",
"thread": "FakeThread",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "back.js",
"group": "myfile.com",
"path": "/back.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "back.js",
"shortName": "back.js",
"thread": "FakeThread",
},
},
"sourceActorId": "source-actor",
},
"id": "2",
"index": 0,
"library": "Back",
"location": Object {
"column": undefined,
"line": 55,
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "back.js",
"group": "myfile.com",
"path": "/back.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "back.js",
"shortName": "back.js",
"thread": "FakeThread",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "back.js",
"group": "myfile.com",
"path": "/back.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "back.js",
"shortName": "back.js",
"thread": "FakeThread",
},
},
"sourceActorId": "source-actor",
},
"scope": Object {
"actor": "scope-actor",
"bindings": Object {
"arguments": Array [],
"variables": Object {},
},
"function": null,
"object": null,
"parent": null,
"scopeKind": "",
"type": "block",
},
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "back.js",
"group": "myfile.com",
"path": "/back.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "back.js",
"shortName": "back.js",
"thread": "FakeThread",
},
"state": "on-stack",
"this": Object {},
"thread": "FakeThread",
"type": "call",
}
}
hideLocation={true}
isInGroup={true}
key="2"
panel="webconsole"
selectFrame={[MockFunction]}
selectLocation={[MockFunction]}
selectedFrame={
Object {
"asyncCause": null,
"displayName": "foo",
"generatedLocation": Object {
"column": undefined,
"line": 4,
"source": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
},
"sourceActorId": "source-actor",
},
"id": "frame",
"index": 0,
"library": "Back",
"location": Object {
"column": undefined,
"line": 4,
"source": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
},
"sourceActorId": "source-actor",
},
"scope": Object {
"actor": "scope-actor",
"bindings": Object {
"arguments": Array [],
"variables": Object {},
},
"function": null,
"object": null,
"parent": null,
"scopeKind": "",
"type": "block",
},
"source": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
"state": "on-stack",
"this": Object {},
"thread": "FakeThread",
"type": "call",
}
}
shouldMapDisplayName={false}
/>
<Frame
disableContextMenu={false}
displayFullUrl={false}
frame={
Object {
"asyncCause": null,
"displayName": "display-3",
"generatedLocation": Object {
"column": undefined,
"line": 55,
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "back.js",
"group": "myfile.com",
"path": "/back.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "back.js",
"shortName": "back.js",
"thread": "FakeThread",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "back.js",
"group": "myfile.com",
"path": "/back.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "back.js",
"shortName": "back.js",
"thread": "FakeThread",
},
},
"sourceActorId": "source-actor",
},
"id": "3",
"index": 0,
"library": "Back",
"location": Object {
"column": undefined,
"line": 55,
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "back.js",
"group": "myfile.com",
"path": "/back.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "back.js",
"shortName": "back.js",
"thread": "FakeThread",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "back.js",
"group": "myfile.com",
"path": "/back.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "back.js",
"shortName": "back.js",
"thread": "FakeThread",
},
},
"sourceActorId": "source-actor",
},
"scope": Object {
"actor": "scope-actor",
"bindings": Object {
"arguments": Array [],
"variables": Object {},
},
"function": null,
"object": null,
"parent": null,
"scopeKind": "",
"type": "block",
},
"source": Object {
"displayURL": Object {
"fileExtension": "js",
"filename": "back.js",
"group": "myfile.com",
"path": "/back.js",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "back.js",
"shortName": "back.js",
"thread": "FakeThread",
},
"state": "on-stack",
"this": Object {},
"thread": "FakeThread",
"type": "call",
}
}
hideLocation={true}
isInGroup={true}
key="3"
panel="webconsole"
selectFrame={[MockFunction]}
selectLocation={[MockFunction]}
selectedFrame={
Object {
"asyncCause": null,
"displayName": "foo",
"generatedLocation": Object {
"column": undefined,
"line": 4,
"source": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
},
"sourceActorId": "source-actor",
},
"id": "frame",
"index": 0,
"library": "Back",
"location": Object {
"column": undefined,
"line": 4,
"source": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
"sourceActor": Object {
"actor": "source-actor",
"id": "source-actor",
"source": "source",
"sourceObject": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
},
"sourceActorId": "source-actor",
},
"scope": Object {
"actor": "scope-actor",
"bindings": Object {
"arguments": Array [],
"variables": Object {},
},
"function": null,
"object": null,
"parent": null,
"scopeKind": "",
"type": "block",
},
"source": Object {
"displayURL": Object {
"fileExtension": "",
"filename": "url",
"group": "",
"path": "url",
"search": "",
},
"extensionName": null,
"id": "source",
"isExtension": false,
"isOriginal": false,
"isPrettyPrinted": false,
"isWasm": false,
"longName": "url",
"shortName": "url",
"thread": "FakeThread",
"url": "url",
},
"state": "on-stack",
"this": Object {},
"thread": "FakeThread",
"type": "call",
}
}
shouldMapDisplayName={false}
/>
</div>
</div>
`;