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

Commit 8c00cc1

Browse files
committed
babel 7 🌟 (#5440)
1 parent 8d84ff9 commit 8c00cc1

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/test/mochitest/browser_dbg-preview-module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ add_task(async function() {
1010
navigate(dbg, "doc-on-load.html");
1111

1212
// wait for `top-level.js` to load and to pause at a debugger statement
13-
await waitForSelectedSource(dbg)
13+
await waitForSelectedSource(dbg);
1414
await waitForPaused(dbg);
1515

1616
const popupPreviewed = waitForDispatch(dbg, "SET_PREVIEW");

src/test/mochitest/browser_dbg-quick-open.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ add_task(async function() {
9595
quickOpen(dbg, "#");
9696
is(resultCount(dbg), 1, "one variable result");
9797
const results = findAllElements(dbg, "resultItems");
98-
results.forEach(result => is(result.textContent, "13"));
98+
results.forEach(result => is(result.textContent, "x13"));
9999
await waitToClose(dbg);
100100

101101
info("Testing goto line:column");

src/workers/parser/utils/ast.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ function _parse(code, opts) {
2121
}
2222

2323
const sourceOptions = {
24-
generated: {},
24+
generated: {
25+
tokens: true
26+
},
2527
original: {
2628
sourceType: "unambiguous",
29+
tokens: true,
2730
plugins: [
2831
"jsx",
2932
"flow",

0 commit comments

Comments
 (0)