Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
release 12
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonLaster committed Jan 30, 2018
1 parent fdb65e3 commit 5f7ecfe
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 10 deletions.
33 changes: 31 additions & 2 deletions assets/module-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -21062,7 +21062,11 @@
"../../../src/node_modules/lodash/_baseDifference.js": 2242,
"../../../src/node_modules/lodash/isArrayLikeObject.js": 2243,
"../../babel-loader/lib/index.js?ignore=src/lib!../../../src/utils/editor/get-token-location.js": 2244,
"../../babel-loader/lib/index.js?ignore=src/lib!../../../src/utils/sources-tree/updateTree.js": 2245
"../../babel-loader/lib/index.js?ignore=src/lib!../../../src/utils/sources-tree/updateTree.js": 2245,
"../../babel-loader/lib/index.js?ignore=src/lib!../../../src/utils/dbg.js": 2246,
"../../svg-inline-loader/index.js!../../devtools-components/src/images/arrow.svg": 2247,
"../../extract-text-webpack-plugin/dist/loader.js??ref--3-0!../../css-loader/index.js??ref--3-1!../../postcss-loader/lib/index.js!../../devtools-components/src/tree.css": 2248,
"../../babel-loader/lib/index.js?ignore=src/lib!../../devtools-reps/src/shared/grip-length-bubble.js": 2249
},
"usedIds": {
"0": 0,
Expand Down Expand Up @@ -23310,7 +23314,11 @@
"2242": 2242,
"2243": 2243,
"2244": 2244,
"2245": 2245
"2245": 2245,
"2246": 2246,
"2247": 2247,
"2248": 2248,
"2249": 2249
}
},
"chunks": {
Expand Down Expand Up @@ -27676,5 +27684,26 @@
}
}
}
],
"extract-text-webpack-plugin ../../extract-text-webpack-plugin/dist ../../css-loader/index.js??ref--3-1!../../postcss-loader/lib/index.js!../../devtools-components/src/tree.css": [
{
"modules": {
"byIdentifier": {
"../../css-loader/index.js?{\"importLoaders\":1,\"url\":false}!../../postcss-loader/lib/index.js!../../devtools-components/src/tree.css": 0,
"../../css-loader/lib/css-base.js": 1
},
"usedIds": {
"0": 0,
"1": 1
}
},
"chunks": {
"byName": {},
"byBlocks": {},
"usedIds": {
"1": 1
}
}
}
]
}
3 changes: 3 additions & 0 deletions assets/panel/debugger.properties
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ copySourceUri2.accesskey=u
setDirectoryRoot.label=Set directory root
setDirectoryRoot.accesskey=r

# LOCALIZATION NOTE (removeDirectoryRoot): This is the text that appears in the
# context menu to remove a directory as root directory
removeDirectoryRoot.label=Remove directory root
setDirectoryRoot.accesskey=d

# LOCALIZATION NOTE (copyFunction): This is the text that appears in the
# context menu to copy the function the user selected
Expand Down
1 change: 0 additions & 1 deletion src/test/mochitest/browser_dbg-sourcemaps-reloading.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,4 @@ add_task(async function() {
}),
"Breakpoint has correct line"
);
ok(false, "fff")
});
6 changes: 3 additions & 3 deletions src/test/mochitest/browser_dbg-sources-named-eval.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ async function waitForSourceCount(dbg, i) {
}

function getLabel(dbg, index) {
return findElement(dbg, "sourceNode", index).textContent
.trim()
.replace(/^[\s\u200b]*/g, '');
return findElement(dbg, "sourceNode", index)
.textContent.trim()
.replace(/^[\s\u200b]*/g, "");
}

add_task(async function() {
Expand Down
12 changes: 8 additions & 4 deletions src/test/mochitest/browser_dbg-sources.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ async function assertSourceCount(dbg, count) {
}

function getLabel(dbg, index) {
return findElement(dbg, "sourceNode", index).textContent
.trim()
.replace(/^[\s\u200b]*/g, '');
return findElement(dbg, "sourceNode", index)
.textContent.trim()
.replace(/^[\s\u200b]*/g, "");
}

add_task(async function() {
Expand Down Expand Up @@ -64,5 +64,9 @@ add_task(async function() {
});

await waitForSourceCount(dbg, 9);
is(getLabel(dbg, 7), "math.min.js", "math.min.js - The dynamic script exists");
is(
getLabel(dbg, 7),
"math.min.js",
"math.min.js - The dynamic script exists"
);
});

0 comments on commit 5f7ecfe

Please sign in to comment.