chrome-devtools-frontend 1.0.1635648 → 1.0.1635876
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/front_end/core/sdk/SourceMapCache.ts +13 -11
- package/front_end/core/sdk/SourceMapManager.ts +7 -3
- package/front_end/entrypoints/greendev_floaty/FloatyEntrypoint.ts +84 -22
- package/front_end/models/ai_assistance/agents/GreenDevAgent.ts +68 -5
- package/front_end/models/ai_assistance/agents/GreenDevAgentAntigravityCliSocketClient.ts +53 -0
- package/front_end/models/ai_assistance/agents/GreenDevAgentGeminiCliSocketClient.ts +117 -0
- package/front_end/models/ai_assistance/ai_assistance.ts +4 -0
- package/front_end/models/greendev/Prototypes.ts +17 -5
- package/front_end/panels/settings/SettingsScreen.ts +3 -2
- package/front_end/panels/whats_new/ReleaseNoteText.ts +9 -9
- package/front_end/panels/whats_new/resources/WNDT.md +9 -9
- package/front_end/third_party/puppeteer/README.chromium +2 -2
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +8 -5
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +35 -33
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/TargetManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/TargetManager.js +0 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/TargetManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebMCP.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebMCP.js +0 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebMCP.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Debug.d.ts +8 -8
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Debug.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Debug.js +8 -8
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Debug.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/generated/injected.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/generated/injected.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/generated/injected.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/generated/injected.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/injected/CustomQuerySelector.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/injected/CustomQuerySelector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/injected/CustomQuerySelector.js +2 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/injected/CustomQuerySelector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/injected/injected.d.ts +2 -7
- package/front_end/third_party/puppeteer/package/lib/puppeteer/injected/injected.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/PuppeteerNode.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/PuppeteerNode.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.js +3 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/Mutex.d.ts +10 -7
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/Mutex.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/Mutex.js +16 -12
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/Mutex.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/types.d.ts +8 -5
- package/front_end/third_party/puppeteer/package/package.json +5 -7
- package/front_end/third_party/puppeteer/package/src/cdp/TargetManager.ts +0 -1
- package/front_end/third_party/puppeteer/package/src/cdp/WebMCP.ts +0 -3
- package/front_end/third_party/puppeteer/package/src/common/Debug.ts +11 -11
- package/front_end/third_party/puppeteer/package/src/generated/injected.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/injected/CustomQuerySelector.ts +3 -2
- package/front_end/third_party/puppeteer/package/src/node/PuppeteerNode.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/revisions.ts +3 -3
- package/front_end/third_party/puppeteer/package/src/util/Mutex.ts +17 -12
- package/front_end/third_party/puppeteer/package/src/util/version.ts +1 -1
- package/front_end/ui/components/markdown_view/MarkdownLinksMap.ts +7 -0
- package/front_end/ui/legacy/components/source_frame/FontView.ts +11 -3
- package/front_end/ui/visual_logging/KnownContextValues.ts +2 -0
- package/package.json +1 -10
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @internal
|
|
9
9
|
*/
|
|
10
10
|
export const PUPPETEER_REVISIONS = Object.freeze({
|
|
11
|
-
chrome: '
|
|
12
|
-
'chrome-headless-shell': '
|
|
13
|
-
firefox: '
|
|
11
|
+
chrome: '149.0.7827.22',
|
|
12
|
+
'chrome-headless-shell': '149.0.7827.22',
|
|
13
|
+
firefox: 'stable_151.0',
|
|
14
14
|
});
|
|
@@ -6,22 +6,27 @@
|
|
|
6
6
|
import {Deferred} from './Deferred.js';
|
|
7
7
|
import {disposeSymbol} from './disposable.js';
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
class MutexGuard {
|
|
13
|
+
#mutex: Mutex;
|
|
14
|
+
#onRelease?: () => void;
|
|
15
|
+
constructor(mutex: Mutex, onRelease?: () => void) {
|
|
16
|
+
this.#mutex = mutex;
|
|
17
|
+
this.#onRelease = onRelease;
|
|
18
|
+
}
|
|
19
|
+
[disposeSymbol](): void {
|
|
20
|
+
this.#onRelease?.();
|
|
21
|
+
return this.#mutex.release();
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
9
25
|
/**
|
|
10
26
|
* @internal
|
|
11
27
|
*/
|
|
12
28
|
export class Mutex {
|
|
13
|
-
static Guard =
|
|
14
|
-
#mutex: Mutex;
|
|
15
|
-
#onRelease?: () => void;
|
|
16
|
-
constructor(mutex: Mutex, onRelease?: () => void) {
|
|
17
|
-
this.#mutex = mutex;
|
|
18
|
-
this.#onRelease = onRelease;
|
|
19
|
-
}
|
|
20
|
-
[disposeSymbol](): void {
|
|
21
|
-
this.#onRelease?.();
|
|
22
|
-
return this.#mutex.release();
|
|
23
|
-
}
|
|
24
|
-
};
|
|
29
|
+
static Guard = MutexGuard;
|
|
25
30
|
|
|
26
31
|
#locked = false;
|
|
27
32
|
#acquirers: Array<() => void> = [];
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
// Use of this source code is governed by a BSD-style license that can be
|
|
3
3
|
// found in the LICENSE file.
|
|
4
4
|
|
|
5
|
+
import * as Greendev from '../../../models/greendev/greendev.js';
|
|
6
|
+
|
|
5
7
|
/**
|
|
6
8
|
* To use links in markdown, add key here with the link and
|
|
7
9
|
* use the added key in markdown.
|
|
@@ -106,6 +108,11 @@ export const getMarkdownLink = (key: string): string => {
|
|
|
106
108
|
}
|
|
107
109
|
const link = markdownLinks.get(key);
|
|
108
110
|
if (!link) {
|
|
111
|
+
if (Greendev.Prototypes.instance().isEnabled('beyondStylingAntigravity') ||
|
|
112
|
+
Greendev.Prototypes.instance().isEnabled('beyondStylingGemini')) {
|
|
113
|
+
return key;
|
|
114
|
+
}
|
|
115
|
+
|
|
109
116
|
throw new Error(`Markdown link with key '${key}' is not available, please check MarkdownLinksMap.ts`);
|
|
110
117
|
}
|
|
111
118
|
return link;
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
*/
|
|
32
32
|
|
|
33
33
|
import * as i18n from '../../../../core/i18n/i18n.js';
|
|
34
|
-
import * as Platform from '../../../../core/platform/platform.js';
|
|
34
|
+
import type * as Platform from '../../../../core/platform/platform.js';
|
|
35
35
|
import * as TextUtils from '../../../../models/text_utils/text_utils.js';
|
|
36
36
|
import {Directives, html, render} from '../../../lit/lit.js';
|
|
37
37
|
import * as VisualLogging from '../../../visual_logging/visual_logging.js';
|
|
@@ -133,8 +133,16 @@ export class FontView extends UI.View.SimpleView {
|
|
|
133
133
|
this.#fontFamily = `WebInspectorFontPreview${++fontId}`;
|
|
134
134
|
void this.contentProvider.requestContentData().then(contentData => {
|
|
135
135
|
const url = TextUtils.ContentData.ContentData.isError(contentData) ? this.url : contentData.asDataUrl();
|
|
136
|
-
|
|
137
|
-
|
|
136
|
+
if (url) {
|
|
137
|
+
const sheet = new CSSStyleSheet();
|
|
138
|
+
sheet.insertRule('@font-face {}');
|
|
139
|
+
const rule = sheet.cssRules[0] as CSSFontFaceRule;
|
|
140
|
+
rule.style.setProperty('font-family', this.#fontFamily);
|
|
141
|
+
rule.style.setProperty('src', `url(${JSON.stringify(url)})`);
|
|
142
|
+
this.#fontFaceRule = rule.cssText;
|
|
143
|
+
} else {
|
|
144
|
+
this.#fontFaceRule = '';
|
|
145
|
+
}
|
|
138
146
|
this.#previewVisible = true;
|
|
139
147
|
this.requestUpdate();
|
|
140
148
|
});
|
|
@@ -1866,7 +1866,9 @@ export const knownContextValues = new Set([
|
|
|
1866
1866
|
'greendev',
|
|
1867
1867
|
'greendev-ai-annotations-enabled',
|
|
1868
1868
|
'greendev-artifact-viewer-enabled',
|
|
1869
|
+
'greendev-beyond-styling-antigravity-enabled',
|
|
1869
1870
|
'greendev-beyond-styling-enabled',
|
|
1871
|
+
'greendev-beyond-styling-gemini-enabled',
|
|
1870
1872
|
'greendev-breakpoint-debugger-agent-enabled',
|
|
1871
1873
|
'greendev-copy-to-gemini-enabled',
|
|
1872
1874
|
'greendev-emulation-capabilities-enabled',
|
package/package.json
CHANGED
|
@@ -96,14 +96,5 @@
|
|
|
96
96
|
"yargs": "17.7.2",
|
|
97
97
|
"js-rouge": "3.2.0"
|
|
98
98
|
},
|
|
99
|
-
"
|
|
100
|
-
"electron-to-chromium": "1.5.335",
|
|
101
|
-
"bare-os": "3.9.0",
|
|
102
|
-
"bare-stream": "2.13.0",
|
|
103
|
-
"tar-stream": "3.1.5",
|
|
104
|
-
"socks": "2.8.7",
|
|
105
|
-
"ip-address": "10.1.0",
|
|
106
|
-
"basic-ftp": "5.2.2"
|
|
107
|
-
},
|
|
108
|
-
"version": "1.0.1635648"
|
|
99
|
+
"version": "1.0.1635876"
|
|
109
100
|
}
|