Skip to content

Commit b0b59e0

Browse files
authored
Update Devtools Patches (#9551)
* Update Devtools Patches * Create fifty-bananas-applaud.md
1 parent 5601fc3 commit b0b59e0

10 files changed

+81
-87
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cloudflare/chrome-devtools-patches": patch
3+
---
4+
5+
Update Devtools Patches

packages/chrome-devtools-patches/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ROOT = $(realpath .)
22
PATH_WITH_DEPOT = $(PATH):$(ROOT)/depot/
33
# The upstream devtools commit upon which our patches are based
4-
HEAD = 538f92a49ba5cbc615bcaa063214fca38ab87813
4+
HEAD = b66ecf5bef3ae6c769dbc6d904ce1c54d3771227
55
PATCHES = $(shell ls ${PWD}/patches/*.patch)
66
depot:
77
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git depot

packages/chrome-devtools-patches/patches/0001-Expand-Browser-support-make-it-work-in-Firefox-Safar.patch

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 308d29672a61ba0cd0e4751460ae15c0f0930666 Mon Sep 17 00:00:00 2001
1+
From 261ba678389218354cb8f9dce78483cf4f09716f Mon Sep 17 00:00:00 2001
22
From: Workers DevProd <[email protected]>
33
Date: Fri, 25 Oct 2024 14:15:43 +0100
44
Subject: [PATCH 1/8] Expand Browser support (make it work in Firefox & Safari)
@@ -23,10 +23,10 @@ If updating the commit of devtools upon which these patches are based, make sure
2323
4 files changed, 46 insertions(+), 2 deletions(-)
2424

2525
diff --git a/front_end/core/dom_extension/DOMExtension.ts b/front_end/core/dom_extension/DOMExtension.ts
26-
index 5060011dba..1ca615e641 100644
26+
index 202c680a30..a639437998 100644
2727
--- a/front_end/core/dom_extension/DOMExtension.ts
2828
+++ b/front_end/core/dom_extension/DOMExtension.ts
29-
@@ -132,7 +132,7 @@ Node.prototype.getComponentSelection = function(): Selection|null {
29+
@@ -133,7 +133,7 @@ Node.prototype.getComponentSelection = function(): Selection|null {
3030
while (parent && parent.nodeType !== Node.DOCUMENT_FRAGMENT_NODE) {
3131
parent = parent.parentNode;
3232
}
@@ -36,10 +36,10 @@ index 5060011dba..1ca615e641 100644
3636

3737
Node.prototype.hasSelection = function(): boolean {
3838
diff --git a/front_end/entrypoint_template.html b/front_end/entrypoint_template.html
39-
index 8e0e11ca35..0d422c3cda 100644
39+
index 64d55d4c14..07972be81f 100644
4040
--- a/front_end/entrypoint_template.html
4141
+++ b/front_end/entrypoint_template.html
42-
@@ -13,8 +13,44 @@
42+
@@ -13,9 +13,45 @@
4343
background-color: rgb(41 42 45);
4444
}
4545
}
@@ -84,12 +84,13 @@ index 8e0e11ca35..0d422c3cda 100644
8484
+/*! (c) Andrea Giammarchi - ISC */var r=!0,o=!1,a="querySelectorAll",l="querySelectorAll",i=self,c=i.document,u=i.Element,s=i.MutationObserver,f=i.Set,d=i.WeakMap,h=function(e){return l in e},v=[].filter,p=function(e){var t=new d,i=function(n,r){var o;if(r)for(var a,l=function(e){return e.matches||e.webkitMatchesSelector||e.msMatchesSelector}(n),i=0,c=y.length;i<c;i++)l.call(n,a=y[i])&&(t.has(n)||t.set(n,new f),(o=t.get(n)).has(a)||(o.add(a),e.handle(n,r,a)));else t.has(n)&&(o=t.get(n),t.delete(n),o.forEach((function(t){e.handle(n,r,t)})))},p=function(e){for(var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=0,r=e.length;n<r;n++)i(e[n],t)},y=e.query,g=e.root||c,m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:MutationObserver,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:["*"],c=function t(o,l,i,c,u,s){var f,d=n(o);try{for(d.s();!(f=d.n()).done;){var h=f.value;(s||a in h)&&(u?i.has(h)||(i.add(h),c.delete(h),e(h,u)):c.has(h)||(c.add(h),i.delete(h),e(h,u)),s||t(h[a](l),l,i,c,u,r))}}catch(e){d.e(e)}finally{d.f()}},u=new l((function(e){if(i.length){var t,a=i.join(","),l=new Set,u=new Set,s=n(e);try{for(s.s();!(t=s.n()).done;){var f=t.value,d=f.addedNodes,h=f.removedNodes;c(h,a,l,u,o,o),c(d,a,l,u,r,o)}}catch(e){s.e(e)}finally{s.f()}}})),s=u.observe;return(u.observe=function(e){return s.call(u,e,{subtree:r,childList:r})})(t),u}(i,g,s,y),w=u.prototype.attachShadow;return w&&(u.prototype.attachShadow=function(e){var t=w.call(this,e);return m.observe(t),t}),y.length&&p(g[l](y)),{drop:function(e){for(var n=0,r=e.length;n<r;n++)t.delete(e[n])},flush:function(){for(var e=m.takeRecords(),t=0,n=e.length;t<n;t++)p(v.call(e[t].removedNodes,h),!1),p(v.call(e[t].addedNodes,h),!0)},observer:m,parse:p}},y=self,g=y.document,m=y.Map,w=y.MutationObserver,b=y.Object,E=y.Set,S=y.WeakMap,A=y.Element,M=y.HTMLElement,O=y.Node,N=y.Error,C=y.TypeError,T=y.Reflect,q=b.defineProperty,D=b.keys,I=b.getOwnPropertyNames,P=b.setPrototypeOf,k=!self.customElements,L=function(e){for(var t=D(e),n=[],r=new E,o=t.length,a=0;a<o;a++){n[a]=e[t[a]];try{delete e[t[a]]}catch(e){r.add(a)}}return function(){for(var a=0;a<o;a++)r.has(a)||(e[t[a]]=n[a])}};if(k){var x=function(){var e=this.constructor;if(!$.has(e))throw new C("Illegal constructor");var t=$.get(e);if(W)return F(W,t);var n=H.call(g,t);return F(P(n,e.prototype),t)},H=g.createElement,$=new m,_=new m,j=new m,R=new m,V=[],U=p({query:V,handle:function(e,t,n){var r=j.get(n);if(t&&!r.isPrototypeOf(e)){var o=L(e);W=P(e,r);try{new r.constructor}finally{W=null,o()}}var a="".concat(t?"":"dis","connectedCallback");a in r&&e[a]()}}).parse,W=null,B=function(e){if(!_.has(e)){var t,n=new Promise((function(e){t=e}));_.set(e,{$:n,_:t})}return _.get(e).$},F=e(B,w);self.customElements={define:function(e,t){if(R.has(e))throw new N('the name "'.concat(e,'" has already been used with this registry'));$.set(t,e),j.set(e,t.prototype),R.set(e,t),V.push(e),B(e).then((function(){U(g.querySelectorAll(e))})),_.get(e)._(t)},get:function(e){return R.get(e)},whenDefined:B},q(x.prototype=M.prototype,"constructor",{value:x}),self.HTMLElement=x,g.createElement=function(e,t){var n=t&&t.is,r=n?R.get(n):R.get(e);return r?new r:H.call(g,e)},"isConnected"in O.prototype||q(O.prototype,"isConnected",{configurable:!0,get:function(){return!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}})}else if(k=!self.customElements.get("extends-br"))try{var z=function e(){return self.Reflect.construct(HTMLBRElement,[],e)};z.prototype=HTMLLIElement.prototype;var G="extends-br";self.customElements.define("extends-br",z,{extends:"br"}),k=g.createElement("br",{is:G}).outerHTML.indexOf(G)<0;var J=self.customElements,K=J.get,Q=J.whenDefined;self.customElements.whenDefined=function(e){var t=this;return Q.call(this,e).then((function(n){return n||K.call(t,e)}))}}catch(e){}if(k){var X=function(e){var t=ae.get(e);ve(t.querySelectorAll(this),e.isConnected)},Y=self.customElements,Z=g.createElement,ee=Y.define,te=Y.get,ne=Y.upgrade,re=T||{construct:function(e){return e.call(this)}},oe=re.construct,ae=new S,le=new E,ie=new m,ce=new m,ue=new m,se=new m,fe=[],de=[],he=function(e){return se.get(e)||te.call(Y,e)},ve=p({query:de,handle:function(e,t,n){var r=ue.get(n);if(t&&!r.isPrototypeOf(e)){var o=L(e);we=P(e,r);try{new r.constructor}finally{we=null,o()}}var a="".concat(t?"":"dis","connectedCallback");a in r&&e[a]()}}).parse,pe=p({query:fe,handle:function(e,t){ae.has(e)&&(t?le.add(e):le.delete(e),de.length&&X.call(de,e))}}).parse,ye=A.prototype.attachShadow;ye&&(A.prototype.attachShadow=function(e){var t=ye.call(this,e);return ae.set(this,t),t});var ge=function(e){if(!ce.has(e)){var t,n=new Promise((function(e){t=e}));ce.set(e,{$:n,_:t})}return ce.get(e).$},me=e(ge,w),we=null;I(self).filter((function(e){return/^HTML.*Element$/.test(e)})).forEach((function(e){var t=self[e];function n(){var e=this.constructor;if(!ie.has(e))throw new C("Illegal constructor");var n=ie.get(e),r=n.is,o=n.tag;if(r){if(we)return me(we,r);var a=Z.call(g,o);return a.setAttribute("is",r),me(P(a,e.prototype),r)}return oe.call(this,t,[],e)}q(n.prototype=t.prototype,"constructor",{value:n}),q(self,e,{value:n})})),g.createElement=function(e,t){var n=t&&t.is;if(n){var r=se.get(n);if(r&&ie.get(r).tag===e)return new r}var o=Z.call(g,e);return n&&o.setAttribute("is",n),o},Y.get=he,Y.whenDefined=ge,Y.upgrade=function(e){var t=e.getAttribute("is");if(t){var n=se.get(t);if(n)return void me(P(e,n.prototype),t)}ne.call(Y,e)},Y.define=function(e,t,n){if(he(e))throw new N("'".concat(e,"' has already been defined as a custom element"));var r,o=n&&n.extends;ie.set(t,o?{is:e,tag:o}:{is:"",tag:e}),o?(r="".concat(o,'[is="').concat(e,'"]'),ue.set(r,t.prototype),se.set(e,t),de.push(r)):(ee.apply(Y,arguments),fe.push(r=e)),ge(e).then((function(){o?(ve(g.querySelectorAll(r)),le.forEach(X,[r])):pe(g.querySelectorAll(r))})),ce.get(e)._(t)}}}();
8585
+</script>
8686
<script type="module" src="./entrypoints/%ENTRYPOINT_NAME%/%ENTRYPOINT_NAME%.js"></script>
87-
<body class="undocked" id="-blink-dev-tools">
87+
<link href="./application_tokens.css" rel="stylesheet">
88+
<link href="./design_system_tokens.css" rel="stylesheet">
8889
diff --git a/front_end/entrypoints/js_app/js_app.ts b/front_end/entrypoints/js_app/js_app.ts
89-
index 45028f436a..6a154030b6 100644
90+
index a7f4827d68..2dbb4eca42 100644
9091
--- a/front_end/entrypoints/js_app/js_app.ts
9192
+++ b/front_end/entrypoints/js_app/js_app.ts
92-
@@ -43,6 +43,9 @@ async function loadSourcesModule(): Promise<typeof Sources> {
93+
@@ -44,6 +44,9 @@ async function loadSourcesModule(): Promise<typeof Sources> {
9394
}
9495
return loadedSourcesModule;
9596
}
@@ -100,10 +101,10 @@ index 45028f436a..6a154030b6 100644
100101
static instance(opts: {forceNew: boolean|null} = {forceNew: null}): JsMainImpl {
101102
const {forceNew} = opts;
102103
diff --git a/front_end/ui/legacy/components/data_grid/DataGrid.ts b/front_end/ui/legacy/components/data_grid/DataGrid.ts
103-
index 24f6b09d0c..8b9ca969ae 100644
104+
index 70820e38a1..5c9e25c522 100644
104105
--- a/front_end/ui/legacy/components/data_grid/DataGrid.ts
105106
+++ b/front_end/ui/legacy/components/data_grid/DataGrid.ts
106-
@@ -217,6 +217,8 @@ export class DataGridImpl<T> extends Common.ObjectWrapper.ObjectWrapper<EventTyp
107+
@@ -223,6 +223,8 @@ export class DataGridImpl<T> extends Common.ObjectWrapper.ObjectWrapper<EventTyp
107108
this.headerRow = this.dataTableHeadInternal.createChild('tr');
108109

109110
this.dataTableBody = this.dataTable.createChild('tbody');
@@ -112,8 +113,8 @@ index 24f6b09d0c..8b9ca969ae 100644
112113
this.topFillerRow = this.dataTableBody.createChild('tr', 'data-grid-filler-row revealed');
113114
UI.ARIAUtils.setHidden(this.topFillerRow, true);
114115
this.bottomFillerRow = this.dataTableBody.createChild('tr', 'data-grid-filler-row revealed');
115-
@@ -505,6 +507,9 @@ export class DataGridImpl<T> extends Common.ObjectWrapper.ObjectWrapper<EventTyp
116-
protected setVerticalPadding(top: number, bottom: number, isConstructorTime: boolean = false): void {
116+
@@ -535,6 +537,9 @@ export class DataGridImpl<T> extends Common.ObjectWrapper.ObjectWrapper<EventTyp
117+
protected setVerticalPadding(top: number, bottom: number, isConstructorTime = false): void {
117118
const topPx = top + 'px';
118119
const bottomPx = (top || bottom) ? bottom + 'px' : 'auto';
119120
+ // Firefox isn't happy with 0 height table rows, so hide them instead

packages/chrome-devtools-patches/patches/0002-Setup-Cloudflare-devtools-target-type.patch

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,48 @@
1-
From 06c925f4b3b765ac35d77ed504b626656a89581c Mon Sep 17 00:00:00 2001
1+
From 0b2f719ec57d77ac8837ffa62293b3c1cb97551f Mon Sep 17 00:00:00 2001
22
From: Workers DevProd <[email protected]>
33
Date: Fri, 25 Oct 2024 16:06:06 +0100
44
Subject: [PATCH 2/8] Setup Cloudflare devtools target type
55

66
---
7-
front_end/core/sdk/Target.ts | 4 ++++
7+
front_end/core/sdk/Target.ts | 5 +++++
88
front_end/entrypoints/js_app/js_app.ts | 2 +-
9-
2 files changed, 5 insertions(+), 1 deletion(-)
9+
2 files changed, 6 insertions(+), 1 deletion(-)
1010

1111
diff --git a/front_end/core/sdk/Target.ts b/front_end/core/sdk/Target.ts
12-
index 0b3f0f9def..ee384b197e 100644
12+
index 2437d6aac1..e9a3318268 100644
1313
--- a/front_end/core/sdk/Target.ts
1414
+++ b/front_end/core/sdk/Target.ts
15-
@@ -86,6 +86,9 @@ export class Target extends ProtocolClient.InspectorBackend.TargetBase {
16-
case Type.TAB:
17-
this.#capabilitiesMask = Capability.TARGET | Capability.TRACING;
15+
@@ -98,6 +98,10 @@ export class Target extends ProtocolClient.InspectorBackend.TargetBase {
1816
break;
17+
case Type.NODE_WORKER:
18+
this.#capabilitiesMask = Capability.JS | Capability.NETWORK | Capability.TARGET;
19+
+ break;
1920
+ case Type.CLOUDFLARE:
2021
+ this.#capabilitiesMask = Capability.JS | Capability.NETWORK;
2122
+ break;
2223
}
2324
this.#typeInternal = type;
2425
this.#parentTargetInternal = parentTarget;
25-
@@ -260,6 +263,7 @@ export enum Type {
26+
@@ -298,6 +302,7 @@ export enum Type {
2627
AUCTION_WORKLET = 'auction-worklet',
2728
WORKLET = 'worklet',
2829
TAB = 'tab',
2930
+ CLOUDFLARE = 'cloudflare',
31+
NODE_WORKER = 'node-worker',
3032
}
3133

32-
export const enum Capability {
3334
diff --git a/front_end/entrypoints/js_app/js_app.ts b/front_end/entrypoints/js_app/js_app.ts
34-
index 6a154030b6..1a6644df92 100644
35+
index 2dbb4eca42..814bc1fc70 100644
3536
--- a/front_end/entrypoints/js_app/js_app.ts
3637
+++ b/front_end/entrypoints/js_app/js_app.ts
37-
@@ -60,7 +60,7 @@ export class JsMainImpl implements Common.Runnable.Runnable {
38+
@@ -61,7 +61,7 @@ export class JsMainImpl implements Common.Runnable.Runnable {
3839
Host.userMetrics.actionTaken(Host.UserMetrics.Action.ConnectToNodeJSDirectly);
3940
void SDK.Connections.initMainConnection(async () => {
4041
const target = SDK.TargetManager.TargetManager.instance().createTarget(
4142
- 'main', i18nString(UIStrings.main), SDK.Target.Type.NODE, null);
4243
+ 'main', i18nString(UIStrings.main), SDK.Target.Type.CLOUDFLARE, null);
4344
void target.runtimeAgent().invoke_runIfWaitingForDebugger();
44-
}, Components.TargetDetachedDialog.TargetDetachedDialog.webSocketConnectionLost);
45+
}, Components.TargetDetachedDialog.TargetDetachedDialog.connectionLost);
4546
}
4647
--
4748
2.39.5 (Apple Git-154)

packages/chrome-devtools-patches/patches/0003-Add-ping-to-improve-connection-stability.-Without-th.patch

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 202a5226a8f850a955b07c7abc301f3031d9a72d Mon Sep 17 00:00:00 2001
1+
From bcba740e8dd373acf74a8d7f82d93107e2bf4a08 Mon Sep 17 00:00:00 2001
22
From: Workers DevProd <[email protected]>
33
Date: Fri, 25 Oct 2024 15:04:17 +0100
44
Subject: [PATCH 3/8] Add ping to improve connection stability. Without this,
@@ -10,18 +10,18 @@ Subject: [PATCH 3/8] Add ping to improve connection stability. Without this,
1010
1 file changed, 8 insertions(+)
1111

1212
diff --git a/front_end/core/protocol_client/InspectorBackend.ts b/front_end/core/protocol_client/InspectorBackend.ts
13-
index ad2d1fe357..d7af79ede5 100644
13+
index 32948c2dbd..27dfa1abe3 100644
1414
--- a/front_end/core/protocol_client/InspectorBackend.ts
1515
+++ b/front_end/core/protocol_client/InspectorBackend.ts
16-
@@ -259,6 +259,7 @@ export class SessionRouter {
16+
@@ -256,6 +256,7 @@ export class SessionRouter {
1717
proxyConnection: ((Connection | undefined)|null),
18-
}>;
19-
#pendingScripts: (() => void)[];
18+
}>();
19+
#pendingScripts: Array<() => void> = [];
2020
+ #pingInterval: ReturnType<typeof setInterval>;
2121

2222
constructor(connection: Connection) {
2323
this.#connectionInternal = connection;
24-
@@ -276,11 +277,18 @@ export class SessionRouter {
24+
@@ -266,11 +267,18 @@ export class SessionRouter {
2525
this.#connectionInternal.setOnMessage(this.onMessage.bind(this));
2626

2727
this.#connectionInternal.setOnDisconnect(reason => {

packages/chrome-devtools-patches/patches/0004-Support-viewing-source-files-over-the-network.-This-.patch

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 79eef448a1e63c2295d67938f92a83093289ffe6 Mon Sep 17 00:00:00 2001
1+
From b1f97bf51177076f6abb501cf8fe57a77640792e Mon Sep 17 00:00:00 2001
22
From: Workers DevProd <[email protected]>
33
Date: Fri, 25 Oct 2024 15:26:38 +0100
44
Subject: [PATCH 4/8] Support viewing source files over the network. This
@@ -23,20 +23,20 @@ Subject: [PATCH 4/8] Support viewing source files over the network. This
2323
6 files changed, 15 insertions(+), 40 deletions(-)
2424

2525
diff --git a/front_end/core/common/ParsedURL.ts b/front_end/core/common/ParsedURL.ts
26-
index 100d9ec45f..d75d6e4f2f 100644
26+
index d01ab1856d..e29c0eab46 100644
2727
--- a/front_end/core/common/ParsedURL.ts
2828
+++ b/front_end/core/common/ParsedURL.ts
29-
@@ -366,7 +366,7 @@ export class ParsedURL {
29+
@@ -365,7 +365,7 @@ export class ParsedURL {
30+
static completeURL(baseURL: Platform.DevToolsPath.UrlString, href: string): Platform.DevToolsPath.UrlString|null {
3031
// Return special URLs as-is.
31-
const trimmedHref = href.trim();
32-
if (trimmedHref.startsWith('data:') || trimmedHref.startsWith('blob:') || trimmedHref.startsWith('javascript:') ||
33-
- trimmedHref.startsWith('mailto:')) {
34-
+ trimmedHref.startsWith('mailto:') || trimmedHref.startsWith('wrangler:')) {
32+
if (href.startsWith('data:') || href.startsWith('blob:') || href.startsWith('javascript:') ||
33+
- href.startsWith('mailto:')) {
34+
+ href.startsWith('mailto:') || href.startsWith('wrangler:')) {
3535
return href as Platform.DevToolsPath.UrlString;
3636
}
3737

3838
diff --git a/front_end/core/sdk/PageResourceLoader.ts b/front_end/core/sdk/PageResourceLoader.ts
39-
index 7b11de87c2..e11fbf3010 100644
39+
index 722bf5f80a..cede6fbc20 100644
4040
--- a/front_end/core/sdk/PageResourceLoader.ts
4141
+++ b/front_end/core/sdk/PageResourceLoader.ts
4242
@@ -381,7 +381,9 @@ export class PageResourceLoader extends Common.ObjectWrapper.ObjectWrapper<Event
@@ -51,10 +51,10 @@ index 7b11de87c2..e11fbf3010 100644
5151
success: resource.success,
5252
content,
5353
diff --git a/front_end/entrypoints/js_app/js_app.ts b/front_end/entrypoints/js_app/js_app.ts
54-
index 1a6644df92..1724a33bd4 100644
54+
index 814bc1fc70..893ac3533f 100644
5555
--- a/front_end/entrypoints/js_app/js_app.ts
5656
+++ b/front_end/entrypoints/js_app/js_app.ts
57-
@@ -17,17 +17,13 @@ import * as Main from '../main/main.js';
57+
@@ -18,17 +18,13 @@ import * as Main from '../main/main.js';
5858

5959
const UIStrings = {
6060
/**
@@ -73,10 +73,10 @@ index 1a6644df92..1724a33bd4 100644
7373
*/
7474
- showNode: 'Show Scripts',
7575
+ main: 'Main',
76-
};
76+
} as const;
7777

7878
const str_ = i18n.i18n.registerUIStrings('entrypoints/js_app/js_app.ts', UIStrings);
79-
@@ -69,8 +65,8 @@ export class JsMainImpl implements Common.Runnable.Runnable {
79+
@@ -70,8 +66,8 @@ export class JsMainImpl implements Common.Runnable.Runnable {
8080
UI.ViewManager.registerViewExtension({
8181
location: UI.ViewManager.ViewLocationValues.NAVIGATOR_VIEW,
8282
id: 'navigator-network',
@@ -88,23 +88,23 @@ index 1a6644df92..1724a33bd4 100644
8888
persistence: UI.ViewManager.ViewPersistence.PERMANENT,
8989
async loadView() {
9090
diff --git a/front_end/entrypoints/main/MainImpl.ts b/front_end/entrypoints/main/MainImpl.ts
91-
index fbc6a1bd71..e6bc57bbb0 100644
91+
index e4ac33c985..04eac3540a 100644
9292
--- a/front_end/entrypoints/main/MainImpl.ts
9393
+++ b/front_end/entrypoints/main/MainImpl.ts
94-
@@ -414,6 +414,8 @@ export class MainImpl {
95-
Root.Runtime.ExperimentName.NETWORK_PANEL_FILTER_BAR_REDESIGN,
96-
Root.Runtime.ExperimentName.FLOATING_ENTRY_POINTS_FOR_AI_ASSISTANCE,
97-
Root.Runtime.ExperimentName.TIMELINE_ALTERNATIVE_NAVIGATION,
94+
@@ -359,6 +359,8 @@ export class MainImpl {
95+
Root.Runtime.experiments.enableExperimentsByDefault([
96+
Root.Runtime.ExperimentName.FULL_ACCESSIBILITY_TREE,
97+
Root.Runtime.ExperimentName.HIGHLIGHT_ERRORS_ELEMENTS_PANEL,
9898
+ Root.Runtime.ExperimentName.AUTHORED_DEPLOYED_GROUPING,
9999
+ Root.Runtime.ExperimentName.JUST_MY_CODE,
100100
...(Root.Runtime.Runtime.queryParam('isChromeForTesting') ? ['protocol-monitor'] : []),
101101
]);
102102

103103
diff --git a/front_end/panels/sources/NavigatorView.ts b/front_end/panels/sources/NavigatorView.ts
104-
index d9da41ab84..73f42a22be 100644
104+
index c4f0cf6319..3c468c11a2 100644
105105
--- a/front_end/panels/sources/NavigatorView.ts
106106
+++ b/front_end/panels/sources/NavigatorView.ts
107-
@@ -795,8 +795,9 @@ export class NavigatorView extends UI.Widget.VBox implements SDK.TargetManager.O
107+
@@ -823,8 +823,9 @@ export class NavigatorView extends UI.Widget.VBox implements SDK.TargetManager.O
108108
return matchingContextName;
109109
}
110110

@@ -117,10 +117,10 @@ index d9da41ab84..73f42a22be 100644
117117

118118
const parsedURL = new Common.ParsedURL.ParsedURL(projectOrigin);
119119
diff --git a/front_end/panels/sources/sources-meta.ts b/front_end/panels/sources/sources-meta.ts
120-
index f4284da33b..76bb296abb 100644
120+
index 966e223d5a..20ce18502a 100644
121121
--- a/front_end/panels/sources/sources-meta.ts
122122
+++ b/front_end/panels/sources/sources-meta.ts
123-
@@ -495,32 +495,6 @@ UI.ViewManager.registerViewExtension({
123+
@@ -517,32 +517,6 @@ UI.ViewManager.registerViewExtension({
124124
},
125125
});
126126

0 commit comments

Comments
 (0)