View foo.diff
This file contains 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/packages/protocol/thread/thread.ts b/packages/protocol/thread/thread.ts | |
index da1347c2a..f5962bfb1 100644 | |
--- a/packages/protocol/thread/thread.ts | |
+++ b/packages/protocol/thread/thread.ts | |
@@ -1053,293 +1053,6 @@ class _ThreadFront { | |
column: preferredLocation.column, | |
}; | |
} | |
- | |
- // Given an RRP MappedLocation array with locations in different sources |
View foo.diff
This file contains 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
packages/protocol/graphics.ts | 2 + | |
packages/protocol/thread/thread.ts | 287 ------------------------------------- | |
src/ui/setup/dynamic/devtools.ts | 17 ++- | |
src/ui/setup/prefs.ts | 7 +- | |
4 files changed, 22 insertions(+), 291 deletions(-) |
View foo.diff
This file contains 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/LineNumberTooltip.tsx b/src/devtools/client/debugger/src/components/Editor/LineNumberTooltip.tsx | |
index 5ca7d4239..f47130487 100644 | |
--- a/src/devtools/client/debugger/src/components/Editor/LineNumberTooltip.tsx | |
+++ b/src/devtools/client/debugger/src/components/Editor/LineNumberTooltip.tsx | |
@@ -27,8 +27,9 @@ function Wrapper({ | |
loading?: boolean; | |
showWarning?: boolean; | |
}) { | |
- const { nags } = hooks.useGetUserInfo(); | |
- const showNag = shouldShowNag(nags, Nag.FIRST_BREAKPOINT_ADD); |
View gist:2467ba3ccb272fb32436f70755e3f01f
This file contains 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/LineNumberTooltip.tsx b/src/devtools/client/debugger/src/components/Editor/LineNumberTooltip.tsx | |
index 5ca7d4239..f47130487 100644 | |
--- a/src/devtools/client/debugger/src/components/Editor/LineNumberTooltip.tsx | |
+++ b/src/devtools/client/debugger/src/components/Editor/LineNumberTooltip.tsx | |
@@ -27,8 +27,9 @@ function Wrapper({ | |
loading?: boolean; | |
showWarning?: boolean; | |
}) { | |
- const { nags } = hooks.useGetUserInfo(); | |
- const showNag = shouldShowNag(nags, Nag.FIRST_BREAKPOINT_ADD); |
View foo.diff
This file contains 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/accessible/generic/LocalAccessible.h b/accessible/generic/LocalAccessible.h | |
index 7f0b130c05c9..3b60481a43bc 100644 | |
--- a/accessible/generic/LocalAccessible.h | |
+++ b/accessible/generic/LocalAccessible.h | |
@@ -178,14 +178,14 @@ class LocalAccessible : public nsISupports, public Accessible { | |
// When recording or replaying, use an ID which will be consistent when | |
// recording/replaying (pointer values are not consistent), so that IPC | |
// messages from the parent process can be handled when replaying. | |
- if (recordreplay::IsRecordingOrReplaying()) { | |
+ if (recordreplay::IsRecordingOrReplaying("UniqueID")) { |
View logpoint.ts
This file contains 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
// 1. passing in points to the LogpointsManager | |
// 2. dont run every analysis now | |
// Analysis Manager will be user to help our thunks conduct analysis for Logpoints and Other portions of the UI. | |
// NOTE | |
// * it will not have the store | |
// * it will be designed behave simililarly to several backend classes (i.e. async queue) | |
// * it will support the two phases of analysis (Find Points, Run Analysis) | |
// * it will use a cache to support not re-fetching the same data |
View onload.ts
This file contains 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
import { dispatch } from "rxjs/internal/observable/pairs"; | |
type Context = { | |
loadCount: number | |
} | |
function bootstrap() { | |
// ... | |
threadFront.on("loaded", () => store.dispatch(onLoaded())) | |
} |
View foo.diff
This file contains 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/ui/setup/helpers.ts b/src/ui/setup/helpers.ts | |
index ece03f86c..3167a0224 100644 | |
--- a/src/ui/setup/helpers.ts | |
+++ b/src/ui/setup/helpers.ts | |
@@ -51,6 +51,7 @@ export async function setupAppHelper(store: UIStore) { | |
prefs, | |
features, | |
asyncStore, | |
+ protocolVersion, | |
triggerEvent, |
View foo.diff
This file contains 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/source-actors.js b/src/devtools/client/debugger/src/actions/source-actors.js | |
index 3ebf949ff..a15dcfe4a 100644 | |
--- a/src/devtools/client/debugger/src/actions/source-actors.js | |
+++ b/src/devtools/client/debugger/src/actions/source-actors.js | |
@@ -33,6 +33,29 @@ export function removeSourceActors(items) { | |
}; | |
} | |
+export const loadSourceActorBreakpointHits = memoizeableAction("loadSourceActorBreakpointHits", { | |
+ createKey: ({ id, line }) => `${id}:${line}`, |
View foo.diff
This file contains 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/package-lock.json b/package-lock.json | |
index a2564800a..1c0d51731 100644 | |
--- a/package-lock.json | |
+++ b/package-lock.json | |
@@ -2123,7 +2123,7 @@ | |
"version": "0.8.0", | |
"resolved": "https://registry.npmjs.org/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz", | |
"integrity": "sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==", | |
- "dev": true, | |
+ "devOptional": true, |
NewerOlder