Skip to content

Instantly share code, notes, and snippets.

Avatar

Jason Laster jasonLaster

  • Mozilla
  • New York City
View GitHub Profile
View foo.diff
diff --git a/src/protocol/graphics.ts b/src/protocol/graphics.ts
index 2e10d755..50de1c54 100644
--- a/src/protocol/graphics.ts
+++ b/src/protocol/graphics.ts
@@ -444,7 +444,9 @@ export function refreshGraphics() {
}
}
- Video.init();
+ if (features.videoPlayback) {
View foo.diff
diff --git a/devtools/startup/DevToolsStartup.jsm b/devtools/startup/DevToolsStartup.jsm
index 9961c8660c1e..52c49a3d8f3f 100644
--- a/devtools/startup/DevToolsStartup.jsm
+++ b/devtools/startup/DevToolsStartup.jsm
@@ -1387,553 +1387,3 @@ const JsonView = {
}
},
};
-
-var EXPORTED_SYMBOLS = ["DevToolsStartup", "validateProfilerWebChannelUrl"];
View foo.diff
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 +
View foo.diff
diff --git a/base/BUILD.gn b/base/BUILD.gn
index 7be3ca12455f..e81a29c97627 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -236,6 +236,7 @@ component("base") {
"debug/task_trace.h",
"deferred_sequenced_task_runner.cc",
"deferred_sequenced_task_runner.h",
+ "deterministic_containers.h",
"enterprise_util.h",
View gist:5f2d83a99542dff922eac7416f33214f
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 +
View foo.diff
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", {
View foo.diff
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 &&
View foo.diff
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 => {};
+
View foo.diff
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";
View foo.diff
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";