Skip to content

Instantly share code, notes, and snippets.

View jasonLaster's full-sized avatar

Jason Laster jasonLaster

View GitHub Profile
base/BUILD.gn | 3 +
base/allocator/allocator_interception_mac.mm | 6 +
base/allocator/allocator_shim.cc | 5 +
base/debug/debugger_posix.cc | 3 +
base/deterministic_containers.h | 185 +++++
base/logging.cc | 27 +
base/memory/platform_shared_memory_region_mac.cc | 7 +-
base/memory/read_only_shared_memory_region.cc | 5 +
base/message_loop/message_pump_kqueue.cc | 23 +
base/message_loop/message_pump_mac.mm | 7 +
diff --git a/src/control/worker.ts b/src/control/worker.ts
index 7edb8244..f9f8ea05 100644
--- a/src/control/worker.ts
+++ b/src/control/worker.ts
@@ -179,7 +179,7 @@ const gMappedLocationsCache: PromiseMap<Location, Location[]> = new PromiseMap({
getKey: locationKey,
async computeResult(generatedLocation) {
- const { mapped } = await sendWorkerCommand("getMappedLocations", {
+ const { mapped } = await batchedSendWorkerCommand("getMappedLocations", {
diff --git a/src/devtools/client/debugger/src/components/Editor/Preview/Popup.js b/src/devtools/client/debugger/src/components/Editor/Preview/Popup.js
index f8dcc736..89f19a52 100644
--- a/src/devtools/client/debugger/src/components/Editor/Preview/Popup.js
+++ b/src/devtools/client/debugger/src/components/Editor/Preview/Popup.js
@@ -238,10 +238,7 @@ export function addHighlightToTargetSiblings(target, props) {
// properties like innerHTML can't be checked on nextSibling
// without creating a flow error even if the node is an element type.
while (
- nextSibling &&
- nextElementSibling &&
diff --git a/src/protocol/graphics.ts b/src/protocol/graphics.ts
index de57eb74..a7fbbdc4 100644
--- a/src/protocol/graphics.ts
+++ b/src/protocol/graphics.ts
@@ -115,8 +115,10 @@ function onMouseEvents(events: MouseEvent[], store: UIStore) {
store.dispatch(actions.setEventsForType(gMouseClickEvents, "mousedown"));
}
+let onCanvasUpdate = details => {};
+
diff --git a/src/ui/components/App.tsx b/src/ui/components/App.tsx
index 31622494..e3d8d941 100644
--- a/src/ui/components/App.tsx
+++ b/src/ui/components/App.tsx
@@ -12,7 +12,6 @@ import { selectors } from "ui/reducers";
import { actions } from "ui/actions";
import { hasLoadingParam } from "ui/utils/environment";
import ResizeObserverPolyfill from "resize-observer-polyfill";
-import hooks from "ui/hooks";
import LogRocket from "ui/utils/logrocket";
diff --git a/src/ui/components/App.tsx b/src/ui/components/App.tsx
index 31622494..e3d8d941 100644
--- a/src/ui/components/App.tsx
+++ b/src/ui/components/App.tsx
@@ -12,7 +12,6 @@ import { selectors } from "ui/reducers";
import { actions } from "ui/actions";
import { hasLoadingParam } from "ui/utils/environment";
import ResizeObserverPolyfill from "resize-observer-polyfill";
-import hooks from "ui/hooks";
import LogRocket from "ui/utils/logrocket";
diff --git a/src/control/child.ts b/src/control/child.ts
index cbf54089..25fbf35d 100644
--- a/src/control/child.ts
+++ b/src/control/child.ts
@@ -288,12 +288,6 @@ export class Child {
}
}
-// Map ID -> Process for all processes that exist and haven't crashed.
-const gProcesses: Map<number, Process> = new Map();
IP 18.219.133.74
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
0df19c8d5dd8 recordreplayinc/recordreplay-control "docker-entrypoint.s…" 17 seconds ago Up 14 seconds c1155fb7-3d6c-491b-9d2b-b27b2f1dd45b
d05c418317a4 recordreplayinc/recordreplay-control "docker-entrypoint.s…" About a minute ago Up About a minute 375cda7f-4495-4293-9af9-bfd820b768cb
663305e4f062 recordreplayinc/recordreplay-control "docker-entrypoint.s…" About a minute ago Up About a minute f4e119eb-b8d1-4624-9923-86970fb82533
3f28004eded9 recordreplayinc/recordreplay-control "docker-entrypoint.s…" About a minute ago Up About a minute 20adcd20-972a-4b2a-bf91-90262ef59db2
49e954a60f9d recordreplayinc/recordreplay-control "docker-entrypoint.s…" About a minute ago Up
diff --git a/metrics.js b/metrics.js
index cf01fff..c09fa3c 100644
--- a/metrics.js
+++ b/metrics.js
@@ -99,6 +99,7 @@ function computeErrorMetrics(platform) {
function computeControllerRequestMetrics() {
const now = Date.now();
const metricsControllerMap = {};
+ const controllerRequestsMap = {};
diff --git a/metrics.js b/metrics.js
index e9fbfac..b49715a 100644
--- a/metrics.js
+++ b/metrics.js
@@ -96,16 +96,59 @@ function computeErrorMetrics(platform) {
return metrics;
}
+function computeControllerRequests() {
+ const metricsControllerMap = {};