-
Notifications
You must be signed in to change notification settings - Fork 755
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
469 additions
and
447 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
ROOT = $(realpath .) | ||
PATH_WITH_DEPOT = $(PATH):"$(ROOT)/depot/" | ||
PATH_WITH_DEPOT = $(PATH):$(ROOT)/depot/ | ||
# The upstream devtools commit upon which our patches are based | ||
HEAD = f931aec3eca7c860dc4d657f328daca19d19221d | ||
HEAD = 64208f10b3efe06a92c58d345bd828832d09c4a7 | ||
PATCHES = $(shell ls ${PWD}/patches/*.patch) | ||
depot: | ||
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git depot | ||
|
||
devtools-frontend: depot | ||
git clone https://chromium.googlesource.com/devtools/devtools-frontend | ||
# Ensure other depot_tools can be called from gclient config | ||
PATH=$(PATH_WITH_DEPOT) $(ROOT)/depot/gclient config https://chromium.googlesource.com/devtools/devtools-frontend --unmanaged | ||
PATH="$(PATH_WITH_DEPOT)" $(ROOT)/depot/gclient config https://chromium.googlesource.com/devtools/devtools-frontend --unmanaged | ||
git -C devtools-frontend checkout $(HEAD) | ||
git -C devtools-frontend config user.email "[email protected]" | ||
git -C devtools-frontend config user.name "Workers DevProd" | ||
git -C devtools-frontend am $(PATCHES) | ||
|
||
devtools-frontend/out/Default/gen/front_end: devtools-frontend | ||
cd devtools-frontend && PATH=$(PATH_WITH_DEPOT) $(ROOT)/depot/gclient sync | ||
cd devtools-frontend && PATH=$(PATH_WITH_DEPOT) $(ROOT)/depot/gn gen out/Default | ||
cd devtools-frontend && PATH=$(PATH_WITH_DEPOT) $(ROOT)/depot/autoninja -C out/Default | ||
cd devtools-frontend && PATH="$(PATH_WITH_DEPOT)" $(ROOT)/depot/gclient sync | ||
cd devtools-frontend && PATH="$(PATH_WITH_DEPOT)" $(ROOT)/depot/gn gen out/Default | ||
cd devtools-frontend && PATH="$(PATH_WITH_DEPOT)" $(ROOT)/depot/autoninja -C out/Default | ||
|
||
publish: devtools-frontend/out/Default/gen/front_end | ||
npx wrangler pages deploy --project-name cloudflare-devtools devtools-frontend/out/Default/gen/front_end | ||
|
78 changes: 0 additions & 78 deletions
78
packages/wrangler-devtools/patches/0001-Add-README-detailing-the-setup-process.patch
This file was deleted.
Oops, something went wrong.
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
From c19d1d618c1ca839dd662e4dbd9b3fd6d1aa65e3 Mon Sep 17 00:00:00 2001 | ||
From 83b63469d06e2318f880c417c168f5494edf89fa Mon Sep 17 00:00:00 2001 | ||
From: Samuel Macleod <[email protected]> | ||
Date: Thu, 19 Jan 2023 15:47:52 +0000 | ||
Subject: [PATCH 05/16] Better Firefox support for network tab | ||
Subject: [PATCH 04/15] Better Firefox support for network tab | ||
|
||
--- | ||
front_end/entrypoints/js_app/js_app.ts | 2 ++ | ||
|
@@ -22,10 +22,10 @@ index ef5c568e96..f6a3a1641f 100644 | |
static instance(opts: {forceNew: boolean|null} = {forceNew: null}): JsMainImpl { | ||
const {forceNew} = opts; | ||
diff --git a/front_end/ui/legacy/components/data_grid/DataGrid.ts b/front_end/ui/legacy/components/data_grid/DataGrid.ts | ||
index a7ec8ccf32..fc80d2769d 100644 | ||
index 88c258f54f..0648649ccf 100644 | ||
--- a/front_end/ui/legacy/components/data_grid/DataGrid.ts | ||
+++ b/front_end/ui/legacy/components/data_grid/DataGrid.ts | ||
@@ -219,6 +219,8 @@ export class DataGridImpl<T> extends Common.ObjectWrapper.ObjectWrapper<EventTyp | ||
@@ -218,6 +218,8 @@ export class DataGridImpl<T> extends Common.ObjectWrapper.ObjectWrapper<EventTyp | ||
this.headerRow = this.dataTableHeadInternal.createChild('tr'); | ||
|
||
this.dataTableBody = this.dataTable.createChild('tbody'); | ||
|
@@ -34,7 +34,7 @@ index a7ec8ccf32..fc80d2769d 100644 | |
this.topFillerRow = (this.dataTableBody.createChild('tr', 'data-grid-filler-row revealed') as HTMLElement); | ||
UI.ARIAUtils.setHidden(this.topFillerRow, true); | ||
this.bottomFillerRow = (this.dataTableBody.createChild('tr', 'data-grid-filler-row revealed') as HTMLElement); | ||
@@ -496,6 +498,9 @@ export class DataGridImpl<T> extends Common.ObjectWrapper.ObjectWrapper<EventTyp | ||
@@ -500,6 +502,9 @@ export class DataGridImpl<T> extends Common.ObjectWrapper.ObjectWrapper<EventTyp | ||
protected setVerticalPadding(top: number, bottom: number, isConstructorTime: boolean = false): void { | ||
const topPx = top + 'px'; | ||
const bottomPx = (top || bottom) ? bottom + 'px' : 'auto'; | ||
|
@@ -45,5 +45,5 @@ index a7ec8ccf32..fc80d2769d 100644 | |
return; | ||
} | ||
-- | ||
2.41.0 | ||
2.39.3 (Apple Git-145) | ||
|
Oops, something went wrong.