This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const fetch = require("node-fetch").default; | |
| const https = require("https"); | |
| const passwordThatShouldBeHidden = "<>"; | |
| async function fetchGraphQL(query, name, variables = {}) { | |
| const result = await fetch("https://graphql.replay.io/v1/graphql", { | |
| method: "POST", | |
| headers: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/devtools/client/debugger/panel.js b/src/devtools/client/debugger/panel.js | |
| index 14deb79d..95b73a76 100644 | |
| --- a/src/devtools/client/debugger/panel.js | |
| +++ b/src/devtools/client/debugger/panel.js | |
| @@ -2,39 +2,37 @@ | |
| * License, v. 2.0. If a copy of the MPL was not distributed with this | |
| * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */ | |
| -import { defer, assert } from "protocol/utils"; | |
| +import { assert } from "protocol/utils"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/devtools/client/debugger/src/components/Editor/Breakpoints/Panel.js b/src/devtools/client/debugger/src/components/Editor/Breakpoints/Panel.js | |
| index 1177eb57..e4f4ee70 100644 | |
| --- a/src/devtools/client/debugger/src/components/Editor/Breakpoints/Panel.js | |
| +++ b/src/devtools/client/debugger/src/components/Editor/Breakpoints/Panel.js | |
| @@ -3,7 +3,7 @@ | |
| * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */ | |
| // | |
| -import React, { PureComponent } from "react"; | |
| +import React, { PureComponent, useEffect } from "react"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/devtools/client/debugger/src/actions/breakpoints/index.js b/src/devtools/client/debugger/src/actions/breakpoints/index.js | |
| index 67993947..30a721df 100644 | |
| --- a/src/devtools/client/debugger/src/actions/breakpoints/index.js | |
| +++ b/src/devtools/client/debugger/src/actions/breakpoints/index.js | |
| @@ -205,9 +205,15 @@ export function addBreakpointAtLine(cx, line, shouldLog = false, disabled = fals | |
| line, | |
| }; | |
| + const selectedSource = getSelectedSourceWithContent(state); | |
| + const symbols = selectedSource ? getSymbols(state, selectedSource) : null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/devtools/client/framework/test/head.js b/devtools/client/framework/test/head.js | |
| index 4af5f5b26599..53515b84b30f 100644 | |
| --- a/devtools/client/framework/test/head.js | |
| +++ b/devtools/client/framework/test/head.js | |
| @@ -195,8 +195,8 @@ function DevToolPanel(iframeWindow, toolbox) { | |
| this._window = iframeWindow; | |
| } | |
| -DevToolPanel.prototype = { | |
| - open: function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/devtools/client/webconsole/components/FilterBar/FilterBar.js b/src/devtools/client/webconsole/components/FilterBar/FilterBar.js | |
| index 9ff16c6e..28fb6abe 100644 | |
| --- a/src/devtools/client/webconsole/components/FilterBar/FilterBar.js | |
| +++ b/src/devtools/client/webconsole/components/FilterBar/FilterBar.js | |
| @@ -162,7 +162,7 @@ class FilterBar extends Component { | |
| return dom.button({ | |
| className: "devtools-button devtools-clear-icon", | |
| title: l10n.getStr("webconsole.clearButton.tooltip"), | |
| - onClick: () => this.props.messagesClearEvaluations(), | |
| + onClick: () => this.props.clearEvaluations(), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/devtools/client/debugger/src/actions/pause/continueToHere.js b/src/devtools/client/debugger/src/actions/pause/continueToHere.js | |
| index 18b4a7b3..dcc3642f 100644 | |
| --- a/src/devtools/client/debugger/src/actions/pause/continueToHere.js | |
| +++ b/src/devtools/client/debugger/src/actions/pause/continueToHere.js | |
| @@ -4,19 +4,9 @@ | |
| // | |
| -import { | |
| - getSelectedSource, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/devtools/client/debugger/src/actions/breakpoints/index.js b/src/devtools/client/debugger/src/actions/breakpoints/index.js | |
| index 90951cac..185da45e 100644 | |
| --- a/src/devtools/client/debugger/src/actions/breakpoints/index.js | |
| +++ b/src/devtools/client/debugger/src/actions/breakpoints/index.js | |
| @@ -28,11 +28,7 @@ export * from "./breakpointPositions"; | |
| export * from "./modify"; | |
| export * from "./syncBreakpoint"; | |
| -export function addHiddenBreakpoint(cx, location) { | |
| - return ({ dispatch }) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/control/pause.js b/src/control/pause.js | |
| index 81fa72ce..21e97750 100644 | |
| --- a/src/control/pause.js | |
| +++ b/src/control/pause.js | |
| @@ -28,6 +28,7 @@ const { | |
| const { getGeneratedScriptLocation, getGeneratedScriptRanges } = require("./sourcemaps"); | |
| const Channel = require("./channel"); | |
| const Errors = require("../protocol/errors"); | |
| +const { spawnAsync } = require("../shared/instanceUtils"); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/build.js b/build.js | |
| index e70c275..37c8f5d 100644 | |
| --- a/build.js | |
| +++ b/build.js | |
| @@ -11,6 +11,7 @@ const { checkForFile, killContainers } = require("./src/shared/instanceUtils"); | |
| killContainers(); | |
| const driverOnly = process.argv[2] == "--driver-only"; | |
| +const dispatcherOnly = process.argv[2] == "--dispatcher-only"; | |