Skip to content

Instantly share code, notes, and snippets.

View jasonLaster's full-sized avatar

Jason Laster jasonLaster

View GitHub Profile
diff --git a/src/devtools/client/debugger/src/components/Editor/LineHitCounts.tsx b/src/devtools/client/debugger/src/components/Editor/LineHitCounts.tsx
index 3af52ff79..05b4d7f6c 100644
--- a/src/devtools/client/debugger/src/components/Editor/LineHitCounts.tsx
+++ b/src/devtools/client/debugger/src/components/Editor/LineHitCounts.tsx
@@ -137,6 +137,11 @@ function LineHitCounts({ sourceEditor }: Props) {
`-${gutterWidth}`
);
+ (gutterElement as HTMLElement).parentElement!.style.setProperty(
+ "--print-statement-button-right-offset"
21sec Console.findMessages:91 c3fc2a78-b0dc-4453-b3cc-90d724101c83
460 Child Tasks
60ms SendControllerIterableMessage getBasicData
70ms SendControllerMessage getBookmarkInfoArray
70ms SendControllerMessage getBookmarkInfoArray
70ms SendControllerMessage getBookmarkInfoArray
70ms SendControllerMessage getBookmarkInfoArray
70ms SendControllerMessage getBookmarkInfoArray
70ms SendControllerMessage getBookmarkInfoArray
70ms SendControllerMessage getBookmarkInfoArray
203sec GatherBasicData 5007ffb1-0994-47e6-9732-be43f0604e49
331 Child Tasks
6sec SaplingCollectRegionBasicData
5sec SaplingCollectRegionBasicData
5sec SaplingCollectRegionBasicData
5sec SaplingCollectRegionBasicData
3sec SaplingCollectRegionBasicData
2sec SaplingCollectRegionBasicData
2sec SaplingCollectRegionBasicData
2sec SaplingCollectRegionBasicData
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
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(-)
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);
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);
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")) {
// 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
import { dispatch } from "rxjs/internal/observable/pairs";
type Context = {
loadCount: number
}
function bootstrap() {
// ...
threadFront.on("loaded", () => store.dispatch(onLoaded()))
}