summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/src/utils/test-head.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/debugger/src/utils/test-head.js')
-rw-r--r--devtools/client/debugger/src/utils/test-head.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/devtools/client/debugger/src/utils/test-head.js b/devtools/client/debugger/src/utils/test-head.js
index c21f408b61..1021849d02 100644
--- a/devtools/client/debugger/src/utils/test-head.js
+++ b/devtools/client/debugger/src/utils/test-head.js
@@ -101,10 +101,11 @@ function makeFrame({ id, sourceId, thread }, opts = {}) {
};
}
-function createSourceObject(filename, props = {}) {
+function createSourceObject(filename) {
return {
id: filename,
url: makeSourceURL(filename),
+ shortName: filename,
isPrettyPrinted: false,
isExtension: false,
isOriginal: filename.includes("originalSource"),