chrome-devtools-mcp 0.20.2 → 0.20.3
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/build/src/DevtoolsUtils.js +0 -46
- package/build/src/McpContext.js +19 -31
- package/build/src/PageCollector.js +4 -3
- package/build/src/bin/chrome-devtools-mcp-cli-options.js +5 -5
- package/build/src/index.js +1 -1
- package/build/src/third_party/bundled-packages.json +1 -1
- package/build/src/third_party/devtools-formatter-worker.js +0 -1
- package/build/src/third_party/index.js +929 -561
- package/build/src/third_party/issue-descriptions/sharedDictionaryUseErrorNoCorpCrossOriginNoCorsRequest.md +3 -0
- package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorNoCorpCossOriginNoCorsRequest.md +3 -0
- package/build/src/version.js +1 -1
- package/package.json +2 -2
- package/build/src/third_party/issue-descriptions/sharedDictionaryUseErrorCrossOriginNoCorsRequest.md +0 -1
|
@@ -91557,7 +91557,7 @@ var App = /*#__PURE__*/Object.freeze({
|
|
|
91557
91557
|
});
|
|
91558
91558
|
|
|
91559
91559
|
// Copyright 2025 The Chromium Authors
|
|
91560
|
-
class
|
|
91560
|
+
class WritableDevToolsContext {
|
|
91561
91561
|
#instances = new Map();
|
|
91562
91562
|
get(ctor) {
|
|
91563
91563
|
const instance = this.#instances.get(ctor);
|
|
@@ -91579,7 +91579,7 @@ class DevToolsContext {
|
|
|
91579
91579
|
let gInstance = null;
|
|
91580
91580
|
function globalInstance() {
|
|
91581
91581
|
if (!gInstance) {
|
|
91582
|
-
gInstance = new
|
|
91582
|
+
gInstance = new WritableDevToolsContext();
|
|
91583
91583
|
}
|
|
91584
91584
|
return gInstance;
|
|
91585
91585
|
}
|
|
@@ -91595,7 +91595,6 @@ var ExperimentName;
|
|
|
91595
91595
|
ExperimentName["SHOW_OPTION_TO_EXPOSE_INTERNALS_IN_HEAP_SNAPSHOT"] = "show-option-to-expose-internals-in-heap-snapshot";
|
|
91596
91596
|
ExperimentName["TIMELINE_INVALIDATION_TRACKING"] = "timeline-invalidation-tracking";
|
|
91597
91597
|
ExperimentName["TIMELINE_SHOW_ALL_EVENTS"] = "timeline-show-all-events";
|
|
91598
|
-
ExperimentName["TIMELINE_V8_RUNTIME_CALL_STATS"] = "timeline-v8-runtime-call-stats";
|
|
91599
91598
|
ExperimentName["APCA"] = "apca";
|
|
91600
91599
|
ExperimentName["FONT_EDITOR"] = "font-editor";
|
|
91601
91600
|
ExperimentName["FULL_ACCESSIBILITY_TREE"] = "full-accessibility-tree";
|
|
@@ -97227,7 +97226,7 @@ var i18n = /*#__PURE__*/Object.freeze({
|
|
|
97227
97226
|
});
|
|
97228
97227
|
|
|
97229
97228
|
// Copyright 2014 The Chromium Authors
|
|
97230
|
-
const UIStrings$
|
|
97229
|
+
const UIStrings$1c = {
|
|
97231
97230
|
elementsPanel: 'Elements panel',
|
|
97232
97231
|
stylesSidebar: 'styles sidebar',
|
|
97233
97232
|
changesDrawer: 'Changes drawer',
|
|
@@ -97241,8 +97240,8 @@ const UIStrings$1b = {
|
|
|
97241
97240
|
developerResourcesPanel: 'Developer Resources panel',
|
|
97242
97241
|
animationsPanel: 'Animations panel',
|
|
97243
97242
|
};
|
|
97244
|
-
const str_$
|
|
97245
|
-
const i18nLazyString$h = getLazilyComputedLocalizedString.bind(undefined, str_$
|
|
97243
|
+
const str_$1b = registerUIStrings('core/common/Revealer.ts', UIStrings$1c);
|
|
97244
|
+
const i18nLazyString$h = getLazilyComputedLocalizedString.bind(undefined, str_$1b);
|
|
97246
97245
|
let revealerRegistry;
|
|
97247
97246
|
class RevealerRegistry {
|
|
97248
97247
|
registeredRevealers = [];
|
|
@@ -97295,18 +97294,18 @@ async function reveal(revealable, omitFocus = false) {
|
|
|
97295
97294
|
await RevealerRegistry.instance().reveal(revealable, omitFocus);
|
|
97296
97295
|
}
|
|
97297
97296
|
const RevealerDestination = {
|
|
97298
|
-
DEVELOPER_RESOURCES_PANEL: i18nLazyString$h(UIStrings$
|
|
97299
|
-
ELEMENTS_PANEL: i18nLazyString$h(UIStrings$
|
|
97300
|
-
STYLES_SIDEBAR: i18nLazyString$h(UIStrings$
|
|
97301
|
-
CHANGES_DRAWER: i18nLazyString$h(UIStrings$
|
|
97302
|
-
ISSUES_VIEW: i18nLazyString$h(UIStrings$
|
|
97303
|
-
NETWORK_PANEL: i18nLazyString$h(UIStrings$
|
|
97304
|
-
REQUEST_CONDITIONS_DRAWER: i18nLazyString$h(UIStrings$
|
|
97305
|
-
TIMELINE_PANEL: i18nLazyString$h(UIStrings$
|
|
97306
|
-
APPLICATION_PANEL: i18nLazyString$h(UIStrings$
|
|
97307
|
-
SOURCES_PANEL: i18nLazyString$h(UIStrings$
|
|
97308
|
-
MEMORY_INSPECTOR_PANEL: i18nLazyString$h(UIStrings$
|
|
97309
|
-
ANIMATIONS_PANEL: i18nLazyString$h(UIStrings$
|
|
97297
|
+
DEVELOPER_RESOURCES_PANEL: i18nLazyString$h(UIStrings$1c.developerResourcesPanel),
|
|
97298
|
+
ELEMENTS_PANEL: i18nLazyString$h(UIStrings$1c.elementsPanel),
|
|
97299
|
+
STYLES_SIDEBAR: i18nLazyString$h(UIStrings$1c.stylesSidebar),
|
|
97300
|
+
CHANGES_DRAWER: i18nLazyString$h(UIStrings$1c.changesDrawer),
|
|
97301
|
+
ISSUES_VIEW: i18nLazyString$h(UIStrings$1c.issuesView),
|
|
97302
|
+
NETWORK_PANEL: i18nLazyString$h(UIStrings$1c.networkPanel),
|
|
97303
|
+
REQUEST_CONDITIONS_DRAWER: i18nLazyString$h(UIStrings$1c.requestConditionsDrawer),
|
|
97304
|
+
TIMELINE_PANEL: i18nLazyString$h(UIStrings$1c.timelinePanel),
|
|
97305
|
+
APPLICATION_PANEL: i18nLazyString$h(UIStrings$1c.applicationPanel),
|
|
97306
|
+
SOURCES_PANEL: i18nLazyString$h(UIStrings$1c.sourcesPanel),
|
|
97307
|
+
MEMORY_INSPECTOR_PANEL: i18nLazyString$h(UIStrings$1c.memoryInspectorPanel),
|
|
97308
|
+
ANIMATIONS_PANEL: i18nLazyString$h(UIStrings$1c.animationsPanel),
|
|
97310
97309
|
};
|
|
97311
97310
|
|
|
97312
97311
|
var Revealer = /*#__PURE__*/Object.freeze({
|
|
@@ -97319,17 +97318,16 @@ var Revealer = /*#__PURE__*/Object.freeze({
|
|
|
97319
97318
|
});
|
|
97320
97319
|
|
|
97321
97320
|
// Copyright 2014 The Chromium Authors
|
|
97322
|
-
let consoleInstance;
|
|
97323
97321
|
class Console extends ObjectWrapper {
|
|
97324
97322
|
#messages = [];
|
|
97325
97323
|
static instance(opts) {
|
|
97326
|
-
if (!
|
|
97327
|
-
|
|
97324
|
+
if (!globalInstance().has(Console) || opts?.forceNew) {
|
|
97325
|
+
globalInstance().set(Console, new Console());
|
|
97328
97326
|
}
|
|
97329
|
-
return
|
|
97327
|
+
return globalInstance().get(Console);
|
|
97330
97328
|
}
|
|
97331
97329
|
static removeInstance() {
|
|
97332
|
-
|
|
97330
|
+
globalInstance().delete(Console);
|
|
97333
97331
|
}
|
|
97334
97332
|
addMessage(text, level = "info" , show = false, source) {
|
|
97335
97333
|
const message = new Message$1(text, level, Date.now(), show, source);
|
|
@@ -98278,7 +98276,7 @@ var ResolverBase$1 = /*#__PURE__*/Object.freeze({
|
|
|
98278
98276
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
98279
98277
|
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
98280
98278
|
*/
|
|
98281
|
-
const UIStrings$
|
|
98279
|
+
const UIStrings$1b = {
|
|
98282
98280
|
fetchAndXHR: '`Fetch` and `XHR`',
|
|
98283
98281
|
javascript: 'JavaScript',
|
|
98284
98282
|
js: 'JS',
|
|
@@ -98308,8 +98306,8 @@ const UIStrings$1a = {
|
|
|
98308
98306
|
preflight: 'Preflight',
|
|
98309
98307
|
fedcm: 'FedCM',
|
|
98310
98308
|
};
|
|
98311
|
-
const str_$
|
|
98312
|
-
const i18nLazyString$g = getLazilyComputedLocalizedString.bind(undefined, str_$
|
|
98309
|
+
const str_$1a = registerUIStrings('core/common/ResourceType.ts', UIStrings$1b);
|
|
98310
|
+
const i18nLazyString$g = getLazilyComputedLocalizedString.bind(undefined, str_$1a);
|
|
98313
98311
|
class ResourceType {
|
|
98314
98312
|
#name;
|
|
98315
98313
|
#title;
|
|
@@ -98479,43 +98477,43 @@ class ResourceCategory {
|
|
|
98479
98477
|
}
|
|
98480
98478
|
}
|
|
98481
98479
|
const resourceCategories = {
|
|
98482
|
-
XHR: new ResourceCategory('Fetch and XHR', i18nLazyString$g(UIStrings$
|
|
98483
|
-
Document: new ResourceCategory(UIStrings$
|
|
98484
|
-
Stylesheet: new ResourceCategory(UIStrings$
|
|
98485
|
-
Script: new ResourceCategory(UIStrings$
|
|
98486
|
-
Font: new ResourceCategory(UIStrings$
|
|
98487
|
-
Image: new ResourceCategory(UIStrings$
|
|
98488
|
-
Media: new ResourceCategory(UIStrings$
|
|
98489
|
-
Manifest: new ResourceCategory(UIStrings$
|
|
98490
|
-
Socket: new ResourceCategory('Socket', lockedLazyString('WebSocket | WebTransport | DirectSocket'), i18nLazyString$g(UIStrings$
|
|
98491
|
-
Wasm: new ResourceCategory(UIStrings$
|
|
98492
|
-
Other: new ResourceCategory(UIStrings$
|
|
98480
|
+
XHR: new ResourceCategory('Fetch and XHR', i18nLazyString$g(UIStrings$1b.fetchAndXHR), lockedLazyString('Fetch/XHR')),
|
|
98481
|
+
Document: new ResourceCategory(UIStrings$1b.document, i18nLazyString$g(UIStrings$1b.document), i18nLazyString$g(UIStrings$1b.doc)),
|
|
98482
|
+
Stylesheet: new ResourceCategory(UIStrings$1b.css, i18nLazyString$g(UIStrings$1b.css), i18nLazyString$g(UIStrings$1b.css)),
|
|
98483
|
+
Script: new ResourceCategory(UIStrings$1b.javascript, i18nLazyString$g(UIStrings$1b.javascript), i18nLazyString$g(UIStrings$1b.js)),
|
|
98484
|
+
Font: new ResourceCategory(UIStrings$1b.font, i18nLazyString$g(UIStrings$1b.font), i18nLazyString$g(UIStrings$1b.font)),
|
|
98485
|
+
Image: new ResourceCategory(UIStrings$1b.image, i18nLazyString$g(UIStrings$1b.image), i18nLazyString$g(UIStrings$1b.img)),
|
|
98486
|
+
Media: new ResourceCategory(UIStrings$1b.media, i18nLazyString$g(UIStrings$1b.media), i18nLazyString$g(UIStrings$1b.media)),
|
|
98487
|
+
Manifest: new ResourceCategory(UIStrings$1b.manifest, i18nLazyString$g(UIStrings$1b.manifest), i18nLazyString$g(UIStrings$1b.manifest)),
|
|
98488
|
+
Socket: new ResourceCategory('Socket', lockedLazyString('WebSocket | WebTransport | DirectSocket'), i18nLazyString$g(UIStrings$1b.socketShort)),
|
|
98489
|
+
Wasm: new ResourceCategory(UIStrings$1b.webassembly, i18nLazyString$g(UIStrings$1b.webassembly), i18nLazyString$g(UIStrings$1b.wasm)),
|
|
98490
|
+
Other: new ResourceCategory(UIStrings$1b.other, i18nLazyString$g(UIStrings$1b.other), i18nLazyString$g(UIStrings$1b.other)),
|
|
98493
98491
|
};
|
|
98494
98492
|
const resourceTypes = {
|
|
98495
|
-
Document: new ResourceType('document', i18nLazyString$g(UIStrings$
|
|
98496
|
-
Stylesheet: new ResourceType('stylesheet', i18nLazyString$g(UIStrings$
|
|
98497
|
-
Image: new ResourceType('image', i18nLazyString$g(UIStrings$
|
|
98498
|
-
Media: new ResourceType('media', i18nLazyString$g(UIStrings$
|
|
98499
|
-
Font: new ResourceType('font', i18nLazyString$g(UIStrings$
|
|
98500
|
-
Script: new ResourceType('script', i18nLazyString$g(UIStrings$
|
|
98501
|
-
TextTrack: new ResourceType('texttrack', i18nLazyString$g(UIStrings$
|
|
98493
|
+
Document: new ResourceType('document', i18nLazyString$g(UIStrings$1b.document), resourceCategories.Document, true),
|
|
98494
|
+
Stylesheet: new ResourceType('stylesheet', i18nLazyString$g(UIStrings$1b.stylesheet), resourceCategories.Stylesheet, true),
|
|
98495
|
+
Image: new ResourceType('image', i18nLazyString$g(UIStrings$1b.image), resourceCategories.Image, false),
|
|
98496
|
+
Media: new ResourceType('media', i18nLazyString$g(UIStrings$1b.media), resourceCategories.Media, false),
|
|
98497
|
+
Font: new ResourceType('font', i18nLazyString$g(UIStrings$1b.font), resourceCategories.Font, false),
|
|
98498
|
+
Script: new ResourceType('script', i18nLazyString$g(UIStrings$1b.script), resourceCategories.Script, true),
|
|
98499
|
+
TextTrack: new ResourceType('texttrack', i18nLazyString$g(UIStrings$1b.texttrack), resourceCategories.Other, true),
|
|
98502
98500
|
XHR: new ResourceType('xhr', lockedLazyString('XHR'), resourceCategories.XHR, true),
|
|
98503
|
-
Fetch: new ResourceType('fetch', i18nLazyString$g(UIStrings$
|
|
98501
|
+
Fetch: new ResourceType('fetch', i18nLazyString$g(UIStrings$1b.fetch), resourceCategories.XHR, true),
|
|
98504
98502
|
Prefetch: new ResourceType('prefetch', lockedLazyString('Prefetch'), resourceCategories.Document, true),
|
|
98505
|
-
EventSource: new ResourceType('eventsource', i18nLazyString$g(UIStrings$
|
|
98506
|
-
WebSocket: new ResourceType('websocket', i18nLazyString$g(UIStrings$
|
|
98507
|
-
WebTransport: new ResourceType('webtransport', i18nLazyString$g(UIStrings$
|
|
98508
|
-
DirectSocket: new ResourceType('directsocket', i18nLazyString$g(UIStrings$
|
|
98509
|
-
Wasm: new ResourceType('wasm', i18nLazyString$g(UIStrings$
|
|
98510
|
-
Manifest: new ResourceType('manifest', i18nLazyString$g(UIStrings$
|
|
98511
|
-
SignedExchange: new ResourceType('signed-exchange', i18nLazyString$g(UIStrings$
|
|
98512
|
-
Ping: new ResourceType('ping', i18nLazyString$g(UIStrings$
|
|
98513
|
-
CSPViolationReport: new ResourceType('csp-violation-report', i18nLazyString$g(UIStrings$
|
|
98514
|
-
Other: new ResourceType('other', i18nLazyString$g(UIStrings$
|
|
98515
|
-
Preflight: new ResourceType('preflight', i18nLazyString$g(UIStrings$
|
|
98516
|
-
SourceMapScript: new ResourceType('sm-script', i18nLazyString$g(UIStrings$
|
|
98517
|
-
SourceMapStyleSheet: new ResourceType('sm-stylesheet', i18nLazyString$g(UIStrings$
|
|
98518
|
-
FedCM: new ResourceType('fedcm', i18nLazyString$g(UIStrings$
|
|
98503
|
+
EventSource: new ResourceType('eventsource', i18nLazyString$g(UIStrings$1b.eventsource), resourceCategories.XHR, true),
|
|
98504
|
+
WebSocket: new ResourceType('websocket', i18nLazyString$g(UIStrings$1b.websocket), resourceCategories.Socket, false),
|
|
98505
|
+
WebTransport: new ResourceType('webtransport', i18nLazyString$g(UIStrings$1b.webtransport), resourceCategories.Socket, false),
|
|
98506
|
+
DirectSocket: new ResourceType('directsocket', i18nLazyString$g(UIStrings$1b.directsocket), resourceCategories.Socket, false),
|
|
98507
|
+
Wasm: new ResourceType('wasm', i18nLazyString$g(UIStrings$1b.wasm), resourceCategories.Wasm, false),
|
|
98508
|
+
Manifest: new ResourceType('manifest', i18nLazyString$g(UIStrings$1b.manifest), resourceCategories.Manifest, true),
|
|
98509
|
+
SignedExchange: new ResourceType('signed-exchange', i18nLazyString$g(UIStrings$1b.signedexchange), resourceCategories.Other, false),
|
|
98510
|
+
Ping: new ResourceType('ping', i18nLazyString$g(UIStrings$1b.ping), resourceCategories.Other, false),
|
|
98511
|
+
CSPViolationReport: new ResourceType('csp-violation-report', i18nLazyString$g(UIStrings$1b.cspviolationreport), resourceCategories.Other, false),
|
|
98512
|
+
Other: new ResourceType('other', i18nLazyString$g(UIStrings$1b.other), resourceCategories.Other, false),
|
|
98513
|
+
Preflight: new ResourceType('preflight', i18nLazyString$g(UIStrings$1b.preflight), resourceCategories.Other, true),
|
|
98514
|
+
SourceMapScript: new ResourceType('sm-script', i18nLazyString$g(UIStrings$1b.script), resourceCategories.Script, true),
|
|
98515
|
+
SourceMapStyleSheet: new ResourceType('sm-stylesheet', i18nLazyString$g(UIStrings$1b.stylesheet), resourceCategories.Stylesheet, true),
|
|
98516
|
+
FedCM: new ResourceType('fedcm', i18nLazyString$g(UIStrings$1b.fedcm), resourceCategories.Other, false),
|
|
98519
98517
|
};
|
|
98520
98518
|
const mimeTypeByName = new Map([
|
|
98521
98519
|
['Cakefile', 'text/x-coffeescript'],
|
|
@@ -98748,7 +98746,7 @@ var SegmentedRange$1 = /*#__PURE__*/Object.freeze({
|
|
|
98748
98746
|
});
|
|
98749
98747
|
|
|
98750
98748
|
// Copyright 2020 The Chromium Authors
|
|
98751
|
-
const UIStrings$
|
|
98749
|
+
const UIStrings$1a = {
|
|
98752
98750
|
elements: 'Elements',
|
|
98753
98751
|
ai: 'AI',
|
|
98754
98752
|
appearance: 'Appearance',
|
|
@@ -98768,8 +98766,8 @@ const UIStrings$19 = {
|
|
|
98768
98766
|
account: 'Account',
|
|
98769
98767
|
privacy: 'Privacy',
|
|
98770
98768
|
};
|
|
98771
|
-
const str_$
|
|
98772
|
-
const i18nString$
|
|
98769
|
+
const str_$19 = registerUIStrings('core/common/SettingRegistration.ts', UIStrings$1a);
|
|
98770
|
+
const i18nString$S = getLocalizedString.bind(undefined, str_$19);
|
|
98773
98771
|
let registeredSettings = [];
|
|
98774
98772
|
const settingNameSet = new Set();
|
|
98775
98773
|
function registerSettingExtension(registration) {
|
|
@@ -98811,45 +98809,45 @@ function maybeRemoveSettingExtension(settingName) {
|
|
|
98811
98809
|
function getLocalizedSettingsCategory(category) {
|
|
98812
98810
|
switch (category) {
|
|
98813
98811
|
case "ELEMENTS" :
|
|
98814
|
-
return i18nString$
|
|
98812
|
+
return i18nString$S(UIStrings$1a.elements);
|
|
98815
98813
|
case "AI" :
|
|
98816
|
-
return i18nString$
|
|
98814
|
+
return i18nString$S(UIStrings$1a.ai);
|
|
98817
98815
|
case "APPEARANCE" :
|
|
98818
|
-
return i18nString$
|
|
98816
|
+
return i18nString$S(UIStrings$1a.appearance);
|
|
98819
98817
|
case "SOURCES" :
|
|
98820
|
-
return i18nString$
|
|
98818
|
+
return i18nString$S(UIStrings$1a.sources);
|
|
98821
98819
|
case "NETWORK" :
|
|
98822
|
-
return i18nString$
|
|
98820
|
+
return i18nString$S(UIStrings$1a.network);
|
|
98823
98821
|
case "PERFORMANCE" :
|
|
98824
|
-
return i18nString$
|
|
98822
|
+
return i18nString$S(UIStrings$1a.performance);
|
|
98825
98823
|
case "CONSOLE" :
|
|
98826
|
-
return i18nString$
|
|
98824
|
+
return i18nString$S(UIStrings$1a.console);
|
|
98827
98825
|
case "PERSISTENCE" :
|
|
98828
|
-
return i18nString$
|
|
98826
|
+
return i18nString$S(UIStrings$1a.persistence);
|
|
98829
98827
|
case "DEBUGGER" :
|
|
98830
|
-
return i18nString$
|
|
98828
|
+
return i18nString$S(UIStrings$1a.debugger);
|
|
98831
98829
|
case "GLOBAL" :
|
|
98832
|
-
return i18nString$
|
|
98830
|
+
return i18nString$S(UIStrings$1a.global);
|
|
98833
98831
|
case "RENDERING" :
|
|
98834
|
-
return i18nString$
|
|
98832
|
+
return i18nString$S(UIStrings$1a.rendering);
|
|
98835
98833
|
case "GRID" :
|
|
98836
|
-
return i18nString$
|
|
98834
|
+
return i18nString$S(UIStrings$1a.grid);
|
|
98837
98835
|
case "MOBILE" :
|
|
98838
|
-
return i18nString$
|
|
98836
|
+
return i18nString$S(UIStrings$1a.mobile);
|
|
98839
98837
|
case "EMULATION" :
|
|
98840
|
-
return i18nString$
|
|
98838
|
+
return i18nString$S(UIStrings$1a.console);
|
|
98841
98839
|
case "MEMORY" :
|
|
98842
|
-
return i18nString$
|
|
98840
|
+
return i18nString$S(UIStrings$1a.memory);
|
|
98843
98841
|
case "EXTENSIONS" :
|
|
98844
|
-
return i18nString$
|
|
98842
|
+
return i18nString$S(UIStrings$1a.extension);
|
|
98845
98843
|
case "ADORNER" :
|
|
98846
|
-
return i18nString$
|
|
98844
|
+
return i18nString$S(UIStrings$1a.adorner);
|
|
98847
98845
|
case "" :
|
|
98848
98846
|
return lockedString('');
|
|
98849
98847
|
case "ACCOUNT" :
|
|
98850
|
-
return i18nString$
|
|
98848
|
+
return i18nString$S(UIStrings$1a.account);
|
|
98851
98849
|
case "PRIVACY" :
|
|
98852
|
-
return i18nString$
|
|
98850
|
+
return i18nString$S(UIStrings$1a.privacy);
|
|
98853
98851
|
}
|
|
98854
98852
|
}
|
|
98855
98853
|
|
|
@@ -98864,7 +98862,6 @@ var SettingRegistration = /*#__PURE__*/Object.freeze({
|
|
|
98864
98862
|
});
|
|
98865
98863
|
|
|
98866
98864
|
// Copyright 2009 The Chromium Authors
|
|
98867
|
-
let settingsInstance;
|
|
98868
98865
|
class Settings {
|
|
98869
98866
|
syncedStorage;
|
|
98870
98867
|
globalStorage;
|
|
@@ -98905,20 +98902,27 @@ class Settings {
|
|
|
98905
98902
|
return this.#settingRegistrations;
|
|
98906
98903
|
}
|
|
98907
98904
|
static hasInstance() {
|
|
98908
|
-
return
|
|
98905
|
+
return globalInstance().has(Settings);
|
|
98909
98906
|
}
|
|
98910
98907
|
static instance(opts = { forceNew: null, syncedStorage: null, globalStorage: null, localStorage: null, settingRegistrations: null }) {
|
|
98911
98908
|
const { forceNew, syncedStorage, globalStorage, localStorage, settingRegistrations, logSettingAccess, runSettingsMigration } = opts;
|
|
98912
|
-
if (!
|
|
98909
|
+
if (!globalInstance().has(Settings) || forceNew) {
|
|
98913
98910
|
if (!syncedStorage || !globalStorage || !localStorage || !settingRegistrations) {
|
|
98914
98911
|
throw new Error(`Unable to create settings: global and local storage must be provided: ${new Error().stack}`);
|
|
98915
98912
|
}
|
|
98916
|
-
|
|
98913
|
+
globalInstance().set(Settings, new Settings({
|
|
98914
|
+
syncedStorage,
|
|
98915
|
+
globalStorage,
|
|
98916
|
+
localStorage,
|
|
98917
|
+
settingRegistrations,
|
|
98918
|
+
logSettingAccess,
|
|
98919
|
+
runSettingsMigration
|
|
98920
|
+
}));
|
|
98917
98921
|
}
|
|
98918
|
-
return
|
|
98922
|
+
return globalInstance().get(Settings);
|
|
98919
98923
|
}
|
|
98920
98924
|
static removeInstance() {
|
|
98921
|
-
|
|
98925
|
+
globalInstance().delete(Settings);
|
|
98922
98926
|
}
|
|
98923
98927
|
registerModuleSetting(setting) {
|
|
98924
98928
|
const settingName = setting.name;
|
|
@@ -100483,7 +100487,7 @@ var common = /*#__PURE__*/Object.freeze({
|
|
|
100483
100487
|
});
|
|
100484
100488
|
|
|
100485
100489
|
// Copyright 2020 The Chromium Authors
|
|
100486
|
-
const UIStrings$
|
|
100490
|
+
const UIStrings$19 = {
|
|
100487
100491
|
preserveLogUponNavigation: 'Preserve log upon navigation',
|
|
100488
100492
|
doNotPreserveLogUponNavigation: 'Do not preserve log upon navigation',
|
|
100489
100493
|
pauseOnExceptions: 'Pause on exceptions',
|
|
@@ -100583,23 +100587,23 @@ const UIStrings$18 = {
|
|
|
100583
100587
|
disableCssSourceMaps: 'Disable CSS source maps',
|
|
100584
100588
|
logXmlhttprequests: 'Log XMLHttpRequests',
|
|
100585
100589
|
};
|
|
100586
|
-
const str_$
|
|
100587
|
-
const i18nLazyString$f = getLazilyComputedLocalizedString.bind(undefined, str_$
|
|
100590
|
+
const str_$18 = registerUIStrings('core/sdk/sdk-meta.ts', UIStrings$19);
|
|
100591
|
+
const i18nLazyString$f = getLazilyComputedLocalizedString.bind(undefined, str_$18);
|
|
100588
100592
|
registerSettingExtension({
|
|
100589
100593
|
category: "CONSOLE" ,
|
|
100590
100594
|
storageType: "Synced" ,
|
|
100591
|
-
title: i18nLazyString$f(UIStrings$
|
|
100595
|
+
title: i18nLazyString$f(UIStrings$19.preserveLogUponNavigation),
|
|
100592
100596
|
settingName: 'preserve-console-log',
|
|
100593
100597
|
settingType: "boolean" ,
|
|
100594
100598
|
defaultValue: false,
|
|
100595
100599
|
options: [
|
|
100596
100600
|
{
|
|
100597
100601
|
value: true,
|
|
100598
|
-
title: i18nLazyString$f(UIStrings$
|
|
100602
|
+
title: i18nLazyString$f(UIStrings$19.preserveLogUponNavigation),
|
|
100599
100603
|
},
|
|
100600
100604
|
{
|
|
100601
100605
|
value: false,
|
|
100602
|
-
title: i18nLazyString$f(UIStrings$
|
|
100606
|
+
title: i18nLazyString$f(UIStrings$19.doNotPreserveLogUponNavigation),
|
|
100603
100607
|
},
|
|
100604
100608
|
],
|
|
100605
100609
|
});
|
|
@@ -100611,11 +100615,11 @@ registerSettingExtension({
|
|
|
100611
100615
|
options: [
|
|
100612
100616
|
{
|
|
100613
100617
|
value: true,
|
|
100614
|
-
title: i18nLazyString$f(UIStrings$
|
|
100618
|
+
title: i18nLazyString$f(UIStrings$19.pauseOnExceptions),
|
|
100615
100619
|
},
|
|
100616
100620
|
{
|
|
100617
100621
|
value: false,
|
|
100618
|
-
title: i18nLazyString$f(UIStrings$
|
|
100622
|
+
title: i18nLazyString$f(UIStrings$19.doNotPauseOnExceptions),
|
|
100619
100623
|
},
|
|
100620
100624
|
],
|
|
100621
100625
|
});
|
|
@@ -100631,7 +100635,7 @@ registerSettingExtension({
|
|
|
100631
100635
|
});
|
|
100632
100636
|
registerSettingExtension({
|
|
100633
100637
|
category: "DEBUGGER" ,
|
|
100634
|
-
title: i18nLazyString$f(UIStrings$
|
|
100638
|
+
title: i18nLazyString$f(UIStrings$19.disableJavascript),
|
|
100635
100639
|
settingName: 'java-script-disabled',
|
|
100636
100640
|
settingType: "boolean" ,
|
|
100637
100641
|
storageType: "Session" ,
|
|
@@ -100640,17 +100644,17 @@ registerSettingExtension({
|
|
|
100640
100644
|
options: [
|
|
100641
100645
|
{
|
|
100642
100646
|
value: true,
|
|
100643
|
-
title: i18nLazyString$f(UIStrings$
|
|
100647
|
+
title: i18nLazyString$f(UIStrings$19.disableJavascript),
|
|
100644
100648
|
},
|
|
100645
100649
|
{
|
|
100646
100650
|
value: false,
|
|
100647
|
-
title: i18nLazyString$f(UIStrings$
|
|
100651
|
+
title: i18nLazyString$f(UIStrings$19.enableJavascript),
|
|
100648
100652
|
},
|
|
100649
100653
|
],
|
|
100650
100654
|
});
|
|
100651
100655
|
registerSettingExtension({
|
|
100652
100656
|
category: "DEBUGGER" ,
|
|
100653
|
-
title: i18nLazyString$f(UIStrings$
|
|
100657
|
+
title: i18nLazyString$f(UIStrings$19.disableAsyncStackTraces),
|
|
100654
100658
|
settingName: 'disable-async-stack-traces',
|
|
100655
100659
|
settingType: "boolean" ,
|
|
100656
100660
|
defaultValue: false,
|
|
@@ -100658,11 +100662,11 @@ registerSettingExtension({
|
|
|
100658
100662
|
options: [
|
|
100659
100663
|
{
|
|
100660
100664
|
value: true,
|
|
100661
|
-
title: i18nLazyString$f(UIStrings$
|
|
100665
|
+
title: i18nLazyString$f(UIStrings$19.doNotCaptureAsyncStackTraces),
|
|
100662
100666
|
},
|
|
100663
100667
|
{
|
|
100664
100668
|
value: false,
|
|
100665
|
-
title: i18nLazyString$f(UIStrings$
|
|
100669
|
+
title: i18nLazyString$f(UIStrings$19.captureAsyncStackTraces),
|
|
100666
100670
|
},
|
|
100667
100671
|
],
|
|
100668
100672
|
});
|
|
@@ -100676,17 +100680,17 @@ registerSettingExtension({
|
|
|
100676
100680
|
registerSettingExtension({
|
|
100677
100681
|
category: "ELEMENTS" ,
|
|
100678
100682
|
storageType: "Synced" ,
|
|
100679
|
-
title: i18nLazyString$f(UIStrings$
|
|
100683
|
+
title: i18nLazyString$f(UIStrings$19.rulersOnHover),
|
|
100680
100684
|
settingName: 'show-metrics-rulers',
|
|
100681
100685
|
settingType: "boolean" ,
|
|
100682
100686
|
options: [
|
|
100683
100687
|
{
|
|
100684
100688
|
value: true,
|
|
100685
|
-
title: i18nLazyString$f(UIStrings$
|
|
100689
|
+
title: i18nLazyString$f(UIStrings$19.showRulersOnHover),
|
|
100686
100690
|
},
|
|
100687
100691
|
{
|
|
100688
100692
|
value: false,
|
|
100689
|
-
title: i18nLazyString$f(UIStrings$
|
|
100693
|
+
title: i18nLazyString$f(UIStrings$19.doNotShowRulersOnHover),
|
|
100690
100694
|
},
|
|
100691
100695
|
],
|
|
100692
100696
|
defaultValue: false,
|
|
@@ -100694,17 +100698,17 @@ registerSettingExtension({
|
|
|
100694
100698
|
registerSettingExtension({
|
|
100695
100699
|
category: "GRID" ,
|
|
100696
100700
|
storageType: "Synced" ,
|
|
100697
|
-
title: i18nLazyString$f(UIStrings$
|
|
100701
|
+
title: i18nLazyString$f(UIStrings$19.showAreaNames),
|
|
100698
100702
|
settingName: 'show-grid-areas',
|
|
100699
100703
|
settingType: "boolean" ,
|
|
100700
100704
|
options: [
|
|
100701
100705
|
{
|
|
100702
100706
|
value: true,
|
|
100703
|
-
title: i18nLazyString$f(UIStrings$
|
|
100707
|
+
title: i18nLazyString$f(UIStrings$19.showGridNamedAreas),
|
|
100704
100708
|
},
|
|
100705
100709
|
{
|
|
100706
100710
|
value: false,
|
|
100707
|
-
title: i18nLazyString$f(UIStrings$
|
|
100711
|
+
title: i18nLazyString$f(UIStrings$19.doNotShowGridNamedAreas),
|
|
100708
100712
|
},
|
|
100709
100713
|
],
|
|
100710
100714
|
defaultValue: false,
|
|
@@ -100712,17 +100716,17 @@ registerSettingExtension({
|
|
|
100712
100716
|
registerSettingExtension({
|
|
100713
100717
|
category: "GRID" ,
|
|
100714
100718
|
storageType: "Synced" ,
|
|
100715
|
-
title: i18nLazyString$f(UIStrings$
|
|
100719
|
+
title: i18nLazyString$f(UIStrings$19.showTrackSizes),
|
|
100716
100720
|
settingName: 'show-grid-track-sizes',
|
|
100717
100721
|
settingType: "boolean" ,
|
|
100718
100722
|
options: [
|
|
100719
100723
|
{
|
|
100720
100724
|
value: true,
|
|
100721
|
-
title: i18nLazyString$f(UIStrings$
|
|
100725
|
+
title: i18nLazyString$f(UIStrings$19.showGridTrackSizes),
|
|
100722
100726
|
},
|
|
100723
100727
|
{
|
|
100724
100728
|
value: false,
|
|
100725
|
-
title: i18nLazyString$f(UIStrings$
|
|
100729
|
+
title: i18nLazyString$f(UIStrings$19.doNotShowGridTrackSizes),
|
|
100726
100730
|
},
|
|
100727
100731
|
],
|
|
100728
100732
|
defaultValue: false,
|
|
@@ -100730,17 +100734,17 @@ registerSettingExtension({
|
|
|
100730
100734
|
registerSettingExtension({
|
|
100731
100735
|
category: "GRID" ,
|
|
100732
100736
|
storageType: "Synced" ,
|
|
100733
|
-
title: i18nLazyString$f(UIStrings$
|
|
100737
|
+
title: i18nLazyString$f(UIStrings$19.extendGridLines),
|
|
100734
100738
|
settingName: 'extend-grid-lines',
|
|
100735
100739
|
settingType: "boolean" ,
|
|
100736
100740
|
options: [
|
|
100737
100741
|
{
|
|
100738
100742
|
value: true,
|
|
100739
|
-
title: i18nLazyString$f(UIStrings$
|
|
100743
|
+
title: i18nLazyString$f(UIStrings$19.extendGridLines),
|
|
100740
100744
|
},
|
|
100741
100745
|
{
|
|
100742
100746
|
value: false,
|
|
100743
|
-
title: i18nLazyString$f(UIStrings$
|
|
100747
|
+
title: i18nLazyString$f(UIStrings$19.doNotExtendGridLines),
|
|
100744
100748
|
},
|
|
100745
100749
|
],
|
|
100746
100750
|
defaultValue: false,
|
|
@@ -100748,23 +100752,23 @@ registerSettingExtension({
|
|
|
100748
100752
|
registerSettingExtension({
|
|
100749
100753
|
category: "GRID" ,
|
|
100750
100754
|
storageType: "Synced" ,
|
|
100751
|
-
title: i18nLazyString$f(UIStrings$
|
|
100755
|
+
title: i18nLazyString$f(UIStrings$19.showLineLabels),
|
|
100752
100756
|
settingName: 'show-grid-line-labels',
|
|
100753
100757
|
settingType: "enum" ,
|
|
100754
100758
|
options: [
|
|
100755
100759
|
{
|
|
100756
|
-
title: i18nLazyString$f(UIStrings$
|
|
100757
|
-
text: i18nLazyString$f(UIStrings$
|
|
100760
|
+
title: i18nLazyString$f(UIStrings$19.hideLineLabels),
|
|
100761
|
+
text: i18nLazyString$f(UIStrings$19.hideLineLabels),
|
|
100758
100762
|
value: 'none',
|
|
100759
100763
|
},
|
|
100760
100764
|
{
|
|
100761
|
-
title: i18nLazyString$f(UIStrings$
|
|
100762
|
-
text: i18nLazyString$f(UIStrings$
|
|
100765
|
+
title: i18nLazyString$f(UIStrings$19.showLineNumbers),
|
|
100766
|
+
text: i18nLazyString$f(UIStrings$19.showLineNumbers),
|
|
100763
100767
|
value: 'lineNumbers',
|
|
100764
100768
|
},
|
|
100765
100769
|
{
|
|
100766
|
-
title: i18nLazyString$f(UIStrings$
|
|
100767
|
-
text: i18nLazyString$f(UIStrings$
|
|
100770
|
+
title: i18nLazyString$f(UIStrings$19.showLineNames),
|
|
100771
|
+
text: i18nLazyString$f(UIStrings$19.showLineNames),
|
|
100768
100772
|
value: 'lineNames',
|
|
100769
100773
|
},
|
|
100770
100774
|
],
|
|
@@ -100778,11 +100782,11 @@ registerSettingExtension({
|
|
|
100778
100782
|
options: [
|
|
100779
100783
|
{
|
|
100780
100784
|
value: true,
|
|
100781
|
-
title: i18nLazyString$f(UIStrings$
|
|
100785
|
+
title: i18nLazyString$f(UIStrings$19.showPaintFlashingRectangles),
|
|
100782
100786
|
},
|
|
100783
100787
|
{
|
|
100784
100788
|
value: false,
|
|
100785
|
-
title: i18nLazyString$f(UIStrings$
|
|
100789
|
+
title: i18nLazyString$f(UIStrings$19.hidePaintFlashingRectangles),
|
|
100786
100790
|
},
|
|
100787
100791
|
],
|
|
100788
100792
|
defaultValue: false,
|
|
@@ -100795,11 +100799,11 @@ registerSettingExtension({
|
|
|
100795
100799
|
options: [
|
|
100796
100800
|
{
|
|
100797
100801
|
value: true,
|
|
100798
|
-
title: i18nLazyString$f(UIStrings$
|
|
100802
|
+
title: i18nLazyString$f(UIStrings$19.showLayoutShiftRegions),
|
|
100799
100803
|
},
|
|
100800
100804
|
{
|
|
100801
100805
|
value: false,
|
|
100802
|
-
title: i18nLazyString$f(UIStrings$
|
|
100806
|
+
title: i18nLazyString$f(UIStrings$19.hideLayoutShiftRegions),
|
|
100803
100807
|
},
|
|
100804
100808
|
],
|
|
100805
100809
|
defaultValue: false,
|
|
@@ -100812,11 +100816,11 @@ registerSettingExtension({
|
|
|
100812
100816
|
options: [
|
|
100813
100817
|
{
|
|
100814
100818
|
value: true,
|
|
100815
|
-
title: i18nLazyString$f(UIStrings$
|
|
100819
|
+
title: i18nLazyString$f(UIStrings$19.highlightAdFrames),
|
|
100816
100820
|
},
|
|
100817
100821
|
{
|
|
100818
100822
|
value: false,
|
|
100819
|
-
title: i18nLazyString$f(UIStrings$
|
|
100823
|
+
title: i18nLazyString$f(UIStrings$19.doNotHighlightAdFrames),
|
|
100820
100824
|
},
|
|
100821
100825
|
],
|
|
100822
100826
|
defaultValue: false,
|
|
@@ -100829,11 +100833,11 @@ registerSettingExtension({
|
|
|
100829
100833
|
options: [
|
|
100830
100834
|
{
|
|
100831
100835
|
value: true,
|
|
100832
|
-
title: i18nLazyString$f(UIStrings$
|
|
100836
|
+
title: i18nLazyString$f(UIStrings$19.showLayerBorders),
|
|
100833
100837
|
},
|
|
100834
100838
|
{
|
|
100835
100839
|
value: false,
|
|
100836
|
-
title: i18nLazyString$f(UIStrings$
|
|
100840
|
+
title: i18nLazyString$f(UIStrings$19.hideLayerBorders),
|
|
100837
100841
|
},
|
|
100838
100842
|
],
|
|
100839
100843
|
defaultValue: false,
|
|
@@ -100846,11 +100850,11 @@ registerSettingExtension({
|
|
|
100846
100850
|
options: [
|
|
100847
100851
|
{
|
|
100848
100852
|
value: true,
|
|
100849
|
-
title: i18nLazyString$f(UIStrings$
|
|
100853
|
+
title: i18nLazyString$f(UIStrings$19.showFramesPerSecondFpsMeter),
|
|
100850
100854
|
},
|
|
100851
100855
|
{
|
|
100852
100856
|
value: false,
|
|
100853
|
-
title: i18nLazyString$f(UIStrings$
|
|
100857
|
+
title: i18nLazyString$f(UIStrings$19.hideFramesPerSecondFpsMeter),
|
|
100854
100858
|
},
|
|
100855
100859
|
],
|
|
100856
100860
|
defaultValue: false,
|
|
@@ -100863,18 +100867,18 @@ registerSettingExtension({
|
|
|
100863
100867
|
options: [
|
|
100864
100868
|
{
|
|
100865
100869
|
value: true,
|
|
100866
|
-
title: i18nLazyString$f(UIStrings$
|
|
100870
|
+
title: i18nLazyString$f(UIStrings$19.showScrollPerformanceBottlenecks),
|
|
100867
100871
|
},
|
|
100868
100872
|
{
|
|
100869
100873
|
value: false,
|
|
100870
|
-
title: i18nLazyString$f(UIStrings$
|
|
100874
|
+
title: i18nLazyString$f(UIStrings$19.hideScrollPerformanceBottlenecks),
|
|
100871
100875
|
},
|
|
100872
100876
|
],
|
|
100873
100877
|
defaultValue: false,
|
|
100874
100878
|
});
|
|
100875
100879
|
registerSettingExtension({
|
|
100876
100880
|
category: "RENDERING" ,
|
|
100877
|
-
title: i18nLazyString$f(UIStrings$
|
|
100881
|
+
title: i18nLazyString$f(UIStrings$19.emulateAFocusedPage),
|
|
100878
100882
|
settingName: 'emulate-page-focus',
|
|
100879
100883
|
settingType: "boolean" ,
|
|
100880
100884
|
storageType: "Local" ,
|
|
@@ -100882,11 +100886,11 @@ registerSettingExtension({
|
|
|
100882
100886
|
options: [
|
|
100883
100887
|
{
|
|
100884
100888
|
value: true,
|
|
100885
|
-
title: i18nLazyString$f(UIStrings$
|
|
100889
|
+
title: i18nLazyString$f(UIStrings$19.emulateAFocusedPage),
|
|
100886
100890
|
},
|
|
100887
100891
|
{
|
|
100888
100892
|
value: false,
|
|
100889
|
-
title: i18nLazyString$f(UIStrings$
|
|
100893
|
+
title: i18nLazyString$f(UIStrings$19.doNotEmulateAFocusedPage),
|
|
100890
100894
|
},
|
|
100891
100895
|
],
|
|
100892
100896
|
});
|
|
@@ -100898,25 +100902,25 @@ registerSettingExtension({
|
|
|
100898
100902
|
defaultValue: '',
|
|
100899
100903
|
options: [
|
|
100900
100904
|
{
|
|
100901
|
-
title: i18nLazyString$f(UIStrings$
|
|
100902
|
-
text: i18nLazyString$f(UIStrings$
|
|
100905
|
+
title: i18nLazyString$f(UIStrings$19.doNotEmulateCssMediaType),
|
|
100906
|
+
text: i18nLazyString$f(UIStrings$19.noEmulation),
|
|
100903
100907
|
value: '',
|
|
100904
100908
|
},
|
|
100905
100909
|
{
|
|
100906
|
-
title: i18nLazyString$f(UIStrings$
|
|
100907
|
-
text: i18nLazyString$f(UIStrings$
|
|
100910
|
+
title: i18nLazyString$f(UIStrings$19.emulateCssPrintMediaType),
|
|
100911
|
+
text: i18nLazyString$f(UIStrings$19.print),
|
|
100908
100912
|
value: 'print',
|
|
100909
100913
|
},
|
|
100910
100914
|
{
|
|
100911
|
-
title: i18nLazyString$f(UIStrings$
|
|
100912
|
-
text: i18nLazyString$f(UIStrings$
|
|
100915
|
+
title: i18nLazyString$f(UIStrings$19.emulateCssScreenMediaType),
|
|
100916
|
+
text: i18nLazyString$f(UIStrings$19.screen),
|
|
100913
100917
|
value: 'screen',
|
|
100914
100918
|
},
|
|
100915
100919
|
],
|
|
100916
100920
|
tags: [
|
|
100917
|
-
i18nLazyString$f(UIStrings$
|
|
100921
|
+
i18nLazyString$f(UIStrings$19.query),
|
|
100918
100922
|
],
|
|
100919
|
-
title: i18nLazyString$f(UIStrings$
|
|
100923
|
+
title: i18nLazyString$f(UIStrings$19.emulateCssMediaType),
|
|
100920
100924
|
});
|
|
100921
100925
|
registerSettingExtension({
|
|
100922
100926
|
category: "RENDERING" ,
|
|
@@ -100926,25 +100930,25 @@ registerSettingExtension({
|
|
|
100926
100930
|
defaultValue: '',
|
|
100927
100931
|
options: [
|
|
100928
100932
|
{
|
|
100929
|
-
title: i18nLazyString$f(UIStrings$
|
|
100930
|
-
text: i18nLazyString$f(UIStrings$
|
|
100933
|
+
title: i18nLazyString$f(UIStrings$19.doNotEmulateCss, { PH1: 'prefers-color-scheme' }),
|
|
100934
|
+
text: i18nLazyString$f(UIStrings$19.noEmulation),
|
|
100931
100935
|
value: '',
|
|
100932
100936
|
},
|
|
100933
100937
|
{
|
|
100934
|
-
title: i18nLazyString$f(UIStrings$
|
|
100938
|
+
title: i18nLazyString$f(UIStrings$19.emulateCss, { PH1: 'prefers-color-scheme: light' }),
|
|
100935
100939
|
text: lockedLazyString('prefers-color-scheme: light'),
|
|
100936
100940
|
value: 'light',
|
|
100937
100941
|
},
|
|
100938
100942
|
{
|
|
100939
|
-
title: i18nLazyString$f(UIStrings$
|
|
100943
|
+
title: i18nLazyString$f(UIStrings$19.emulateCss, { PH1: 'prefers-color-scheme: dark' }),
|
|
100940
100944
|
text: lockedLazyString('prefers-color-scheme: dark'),
|
|
100941
100945
|
value: 'dark',
|
|
100942
100946
|
},
|
|
100943
100947
|
],
|
|
100944
100948
|
tags: [
|
|
100945
|
-
i18nLazyString$f(UIStrings$
|
|
100949
|
+
i18nLazyString$f(UIStrings$19.query),
|
|
100946
100950
|
],
|
|
100947
|
-
title: i18nLazyString$f(UIStrings$
|
|
100951
|
+
title: i18nLazyString$f(UIStrings$19.emulateCssMediaFeature, { PH1: 'prefers-color-scheme' }),
|
|
100948
100952
|
});
|
|
100949
100953
|
registerSettingExtension({
|
|
100950
100954
|
category: "RENDERING" ,
|
|
@@ -100954,25 +100958,25 @@ registerSettingExtension({
|
|
|
100954
100958
|
defaultValue: '',
|
|
100955
100959
|
options: [
|
|
100956
100960
|
{
|
|
100957
|
-
title: i18nLazyString$f(UIStrings$
|
|
100958
|
-
text: i18nLazyString$f(UIStrings$
|
|
100961
|
+
title: i18nLazyString$f(UIStrings$19.doNotEmulateCss, { PH1: 'forced-colors' }),
|
|
100962
|
+
text: i18nLazyString$f(UIStrings$19.noEmulation),
|
|
100959
100963
|
value: '',
|
|
100960
100964
|
},
|
|
100961
100965
|
{
|
|
100962
|
-
title: i18nLazyString$f(UIStrings$
|
|
100966
|
+
title: i18nLazyString$f(UIStrings$19.emulateCss, { PH1: 'forced-colors: active' }),
|
|
100963
100967
|
text: lockedLazyString('forced-colors: active'),
|
|
100964
100968
|
value: 'active',
|
|
100965
100969
|
},
|
|
100966
100970
|
{
|
|
100967
|
-
title: i18nLazyString$f(UIStrings$
|
|
100971
|
+
title: i18nLazyString$f(UIStrings$19.emulateCss, { PH1: 'forced-colors: none' }),
|
|
100968
100972
|
text: lockedLazyString('forced-colors: none'),
|
|
100969
100973
|
value: 'none',
|
|
100970
100974
|
},
|
|
100971
100975
|
],
|
|
100972
100976
|
tags: [
|
|
100973
|
-
i18nLazyString$f(UIStrings$
|
|
100977
|
+
i18nLazyString$f(UIStrings$19.query),
|
|
100974
100978
|
],
|
|
100975
|
-
title: i18nLazyString$f(UIStrings$
|
|
100979
|
+
title: i18nLazyString$f(UIStrings$19.emulateCssMediaFeature, { PH1: 'forced-colors' }),
|
|
100976
100980
|
});
|
|
100977
100981
|
registerSettingExtension({
|
|
100978
100982
|
category: "RENDERING" ,
|
|
@@ -100982,20 +100986,20 @@ registerSettingExtension({
|
|
|
100982
100986
|
defaultValue: '',
|
|
100983
100987
|
options: [
|
|
100984
100988
|
{
|
|
100985
|
-
title: i18nLazyString$f(UIStrings$
|
|
100986
|
-
text: i18nLazyString$f(UIStrings$
|
|
100989
|
+
title: i18nLazyString$f(UIStrings$19.doNotEmulateCss, { PH1: 'prefers-reduced-motion' }),
|
|
100990
|
+
text: i18nLazyString$f(UIStrings$19.noEmulation),
|
|
100987
100991
|
value: '',
|
|
100988
100992
|
},
|
|
100989
100993
|
{
|
|
100990
|
-
title: i18nLazyString$f(UIStrings$
|
|
100994
|
+
title: i18nLazyString$f(UIStrings$19.emulateCss, { PH1: 'prefers-reduced-motion: reduce' }),
|
|
100991
100995
|
text: lockedLazyString('prefers-reduced-motion: reduce'),
|
|
100992
100996
|
value: 'reduce',
|
|
100993
100997
|
},
|
|
100994
100998
|
],
|
|
100995
100999
|
tags: [
|
|
100996
|
-
i18nLazyString$f(UIStrings$
|
|
101000
|
+
i18nLazyString$f(UIStrings$19.query),
|
|
100997
101001
|
],
|
|
100998
|
-
title: i18nLazyString$f(UIStrings$
|
|
101002
|
+
title: i18nLazyString$f(UIStrings$19.emulateCssMediaFeature, { PH1: 'prefers-reduced-motion' }),
|
|
100999
101003
|
});
|
|
101000
101004
|
registerSettingExtension({
|
|
101001
101005
|
settingName: 'emulated-css-media-feature-prefers-contrast',
|
|
@@ -101004,30 +101008,30 @@ registerSettingExtension({
|
|
|
101004
101008
|
defaultValue: '',
|
|
101005
101009
|
options: [
|
|
101006
101010
|
{
|
|
101007
|
-
title: i18nLazyString$f(UIStrings$
|
|
101008
|
-
text: i18nLazyString$f(UIStrings$
|
|
101011
|
+
title: i18nLazyString$f(UIStrings$19.doNotEmulateCss, { PH1: 'prefers-contrast' }),
|
|
101012
|
+
text: i18nLazyString$f(UIStrings$19.noEmulation),
|
|
101009
101013
|
value: '',
|
|
101010
101014
|
},
|
|
101011
101015
|
{
|
|
101012
|
-
title: i18nLazyString$f(UIStrings$
|
|
101016
|
+
title: i18nLazyString$f(UIStrings$19.emulateCss, { PH1: 'prefers-contrast: more' }),
|
|
101013
101017
|
text: lockedLazyString('prefers-contrast: more'),
|
|
101014
101018
|
value: 'more',
|
|
101015
101019
|
},
|
|
101016
101020
|
{
|
|
101017
|
-
title: i18nLazyString$f(UIStrings$
|
|
101021
|
+
title: i18nLazyString$f(UIStrings$19.emulateCss, { PH1: 'prefers-contrast: less' }),
|
|
101018
101022
|
text: lockedLazyString('prefers-contrast: less'),
|
|
101019
101023
|
value: 'less',
|
|
101020
101024
|
},
|
|
101021
101025
|
{
|
|
101022
|
-
title: i18nLazyString$f(UIStrings$
|
|
101026
|
+
title: i18nLazyString$f(UIStrings$19.emulateCss, { PH1: 'prefers-contrast: custom' }),
|
|
101023
101027
|
text: lockedLazyString('prefers-contrast: custom'),
|
|
101024
101028
|
value: 'custom',
|
|
101025
101029
|
},
|
|
101026
101030
|
],
|
|
101027
101031
|
tags: [
|
|
101028
|
-
i18nLazyString$f(UIStrings$
|
|
101032
|
+
i18nLazyString$f(UIStrings$19.query),
|
|
101029
101033
|
],
|
|
101030
|
-
title: i18nLazyString$f(UIStrings$
|
|
101034
|
+
title: i18nLazyString$f(UIStrings$19.emulateCssMediaFeature, { PH1: 'prefers-contrast' }),
|
|
101031
101035
|
});
|
|
101032
101036
|
registerSettingExtension({
|
|
101033
101037
|
settingName: 'emulated-css-media-feature-prefers-reduced-data',
|
|
@@ -101036,17 +101040,17 @@ registerSettingExtension({
|
|
|
101036
101040
|
defaultValue: '',
|
|
101037
101041
|
options: [
|
|
101038
101042
|
{
|
|
101039
|
-
title: i18nLazyString$f(UIStrings$
|
|
101040
|
-
text: i18nLazyString$f(UIStrings$
|
|
101043
|
+
title: i18nLazyString$f(UIStrings$19.doNotEmulateCss, { PH1: 'prefers-reduced-data' }),
|
|
101044
|
+
text: i18nLazyString$f(UIStrings$19.noEmulation),
|
|
101041
101045
|
value: '',
|
|
101042
101046
|
},
|
|
101043
101047
|
{
|
|
101044
|
-
title: i18nLazyString$f(UIStrings$
|
|
101048
|
+
title: i18nLazyString$f(UIStrings$19.emulateCss, { PH1: 'prefers-reduced-data: reduce' }),
|
|
101045
101049
|
text: lockedLazyString('prefers-reduced-data: reduce'),
|
|
101046
101050
|
value: 'reduce',
|
|
101047
101051
|
},
|
|
101048
101052
|
],
|
|
101049
|
-
title: i18nLazyString$f(UIStrings$
|
|
101053
|
+
title: i18nLazyString$f(UIStrings$19.emulateCssMediaFeature, { PH1: 'prefers-reduced-data' }),
|
|
101050
101054
|
});
|
|
101051
101055
|
registerSettingExtension({
|
|
101052
101056
|
settingName: 'emulated-css-media-feature-prefers-reduced-transparency',
|
|
@@ -101055,17 +101059,17 @@ registerSettingExtension({
|
|
|
101055
101059
|
defaultValue: '',
|
|
101056
101060
|
options: [
|
|
101057
101061
|
{
|
|
101058
|
-
title: i18nLazyString$f(UIStrings$
|
|
101059
|
-
text: i18nLazyString$f(UIStrings$
|
|
101062
|
+
title: i18nLazyString$f(UIStrings$19.doNotEmulateCss, { PH1: 'prefers-reduced-transparency' }),
|
|
101063
|
+
text: i18nLazyString$f(UIStrings$19.noEmulation),
|
|
101060
101064
|
value: '',
|
|
101061
101065
|
},
|
|
101062
101066
|
{
|
|
101063
|
-
title: i18nLazyString$f(UIStrings$
|
|
101067
|
+
title: i18nLazyString$f(UIStrings$19.emulateCss, { PH1: 'prefers-reduced-transparency: reduce' }),
|
|
101064
101068
|
text: lockedLazyString('prefers-reduced-transparency: reduce'),
|
|
101065
101069
|
value: 'reduce',
|
|
101066
101070
|
},
|
|
101067
101071
|
],
|
|
101068
|
-
title: i18nLazyString$f(UIStrings$
|
|
101072
|
+
title: i18nLazyString$f(UIStrings$19.emulateCssMediaFeature, { PH1: 'prefers-reduced-transparency' }),
|
|
101069
101073
|
});
|
|
101070
101074
|
registerSettingExtension({
|
|
101071
101075
|
settingName: 'emulated-css-media-feature-color-gamut',
|
|
@@ -101074,27 +101078,27 @@ registerSettingExtension({
|
|
|
101074
101078
|
defaultValue: '',
|
|
101075
101079
|
options: [
|
|
101076
101080
|
{
|
|
101077
|
-
title: i18nLazyString$f(UIStrings$
|
|
101078
|
-
text: i18nLazyString$f(UIStrings$
|
|
101081
|
+
title: i18nLazyString$f(UIStrings$19.doNotEmulateCss, { PH1: 'color-gamut' }),
|
|
101082
|
+
text: i18nLazyString$f(UIStrings$19.noEmulation),
|
|
101079
101083
|
value: '',
|
|
101080
101084
|
},
|
|
101081
101085
|
{
|
|
101082
|
-
title: i18nLazyString$f(UIStrings$
|
|
101086
|
+
title: i18nLazyString$f(UIStrings$19.emulateCss, { PH1: 'color-gamut: srgb' }),
|
|
101083
101087
|
text: lockedLazyString('color-gamut: srgb'),
|
|
101084
101088
|
value: 'srgb',
|
|
101085
101089
|
},
|
|
101086
101090
|
{
|
|
101087
|
-
title: i18nLazyString$f(UIStrings$
|
|
101091
|
+
title: i18nLazyString$f(UIStrings$19.emulateCss, { PH1: 'color-gamut: p3' }),
|
|
101088
101092
|
text: lockedLazyString('color-gamut: p3'),
|
|
101089
101093
|
value: 'p3',
|
|
101090
101094
|
},
|
|
101091
101095
|
{
|
|
101092
|
-
title: i18nLazyString$f(UIStrings$
|
|
101096
|
+
title: i18nLazyString$f(UIStrings$19.emulateCss, { PH1: 'color-gamut: rec2020' }),
|
|
101093
101097
|
text: lockedLazyString('color-gamut: rec2020'),
|
|
101094
101098
|
value: 'rec2020',
|
|
101095
101099
|
},
|
|
101096
101100
|
],
|
|
101097
|
-
title: i18nLazyString$f(UIStrings$
|
|
101101
|
+
title: i18nLazyString$f(UIStrings$19.emulateCssMediaFeature, { PH1: 'color-gamut' }),
|
|
101098
101102
|
});
|
|
101099
101103
|
registerSettingExtension({
|
|
101100
101104
|
category: "RENDERING" ,
|
|
@@ -101104,45 +101108,45 @@ registerSettingExtension({
|
|
|
101104
101108
|
defaultValue: 'none',
|
|
101105
101109
|
options: [
|
|
101106
101110
|
{
|
|
101107
|
-
title: i18nLazyString$f(UIStrings$
|
|
101108
|
-
text: i18nLazyString$f(UIStrings$
|
|
101111
|
+
title: i18nLazyString$f(UIStrings$19.doNotEmulateAnyVisionDeficiency),
|
|
101112
|
+
text: i18nLazyString$f(UIStrings$19.noEmulation),
|
|
101109
101113
|
value: 'none',
|
|
101110
101114
|
},
|
|
101111
101115
|
{
|
|
101112
|
-
title: i18nLazyString$f(UIStrings$
|
|
101113
|
-
text: i18nLazyString$f(UIStrings$
|
|
101116
|
+
title: i18nLazyString$f(UIStrings$19.emulateBlurredVision),
|
|
101117
|
+
text: i18nLazyString$f(UIStrings$19.blurredVision),
|
|
101114
101118
|
value: 'blurredVision',
|
|
101115
101119
|
},
|
|
101116
101120
|
{
|
|
101117
|
-
title: i18nLazyString$f(UIStrings$
|
|
101118
|
-
text: i18nLazyString$f(UIStrings$
|
|
101121
|
+
title: i18nLazyString$f(UIStrings$19.emulateReducedContrast),
|
|
101122
|
+
text: i18nLazyString$f(UIStrings$19.reducedContrast),
|
|
101119
101123
|
value: 'reducedContrast',
|
|
101120
101124
|
},
|
|
101121
101125
|
{
|
|
101122
|
-
title: i18nLazyString$f(UIStrings$
|
|
101123
|
-
text: i18nLazyString$f(UIStrings$
|
|
101126
|
+
title: i18nLazyString$f(UIStrings$19.emulateProtanopia),
|
|
101127
|
+
text: i18nLazyString$f(UIStrings$19.protanopia),
|
|
101124
101128
|
value: 'protanopia',
|
|
101125
101129
|
},
|
|
101126
101130
|
{
|
|
101127
|
-
title: i18nLazyString$f(UIStrings$
|
|
101128
|
-
text: i18nLazyString$f(UIStrings$
|
|
101131
|
+
title: i18nLazyString$f(UIStrings$19.emulateDeuteranopia),
|
|
101132
|
+
text: i18nLazyString$f(UIStrings$19.deuteranopia),
|
|
101129
101133
|
value: 'deuteranopia',
|
|
101130
101134
|
},
|
|
101131
101135
|
{
|
|
101132
|
-
title: i18nLazyString$f(UIStrings$
|
|
101133
|
-
text: i18nLazyString$f(UIStrings$
|
|
101136
|
+
title: i18nLazyString$f(UIStrings$19.emulateTritanopia),
|
|
101137
|
+
text: i18nLazyString$f(UIStrings$19.tritanopia),
|
|
101134
101138
|
value: 'tritanopia',
|
|
101135
101139
|
},
|
|
101136
101140
|
{
|
|
101137
|
-
title: i18nLazyString$f(UIStrings$
|
|
101138
|
-
text: i18nLazyString$f(UIStrings$
|
|
101141
|
+
title: i18nLazyString$f(UIStrings$19.emulateAchromatopsia),
|
|
101142
|
+
text: i18nLazyString$f(UIStrings$19.achromatopsia),
|
|
101139
101143
|
value: 'achromatopsia',
|
|
101140
101144
|
},
|
|
101141
101145
|
],
|
|
101142
101146
|
tags: [
|
|
101143
|
-
i18nLazyString$f(UIStrings$
|
|
101147
|
+
i18nLazyString$f(UIStrings$19.query),
|
|
101144
101148
|
],
|
|
101145
|
-
title: i18nLazyString$f(UIStrings$
|
|
101149
|
+
title: i18nLazyString$f(UIStrings$19.emulateVisionDeficiencies),
|
|
101146
101150
|
});
|
|
101147
101151
|
registerSettingExtension({
|
|
101148
101152
|
category: "RENDERING" ,
|
|
@@ -101152,50 +101156,50 @@ registerSettingExtension({
|
|
|
101152
101156
|
defaultValue: '',
|
|
101153
101157
|
options: [
|
|
101154
101158
|
{
|
|
101155
|
-
title: i18nLazyString$f(UIStrings$
|
|
101156
|
-
text: i18nLazyString$f(UIStrings$
|
|
101159
|
+
title: i18nLazyString$f(UIStrings$19.doNotEmulateOsTextScale),
|
|
101160
|
+
text: i18nLazyString$f(UIStrings$19.osTextScaleEmulationNone),
|
|
101157
101161
|
value: '',
|
|
101158
101162
|
},
|
|
101159
101163
|
{
|
|
101160
|
-
title: i18nLazyString$f(UIStrings$
|
|
101161
|
-
text: i18nLazyString$f(UIStrings$
|
|
101164
|
+
title: i18nLazyString$f(UIStrings$19.osTextScaleEmulation85),
|
|
101165
|
+
text: i18nLazyString$f(UIStrings$19.osTextScaleEmulation85),
|
|
101162
101166
|
value: '0.85',
|
|
101163
101167
|
},
|
|
101164
101168
|
{
|
|
101165
|
-
title: i18nLazyString$f(UIStrings$
|
|
101166
|
-
text: i18nLazyString$f(UIStrings$
|
|
101169
|
+
title: i18nLazyString$f(UIStrings$19.osTextScaleEmulation100),
|
|
101170
|
+
text: i18nLazyString$f(UIStrings$19.osTextScaleEmulation100),
|
|
101167
101171
|
value: '1',
|
|
101168
101172
|
},
|
|
101169
101173
|
{
|
|
101170
|
-
title: i18nLazyString$f(UIStrings$
|
|
101171
|
-
text: i18nLazyString$f(UIStrings$
|
|
101174
|
+
title: i18nLazyString$f(UIStrings$19.osTextScaleEmulation115),
|
|
101175
|
+
text: i18nLazyString$f(UIStrings$19.osTextScaleEmulation115),
|
|
101172
101176
|
value: '1.15',
|
|
101173
101177
|
},
|
|
101174
101178
|
{
|
|
101175
|
-
title: i18nLazyString$f(UIStrings$
|
|
101176
|
-
text: i18nLazyString$f(UIStrings$
|
|
101179
|
+
title: i18nLazyString$f(UIStrings$19.osTextScaleEmulation130),
|
|
101180
|
+
text: i18nLazyString$f(UIStrings$19.osTextScaleEmulation130),
|
|
101177
101181
|
value: '1.3',
|
|
101178
101182
|
},
|
|
101179
101183
|
{
|
|
101180
|
-
title: i18nLazyString$f(UIStrings$
|
|
101181
|
-
text: i18nLazyString$f(UIStrings$
|
|
101184
|
+
title: i18nLazyString$f(UIStrings$19.osTextScaleEmulation150),
|
|
101185
|
+
text: i18nLazyString$f(UIStrings$19.osTextScaleEmulation150),
|
|
101182
101186
|
value: '1.5',
|
|
101183
101187
|
},
|
|
101184
101188
|
{
|
|
101185
|
-
title: i18nLazyString$f(UIStrings$
|
|
101186
|
-
text: i18nLazyString$f(UIStrings$
|
|
101189
|
+
title: i18nLazyString$f(UIStrings$19.osTextScaleEmulation180),
|
|
101190
|
+
text: i18nLazyString$f(UIStrings$19.osTextScaleEmulation180),
|
|
101187
101191
|
value: '1.8',
|
|
101188
101192
|
},
|
|
101189
101193
|
{
|
|
101190
|
-
title: i18nLazyString$f(UIStrings$
|
|
101191
|
-
text: i18nLazyString$f(UIStrings$
|
|
101194
|
+
title: i18nLazyString$f(UIStrings$19.osTextScaleEmulation200),
|
|
101195
|
+
text: i18nLazyString$f(UIStrings$19.osTextScaleEmulation200),
|
|
101192
101196
|
value: '2',
|
|
101193
101197
|
},
|
|
101194
101198
|
],
|
|
101195
101199
|
tags: [
|
|
101196
|
-
i18nLazyString$f(UIStrings$
|
|
101200
|
+
i18nLazyString$f(UIStrings$19.query),
|
|
101197
101201
|
],
|
|
101198
|
-
title: i18nLazyString$f(UIStrings$
|
|
101202
|
+
title: i18nLazyString$f(UIStrings$19.emulateOsTextScale),
|
|
101199
101203
|
});
|
|
101200
101204
|
registerSettingExtension({
|
|
101201
101205
|
category: "RENDERING" ,
|
|
@@ -101205,11 +101209,11 @@ registerSettingExtension({
|
|
|
101205
101209
|
options: [
|
|
101206
101210
|
{
|
|
101207
101211
|
value: true,
|
|
101208
|
-
title: i18nLazyString$f(UIStrings$
|
|
101212
|
+
title: i18nLazyString$f(UIStrings$19.disableLocalFonts),
|
|
101209
101213
|
},
|
|
101210
101214
|
{
|
|
101211
101215
|
value: false,
|
|
101212
|
-
title: i18nLazyString$f(UIStrings$
|
|
101216
|
+
title: i18nLazyString$f(UIStrings$19.enableLocalFonts),
|
|
101213
101217
|
},
|
|
101214
101218
|
],
|
|
101215
101219
|
defaultValue: false,
|
|
@@ -101222,11 +101226,11 @@ registerSettingExtension({
|
|
|
101222
101226
|
options: [
|
|
101223
101227
|
{
|
|
101224
101228
|
value: true,
|
|
101225
|
-
title: i18nLazyString$f(UIStrings$
|
|
101229
|
+
title: i18nLazyString$f(UIStrings$19.disableAvifFormat),
|
|
101226
101230
|
},
|
|
101227
101231
|
{
|
|
101228
101232
|
value: false,
|
|
101229
|
-
title: i18nLazyString$f(UIStrings$
|
|
101233
|
+
title: i18nLazyString$f(UIStrings$19.enableAvifFormat),
|
|
101230
101234
|
},
|
|
101231
101235
|
],
|
|
101232
101236
|
defaultValue: false,
|
|
@@ -101239,11 +101243,11 @@ registerSettingExtension({
|
|
|
101239
101243
|
options: [
|
|
101240
101244
|
{
|
|
101241
101245
|
value: true,
|
|
101242
|
-
title: i18nLazyString$f(UIStrings$
|
|
101246
|
+
title: i18nLazyString$f(UIStrings$19.disableJpegXlFormat),
|
|
101243
101247
|
},
|
|
101244
101248
|
{
|
|
101245
101249
|
value: false,
|
|
101246
|
-
title: i18nLazyString$f(UIStrings$
|
|
101250
|
+
title: i18nLazyString$f(UIStrings$19.enableJpegXlFormat),
|
|
101247
101251
|
},
|
|
101248
101252
|
],
|
|
101249
101253
|
defaultValue: false,
|
|
@@ -101256,25 +101260,25 @@ registerSettingExtension({
|
|
|
101256
101260
|
options: [
|
|
101257
101261
|
{
|
|
101258
101262
|
value: true,
|
|
101259
|
-
title: i18nLazyString$f(UIStrings$
|
|
101263
|
+
title: i18nLazyString$f(UIStrings$19.disableWebpFormat),
|
|
101260
101264
|
},
|
|
101261
101265
|
{
|
|
101262
101266
|
value: false,
|
|
101263
|
-
title: i18nLazyString$f(UIStrings$
|
|
101267
|
+
title: i18nLazyString$f(UIStrings$19.enableWebpFormat),
|
|
101264
101268
|
},
|
|
101265
101269
|
],
|
|
101266
101270
|
defaultValue: false,
|
|
101267
101271
|
});
|
|
101268
101272
|
registerSettingExtension({
|
|
101269
101273
|
category: "CONSOLE" ,
|
|
101270
|
-
title: i18nLazyString$f(UIStrings$
|
|
101274
|
+
title: i18nLazyString$f(UIStrings$19.customFormatters),
|
|
101271
101275
|
settingName: 'custom-formatters',
|
|
101272
101276
|
settingType: "boolean" ,
|
|
101273
101277
|
defaultValue: false,
|
|
101274
101278
|
});
|
|
101275
101279
|
registerSettingExtension({
|
|
101276
101280
|
category: "NETWORK" ,
|
|
101277
|
-
title: i18nLazyString$f(UIStrings$
|
|
101281
|
+
title: i18nLazyString$f(UIStrings$19.networkRequestBlocking),
|
|
101278
101282
|
settingName: 'request-blocking-enabled',
|
|
101279
101283
|
settingType: "boolean" ,
|
|
101280
101284
|
storageType: "Local" ,
|
|
@@ -101282,17 +101286,17 @@ registerSettingExtension({
|
|
|
101282
101286
|
options: [
|
|
101283
101287
|
{
|
|
101284
101288
|
value: true,
|
|
101285
|
-
title: i18nLazyString$f(UIStrings$
|
|
101289
|
+
title: i18nLazyString$f(UIStrings$19.enableNetworkRequestBlocking),
|
|
101286
101290
|
},
|
|
101287
101291
|
{
|
|
101288
101292
|
value: false,
|
|
101289
|
-
title: i18nLazyString$f(UIStrings$
|
|
101293
|
+
title: i18nLazyString$f(UIStrings$19.disableNetworkRequestBlocking),
|
|
101290
101294
|
},
|
|
101291
101295
|
],
|
|
101292
101296
|
});
|
|
101293
101297
|
registerSettingExtension({
|
|
101294
101298
|
category: "NETWORK" ,
|
|
101295
|
-
title: i18nLazyString$f(UIStrings$
|
|
101299
|
+
title: i18nLazyString$f(UIStrings$19.disableCache),
|
|
101296
101300
|
settingName: 'cache-disabled',
|
|
101297
101301
|
settingType: "boolean" ,
|
|
101298
101302
|
order: 0,
|
|
@@ -101301,20 +101305,20 @@ registerSettingExtension({
|
|
|
101301
101305
|
options: [
|
|
101302
101306
|
{
|
|
101303
101307
|
value: true,
|
|
101304
|
-
title: i18nLazyString$f(UIStrings$
|
|
101308
|
+
title: i18nLazyString$f(UIStrings$19.disableCache),
|
|
101305
101309
|
},
|
|
101306
101310
|
{
|
|
101307
101311
|
value: false,
|
|
101308
|
-
title: i18nLazyString$f(UIStrings$
|
|
101312
|
+
title: i18nLazyString$f(UIStrings$19.enableCache),
|
|
101309
101313
|
},
|
|
101310
101314
|
],
|
|
101311
101315
|
learnMore: {
|
|
101312
|
-
tooltip: i18nLazyString$f(UIStrings$
|
|
101316
|
+
tooltip: i18nLazyString$f(UIStrings$19.networkCacheExplanation),
|
|
101313
101317
|
},
|
|
101314
101318
|
});
|
|
101315
101319
|
registerSettingExtension({
|
|
101316
101320
|
category: "RENDERING" ,
|
|
101317
|
-
title: i18nLazyString$f(UIStrings$
|
|
101321
|
+
title: i18nLazyString$f(UIStrings$19.emulateAutoDarkMode),
|
|
101318
101322
|
settingName: 'emulate-auto-dark-mode',
|
|
101319
101323
|
settingType: "boolean" ,
|
|
101320
101324
|
storageType: "Session" ,
|
|
@@ -101323,54 +101327,54 @@ registerSettingExtension({
|
|
|
101323
101327
|
registerSettingExtension({
|
|
101324
101328
|
category: "SOURCES" ,
|
|
101325
101329
|
storageType: "Synced" ,
|
|
101326
|
-
title: i18nLazyString$f(UIStrings$
|
|
101330
|
+
title: i18nLazyString$f(UIStrings$19.enableRemoteFileLoading),
|
|
101327
101331
|
settingName: 'network.enable-remote-file-loading',
|
|
101328
101332
|
settingType: "boolean" ,
|
|
101329
101333
|
defaultValue: false,
|
|
101330
101334
|
learnMore: {
|
|
101331
|
-
tooltip: i18nLazyString$f(UIStrings$
|
|
101335
|
+
tooltip: i18nLazyString$f(UIStrings$19.remoteFileLoadingInfo),
|
|
101332
101336
|
}
|
|
101333
101337
|
});
|
|
101334
101338
|
registerSettingExtension({
|
|
101335
101339
|
category: "SOURCES" ,
|
|
101336
101340
|
storageType: "Synced" ,
|
|
101337
|
-
title: i18nLazyString$f(UIStrings$
|
|
101341
|
+
title: i18nLazyString$f(UIStrings$19.javaScriptSourceMaps),
|
|
101338
101342
|
settingName: 'js-source-maps-enabled',
|
|
101339
101343
|
settingType: "boolean" ,
|
|
101340
101344
|
defaultValue: true,
|
|
101341
101345
|
options: [
|
|
101342
101346
|
{
|
|
101343
101347
|
value: true,
|
|
101344
|
-
title: i18nLazyString$f(UIStrings$
|
|
101348
|
+
title: i18nLazyString$f(UIStrings$19.enableJavaScriptSourceMaps),
|
|
101345
101349
|
},
|
|
101346
101350
|
{
|
|
101347
101351
|
value: false,
|
|
101348
|
-
title: i18nLazyString$f(UIStrings$
|
|
101352
|
+
title: i18nLazyString$f(UIStrings$19.disableJavaScriptSourceMaps),
|
|
101349
101353
|
},
|
|
101350
101354
|
],
|
|
101351
101355
|
});
|
|
101352
101356
|
registerSettingExtension({
|
|
101353
101357
|
category: "SOURCES" ,
|
|
101354
101358
|
storageType: "Synced" ,
|
|
101355
|
-
title: i18nLazyString$f(UIStrings$
|
|
101359
|
+
title: i18nLazyString$f(UIStrings$19.cssSourceMaps),
|
|
101356
101360
|
settingName: 'css-source-maps-enabled',
|
|
101357
101361
|
settingType: "boolean" ,
|
|
101358
101362
|
defaultValue: true,
|
|
101359
101363
|
options: [
|
|
101360
101364
|
{
|
|
101361
101365
|
value: true,
|
|
101362
|
-
title: i18nLazyString$f(UIStrings$
|
|
101366
|
+
title: i18nLazyString$f(UIStrings$19.enableCssSourceMaps),
|
|
101363
101367
|
},
|
|
101364
101368
|
{
|
|
101365
101369
|
value: false,
|
|
101366
|
-
title: i18nLazyString$f(UIStrings$
|
|
101370
|
+
title: i18nLazyString$f(UIStrings$19.disableCssSourceMaps),
|
|
101367
101371
|
},
|
|
101368
101372
|
],
|
|
101369
101373
|
});
|
|
101370
101374
|
registerSettingExtension({
|
|
101371
101375
|
category: "CONSOLE" ,
|
|
101372
101376
|
storageType: "Synced" ,
|
|
101373
|
-
title: i18nLazyString$f(UIStrings$
|
|
101377
|
+
title: i18nLazyString$f(UIStrings$19.logXmlhttprequests),
|
|
101374
101378
|
settingName: 'monitoring-xhr-enabled',
|
|
101375
101379
|
settingType: "boolean" ,
|
|
101376
101380
|
defaultValue: false,
|
|
@@ -101472,7 +101476,7 @@ const EventDescriptors = [
|
|
|
101472
101476
|
];
|
|
101473
101477
|
|
|
101474
101478
|
// Copyright 2015 The Chromium Authors
|
|
101475
|
-
const UIStrings$
|
|
101479
|
+
const UIStrings$18 = {
|
|
101476
101480
|
systemError: 'System error',
|
|
101477
101481
|
connectionError: 'Connection error',
|
|
101478
101482
|
certificateError: 'Certificate error',
|
|
@@ -101487,8 +101491,8 @@ const UIStrings$17 = {
|
|
|
101487
101491
|
invalidUrl: 'Invalid URL',
|
|
101488
101492
|
decodingDataUrlFailed: 'Decoding Data URL failed',
|
|
101489
101493
|
};
|
|
101490
|
-
const str_$
|
|
101491
|
-
const i18nString$
|
|
101494
|
+
const str_$17 = registerUIStrings('core/host/ResourceLoader.ts', UIStrings$18);
|
|
101495
|
+
const i18nString$R = getLocalizedString.bind(undefined, str_$17);
|
|
101492
101496
|
let _lastStreamId = 0;
|
|
101493
101497
|
const _boundStreams = {};
|
|
101494
101498
|
const bindOutputStream = function (stream) {
|
|
@@ -101511,33 +101515,33 @@ const load = function (url, headers, callback, allowRemoteFilePaths) {
|
|
|
101511
101515
|
};
|
|
101512
101516
|
function getNetErrorCategory(netError) {
|
|
101513
101517
|
if (netError > -100) {
|
|
101514
|
-
return i18nString$
|
|
101518
|
+
return i18nString$R(UIStrings$18.systemError);
|
|
101515
101519
|
}
|
|
101516
101520
|
if (netError > -200) {
|
|
101517
|
-
return i18nString$
|
|
101521
|
+
return i18nString$R(UIStrings$18.connectionError);
|
|
101518
101522
|
}
|
|
101519
101523
|
if (netError > -300) {
|
|
101520
|
-
return i18nString$
|
|
101524
|
+
return i18nString$R(UIStrings$18.certificateError);
|
|
101521
101525
|
}
|
|
101522
101526
|
if (netError > -400) {
|
|
101523
|
-
return i18nString$
|
|
101527
|
+
return i18nString$R(UIStrings$18.httpError);
|
|
101524
101528
|
}
|
|
101525
101529
|
if (netError > -500) {
|
|
101526
|
-
return i18nString$
|
|
101530
|
+
return i18nString$R(UIStrings$18.cacheError);
|
|
101527
101531
|
}
|
|
101528
101532
|
if (netError > -600) {
|
|
101529
|
-
return i18nString$
|
|
101533
|
+
return i18nString$R(UIStrings$18.signedExchangeError);
|
|
101530
101534
|
}
|
|
101531
101535
|
if (netError > -700) {
|
|
101532
|
-
return i18nString$
|
|
101536
|
+
return i18nString$R(UIStrings$18.ftpError);
|
|
101533
101537
|
}
|
|
101534
101538
|
if (netError > -800) {
|
|
101535
|
-
return i18nString$
|
|
101539
|
+
return i18nString$R(UIStrings$18.certificateManagerError);
|
|
101536
101540
|
}
|
|
101537
101541
|
if (netError > -900) {
|
|
101538
|
-
return i18nString$
|
|
101542
|
+
return i18nString$R(UIStrings$18.dnsResolverError);
|
|
101539
101543
|
}
|
|
101540
|
-
return i18nString$
|
|
101544
|
+
return i18nString$R(UIStrings$18.unknownError);
|
|
101541
101545
|
}
|
|
101542
101546
|
function isHTTPError(netError) {
|
|
101543
101547
|
return netError <= -300 && netError > -400;
|
|
@@ -101548,7 +101552,7 @@ function netErrorToMessage(netError, httpStatusCode, netErrorName) {
|
|
|
101548
101552
|
}
|
|
101549
101553
|
if (netError !== 0) {
|
|
101550
101554
|
if (isHTTPError(netError)) {
|
|
101551
|
-
return i18nString$
|
|
101555
|
+
return i18nString$R(UIStrings$18.httpErrorStatusCodeSS, { PH1: String(httpStatusCode), PH2: netErrorName });
|
|
101552
101556
|
}
|
|
101553
101557
|
const errorCategory = getNetErrorCategory(netError);
|
|
101554
101558
|
return `${errorCategory}: ${netErrorName}`;
|
|
@@ -101565,10 +101569,10 @@ function createErrorMessageFromResponse(response) {
|
|
|
101565
101569
|
else if (!success) {
|
|
101566
101570
|
if (typeof netError === 'undefined') {
|
|
101567
101571
|
if (urlValid === false) {
|
|
101568
|
-
message = i18nString$
|
|
101572
|
+
message = i18nString$R(UIStrings$18.invalidUrl);
|
|
101569
101573
|
}
|
|
101570
101574
|
else {
|
|
101571
|
-
message = i18nString$
|
|
101575
|
+
message = i18nString$R(UIStrings$18.unknownError);
|
|
101572
101576
|
}
|
|
101573
101577
|
}
|
|
101574
101578
|
else {
|
|
@@ -101636,17 +101640,17 @@ const loadAsStream = function (url, headers, stream, callback, allowRemoteFilePa
|
|
|
101636
101640
|
finishedCallback(({ statusCode: 200 }));
|
|
101637
101641
|
}
|
|
101638
101642
|
function dataURLDecodeFailed(_xhrStatus) {
|
|
101639
|
-
const messageOverride = i18nString$
|
|
101643
|
+
const messageOverride = i18nString$R(UIStrings$18.decodingDataUrlFailed);
|
|
101640
101644
|
finishedCallback(({ statusCode: 404, messageOverride }));
|
|
101641
101645
|
}
|
|
101642
101646
|
};
|
|
101643
101647
|
|
|
101644
101648
|
// Copyright 2025 The Chromium Authors
|
|
101645
|
-
const UIStrings$
|
|
101649
|
+
const UIStrings$17 = {
|
|
101646
101650
|
devtoolsS: 'DevTools - {PH1}',
|
|
101647
101651
|
};
|
|
101648
|
-
const str_$
|
|
101649
|
-
const i18nString$
|
|
101652
|
+
const str_$16 = registerUIStrings('core/host/InspectorFrontendHostStub.ts', UIStrings$17);
|
|
101653
|
+
const i18nString$Q = getLocalizedString.bind(undefined, str_$16);
|
|
101650
101654
|
const MAX_RECORDED_HISTOGRAMS_SIZE = 100;
|
|
101651
101655
|
const OVERRIDES_FILE_SYSTEM_PATH = '/overrides';
|
|
101652
101656
|
class InspectorFrontendHostStub {
|
|
@@ -101704,7 +101708,7 @@ class InspectorFrontendHostStub {
|
|
|
101704
101708
|
if (!('document' in globalThis)) {
|
|
101705
101709
|
return;
|
|
101706
101710
|
}
|
|
101707
|
-
document.title = i18nString$
|
|
101711
|
+
document.title = i18nString$Q(UIStrings$17.devtoolsS, { PH1: url.replace(/^https?:\/\//, '') });
|
|
101708
101712
|
}
|
|
101709
101713
|
copyText(text) {
|
|
101710
101714
|
if (text === undefined || text === null) {
|
|
@@ -102378,7 +102382,7 @@ function registerCommands(inspectorBackend) {
|
|
|
102378
102382
|
inspectorBackend.registerEnum("Audits.ContentSecurityPolicyViolationType", { KInlineViolation: "kInlineViolation", KEvalViolation: "kEvalViolation", KURLViolation: "kURLViolation", KSRIViolation: "kSRIViolation", KTrustedTypesSinkViolation: "kTrustedTypesSinkViolation", KTrustedTypesPolicyViolation: "kTrustedTypesPolicyViolation", KWasmEvalViolation: "kWasmEvalViolation" });
|
|
102379
102383
|
inspectorBackend.registerEnum("Audits.SharedArrayBufferIssueType", { TransferIssue: "TransferIssue", CreationIssue: "CreationIssue" });
|
|
102380
102384
|
inspectorBackend.registerEnum("Audits.AttributionReportingIssueType", { PermissionPolicyDisabled: "PermissionPolicyDisabled", UntrustworthyReportingOrigin: "UntrustworthyReportingOrigin", InsecureContext: "InsecureContext", InvalidHeader: "InvalidHeader", InvalidRegisterTriggerHeader: "InvalidRegisterTriggerHeader", SourceAndTriggerHeaders: "SourceAndTriggerHeaders", SourceIgnored: "SourceIgnored", TriggerIgnored: "TriggerIgnored", OsSourceIgnored: "OsSourceIgnored", OsTriggerIgnored: "OsTriggerIgnored", InvalidRegisterOsSourceHeader: "InvalidRegisterOsSourceHeader", InvalidRegisterOsTriggerHeader: "InvalidRegisterOsTriggerHeader", WebAndOsHeaders: "WebAndOsHeaders", NoWebOrOsSupport: "NoWebOrOsSupport", NavigationRegistrationWithoutTransientUserActivation: "NavigationRegistrationWithoutTransientUserActivation", InvalidInfoHeader: "InvalidInfoHeader", NoRegisterSourceHeader: "NoRegisterSourceHeader", NoRegisterTriggerHeader: "NoRegisterTriggerHeader", NoRegisterOsSourceHeader: "NoRegisterOsSourceHeader", NoRegisterOsTriggerHeader: "NoRegisterOsTriggerHeader", NavigationRegistrationUniqueScopeAlreadySet: "NavigationRegistrationUniqueScopeAlreadySet" });
|
|
102381
|
-
inspectorBackend.registerEnum("Audits.SharedDictionaryError", {
|
|
102385
|
+
inspectorBackend.registerEnum("Audits.SharedDictionaryError", { UseErrorDictionaryLoadFailure: "UseErrorDictionaryLoadFailure", UseErrorMatchingDictionaryNotUsed: "UseErrorMatchingDictionaryNotUsed", UseErrorNoCorpCrossOriginNoCorsRequest: "UseErrorNoCorpCrossOriginNoCorsRequest", UseErrorUnexpectedContentDictionaryHeader: "UseErrorUnexpectedContentDictionaryHeader", WriteErrorCossOriginNoCorsRequest: "WriteErrorCossOriginNoCorsRequest", WriteErrorDisallowedBySettings: "WriteErrorDisallowedBySettings", WriteErrorExpiredResponse: "WriteErrorExpiredResponse", WriteErrorFeatureDisabled: "WriteErrorFeatureDisabled", WriteErrorInsufficientResources: "WriteErrorInsufficientResources", WriteErrorInvalidMatchField: "WriteErrorInvalidMatchField", WriteErrorInvalidStructuredHeader: "WriteErrorInvalidStructuredHeader", WriteErrorInvalidTTLField: "WriteErrorInvalidTTLField", WriteErrorNavigationRequest: "WriteErrorNavigationRequest", WriteErrorNoCorpCossOriginNoCorsRequest: "WriteErrorNoCorpCossOriginNoCorsRequest", WriteErrorNoMatchField: "WriteErrorNoMatchField", WriteErrorNonIntegerTTLField: "WriteErrorNonIntegerTTLField", WriteErrorNonListMatchDestField: "WriteErrorNonListMatchDestField", WriteErrorNonSecureContext: "WriteErrorNonSecureContext", WriteErrorNonStringIdField: "WriteErrorNonStringIdField", WriteErrorNonStringInMatchDestList: "WriteErrorNonStringInMatchDestList", WriteErrorNonStringMatchField: "WriteErrorNonStringMatchField", WriteErrorNonTokenTypeField: "WriteErrorNonTokenTypeField", WriteErrorRequestAborted: "WriteErrorRequestAborted", WriteErrorShuttingDown: "WriteErrorShuttingDown", WriteErrorTooLongIdField: "WriteErrorTooLongIdField", WriteErrorUnsupportedType: "WriteErrorUnsupportedType" });
|
|
102382
102386
|
inspectorBackend.registerEnum("Audits.SRIMessageSignatureError", { MissingSignatureHeader: "MissingSignatureHeader", MissingSignatureInputHeader: "MissingSignatureInputHeader", InvalidSignatureHeader: "InvalidSignatureHeader", InvalidSignatureInputHeader: "InvalidSignatureInputHeader", SignatureHeaderValueIsNotByteSequence: "SignatureHeaderValueIsNotByteSequence", SignatureHeaderValueIsParameterized: "SignatureHeaderValueIsParameterized", SignatureHeaderValueIsIncorrectLength: "SignatureHeaderValueIsIncorrectLength", SignatureInputHeaderMissingLabel: "SignatureInputHeaderMissingLabel", SignatureInputHeaderValueNotInnerList: "SignatureInputHeaderValueNotInnerList", SignatureInputHeaderValueMissingComponents: "SignatureInputHeaderValueMissingComponents", SignatureInputHeaderInvalidComponentType: "SignatureInputHeaderInvalidComponentType", SignatureInputHeaderInvalidComponentName: "SignatureInputHeaderInvalidComponentName", SignatureInputHeaderInvalidHeaderComponentParameter: "SignatureInputHeaderInvalidHeaderComponentParameter", SignatureInputHeaderInvalidDerivedComponentParameter: "SignatureInputHeaderInvalidDerivedComponentParameter", SignatureInputHeaderKeyIdLength: "SignatureInputHeaderKeyIdLength", SignatureInputHeaderInvalidParameter: "SignatureInputHeaderInvalidParameter", SignatureInputHeaderMissingRequiredParameters: "SignatureInputHeaderMissingRequiredParameters", ValidationFailedSignatureExpired: "ValidationFailedSignatureExpired", ValidationFailedInvalidLength: "ValidationFailedInvalidLength", ValidationFailedSignatureMismatch: "ValidationFailedSignatureMismatch", ValidationFailedIntegrityMismatch: "ValidationFailedIntegrityMismatch" });
|
|
102383
102387
|
inspectorBackend.registerEnum("Audits.UnencodedDigestError", { MalformedDictionary: "MalformedDictionary", UnknownAlgorithm: "UnknownAlgorithm", IncorrectDigestType: "IncorrectDigestType", IncorrectDigestLength: "IncorrectDigestLength" });
|
|
102384
102388
|
inspectorBackend.registerEnum("Audits.ConnectionAllowlistError", { InvalidHeader: "InvalidHeader", MoreThanOneList: "MoreThanOneList", ItemNotInnerList: "ItemNotInnerList", InvalidAllowlistItemType: "InvalidAllowlistItemType", ReportingEndpointNotToken: "ReportingEndpointNotToken", InvalidUrlPattern: "InvalidUrlPattern" });
|
|
@@ -103725,6 +103729,11 @@ function registerCommands(inspectorBackend) {
|
|
|
103725
103729
|
inspectorBackend.registerCommand("WebAuthn.setCredentialProperties", [{ "name": "authenticatorId", "type": "string", "optional": false, "description": "", "typeRef": "WebAuthn.AuthenticatorId" }, { "name": "credentialId", "type": "string", "optional": false, "description": "", "typeRef": null }, { "name": "backupEligibility", "type": "boolean", "optional": true, "description": "", "typeRef": null }, { "name": "backupState", "type": "boolean", "optional": true, "description": "", "typeRef": null }], [], "Allows setting credential properties. https://w3c.github.io/webauthn/#sctn-automation-set-credential-properties");
|
|
103726
103730
|
inspectorBackend.registerType("WebAuthn.VirtualAuthenticatorOptions", [{ "name": "protocol", "type": "string", "optional": false, "description": "", "typeRef": "WebAuthn.AuthenticatorProtocol" }, { "name": "ctap2Version", "type": "string", "optional": true, "description": "Defaults to ctap2_0. Ignored if |protocol| == u2f.", "typeRef": "WebAuthn.Ctap2Version" }, { "name": "transport", "type": "string", "optional": false, "description": "", "typeRef": "WebAuthn.AuthenticatorTransport" }, { "name": "hasResidentKey", "type": "boolean", "optional": true, "description": "Defaults to false.", "typeRef": null }, { "name": "hasUserVerification", "type": "boolean", "optional": true, "description": "Defaults to false.", "typeRef": null }, { "name": "hasLargeBlob", "type": "boolean", "optional": true, "description": "If set to true, the authenticator will support the largeBlob extension. https://w3c.github.io/webauthn#largeBlob Defaults to false.", "typeRef": null }, { "name": "hasCredBlob", "type": "boolean", "optional": true, "description": "If set to true, the authenticator will support the credBlob extension. https://fidoalliance.org/specs/fido-v2.1-rd-20201208/fido-client-to-authenticator-protocol-v2.1-rd-20201208.html#sctn-credBlob-extension Defaults to false.", "typeRef": null }, { "name": "hasMinPinLength", "type": "boolean", "optional": true, "description": "If set to true, the authenticator will support the minPinLength extension. https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html#sctn-minpinlength-extension Defaults to false.", "typeRef": null }, { "name": "hasPrf", "type": "boolean", "optional": true, "description": "If set to true, the authenticator will support the prf extension. https://w3c.github.io/webauthn/#prf-extension Defaults to false.", "typeRef": null }, { "name": "automaticPresenceSimulation", "type": "boolean", "optional": true, "description": "If set to true, tests of user presence will succeed immediately. Otherwise, they will not be resolved. Defaults to true.", "typeRef": null }, { "name": "isUserVerified", "type": "boolean", "optional": true, "description": "Sets whether User Verification succeeds or fails for an authenticator. Defaults to false.", "typeRef": null }, { "name": "defaultBackupEligibility", "type": "boolean", "optional": true, "description": "Credentials created by this authenticator will have the backup eligibility (BE) flag set to this value. Defaults to false. https://w3c.github.io/webauthn/#sctn-credential-backup", "typeRef": null }, { "name": "defaultBackupState", "type": "boolean", "optional": true, "description": "Credentials created by this authenticator will have the backup state (BS) flag set to this value. Defaults to false. https://w3c.github.io/webauthn/#sctn-credential-backup", "typeRef": null }]);
|
|
103727
103731
|
inspectorBackend.registerType("WebAuthn.Credential", [{ "name": "credentialId", "type": "string", "optional": false, "description": "", "typeRef": null }, { "name": "isResidentCredential", "type": "boolean", "optional": false, "description": "", "typeRef": null }, { "name": "rpId", "type": "string", "optional": true, "description": "Relying Party ID the credential is scoped to. Must be set when adding a credential.", "typeRef": null }, { "name": "privateKey", "type": "string", "optional": false, "description": "The ECDSA P-256 private key in PKCS#8 format.", "typeRef": null }, { "name": "userHandle", "type": "string", "optional": true, "description": "An opaque byte sequence with a maximum size of 64 bytes mapping the credential to a specific user.", "typeRef": null }, { "name": "signCount", "type": "number", "optional": false, "description": "Signature counter. This is incremented by one for each successful assertion. See https://w3c.github.io/webauthn/#signature-counter", "typeRef": null }, { "name": "largeBlob", "type": "string", "optional": true, "description": "The large blob associated with the credential. See https://w3c.github.io/webauthn/#sctn-large-blob-extension", "typeRef": null }, { "name": "backupEligibility", "type": "boolean", "optional": true, "description": "Assertions returned by this credential will have the backup eligibility (BE) flag set to this value. Defaults to the authenticator's defaultBackupEligibility value.", "typeRef": null }, { "name": "backupState", "type": "boolean", "optional": true, "description": "Assertions returned by this credential will have the backup state (BS) flag set to this value. Defaults to the authenticator's defaultBackupState value.", "typeRef": null }, { "name": "userName", "type": "string", "optional": true, "description": "The credential's user.name property. Equivalent to empty if not set. https://w3c.github.io/webauthn/#dom-publickeycredentialentity-name", "typeRef": null }, { "name": "userDisplayName", "type": "string", "optional": true, "description": "The credential's user.displayName property. Equivalent to empty if not set. https://w3c.github.io/webauthn/#dom-publickeycredentialuserentity-displayname", "typeRef": null }]);
|
|
103732
|
+
inspectorBackend.registerEvent("WebMCP.toolsAdded", ["tools"]);
|
|
103733
|
+
inspectorBackend.registerEvent("WebMCP.toolsRemoved", ["tools"]);
|
|
103734
|
+
inspectorBackend.registerCommand("WebMCP.enable", [], [], "Enables the WebMCP domain, allowing events to be sent. Enabling the domain will trigger a toolsAdded event for all currently registered tools.");
|
|
103735
|
+
inspectorBackend.registerType("WebMCP.Annotation", [{ "name": "readOnly", "type": "boolean", "optional": true, "description": "A hint indicating that the tool does not modify any state.", "typeRef": null }, { "name": "autosubmit", "type": "boolean", "optional": true, "description": "If the declarative tool was declared with the autosubmit attribute.", "typeRef": null }]);
|
|
103736
|
+
inspectorBackend.registerType("WebMCP.Tool", [{ "name": "name", "type": "string", "optional": false, "description": "Tool name.", "typeRef": null }, { "name": "description", "type": "string", "optional": false, "description": "Tool description.", "typeRef": null }, { "name": "inputSchema", "type": "object", "optional": true, "description": "Schema for the tool's input parameters.", "typeRef": null }, { "name": "annotations", "type": "object", "optional": true, "description": "Optional annotations for the tool.", "typeRef": "WebMCP.Annotation" }, { "name": "frameId", "type": "string", "optional": false, "description": "Frame identifier associated with the tool registration.", "typeRef": "Page.FrameId" }, { "name": "backendNodeId", "type": "number", "optional": true, "description": "Optional node ID for declarative tools.", "typeRef": "DOM.BackendNodeId" }, { "name": "stackTrace", "type": "object", "optional": true, "description": "The stack trace at the time of the registration.", "typeRef": "Runtime.StackTrace" }]);
|
|
103728
103737
|
inspectorBackend.registerEnum("Debugger.ScopeType", { Global: "global", Local: "local", With: "with", Closure: "closure", Catch: "catch", Block: "block", Script: "script", Eval: "eval", Module: "module", WasmExpressionStack: "wasm-expression-stack" });
|
|
103729
103738
|
inspectorBackend.registerEnum("Debugger.BreakLocationType", { DebuggerStatement: "debuggerStatement", Call: "call", Return: "return" });
|
|
103730
103739
|
inspectorBackend.registerEnum("Debugger.ScriptLanguage", { JavaScript: "JavaScript", WebAssembly: "WebAssembly" });
|
|
@@ -105983,6 +105992,9 @@ var ClientFeature;
|
|
|
105983
105992
|
ClientFeature[ClientFeature["CHROME_FILE_AGENT"] = 9] = "CHROME_FILE_AGENT";
|
|
105984
105993
|
ClientFeature[ClientFeature["CHROME_PATCH_AGENT"] = 12] = "CHROME_PATCH_AGENT";
|
|
105985
105994
|
ClientFeature[ClientFeature["CHROME_PERFORMANCE_FULL_AGENT"] = 24] = "CHROME_PERFORMANCE_FULL_AGENT";
|
|
105995
|
+
ClientFeature[ClientFeature["CHROME_CONTEXT_SELECTION_AGENT"] = 25] = "CHROME_CONTEXT_SELECTION_AGENT";
|
|
105996
|
+
ClientFeature[ClientFeature["CHROME_ACCESSIBILITY_AGENT"] = 26] = "CHROME_ACCESSIBILITY_AGENT";
|
|
105997
|
+
ClientFeature[ClientFeature["CHROME_CONVERSATION_SUMMARY_AGENT"] = 27] = "CHROME_CONVERSATION_SUMMARY_AGENT";
|
|
105986
105998
|
})(ClientFeature || (ClientFeature = {}));
|
|
105987
105999
|
var UserTier;
|
|
105988
106000
|
(function (UserTier) {
|
|
@@ -106032,6 +106044,134 @@ var CitationSourceType;
|
|
|
106032
106044
|
CitationSourceType["INDIRECT"] = "INDIRECT";
|
|
106033
106045
|
})(CitationSourceType || (CitationSourceType = {}));
|
|
106034
106046
|
|
|
106047
|
+
// Copyright 2026 The Chromium Authors
|
|
106048
|
+
var Type$4;
|
|
106049
|
+
(function (Type) {
|
|
106050
|
+
Type[Type["TYPE_UNSPECIFIED"] = 0] = "TYPE_UNSPECIFIED";
|
|
106051
|
+
Type[Type["STRING"] = 1] = "STRING";
|
|
106052
|
+
Type[Type["NUMBER"] = 2] = "NUMBER";
|
|
106053
|
+
Type[Type["INTEGER"] = 3] = "INTEGER";
|
|
106054
|
+
Type[Type["BOOLEAN"] = 4] = "BOOLEAN";
|
|
106055
|
+
Type[Type["ARRAY"] = 5] = "ARRAY";
|
|
106056
|
+
Type[Type["OBJECT"] = 6] = "OBJECT";
|
|
106057
|
+
Type[Type["NULL"] = 7] = "NULL";
|
|
106058
|
+
})(Type$4 || (Type$4 = {}));
|
|
106059
|
+
var HarmCategory;
|
|
106060
|
+
(function (HarmCategory) {
|
|
106061
|
+
HarmCategory[HarmCategory["HARM_CATEGORY_UNSPECIFIED"] = 0] = "HARM_CATEGORY_UNSPECIFIED";
|
|
106062
|
+
HarmCategory[HarmCategory["HARM_CATEGORY_HARASSMENT"] = 7] = "HARM_CATEGORY_HARASSMENT";
|
|
106063
|
+
HarmCategory[HarmCategory["HARM_CATEGORY_HATE_SPEECH"] = 8] = "HARM_CATEGORY_HATE_SPEECH";
|
|
106064
|
+
HarmCategory[HarmCategory["HARM_CATEGORY_SEXUALLY_EXPLICIT"] = 9] = "HARM_CATEGORY_SEXUALLY_EXPLICIT";
|
|
106065
|
+
HarmCategory[HarmCategory["HARM_CATEGORY_DANGEROUS_CONTENT"] = 10] = "HARM_CATEGORY_DANGEROUS_CONTENT";
|
|
106066
|
+
})(HarmCategory || (HarmCategory = {}));
|
|
106067
|
+
var HarmProbability;
|
|
106068
|
+
(function (HarmProbability) {
|
|
106069
|
+
HarmProbability[HarmProbability["HARM_PROBABILITY_UNSPECIFIED"] = 0] = "HARM_PROBABILITY_UNSPECIFIED";
|
|
106070
|
+
HarmProbability[HarmProbability["NEGLIGIBLE"] = 1] = "NEGLIGIBLE";
|
|
106071
|
+
HarmProbability[HarmProbability["LOW"] = 2] = "LOW";
|
|
106072
|
+
HarmProbability[HarmProbability["MEDIUM"] = 3] = "MEDIUM";
|
|
106073
|
+
HarmProbability[HarmProbability["HIGH"] = 4] = "HIGH";
|
|
106074
|
+
})(HarmProbability || (HarmProbability = {}));
|
|
106075
|
+
var HarmBlockThreshold;
|
|
106076
|
+
(function (HarmBlockThreshold) {
|
|
106077
|
+
HarmBlockThreshold[HarmBlockThreshold["HARM_BLOCK_THRESHOLD_UNSPECIFIED"] = 0] = "HARM_BLOCK_THRESHOLD_UNSPECIFIED";
|
|
106078
|
+
HarmBlockThreshold[HarmBlockThreshold["BLOCK_LOW_AND_ABOVE"] = 1] = "BLOCK_LOW_AND_ABOVE";
|
|
106079
|
+
HarmBlockThreshold[HarmBlockThreshold["BLOCK_MEDIUM_AND_ABOVE"] = 2] = "BLOCK_MEDIUM_AND_ABOVE";
|
|
106080
|
+
HarmBlockThreshold[HarmBlockThreshold["BLOCK_ONLY_HIGH"] = 3] = "BLOCK_ONLY_HIGH";
|
|
106081
|
+
HarmBlockThreshold[HarmBlockThreshold["BLOCK_NONE"] = 4] = "BLOCK_NONE";
|
|
106082
|
+
HarmBlockThreshold[HarmBlockThreshold["OFF"] = 5] = "OFF";
|
|
106083
|
+
})(HarmBlockThreshold || (HarmBlockThreshold = {}));
|
|
106084
|
+
var HarmBlockMethod;
|
|
106085
|
+
(function (HarmBlockMethod) {
|
|
106086
|
+
HarmBlockMethod[HarmBlockMethod["HARM_BLOCK_METHOD_UNSPECIFIED"] = 0] = "HARM_BLOCK_METHOD_UNSPECIFIED";
|
|
106087
|
+
HarmBlockMethod[HarmBlockMethod["SEVERITY"] = 1] = "SEVERITY";
|
|
106088
|
+
HarmBlockMethod[HarmBlockMethod["PROBABILITY"] = 2] = "PROBABILITY";
|
|
106089
|
+
})(HarmBlockMethod || (HarmBlockMethod = {}));
|
|
106090
|
+
var FinishReason;
|
|
106091
|
+
(function (FinishReason) {
|
|
106092
|
+
FinishReason[FinishReason["FINISH_REASON_UNSPECIFIED"] = 0] = "FINISH_REASON_UNSPECIFIED";
|
|
106093
|
+
FinishReason[FinishReason["STOP"] = 1] = "STOP";
|
|
106094
|
+
FinishReason[FinishReason["MAX_TOKENS"] = 2] = "MAX_TOKENS";
|
|
106095
|
+
FinishReason[FinishReason["SAFETY"] = 3] = "SAFETY";
|
|
106096
|
+
FinishReason[FinishReason["RECITATION"] = 4] = "RECITATION";
|
|
106097
|
+
FinishReason[FinishReason["OTHER"] = 5] = "OTHER";
|
|
106098
|
+
FinishReason[FinishReason["BLOCKLIST"] = 6] = "BLOCKLIST";
|
|
106099
|
+
FinishReason[FinishReason["PROHIBITED_CONTENT"] = 7] = "PROHIBITED_CONTENT";
|
|
106100
|
+
FinishReason[FinishReason["SPII"] = 8] = "SPII";
|
|
106101
|
+
FinishReason[FinishReason["MALFORMED_FUNCTION_CALL"] = 9] = "MALFORMED_FUNCTION_CALL";
|
|
106102
|
+
FinishReason[FinishReason["IMAGE_SAFETY"] = 10] = "IMAGE_SAFETY";
|
|
106103
|
+
FinishReason[FinishReason["IMAGE_PROHIBITED_CONTENT"] = 11] = "IMAGE_PROHIBITED_CONTENT";
|
|
106104
|
+
FinishReason[FinishReason["IMAGE_RECITATION"] = 12] = "IMAGE_RECITATION";
|
|
106105
|
+
FinishReason[FinishReason["IMAGE_OTHER"] = 13] = "IMAGE_OTHER";
|
|
106106
|
+
FinishReason[FinishReason["UNEXPECTED_TOOL_CALL"] = 14] = "UNEXPECTED_TOOL_CALL";
|
|
106107
|
+
FinishReason[FinishReason["NO_IMAGE"] = 15] = "NO_IMAGE";
|
|
106108
|
+
})(FinishReason || (FinishReason = {}));
|
|
106109
|
+
var Method;
|
|
106110
|
+
(function (Method) {
|
|
106111
|
+
Method[Method["METHOD_UNSPECIFIED"] = 0] = "METHOD_UNSPECIFIED";
|
|
106112
|
+
Method[Method["GENERATE_CODE"] = 1] = "GENERATE_CODE";
|
|
106113
|
+
Method[Method["COMPLETE_CODE"] = 2] = "COMPLETE_CODE";
|
|
106114
|
+
Method[Method["TRANSFORM_CODE"] = 3] = "TRANSFORM_CODE";
|
|
106115
|
+
Method[Method["CHAT"] = 4] = "CHAT";
|
|
106116
|
+
})(Method || (Method = {}));
|
|
106117
|
+
var SuggestionStatus;
|
|
106118
|
+
(function (SuggestionStatus) {
|
|
106119
|
+
SuggestionStatus[SuggestionStatus["STATUS_UNSPECIFIED"] = 0] = "STATUS_UNSPECIFIED";
|
|
106120
|
+
SuggestionStatus[SuggestionStatus["NO_ERROR"] = 1] = "NO_ERROR";
|
|
106121
|
+
SuggestionStatus[SuggestionStatus["ERROR"] = 2] = "ERROR";
|
|
106122
|
+
SuggestionStatus[SuggestionStatus["CANCELLED"] = 3] = "CANCELLED";
|
|
106123
|
+
SuggestionStatus[SuggestionStatus["EMPTY"] = 4] = "EMPTY";
|
|
106124
|
+
})(SuggestionStatus || (SuggestionStatus = {}));
|
|
106125
|
+
var InteractionType;
|
|
106126
|
+
(function (InteractionType) {
|
|
106127
|
+
InteractionType[InteractionType["INTERACTION_TYPE_UNSPECIFIED"] = 0] = "INTERACTION_TYPE_UNSPECIFIED";
|
|
106128
|
+
InteractionType[InteractionType["THUMBS_UP"] = 1] = "THUMBS_UP";
|
|
106129
|
+
InteractionType[InteractionType["THUMBS_DOWN"] = 2] = "THUMBS_DOWN";
|
|
106130
|
+
InteractionType[InteractionType["ACCEPT"] = 3] = "ACCEPT";
|
|
106131
|
+
InteractionType[InteractionType["ACCEPT_PARTIALLY"] = 4] = "ACCEPT_PARTIALLY";
|
|
106132
|
+
InteractionType[InteractionType["REJECT"] = 5] = "REJECT";
|
|
106133
|
+
InteractionType[InteractionType["COPY"] = 6] = "COPY";
|
|
106134
|
+
})(InteractionType || (InteractionType = {}));
|
|
106135
|
+
var InclusionReason;
|
|
106136
|
+
(function (InclusionReason) {
|
|
106137
|
+
InclusionReason[InclusionReason["INCLUSION_REASON_UNSPECIFIED"] = 0] = "INCLUSION_REASON_UNSPECIFIED";
|
|
106138
|
+
InclusionReason[InclusionReason["ACTIVE"] = 1] = "ACTIVE";
|
|
106139
|
+
InclusionReason[InclusionReason["OPEN"] = 2] = "OPEN";
|
|
106140
|
+
InclusionReason[InclusionReason["RECENTLY_CLOSED"] = 3] = "RECENTLY_CLOSED";
|
|
106141
|
+
InclusionReason[InclusionReason["RECENTLY_EDITED"] = 4] = "RECENTLY_EDITED";
|
|
106142
|
+
InclusionReason[InclusionReason["COLOCATED"] = 5] = "COLOCATED";
|
|
106143
|
+
InclusionReason[InclusionReason["RELATED"] = 6] = "RELATED";
|
|
106144
|
+
InclusionReason[InclusionReason["USER_SELECTED"] = 7] = "USER_SELECTED";
|
|
106145
|
+
})(InclusionReason || (InclusionReason = {}));
|
|
106146
|
+
var BlockReason;
|
|
106147
|
+
(function (BlockReason) {
|
|
106148
|
+
BlockReason[BlockReason["BLOCKED_REASON_UNSPECIFIED"] = 0] = "BLOCKED_REASON_UNSPECIFIED";
|
|
106149
|
+
BlockReason[BlockReason["SAFETY"] = 1] = "SAFETY";
|
|
106150
|
+
BlockReason[BlockReason["OTHER"] = 2] = "OTHER";
|
|
106151
|
+
BlockReason[BlockReason["BLOCKLIST"] = 3] = "BLOCKLIST";
|
|
106152
|
+
BlockReason[BlockReason["PROHIBITED_CONTENT"] = 4] = "PROHIBITED_CONTENT";
|
|
106153
|
+
BlockReason[BlockReason["IMAGE_SAFETY"] = 5] = "IMAGE_SAFETY";
|
|
106154
|
+
})(BlockReason || (BlockReason = {}));
|
|
106155
|
+
var Language$1;
|
|
106156
|
+
(function (Language) {
|
|
106157
|
+
Language[Language["LANGUAGE_UNSPECIFIED"] = 0] = "LANGUAGE_UNSPECIFIED";
|
|
106158
|
+
Language[Language["PYTHON"] = 1] = "PYTHON";
|
|
106159
|
+
})(Language$1 || (Language$1 = {}));
|
|
106160
|
+
var Outcome;
|
|
106161
|
+
(function (Outcome) {
|
|
106162
|
+
Outcome[Outcome["OUTCOME_UNSPECIFIED"] = 0] = "OUTCOME_UNSPECIFIED";
|
|
106163
|
+
Outcome[Outcome["OUTCOME_OK"] = 1] = "OUTCOME_OK";
|
|
106164
|
+
Outcome[Outcome["OUTCOME_FAILED"] = 2] = "OUTCOME_FAILED";
|
|
106165
|
+
Outcome[Outcome["OUTCOME_DEADLINE_EXCEEDED"] = 3] = "OUTCOME_DEADLINE_EXCEEDED";
|
|
106166
|
+
})(Outcome || (Outcome = {}));
|
|
106167
|
+
var Mode;
|
|
106168
|
+
(function (Mode) {
|
|
106169
|
+
Mode[Mode["MODE_UNSPECIFIED"] = 0] = "MODE_UNSPECIFIED";
|
|
106170
|
+
Mode[Mode["AUTO"] = 1] = "AUTO";
|
|
106171
|
+
Mode[Mode["ANY"] = 2] = "ANY";
|
|
106172
|
+
Mode[Mode["NONE"] = 3] = "NONE";
|
|
106173
|
+
})(Mode || (Mode = {}));
|
|
106174
|
+
|
|
106035
106175
|
// Copyright 2025 The Chromium Authors
|
|
106036
106176
|
var SubscriptionStatus;
|
|
106037
106177
|
(function (SubscriptionStatus) {
|
|
@@ -106279,6 +106419,9 @@ class UserMetrics {
|
|
|
106279
106419
|
consoleInsightShortTeaserGenerated(timeInMilliseconds) {
|
|
106280
106420
|
InspectorFrontendHostInstance.recordPerformanceHistogram('DevTools.Insights.ShortTeaserGenerationTime', timeInMilliseconds);
|
|
106281
106421
|
}
|
|
106422
|
+
extensionEvalTarget(target) {
|
|
106423
|
+
InspectorFrontendHostInstance.recordEnumeratedHistogram("DevTools.ExtensionEvalTarget" , target, 3 );
|
|
106424
|
+
}
|
|
106282
106425
|
}
|
|
106283
106426
|
var Action;
|
|
106284
106427
|
(function (Action) {
|
|
@@ -106728,7 +106871,6 @@ var DevtoolsExperiments;
|
|
|
106728
106871
|
DevtoolsExperiments[DevtoolsExperiments["show-option-to-expose-internals-in-heap-snapshot"] = 18] = "show-option-to-expose-internals-in-heap-snapshot";
|
|
106729
106872
|
DevtoolsExperiments[DevtoolsExperiments["timeline-invalidation-tracking"] = 26] = "timeline-invalidation-tracking";
|
|
106730
106873
|
DevtoolsExperiments[DevtoolsExperiments["timeline-show-all-events"] = 27] = "timeline-show-all-events";
|
|
106731
|
-
DevtoolsExperiments[DevtoolsExperiments["timeline-v8-runtime-call-stats"] = 28] = "timeline-v8-runtime-call-stats";
|
|
106732
106874
|
DevtoolsExperiments[DevtoolsExperiments["apca"] = 39] = "apca";
|
|
106733
106875
|
DevtoolsExperiments[DevtoolsExperiments["font-editor"] = 41] = "font-editor";
|
|
106734
106876
|
DevtoolsExperiments[DevtoolsExperiments["full-accessibility-tree"] = 42] = "full-accessibility-tree";
|
|
@@ -116659,6 +116801,34 @@ class ColorMixMatcher extends matcherBase(ColorMixMatch) {
|
|
|
116659
116801
|
return new ColorMixMatch(matching.ast.text(node), node, args[0], args[1], args[2]);
|
|
116660
116802
|
}
|
|
116661
116803
|
}
|
|
116804
|
+
class ContrastColorMatch {
|
|
116805
|
+
text;
|
|
116806
|
+
node;
|
|
116807
|
+
color;
|
|
116808
|
+
constructor(text, node, color) {
|
|
116809
|
+
this.text = text;
|
|
116810
|
+
this.node = node;
|
|
116811
|
+
this.color = color;
|
|
116812
|
+
}
|
|
116813
|
+
}
|
|
116814
|
+
class ContrastColorMatcher extends matcherBase(ContrastColorMatch) {
|
|
116815
|
+
accepts(propertyName) {
|
|
116816
|
+
return cssMetadata().isColorAwareProperty(propertyName);
|
|
116817
|
+
}
|
|
116818
|
+
matches(node, matching) {
|
|
116819
|
+
if (node.name !== 'CallExpression' || matching.ast.text(node.getChild('Callee')) !== 'contrast-color') {
|
|
116820
|
+
return null;
|
|
116821
|
+
}
|
|
116822
|
+
if (matching.getComputedText(node) === '') {
|
|
116823
|
+
return null;
|
|
116824
|
+
}
|
|
116825
|
+
const args = ASTUtils.callArgs(node);
|
|
116826
|
+
if (args.length !== 1) {
|
|
116827
|
+
return null;
|
|
116828
|
+
}
|
|
116829
|
+
return new ContrastColorMatch(matching.ast.text(node), node, args[0]);
|
|
116830
|
+
}
|
|
116831
|
+
}
|
|
116662
116832
|
class URLMatch {
|
|
116663
116833
|
url;
|
|
116664
116834
|
text;
|
|
@@ -119931,6 +120101,7 @@ class CSSMatchedStyles {
|
|
|
119931
120101
|
new VariableMatcher(this, style),
|
|
119932
120102
|
new ColorMatcher(() => computedStyles?.get('color') ?? null),
|
|
119933
120103
|
new ColorMixMatcher(),
|
|
120104
|
+
new ContrastColorMatcher(),
|
|
119934
120105
|
new URLMatcher(),
|
|
119935
120106
|
new AngleMatcher(),
|
|
119936
120107
|
new LinkableNameMatcher(),
|
|
@@ -120572,12 +120743,12 @@ class DOMInheritanceCascade {
|
|
|
120572
120743
|
}
|
|
120573
120744
|
|
|
120574
120745
|
// Copyright 2016 The Chromium Authors
|
|
120575
|
-
const UIStrings$
|
|
120746
|
+
const UIStrings$16 = {
|
|
120576
120747
|
couldNotFindTheOriginalStyle: 'Could not find the original style sheet.',
|
|
120577
120748
|
thereWasAnErrorRetrievingThe: 'There was an error retrieving the source styles.',
|
|
120578
120749
|
};
|
|
120579
|
-
const str_$
|
|
120580
|
-
const i18nString$
|
|
120750
|
+
const str_$15 = registerUIStrings('core/sdk/CSSStyleSheetHeader.ts', UIStrings$16);
|
|
120751
|
+
const i18nString$P = getLocalizedString.bind(undefined, str_$15);
|
|
120581
120752
|
class CSSStyleSheetHeader {
|
|
120582
120753
|
#cssModel;
|
|
120583
120754
|
id;
|
|
@@ -120628,7 +120799,7 @@ class CSSStyleSheetHeader {
|
|
|
120628
120799
|
const lazyContent = (async () => {
|
|
120629
120800
|
const originalText = await this.#cssModel.originalStyleSheetText(this);
|
|
120630
120801
|
if (originalText === null) {
|
|
120631
|
-
return { error: i18nString$
|
|
120802
|
+
return { error: i18nString$P(UIStrings$16.couldNotFindTheOriginalStyle) };
|
|
120632
120803
|
}
|
|
120633
120804
|
return new ContentData(originalText, false, 'text/css');
|
|
120634
120805
|
});
|
|
@@ -120697,7 +120868,7 @@ class CSSStyleSheetHeader {
|
|
|
120697
120868
|
async requestContentData() {
|
|
120698
120869
|
const cssText = await this.#cssModel.getStyleSheetText(this.id);
|
|
120699
120870
|
if (cssText === null) {
|
|
120700
|
-
return { error: i18nString$
|
|
120871
|
+
return { error: i18nString$P(UIStrings$16.thereWasAnErrorRetrievingThe) };
|
|
120701
120872
|
}
|
|
120702
120873
|
return new ContentData(cssText, false, 'text/css');
|
|
120703
120874
|
}
|
|
@@ -121574,7 +121745,7 @@ class ServerSentEvents {
|
|
|
121574
121745
|
}
|
|
121575
121746
|
|
|
121576
121747
|
// Copyright 2016 The Chromium Authors
|
|
121577
|
-
const UIStrings$
|
|
121748
|
+
const UIStrings$15 = {
|
|
121578
121749
|
deprecatedSyntaxFoundPleaseUse: 'Deprecated syntax found for metric "{PH1}". Please use: <name>;dur=<duration>;desc=<description>',
|
|
121579
121750
|
duplicateParameterSIgnored: 'Duplicate parameter "{PH1}" ignored.',
|
|
121580
121751
|
noValueFoundForParameterS: 'No value found for parameter "{PH1}".',
|
|
@@ -121582,8 +121753,8 @@ const UIStrings$14 = {
|
|
|
121582
121753
|
extraneousTrailingCharacters: 'Extraneous trailing characters.',
|
|
121583
121754
|
unableToParseSValueS: 'Unable to parse "{PH1}" value "{PH2}".',
|
|
121584
121755
|
};
|
|
121585
|
-
const str_$
|
|
121586
|
-
const i18nString$
|
|
121756
|
+
const str_$14 = registerUIStrings('core/sdk/ServerTiming.ts', UIStrings$15);
|
|
121757
|
+
const i18nString$O = getLocalizedString.bind(undefined, str_$14);
|
|
121587
121758
|
const cloudflarePrefix = '(cf) ';
|
|
121588
121759
|
const cloudinaryPrefix = '(cld) ';
|
|
121589
121760
|
class ServerTiming {
|
|
@@ -121668,7 +121839,7 @@ class ServerTiming {
|
|
|
121668
121839
|
while ((name = consumeToken()) !== null) {
|
|
121669
121840
|
const entry = { name };
|
|
121670
121841
|
if (valueString.charAt(0) === '=') {
|
|
121671
|
-
this.showWarning(i18nString$
|
|
121842
|
+
this.showWarning(i18nString$O(UIStrings$15.deprecatedSyntaxFoundPleaseUse, { PH1: name }));
|
|
121672
121843
|
}
|
|
121673
121844
|
while (consumeDelimiter(';')) {
|
|
121674
121845
|
let paramName;
|
|
@@ -121684,16 +121855,16 @@ class ServerTiming {
|
|
|
121684
121855
|
}
|
|
121685
121856
|
if (parseParameter) {
|
|
121686
121857
|
if (entry.hasOwnProperty(paramName)) {
|
|
121687
|
-
this.showWarning(i18nString$
|
|
121858
|
+
this.showWarning(i18nString$O(UIStrings$15.duplicateParameterSIgnored, { PH1: paramName }));
|
|
121688
121859
|
continue;
|
|
121689
121860
|
}
|
|
121690
121861
|
if (paramValue === null) {
|
|
121691
|
-
this.showWarning(i18nString$
|
|
121862
|
+
this.showWarning(i18nString$O(UIStrings$15.noValueFoundForParameterS, { PH1: paramName }));
|
|
121692
121863
|
}
|
|
121693
121864
|
parseParameter.call(this, entry, paramValue);
|
|
121694
121865
|
}
|
|
121695
121866
|
else {
|
|
121696
|
-
this.showWarning(i18nString$
|
|
121867
|
+
this.showWarning(i18nString$O(UIStrings$15.unrecognizedParameterS, { PH1: paramName }));
|
|
121697
121868
|
}
|
|
121698
121869
|
}
|
|
121699
121870
|
result.push(entry);
|
|
@@ -121712,7 +121883,7 @@ class ServerTiming {
|
|
|
121712
121883
|
}
|
|
121713
121884
|
}
|
|
121714
121885
|
if (valueString.length) {
|
|
121715
|
-
this.showWarning(i18nString$
|
|
121886
|
+
this.showWarning(i18nString$O(UIStrings$15.extraneousTrailingCharacters));
|
|
121716
121887
|
}
|
|
121717
121888
|
return result;
|
|
121718
121889
|
}
|
|
@@ -121724,7 +121895,7 @@ class ServerTiming {
|
|
|
121724
121895
|
if (paramValue !== null) {
|
|
121725
121896
|
const duration = parseFloat(paramValue);
|
|
121726
121897
|
if (isNaN(duration)) {
|
|
121727
|
-
ServerTiming.showWarning(i18nString$
|
|
121898
|
+
ServerTiming.showWarning(i18nString$O(UIStrings$15.unableToParseSValueS, { PH1: paramName, PH2: paramValue }));
|
|
121728
121899
|
return;
|
|
121729
121900
|
}
|
|
121730
121901
|
entry.dur = duration;
|
|
@@ -121976,7 +122147,7 @@ var Type$2;
|
|
|
121976
122147
|
})(Type$2 || (Type$2 = {}));
|
|
121977
122148
|
|
|
121978
122149
|
// Copyright 2012 The Chromium Authors
|
|
121979
|
-
const UIStrings$
|
|
122150
|
+
const UIStrings$14 = {
|
|
121980
122151
|
binary: '(binary)',
|
|
121981
122152
|
secureOnly: 'This cookie was blocked because it had the "`Secure`" attribute and the connection was not secure.',
|
|
121982
122153
|
notOnPath: 'This cookie was blocked because its path was not an exact match for or a superdirectory of the request url\'s path.',
|
|
@@ -122019,8 +122190,8 @@ const UIStrings$13 = {
|
|
|
122019
122190
|
exemptionReasonTopLevelStorageAccessAPI: 'This cookie is allowed by the top-level Storage Access API. Learn more: goo.gle/saa-top',
|
|
122020
122191
|
exemptionReasonScheme: 'This cookie is allowed by the top-level url scheme',
|
|
122021
122192
|
};
|
|
122022
|
-
const str_$
|
|
122023
|
-
const i18nString$
|
|
122193
|
+
const str_$13 = registerUIStrings('core/sdk/NetworkRequest.ts', UIStrings$14);
|
|
122194
|
+
const i18nString$N = getLocalizedString.bind(undefined, str_$13);
|
|
122024
122195
|
class NetworkRequest extends ObjectWrapper {
|
|
122025
122196
|
#requestId;
|
|
122026
122197
|
#backendRequestId;
|
|
@@ -122859,7 +123030,7 @@ class NetworkRequest extends ObjectWrapper {
|
|
|
122859
123030
|
if (!match) {
|
|
122860
123031
|
return result;
|
|
122861
123032
|
}
|
|
122862
|
-
const processedValue = filename || contentType ? i18nString$
|
|
123033
|
+
const processedValue = filename || contentType ? i18nString$N(UIStrings$14.binary) : value;
|
|
122863
123034
|
result.push({ name, value: processedValue });
|
|
122864
123035
|
return result;
|
|
122865
123036
|
}
|
|
@@ -123109,7 +123280,7 @@ class NetworkRequest extends ObjectWrapper {
|
|
|
123109
123280
|
}
|
|
123110
123281
|
for (const blockedCookie of this.#blockedResponseCookies) {
|
|
123111
123282
|
if (blockedCookie.blockedReasons.includes("NameValuePairExceedsMaxSize" )) {
|
|
123112
|
-
const message = i18nString$
|
|
123283
|
+
const message = i18nString$N(UIStrings$14.setcookieHeaderIsIgnoredIn, {
|
|
123113
123284
|
PH1: this.url(),
|
|
123114
123285
|
});
|
|
123115
123286
|
networkManager.dispatchEventToListeners(Events$c.MessageGenerated, { message, requestId: this.#requestId, warning: true });
|
|
@@ -123252,45 +123423,45 @@ var WebSocketFrameType;
|
|
|
123252
123423
|
const setCookieBlockedReasonToUiString = function (blockedReason) {
|
|
123253
123424
|
switch (blockedReason) {
|
|
123254
123425
|
case "SecureOnly" :
|
|
123255
|
-
return i18nString$
|
|
123426
|
+
return i18nString$N(UIStrings$14.blockedReasonSecureOnly);
|
|
123256
123427
|
case "SameSiteStrict" :
|
|
123257
|
-
return i18nString$
|
|
123428
|
+
return i18nString$N(UIStrings$14.blockedReasonSameSiteStrictLax, {
|
|
123258
123429
|
PH1: 'SameSite=Strict',
|
|
123259
123430
|
});
|
|
123260
123431
|
case "SameSiteLax" :
|
|
123261
|
-
return i18nString$
|
|
123432
|
+
return i18nString$N(UIStrings$14.blockedReasonSameSiteStrictLax, {
|
|
123262
123433
|
PH1: 'SameSite=Lax',
|
|
123263
123434
|
});
|
|
123264
123435
|
case "SameSiteUnspecifiedTreatedAsLax" :
|
|
123265
|
-
return i18nString$
|
|
123436
|
+
return i18nString$N(UIStrings$14.blockedReasonSameSiteUnspecifiedTreatedAsLax);
|
|
123266
123437
|
case "SameSiteNoneInsecure" :
|
|
123267
|
-
return i18nString$
|
|
123438
|
+
return i18nString$N(UIStrings$14.blockedReasonSameSiteNoneInsecure);
|
|
123268
123439
|
case "UserPreferences" :
|
|
123269
|
-
return i18nString$
|
|
123440
|
+
return i18nString$N(UIStrings$14.thisSetcookieWasBlockedDueToUser);
|
|
123270
123441
|
case "SyntaxError" :
|
|
123271
|
-
return i18nString$
|
|
123442
|
+
return i18nString$N(UIStrings$14.thisSetcookieHadInvalidSyntax);
|
|
123272
123443
|
case "SchemeNotSupported" :
|
|
123273
|
-
return i18nString$
|
|
123444
|
+
return i18nString$N(UIStrings$14.theSchemeOfThisConnectionIsNot);
|
|
123274
123445
|
case "OverwriteSecure" :
|
|
123275
|
-
return i18nString$
|
|
123446
|
+
return i18nString$N(UIStrings$14.blockedReasonOverwriteSecure);
|
|
123276
123447
|
case "InvalidDomain" :
|
|
123277
|
-
return i18nString$
|
|
123448
|
+
return i18nString$N(UIStrings$14.blockedReasonInvalidDomain);
|
|
123278
123449
|
case "InvalidPrefix" :
|
|
123279
|
-
return i18nString$
|
|
123450
|
+
return i18nString$N(UIStrings$14.blockedReasonInvalidPrefix);
|
|
123280
123451
|
case "UnknownError" :
|
|
123281
|
-
return i18nString$
|
|
123452
|
+
return i18nString$N(UIStrings$14.anUnknownErrorWasEncounteredWhenTrying);
|
|
123282
123453
|
case "SchemefulSameSiteStrict" :
|
|
123283
|
-
return i18nString$
|
|
123454
|
+
return i18nString$N(UIStrings$14.thisSetcookieWasBlockedBecauseItHadTheSamesiteStrictLax, { PH1: 'SameSite=Strict' });
|
|
123284
123455
|
case "SchemefulSameSiteLax" :
|
|
123285
|
-
return i18nString$
|
|
123456
|
+
return i18nString$N(UIStrings$14.thisSetcookieWasBlockedBecauseItHadTheSamesiteStrictLax, { PH1: 'SameSite=Lax' });
|
|
123286
123457
|
case "SchemefulSameSiteUnspecifiedTreatedAsLax" :
|
|
123287
|
-
return i18nString$
|
|
123458
|
+
return i18nString$N(UIStrings$14.thisSetcookieDidntSpecifyASamesite);
|
|
123288
123459
|
case "NameValuePairExceedsMaxSize" :
|
|
123289
|
-
return i18nString$
|
|
123460
|
+
return i18nString$N(UIStrings$14.thisSetcookieWasBlockedBecauseTheNameValuePairExceedsMaxSize);
|
|
123290
123461
|
case "DisallowedCharacter" :
|
|
123291
|
-
return i18nString$
|
|
123462
|
+
return i18nString$N(UIStrings$14.thisSetcookieHadADisallowedCharacter);
|
|
123292
123463
|
case "ThirdPartyPhaseout" :
|
|
123293
|
-
return i18nString$
|
|
123464
|
+
return i18nString$N(UIStrings$14.thisSetcookieWasBlockedDueThirdPartyPhaseout);
|
|
123294
123465
|
}
|
|
123295
123466
|
return '';
|
|
123296
123467
|
};
|
|
@@ -123684,7 +123855,7 @@ function isSDKModelEvent(arg) {
|
|
|
123684
123855
|
}
|
|
123685
123856
|
|
|
123686
123857
|
// Copyright 2011 The Chromium Authors
|
|
123687
|
-
const UIStrings$
|
|
123858
|
+
const UIStrings$13 = {
|
|
123688
123859
|
noContentForWebSocket: 'Content for WebSockets is currently not supported',
|
|
123689
123860
|
noContentForRedirect: 'No content available because this request was redirected',
|
|
123690
123861
|
noContentForPreflight: 'No content available for preflight request',
|
|
@@ -123702,9 +123873,9 @@ const UIStrings$12 = {
|
|
|
123702
123873
|
directSocketStatusClosed: 'Closed',
|
|
123703
123874
|
directSocketStatusAborted: 'Aborted',
|
|
123704
123875
|
};
|
|
123705
|
-
const str_$
|
|
123706
|
-
const i18nString$
|
|
123707
|
-
const i18nLazyString$e = getLazilyComputedLocalizedString.bind(undefined, str_$
|
|
123876
|
+
const str_$12 = registerUIStrings('core/sdk/NetworkManager.ts', UIStrings$13);
|
|
123877
|
+
const i18nString$M = getLocalizedString.bind(undefined, str_$12);
|
|
123878
|
+
const i18nLazyString$e = getLazilyComputedLocalizedString.bind(undefined, str_$12);
|
|
123708
123879
|
const requestToManagerMap = new WeakMap();
|
|
123709
123880
|
const CONNECTION_TYPES = new Map([
|
|
123710
123881
|
['2g', "cellular2g" ],
|
|
@@ -123779,16 +123950,16 @@ class NetworkManager extends SDKModel {
|
|
|
123779
123950
|
}
|
|
123780
123951
|
static async requestContentData(request) {
|
|
123781
123952
|
if (request.resourceType() === resourceTypes.WebSocket) {
|
|
123782
|
-
return { error: i18nString$
|
|
123953
|
+
return { error: i18nString$M(UIStrings$13.noContentForWebSocket) };
|
|
123783
123954
|
}
|
|
123784
123955
|
if (!request.finished) {
|
|
123785
123956
|
await request.once(Events$d.FINISHED_LOADING);
|
|
123786
123957
|
}
|
|
123787
123958
|
if (request.isRedirect()) {
|
|
123788
|
-
return { error: i18nString$
|
|
123959
|
+
return { error: i18nString$M(UIStrings$13.noContentForRedirect) };
|
|
123789
123960
|
}
|
|
123790
123961
|
if (request.isPreflightRequest()) {
|
|
123791
|
-
return { error: i18nString$
|
|
123962
|
+
return { error: i18nString$M(UIStrings$13.noContentForPreflight) };
|
|
123792
123963
|
}
|
|
123793
123964
|
const manager = NetworkManager.forRequest(request);
|
|
123794
123965
|
if (!manager) {
|
|
@@ -123962,20 +124133,20 @@ var Events$c;
|
|
|
123962
124133
|
const BlockingConditions = {
|
|
123963
124134
|
key: "BLOCKING" ,
|
|
123964
124135
|
block: true,
|
|
123965
|
-
title: i18nLazyString$e(UIStrings$
|
|
124136
|
+
title: i18nLazyString$e(UIStrings$13.block),
|
|
123966
124137
|
};
|
|
123967
124138
|
const NoThrottlingConditions = {
|
|
123968
124139
|
key: "NO_THROTTLING" ,
|
|
123969
|
-
title: i18nLazyString$e(UIStrings$
|
|
123970
|
-
i18nTitleKey: UIStrings$
|
|
124140
|
+
title: i18nLazyString$e(UIStrings$13.noThrottling),
|
|
124141
|
+
i18nTitleKey: UIStrings$13.noThrottling,
|
|
123971
124142
|
download: -1,
|
|
123972
124143
|
upload: -1,
|
|
123973
124144
|
latency: 0,
|
|
123974
124145
|
};
|
|
123975
124146
|
const OfflineConditions = {
|
|
123976
124147
|
key: "OFFLINE" ,
|
|
123977
|
-
title: i18nLazyString$e(UIStrings$
|
|
123978
|
-
i18nTitleKey: UIStrings$
|
|
124148
|
+
title: i18nLazyString$e(UIStrings$13.offline),
|
|
124149
|
+
i18nTitleKey: UIStrings$13.offline,
|
|
123979
124150
|
download: 0,
|
|
123980
124151
|
upload: 0,
|
|
123981
124152
|
latency: 0,
|
|
@@ -123983,8 +124154,8 @@ const OfflineConditions = {
|
|
|
123983
124154
|
const slow3GTargetLatency = 400;
|
|
123984
124155
|
const Slow3GConditions = {
|
|
123985
124156
|
key: "SPEED_3G" ,
|
|
123986
|
-
title: i18nLazyString$e(UIStrings$
|
|
123987
|
-
i18nTitleKey: UIStrings$
|
|
124157
|
+
title: i18nLazyString$e(UIStrings$13.slowG),
|
|
124158
|
+
i18nTitleKey: UIStrings$13.slowG,
|
|
123988
124159
|
download: 500 * 1000 / 8 * .8,
|
|
123989
124160
|
upload: 500 * 1000 / 8 * .8,
|
|
123990
124161
|
latency: slow3GTargetLatency * 5,
|
|
@@ -123993,8 +124164,8 @@ const Slow3GConditions = {
|
|
|
123993
124164
|
const slow4GTargetLatency = 150;
|
|
123994
124165
|
const Slow4GConditions = {
|
|
123995
124166
|
key: "SPEED_SLOW_4G" ,
|
|
123996
|
-
title: i18nLazyString$e(UIStrings$
|
|
123997
|
-
i18nTitleKey: UIStrings$
|
|
124167
|
+
title: i18nLazyString$e(UIStrings$13.fastG),
|
|
124168
|
+
i18nTitleKey: UIStrings$13.fastG,
|
|
123998
124169
|
download: 1.6 * 1000 * 1000 / 8 * .9,
|
|
123999
124170
|
upload: 750 * 1000 / 8 * .9,
|
|
124000
124171
|
latency: slow4GTargetLatency * 3.75,
|
|
@@ -124003,8 +124174,8 @@ const Slow4GConditions = {
|
|
|
124003
124174
|
const fast4GTargetLatency = 60;
|
|
124004
124175
|
const Fast4GConditions = {
|
|
124005
124176
|
key: "SPEED_FAST_4G" ,
|
|
124006
|
-
title: i18nLazyString$e(UIStrings$
|
|
124007
|
-
i18nTitleKey: UIStrings$
|
|
124177
|
+
title: i18nLazyString$e(UIStrings$13.fast4G),
|
|
124178
|
+
i18nTitleKey: UIStrings$13.fast4G,
|
|
124008
124179
|
download: 9 * 1000 * 1000 / 8 * .9,
|
|
124009
124180
|
upload: 1.5 * 1000 * 1000 / 8 * .9,
|
|
124010
124181
|
latency: fast4GTargetLatency * 2.75,
|
|
@@ -124274,7 +124445,7 @@ class NetworkDispatcher {
|
|
|
124274
124445
|
if (blockedReason) {
|
|
124275
124446
|
networkRequest.setBlockedReason(blockedReason);
|
|
124276
124447
|
if (blockedReason === "inspector" ) {
|
|
124277
|
-
const message = i18nString$
|
|
124448
|
+
const message = i18nString$M(UIStrings$13.requestWasBlockedByDevtoolsS, { PH1: networkRequest.url() });
|
|
124278
124449
|
this.#manager.dispatchEventToListeners(Events$c.MessageGenerated, { message, requestId, warning: true });
|
|
124279
124450
|
}
|
|
124280
124451
|
}
|
|
@@ -124504,10 +124675,10 @@ class NetworkDispatcher {
|
|
|
124504
124675
|
let message;
|
|
124505
124676
|
const failedToLoad = networkRequest.failed || networkRequest.hasErrorStatusCode();
|
|
124506
124677
|
if (failedToLoad) {
|
|
124507
|
-
message = i18nString$
|
|
124678
|
+
message = i18nString$M(UIStrings$13.sFailedLoadingSS, { PH1: networkRequest.resourceType().title(), PH2: networkRequest.requestMethod, PH3: networkRequest.url() });
|
|
124508
124679
|
}
|
|
124509
124680
|
else {
|
|
124510
|
-
message = i18nString$
|
|
124681
|
+
message = i18nString$M(UIStrings$13.sFinishedLoadingSS, { PH1: networkRequest.resourceType().title(), PH2: networkRequest.requestMethod, PH3: networkRequest.url() });
|
|
124511
124682
|
}
|
|
124512
124683
|
this.#manager.dispatchEventToListeners(Events$c.MessageGenerated, { message, requestId: networkRequest.requestId(), warning: false });
|
|
124513
124684
|
}
|
|
@@ -124565,7 +124736,7 @@ class NetworkDispatcher {
|
|
|
124565
124736
|
networkRequest.hasNetworkData = true;
|
|
124566
124737
|
networkRequest.setRemoteAddress(event.remoteAddr, event.remotePort);
|
|
124567
124738
|
networkRequest.protocol = lockedString('tcp');
|
|
124568
|
-
networkRequest.statusText = i18nString$
|
|
124739
|
+
networkRequest.statusText = i18nString$M(UIStrings$13.directSocketStatusOpening);
|
|
124569
124740
|
networkRequest.directSocketInfo = {
|
|
124570
124741
|
type: DirectSocketType.TCP,
|
|
124571
124742
|
status: DirectSocketStatus.OPENING,
|
|
@@ -124591,7 +124762,7 @@ class NetworkDispatcher {
|
|
|
124591
124762
|
}
|
|
124592
124763
|
networkRequest.responseReceivedTime = event.timestamp;
|
|
124593
124764
|
networkRequest.directSocketInfo.status = DirectSocketStatus.OPEN;
|
|
124594
|
-
networkRequest.statusText = i18nString$
|
|
124765
|
+
networkRequest.statusText = i18nString$M(UIStrings$13.directSocketStatusOpen);
|
|
124595
124766
|
networkRequest.directSocketInfo.openInfo = {
|
|
124596
124767
|
remoteAddr: event.remoteAddr,
|
|
124597
124768
|
remotePort: event.remotePort,
|
|
@@ -124610,7 +124781,7 @@ class NetworkDispatcher {
|
|
|
124610
124781
|
}
|
|
124611
124782
|
networkRequest.failed = true;
|
|
124612
124783
|
networkRequest.directSocketInfo.status = DirectSocketStatus.ABORTED;
|
|
124613
|
-
networkRequest.statusText = i18nString$
|
|
124784
|
+
networkRequest.statusText = i18nString$M(UIStrings$13.directSocketStatusAborted);
|
|
124614
124785
|
networkRequest.directSocketInfo.errorMessage = event.errorMessage;
|
|
124615
124786
|
this.finishNetworkRequest(networkRequest, event.timestamp, 0);
|
|
124616
124787
|
}
|
|
@@ -124619,7 +124790,7 @@ class NetworkDispatcher {
|
|
|
124619
124790
|
if (!networkRequest?.directSocketInfo) {
|
|
124620
124791
|
return;
|
|
124621
124792
|
}
|
|
124622
|
-
networkRequest.statusText = i18nString$
|
|
124793
|
+
networkRequest.statusText = i18nString$M(UIStrings$13.directSocketStatusClosed);
|
|
124623
124794
|
networkRequest.directSocketInfo.status = DirectSocketStatus.CLOSED;
|
|
124624
124795
|
this.finishNetworkRequest(networkRequest, event.timestamp, 0);
|
|
124625
124796
|
}
|
|
@@ -124669,7 +124840,7 @@ class NetworkDispatcher {
|
|
|
124669
124840
|
networkRequest.setRemoteAddress(event.options.remoteAddr, event.options.remotePort);
|
|
124670
124841
|
}
|
|
124671
124842
|
networkRequest.protocol = lockedString('udp');
|
|
124672
|
-
networkRequest.statusText = i18nString$
|
|
124843
|
+
networkRequest.statusText = i18nString$M(UIStrings$13.directSocketStatusOpening);
|
|
124673
124844
|
networkRequest.directSocketInfo = {
|
|
124674
124845
|
type,
|
|
124675
124846
|
status: DirectSocketStatus.OPENING,
|
|
@@ -124711,7 +124882,7 @@ class NetworkDispatcher {
|
|
|
124711
124882
|
networkRequest.setUrl(requestURL);
|
|
124712
124883
|
networkRequest.responseReceivedTime = event.timestamp;
|
|
124713
124884
|
networkRequest.directSocketInfo.status = DirectSocketStatus.OPEN;
|
|
124714
|
-
networkRequest.statusText = i18nString$
|
|
124885
|
+
networkRequest.statusText = i18nString$M(UIStrings$13.directSocketStatusOpen);
|
|
124715
124886
|
networkRequest.directSocketInfo.openInfo = {
|
|
124716
124887
|
remoteAddr: event.remoteAddr,
|
|
124717
124888
|
remotePort: event.remotePort,
|
|
@@ -124727,7 +124898,7 @@ class NetworkDispatcher {
|
|
|
124727
124898
|
}
|
|
124728
124899
|
networkRequest.failed = true;
|
|
124729
124900
|
networkRequest.directSocketInfo.status = DirectSocketStatus.ABORTED;
|
|
124730
|
-
networkRequest.statusText = i18nString$
|
|
124901
|
+
networkRequest.statusText = i18nString$M(UIStrings$13.directSocketStatusAborted);
|
|
124731
124902
|
networkRequest.directSocketInfo.errorMessage = event.errorMessage;
|
|
124732
124903
|
this.finishNetworkRequest(networkRequest, event.timestamp, 0);
|
|
124733
124904
|
}
|
|
@@ -124736,7 +124907,7 @@ class NetworkDispatcher {
|
|
|
124736
124907
|
if (!networkRequest?.directSocketInfo) {
|
|
124737
124908
|
return;
|
|
124738
124909
|
}
|
|
124739
|
-
networkRequest.statusText = i18nString$
|
|
124910
|
+
networkRequest.statusText = i18nString$M(UIStrings$13.directSocketStatusClosed);
|
|
124740
124911
|
networkRequest.directSocketInfo.status = DirectSocketStatus.CLOSED;
|
|
124741
124912
|
this.finishNetworkRequest(networkRequest, event.timestamp, 0);
|
|
124742
124913
|
}
|
|
@@ -125609,11 +125780,11 @@ function getPredefinedOrBlockingCondition(key) {
|
|
|
125609
125780
|
}
|
|
125610
125781
|
|
|
125611
125782
|
// Copyright 2020 The Chromium Authors
|
|
125612
|
-
const UIStrings$
|
|
125783
|
+
const UIStrings$12 = {
|
|
125613
125784
|
loadCanceledDueToReloadOf: 'Load canceled due to reload of inspected page',
|
|
125614
125785
|
};
|
|
125615
|
-
const str_$
|
|
125616
|
-
const i18nString$
|
|
125786
|
+
const str_$11 = registerUIStrings('core/sdk/PageResourceLoader.ts', UIStrings$12);
|
|
125787
|
+
const i18nString$L = getLocalizedString.bind(undefined, str_$11);
|
|
125617
125788
|
function isExtensionInitiator(initiator) {
|
|
125618
125789
|
return 'extensionId' in initiator;
|
|
125619
125790
|
}
|
|
@@ -125654,7 +125825,7 @@ class PageResourceLoader extends ObjectWrapper {
|
|
|
125654
125825
|
return;
|
|
125655
125826
|
}
|
|
125656
125827
|
for (const { reject } of this.#queuedLoads) {
|
|
125657
|
-
reject(new Error(i18nString$
|
|
125828
|
+
reject(new Error(i18nString$L(UIStrings$12.loadCanceledDueToReloadOf)));
|
|
125658
125829
|
}
|
|
125659
125830
|
this.#queuedLoads = [];
|
|
125660
125831
|
const mainFrameTarget = mainFrame.resourceTreeModel().target();
|
|
@@ -125787,6 +125958,26 @@ class PageResourceLoader extends ObjectWrapper {
|
|
|
125787
125958
|
initiator.target;
|
|
125788
125959
|
userMetrics.developerResourceScheme(this.getDeveloperResourceScheme(parsedURL));
|
|
125789
125960
|
if (eligibleForLoadFromTarget) {
|
|
125961
|
+
let mustEnforceCSP = false;
|
|
125962
|
+
const isHttp = parsedURL.scheme === 'http' || parsedURL.scheme === 'https';
|
|
125963
|
+
if (isHttp && initiator.target) {
|
|
125964
|
+
const networkManager = initiator.target.model(NetworkManager);
|
|
125965
|
+
if (networkManager) {
|
|
125966
|
+
let status = await networkManager.getSecurityIsolationStatus(initiator.frameId);
|
|
125967
|
+
if (!status && initiator.frameId) {
|
|
125968
|
+
status = await networkManager.getSecurityIsolationStatus(null);
|
|
125969
|
+
}
|
|
125970
|
+
if (status?.csp) {
|
|
125971
|
+
for (const csp of status.csp) {
|
|
125972
|
+
const directives = csp.effectiveDirectives;
|
|
125973
|
+
if (directives.includes('connect-src') || directives.includes('default-src')) {
|
|
125974
|
+
mustEnforceCSP = true;
|
|
125975
|
+
break;
|
|
125976
|
+
}
|
|
125977
|
+
}
|
|
125978
|
+
}
|
|
125979
|
+
}
|
|
125980
|
+
}
|
|
125790
125981
|
try {
|
|
125791
125982
|
userMetrics.developerResourceLoaded(0 );
|
|
125792
125983
|
const result = await this.loadFromTarget(initiator.target, initiator.frameId, url, isBinary);
|
|
@@ -125795,7 +125986,7 @@ class PageResourceLoader extends ObjectWrapper {
|
|
|
125795
125986
|
catch (e) {
|
|
125796
125987
|
if (e instanceof Error) {
|
|
125797
125988
|
userMetrics.developerResourceLoaded(2 );
|
|
125798
|
-
if (e.message.includes('CSP violation')) {
|
|
125989
|
+
if (mustEnforceCSP || e.message.includes('CSP violation')) {
|
|
125799
125990
|
return {
|
|
125800
125991
|
success: false,
|
|
125801
125992
|
content: '',
|
|
@@ -126716,15 +126907,15 @@ function comparePositions(a, b) {
|
|
|
126716
126907
|
}
|
|
126717
126908
|
|
|
126718
126909
|
// Copyright 2024 The Chromium Authors
|
|
126719
|
-
const UIStrings$
|
|
126910
|
+
const UIStrings$11 = {
|
|
126720
126911
|
local: 'Local',
|
|
126721
126912
|
closure: 'Closure',
|
|
126722
126913
|
block: 'Block',
|
|
126723
126914
|
global: 'Global',
|
|
126724
126915
|
returnValue: 'Return value',
|
|
126725
126916
|
};
|
|
126726
|
-
const str_
|
|
126727
|
-
const i18nString$
|
|
126917
|
+
const str_$10 = registerUIStrings('core/sdk/SourceMapScopeChainEntry.ts', UIStrings$11);
|
|
126918
|
+
const i18nString$K = getLocalizedString.bind(undefined, str_$10);
|
|
126728
126919
|
class SourceMapScopeChainEntry {
|
|
126729
126920
|
#callFrame;
|
|
126730
126921
|
#scope;
|
|
@@ -126740,7 +126931,7 @@ class SourceMapScopeChainEntry {
|
|
|
126740
126931
|
}
|
|
126741
126932
|
extraProperties() {
|
|
126742
126933
|
if (this.#returnValue) {
|
|
126743
|
-
return [new RemoteObjectProperty(i18nString$
|
|
126934
|
+
return [new RemoteObjectProperty(i18nString$K(UIStrings$11.returnValue), this.#returnValue, undefined, undefined, undefined, undefined, undefined,
|
|
126744
126935
|
true)];
|
|
126745
126936
|
}
|
|
126746
126937
|
return [];
|
|
@@ -126762,11 +126953,11 @@ class SourceMapScopeChainEntry {
|
|
|
126762
126953
|
typeName() {
|
|
126763
126954
|
switch (this.#scope.kind) {
|
|
126764
126955
|
case 'global':
|
|
126765
|
-
return i18nString$
|
|
126956
|
+
return i18nString$K(UIStrings$11.global);
|
|
126766
126957
|
case 'function':
|
|
126767
|
-
return this.#isInnerMostFunction ? i18nString$
|
|
126958
|
+
return this.#isInnerMostFunction ? i18nString$K(UIStrings$11.local) : i18nString$K(UIStrings$11.closure);
|
|
126768
126959
|
case 'block':
|
|
126769
|
-
return i18nString$
|
|
126960
|
+
return i18nString$K(UIStrings$11.block);
|
|
126770
126961
|
}
|
|
126771
126962
|
return this.#scope.kind ?? '';
|
|
126772
126963
|
}
|
|
@@ -128939,7 +129130,6 @@ const StylePollingInterval = 1000;
|
|
|
128939
129130
|
SDKModel.register(CSSModel, { capabilities: 2 , autostart: true });
|
|
128940
129131
|
|
|
128941
129132
|
// Copyright 2020 The Chromium Authors
|
|
128942
|
-
let frameManagerInstance = null;
|
|
128943
129133
|
class FrameManager extends ObjectWrapper {
|
|
128944
129134
|
#eventListeners = new WeakMap();
|
|
128945
129135
|
#frames = new Map();
|
|
@@ -128947,18 +129137,18 @@ class FrameManager extends ObjectWrapper {
|
|
|
128947
129137
|
#outermostFrame = null;
|
|
128948
129138
|
#transferringFramesDataCache = new Map();
|
|
128949
129139
|
#awaitedFrames = new Map();
|
|
128950
|
-
constructor() {
|
|
129140
|
+
constructor(targetManager) {
|
|
128951
129141
|
super();
|
|
128952
|
-
|
|
129142
|
+
targetManager.observeModels(ResourceTreeModel, this);
|
|
128953
129143
|
}
|
|
128954
129144
|
static instance({ forceNew } = { forceNew: false }) {
|
|
128955
|
-
if (!
|
|
128956
|
-
|
|
129145
|
+
if (!globalInstance().has(FrameManager) || forceNew) {
|
|
129146
|
+
globalInstance().set(FrameManager, new FrameManager(TargetManager.instance()));
|
|
128957
129147
|
}
|
|
128958
|
-
return
|
|
129148
|
+
return globalInstance().get(FrameManager);
|
|
128959
129149
|
}
|
|
128960
129150
|
static removeInstance() {
|
|
128961
|
-
|
|
129151
|
+
globalInstance().delete(FrameManager);
|
|
128962
129152
|
}
|
|
128963
129153
|
modelAdded(resourceTreeModel) {
|
|
128964
129154
|
const addListener = resourceTreeModel.addEventListener(Events$6.FrameAdded, this.frameAdded, this);
|
|
@@ -129500,11 +129690,11 @@ class OverlayPersistentHighlighter {
|
|
|
129500
129690
|
}
|
|
129501
129691
|
|
|
129502
129692
|
// Copyright 2017 The Chromium Authors
|
|
129503
|
-
const UIStrings
|
|
129693
|
+
const UIStrings$10 = {
|
|
129504
129694
|
pausedInDebugger: 'Paused in debugger',
|
|
129505
129695
|
};
|
|
129506
|
-
const str_
|
|
129507
|
-
const i18nString$
|
|
129696
|
+
const str_$$ = registerUIStrings('core/sdk/OverlayModel.ts', UIStrings$10);
|
|
129697
|
+
const i18nString$J = getLocalizedString.bind(undefined, str_$$);
|
|
129508
129698
|
const platformOverlayDimensions = {
|
|
129509
129699
|
mac: { x: 85, y: 0, width: 185, height: 40 },
|
|
129510
129700
|
linux: { x: 0, y: 0, width: 196, height: 34 },
|
|
@@ -129688,7 +129878,7 @@ class OverlayModel extends SDKModel {
|
|
|
129688
129878
|
}
|
|
129689
129879
|
const message = this.#debuggerModel && this.#debuggerModel.isPaused() &&
|
|
129690
129880
|
!Settings.instance().moduleSetting('disable-paused-state-overlay').get() ?
|
|
129691
|
-
i18nString$
|
|
129881
|
+
i18nString$J(UIStrings$10.pausedInDebugger) :
|
|
129692
129882
|
undefined;
|
|
129693
129883
|
void this.overlayAgent.invoke_setPausedInDebuggerMessage({ message });
|
|
129694
129884
|
}
|
|
@@ -133884,12 +134074,12 @@ SDKModel.register(ResourceTreeModel, { capabilities: 2 , autostart: true, early:
|
|
|
133884
134074
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
133885
134075
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
133886
134076
|
*/
|
|
133887
|
-
const UIStrings
|
|
134077
|
+
const UIStrings$$ = {
|
|
133888
134078
|
scriptRemovedOrDeleted: 'Script removed or deleted.',
|
|
133889
134079
|
unableToFetchScriptSource: 'Unable to fetch script source.',
|
|
133890
134080
|
};
|
|
133891
|
-
const str_$
|
|
133892
|
-
const i18nString$
|
|
134081
|
+
const str_$_ = registerUIStrings('core/sdk/Script.ts', UIStrings$$);
|
|
134082
|
+
const i18nString$I = getLocalizedString.bind(undefined, str_$_);
|
|
133893
134083
|
let scriptCacheInstance = null;
|
|
133894
134084
|
class Script {
|
|
133895
134085
|
debuggerModel;
|
|
@@ -134083,13 +134273,13 @@ class Script {
|
|
|
134083
134273
|
}
|
|
134084
134274
|
async #requestContent() {
|
|
134085
134275
|
if (!this.scriptId) {
|
|
134086
|
-
return { error: i18nString$
|
|
134276
|
+
return { error: i18nString$I(UIStrings$$.scriptRemovedOrDeleted) };
|
|
134087
134277
|
}
|
|
134088
134278
|
try {
|
|
134089
134279
|
return this.isWasm() ? await this.loadWasmContent() : await this.loadTextContent();
|
|
134090
134280
|
}
|
|
134091
134281
|
catch {
|
|
134092
|
-
return { error: i18nString$
|
|
134282
|
+
return { error: i18nString$I(UIStrings$$.unableToFetchScriptSource) };
|
|
134093
134283
|
}
|
|
134094
134284
|
}
|
|
134095
134285
|
async getWasmBytecode() {
|
|
@@ -134235,7 +134425,7 @@ async function disassembleWasm(content) {
|
|
|
134235
134425
|
}
|
|
134236
134426
|
|
|
134237
134427
|
// Copyright 2010 The Chromium Authors
|
|
134238
|
-
const UIStrings$
|
|
134428
|
+
const UIStrings$_ = {
|
|
134239
134429
|
local: 'Local',
|
|
134240
134430
|
closure: 'Closure',
|
|
134241
134431
|
block: 'Block',
|
|
@@ -134248,8 +134438,8 @@ const UIStrings$Z = {
|
|
|
134248
134438
|
exception: 'Exception',
|
|
134249
134439
|
returnValue: 'Return value',
|
|
134250
134440
|
};
|
|
134251
|
-
const str_$
|
|
134252
|
-
const i18nString$
|
|
134441
|
+
const str_$Z = registerUIStrings('core/sdk/DebuggerModel.ts', UIStrings$_);
|
|
134442
|
+
const i18nString$H = getLocalizedString.bind(undefined, str_$Z);
|
|
134253
134443
|
function sortAndMergeRanges(locationRanges) {
|
|
134254
134444
|
function compare(p1, p2) {
|
|
134255
134445
|
return (p1.lineNumber - p2.lineNumber) || (p1.columnNumber - p2.columnNumber);
|
|
@@ -135209,25 +135399,25 @@ class Scope {
|
|
|
135209
135399
|
typeName() {
|
|
135210
135400
|
switch (this.#type) {
|
|
135211
135401
|
case "local" :
|
|
135212
|
-
return i18nString$
|
|
135402
|
+
return i18nString$H(UIStrings$_.local);
|
|
135213
135403
|
case "closure" :
|
|
135214
|
-
return i18nString$
|
|
135404
|
+
return i18nString$H(UIStrings$_.closure);
|
|
135215
135405
|
case "catch" :
|
|
135216
|
-
return i18nString$
|
|
135406
|
+
return i18nString$H(UIStrings$_.catchBlock);
|
|
135217
135407
|
case "eval" :
|
|
135218
135408
|
return lockedString('Eval');
|
|
135219
135409
|
case "block" :
|
|
135220
|
-
return i18nString$
|
|
135410
|
+
return i18nString$H(UIStrings$_.block);
|
|
135221
135411
|
case "script" :
|
|
135222
|
-
return i18nString$
|
|
135412
|
+
return i18nString$H(UIStrings$_.script);
|
|
135223
135413
|
case "with" :
|
|
135224
|
-
return i18nString$
|
|
135414
|
+
return i18nString$H(UIStrings$_.withBlock);
|
|
135225
135415
|
case "global" :
|
|
135226
|
-
return i18nString$
|
|
135416
|
+
return i18nString$H(UIStrings$_.global);
|
|
135227
135417
|
case "module" :
|
|
135228
|
-
return i18nString$
|
|
135418
|
+
return i18nString$H(UIStrings$_.module);
|
|
135229
135419
|
case "wasm-expression-stack" :
|
|
135230
|
-
return i18nString$
|
|
135420
|
+
return i18nString$H(UIStrings$_.expression);
|
|
135231
135421
|
}
|
|
135232
135422
|
return '';
|
|
135233
135423
|
}
|
|
@@ -135266,12 +135456,12 @@ class Scope {
|
|
|
135266
135456
|
const extraProperties = [];
|
|
135267
135457
|
const exception = this.#callFrame.exception;
|
|
135268
135458
|
if (exception) {
|
|
135269
|
-
extraProperties.push(new RemoteObjectProperty(i18nString$
|
|
135459
|
+
extraProperties.push(new RemoteObjectProperty(i18nString$H(UIStrings$_.exception), exception, undefined, undefined, undefined, undefined, undefined,
|
|
135270
135460
|
true));
|
|
135271
135461
|
}
|
|
135272
135462
|
const returnValue = this.#callFrame.returnValue();
|
|
135273
135463
|
if (returnValue) {
|
|
135274
|
-
extraProperties.push(new RemoteObjectProperty(i18nString$
|
|
135464
|
+
extraProperties.push(new RemoteObjectProperty(i18nString$H(UIStrings$_.returnValue), returnValue, undefined, undefined, undefined, undefined, undefined,
|
|
135275
135465
|
true, this.#callFrame.setReturnValue.bind(this.#callFrame)));
|
|
135276
135466
|
}
|
|
135277
135467
|
return extraProperties;
|
|
@@ -136503,18 +136693,18 @@ class AutofillModel extends SDKModel {
|
|
|
136503
136693
|
SDKModel.register(AutofillModel, { capabilities: 2 , autostart: true });
|
|
136504
136694
|
|
|
136505
136695
|
// Copyright 2018 The Chromium Authors
|
|
136506
|
-
const UIStrings$
|
|
136696
|
+
const UIStrings$Z = {
|
|
136507
136697
|
main: 'Main',
|
|
136508
136698
|
};
|
|
136509
|
-
const str_$
|
|
136510
|
-
getLocalizedString.bind(undefined, str_$
|
|
136699
|
+
const str_$Y = registerUIStrings('core/sdk/ChildTargetManager.ts', UIStrings$Z);
|
|
136700
|
+
getLocalizedString.bind(undefined, str_$Y);
|
|
136511
136701
|
|
|
136512
136702
|
// Copyright 2011 The Chromium Authors
|
|
136513
|
-
const UIStrings$
|
|
136703
|
+
const UIStrings$Y = {
|
|
136514
136704
|
couldNotLoadContentForSS: 'Could not load content for {PH1} ({PH2})',
|
|
136515
136705
|
};
|
|
136516
|
-
const str_$
|
|
136517
|
-
const i18nString$
|
|
136706
|
+
const str_$X = registerUIStrings('core/sdk/CompilerSourceMappingContentProvider.ts', UIStrings$Y);
|
|
136707
|
+
const i18nString$G = getLocalizedString.bind(undefined, str_$X);
|
|
136518
136708
|
class CompilerSourceMappingContentProvider {
|
|
136519
136709
|
#sourceURL;
|
|
136520
136710
|
#contentType;
|
|
@@ -136536,7 +136726,7 @@ class CompilerSourceMappingContentProvider {
|
|
|
136536
136726
|
return new ContentData(content, false, this.#contentType.canonicalMimeType());
|
|
136537
136727
|
}
|
|
136538
136728
|
catch (e) {
|
|
136539
|
-
const error = i18nString$
|
|
136729
|
+
const error = i18nString$G(UIStrings$Y.couldNotLoadContentForSS, { PH1: this.#sourceURL, PH2: e.message });
|
|
136540
136730
|
console.error(error);
|
|
136541
136731
|
return { error };
|
|
136542
136732
|
}
|
|
@@ -136548,20 +136738,20 @@ class CompilerSourceMappingContentProvider {
|
|
|
136548
136738
|
}
|
|
136549
136739
|
|
|
136550
136740
|
// Copyright 2024 The Chromium Authors
|
|
136551
|
-
const UIStrings$
|
|
136741
|
+
const UIStrings$X = {
|
|
136552
136742
|
noSourceText: 'No source text available',
|
|
136553
136743
|
noHostWindow: 'Can not find host window',
|
|
136554
136744
|
errorLoadingLog: 'Error loading log',
|
|
136555
136745
|
};
|
|
136556
|
-
const str_$
|
|
136557
|
-
getLocalizedString.bind(undefined, str_$
|
|
136746
|
+
const str_$W = registerUIStrings('core/sdk/RehydratingConnection.ts', UIStrings$X);
|
|
136747
|
+
getLocalizedString.bind(undefined, str_$W);
|
|
136558
136748
|
|
|
136559
136749
|
// Copyright 2015 The Chromium Authors
|
|
136560
|
-
const UIStrings$
|
|
136750
|
+
const UIStrings$W = {
|
|
136561
136751
|
websocketDisconnected: 'WebSocket disconnected',
|
|
136562
136752
|
};
|
|
136563
|
-
const str_$
|
|
136564
|
-
getLocalizedString.bind(undefined, str_$
|
|
136753
|
+
const str_$V = registerUIStrings('core/sdk/Connections.ts', UIStrings$W);
|
|
136754
|
+
getLocalizedString.bind(undefined, str_$V);
|
|
136565
136755
|
|
|
136566
136756
|
// Copyright 2020 The Chromium Authors
|
|
136567
136757
|
var FrontendMessageType;
|
|
@@ -136573,11 +136763,11 @@ var FrontendMessageType;
|
|
|
136573
136763
|
})(FrontendMessageType || (FrontendMessageType = {}));
|
|
136574
136764
|
|
|
136575
136765
|
// Copyright 2014 The Chromium Authors
|
|
136576
|
-
const UIStrings$
|
|
136766
|
+
const UIStrings$V = {
|
|
136577
136767
|
profileD: 'Profile {PH1}',
|
|
136578
136768
|
};
|
|
136579
|
-
const str_$
|
|
136580
|
-
const i18nString$
|
|
136769
|
+
const str_$U = registerUIStrings('core/sdk/CPUProfilerModel.ts', UIStrings$V);
|
|
136770
|
+
const i18nString$F = getLocalizedString.bind(undefined, str_$U);
|
|
136581
136771
|
class CPUProfilerModel extends SDKModel {
|
|
136582
136772
|
#nextAnonymousConsoleProfileNumber;
|
|
136583
136773
|
#anonymousConsoleProfileIdToTitle;
|
|
@@ -136603,7 +136793,7 @@ class CPUProfilerModel extends SDKModel {
|
|
|
136603
136793
|
}
|
|
136604
136794
|
consoleProfileStarted({ id, location, title }) {
|
|
136605
136795
|
if (!title) {
|
|
136606
|
-
title = i18nString$
|
|
136796
|
+
title = i18nString$F(UIStrings$V.profileD, { PH1: this.#nextAnonymousConsoleProfileNumber++ });
|
|
136607
136797
|
this.#anonymousConsoleProfileIdToTitle.set(id, title);
|
|
136608
136798
|
}
|
|
136609
136799
|
const eventData = this.createEventDataFrom(id, location, title);
|
|
@@ -136695,15 +136885,15 @@ class LogModel extends SDKModel {
|
|
|
136695
136885
|
SDKModel.register(LogModel, { capabilities: 8 , autostart: true });
|
|
136696
136886
|
|
|
136697
136887
|
// Copyright 2011 The Chromium Authors
|
|
136698
|
-
const UIStrings$
|
|
136888
|
+
const UIStrings$U = {
|
|
136699
136889
|
navigatedToS: 'Navigated to {PH1}',
|
|
136700
136890
|
bfcacheNavigation: 'Navigation to {PH1} was restored from back/forward cache (see https://web.dev/bfcache/)',
|
|
136701
136891
|
profileSStarted: 'Profile \'\'{PH1}\'\' started.',
|
|
136702
136892
|
profileSFinished: 'Profile \'\'{PH1}\'\' finished.',
|
|
136703
136893
|
failedToSaveToTempVariable: 'Failed to save to temp variable.',
|
|
136704
136894
|
};
|
|
136705
|
-
const str_$
|
|
136706
|
-
const i18nString$
|
|
136895
|
+
const str_$T = registerUIStrings('core/sdk/ConsoleModel.ts', UIStrings$U);
|
|
136896
|
+
const i18nString$E = getLocalizedString.bind(undefined, str_$T);
|
|
136707
136897
|
class ConsoleModel extends SDKModel {
|
|
136708
136898
|
#messages = [];
|
|
136709
136899
|
#messagesByTimestamp = new Multimap();
|
|
@@ -136888,20 +137078,20 @@ class ConsoleModel extends SDKModel {
|
|
|
136888
137078
|
if (Settings.instance().moduleSetting('preserve-console-log').get()) {
|
|
136889
137079
|
const { frame } = event.data;
|
|
136890
137080
|
if (frame.backForwardCacheDetails.restoredFromCache) {
|
|
136891
|
-
Console.instance().log(i18nString$
|
|
137081
|
+
Console.instance().log(i18nString$E(UIStrings$U.bfcacheNavigation, { PH1: frame.url }));
|
|
136892
137082
|
}
|
|
136893
137083
|
else {
|
|
136894
|
-
Console.instance().log(i18nString$
|
|
137084
|
+
Console.instance().log(i18nString$E(UIStrings$U.navigatedToS, { PH1: frame.url }));
|
|
136895
137085
|
}
|
|
136896
137086
|
}
|
|
136897
137087
|
}
|
|
136898
137088
|
consoleProfileStarted(cpuProfilerModel, event) {
|
|
136899
137089
|
const { data } = event;
|
|
136900
|
-
this.addConsoleProfileMessage(cpuProfilerModel, "profile" , data.scriptLocation, i18nString$
|
|
137090
|
+
this.addConsoleProfileMessage(cpuProfilerModel, "profile" , data.scriptLocation, i18nString$E(UIStrings$U.profileSStarted, { PH1: data.title }));
|
|
136901
137091
|
}
|
|
136902
137092
|
consoleProfileFinished(cpuProfilerModel, event) {
|
|
136903
137093
|
const { data } = event;
|
|
136904
|
-
this.addConsoleProfileMessage(cpuProfilerModel, "profileEnd" , data.scriptLocation, i18nString$
|
|
137094
|
+
this.addConsoleProfileMessage(cpuProfilerModel, "profileEnd" , data.scriptLocation, i18nString$E(UIStrings$U.profileSFinished, { PH1: data.title }));
|
|
136905
137095
|
}
|
|
136906
137096
|
addConsoleProfileMessage(cpuProfilerModel, type, scriptLocation, messageText) {
|
|
136907
137097
|
const script = scriptLocation.script();
|
|
@@ -137019,7 +137209,7 @@ class ConsoleModel extends SDKModel {
|
|
|
137019
137209
|
return name;
|
|
137020
137210
|
}
|
|
137021
137211
|
function failedToSave(result) {
|
|
137022
|
-
let message = i18nString$
|
|
137212
|
+
let message = i18nString$E(UIStrings$U.failedToSaveToTempVariable);
|
|
137023
137213
|
if (result) {
|
|
137024
137214
|
message = message + ' ' + result.description;
|
|
137025
137215
|
}
|
|
@@ -137667,16 +137857,16 @@ class EmulationModel extends SDKModel {
|
|
|
137667
137857
|
SDKModel.register(EmulationModel, { capabilities: 256 , autostart: true });
|
|
137668
137858
|
|
|
137669
137859
|
// Copyright 2017 The Chromium Authors
|
|
137670
|
-
const UIStrings$
|
|
137860
|
+
const UIStrings$T = {
|
|
137671
137861
|
noThrottling: 'No throttling',
|
|
137672
137862
|
dSlowdown: '{PH1}× slowdown',
|
|
137673
137863
|
calibratedMidTierMobile: 'Mid-tier mobile',
|
|
137674
137864
|
calibratedLowTierMobile: 'Low-tier mobile',
|
|
137675
137865
|
calibrationErrorDeviceTooWeak: 'Device is not powerful enough',
|
|
137676
137866
|
};
|
|
137677
|
-
const str_$
|
|
137678
|
-
getLocalizedString.bind(undefined, str_$
|
|
137679
|
-
const i18nLazyString$d = getLazilyComputedLocalizedString.bind(undefined, str_$
|
|
137867
|
+
const str_$S = registerUIStrings('core/sdk/CPUThrottlingManager.ts', UIStrings$T);
|
|
137868
|
+
getLocalizedString.bind(undefined, str_$S);
|
|
137869
|
+
const i18nLazyString$d = getLazilyComputedLocalizedString.bind(undefined, str_$S);
|
|
137680
137870
|
var CPUThrottlingRates;
|
|
137681
137871
|
(function (CPUThrottlingRates) {
|
|
137682
137872
|
CPUThrottlingRates[CPUThrottlingRates["NO_THROTTLING"] = 1] = "NO_THROTTLING";
|
|
@@ -137688,7 +137878,7 @@ var CPUThrottlingRates;
|
|
|
137688
137878
|
})(CPUThrottlingRates || (CPUThrottlingRates = {}));
|
|
137689
137879
|
function makeFixedPresetThrottlingOption(rate) {
|
|
137690
137880
|
return {
|
|
137691
|
-
title: rate === 1 ? i18nLazyString$d(UIStrings$
|
|
137881
|
+
title: rate === 1 ? i18nLazyString$d(UIStrings$T.noThrottling) : i18nLazyString$d(UIStrings$T.dSlowdown, { PH1: rate }),
|
|
137692
137882
|
rate: () => rate,
|
|
137693
137883
|
jslogContext: rate === 1 ? 'cpu-no-throttling' : `cpu-throttled-${rate}`,
|
|
137694
137884
|
};
|
|
@@ -139045,11 +139235,11 @@ class StorageBucketsModel extends SDKModel {
|
|
|
139045
139235
|
SDKModel.register(StorageBucketsModel, { capabilities: 8192 , autostart: false });
|
|
139046
139236
|
|
|
139047
139237
|
// Copyright 2014 The Chromium Authors
|
|
139048
|
-
const UIStrings$
|
|
139238
|
+
const UIStrings$S = {
|
|
139049
139239
|
serviceworkercacheagentError: '`ServiceWorkerCacheAgent` error deleting cache entry {PH1} in cache: {PH2}',
|
|
139050
139240
|
};
|
|
139051
|
-
const str_$
|
|
139052
|
-
const i18nString$
|
|
139241
|
+
const str_$R = registerUIStrings('core/sdk/ServiceWorkerCacheModel.ts', UIStrings$S);
|
|
139242
|
+
const i18nString$D = getLocalizedString.bind(undefined, str_$R);
|
|
139053
139243
|
class ServiceWorkerCacheModel extends SDKModel {
|
|
139054
139244
|
cacheAgent;
|
|
139055
139245
|
#storageAgent;
|
|
@@ -139111,7 +139301,7 @@ class ServiceWorkerCacheModel extends SDKModel {
|
|
|
139111
139301
|
async deleteCacheEntry(cache, request) {
|
|
139112
139302
|
const response = await this.cacheAgent.invoke_deleteEntry({ cacheId: cache.cacheId, request });
|
|
139113
139303
|
if (response.getError()) {
|
|
139114
|
-
Console.instance().error(i18nString$
|
|
139304
|
+
Console.instance().error(i18nString$D(UIStrings$S.serviceworkercacheagentError, { PH1: cache.toString(), PH2: String(response.getError()) }));
|
|
139115
139305
|
return;
|
|
139116
139306
|
}
|
|
139117
139307
|
}
|
|
@@ -139302,7 +139492,7 @@ let Cache$1 = class Cache {
|
|
|
139302
139492
|
SDKModel.register(ServiceWorkerCacheModel, { capabilities: 8192 , autostart: false });
|
|
139303
139493
|
|
|
139304
139494
|
// Copyright 2011 The Chromium Authors
|
|
139305
|
-
const UIStrings$
|
|
139495
|
+
const UIStrings$R = {
|
|
139306
139496
|
running: 'running',
|
|
139307
139497
|
starting: 'starting',
|
|
139308
139498
|
stopped: 'stopped',
|
|
@@ -139315,9 +139505,9 @@ const UIStrings$Q = {
|
|
|
139315
139505
|
redundant: 'redundant',
|
|
139316
139506
|
sSS: '{PH1} #{PH2} ({PH3})',
|
|
139317
139507
|
};
|
|
139318
|
-
const str_$
|
|
139319
|
-
const i18nString$
|
|
139320
|
-
const i18nLazyString$c = getLazilyComputedLocalizedString.bind(undefined, str_$
|
|
139508
|
+
const str_$Q = registerUIStrings('core/sdk/ServiceWorkerManager.ts', UIStrings$R);
|
|
139509
|
+
const i18nString$C = getLocalizedString.bind(undefined, str_$Q);
|
|
139510
|
+
const i18nLazyString$c = getLazilyComputedLocalizedString.bind(undefined, str_$Q);
|
|
139321
139511
|
class ServiceWorkerManager extends SDKModel {
|
|
139322
139512
|
#agent;
|
|
139323
139513
|
#registrations = new Map();
|
|
@@ -139629,18 +139819,18 @@ class ServiceWorkerVersion {
|
|
|
139629
139819
|
}
|
|
139630
139820
|
(function (ServiceWorkerVersion) {
|
|
139631
139821
|
ServiceWorkerVersion.RunningStatus = {
|
|
139632
|
-
["running" ]: i18nLazyString$c(UIStrings$
|
|
139633
|
-
["starting" ]: i18nLazyString$c(UIStrings$
|
|
139634
|
-
["stopped" ]: i18nLazyString$c(UIStrings$
|
|
139635
|
-
["stopping" ]: i18nLazyString$c(UIStrings$
|
|
139822
|
+
["running" ]: i18nLazyString$c(UIStrings$R.running),
|
|
139823
|
+
["starting" ]: i18nLazyString$c(UIStrings$R.starting),
|
|
139824
|
+
["stopped" ]: i18nLazyString$c(UIStrings$R.stopped),
|
|
139825
|
+
["stopping" ]: i18nLazyString$c(UIStrings$R.stopping),
|
|
139636
139826
|
};
|
|
139637
139827
|
ServiceWorkerVersion.Status = {
|
|
139638
|
-
["activated" ]: i18nLazyString$c(UIStrings$
|
|
139639
|
-
["activating" ]: i18nLazyString$c(UIStrings$
|
|
139640
|
-
["installed" ]: i18nLazyString$c(UIStrings$
|
|
139641
|
-
["installing" ]: i18nLazyString$c(UIStrings$
|
|
139642
|
-
["new" ]: i18nLazyString$c(UIStrings$
|
|
139643
|
-
["redundant" ]: i18nLazyString$c(UIStrings$
|
|
139828
|
+
["activated" ]: i18nLazyString$c(UIStrings$R.activated),
|
|
139829
|
+
["activating" ]: i18nLazyString$c(UIStrings$R.activating),
|
|
139830
|
+
["installed" ]: i18nLazyString$c(UIStrings$R.installed),
|
|
139831
|
+
["installing" ]: i18nLazyString$c(UIStrings$R.installing),
|
|
139832
|
+
["new" ]: i18nLazyString$c(UIStrings$R.new),
|
|
139833
|
+
["redundant" ]: i18nLazyString$c(UIStrings$R.redundant),
|
|
139644
139834
|
};
|
|
139645
139835
|
})(ServiceWorkerVersion || (ServiceWorkerVersion = {}));
|
|
139646
139836
|
class ServiceWorkerRegistration {
|
|
@@ -139758,7 +139948,7 @@ class ServiceWorkerContextNamer {
|
|
|
139758
139948
|
const parsedUrl = ParsedURL.fromString(context.origin);
|
|
139759
139949
|
const label = parsedUrl ? parsedUrl.lastPathComponentWithFragment() : context.name;
|
|
139760
139950
|
const localizedStatus = ServiceWorkerVersion.Status[version.status];
|
|
139761
|
-
context.setLabel(i18nString$
|
|
139951
|
+
context.setLabel(i18nString$C(UIStrings$R.sSS, { PH1: label, PH2: version.id, PH3: localizedStatus() }));
|
|
139762
139952
|
}
|
|
139763
139953
|
}
|
|
139764
139954
|
SDKModel.register(ServiceWorkerManager, { capabilities: 16384 , autostart: true });
|
|
@@ -140197,12 +140387,12 @@ _a$4 = StackTraceModel;
|
|
|
140197
140387
|
SDKModel.register(StackTraceModel, { capabilities: 0 , autostart: false });
|
|
140198
140388
|
|
|
140199
140389
|
// Copyright 2011 The Chromium Authors
|
|
140200
|
-
const UIStrings$
|
|
140390
|
+
const UIStrings$Q = {
|
|
140201
140391
|
index: '(index)',
|
|
140202
140392
|
thisFileWasChangedExternally: 'This file was changed externally. Would you like to reload it?',
|
|
140203
140393
|
};
|
|
140204
|
-
const str_$
|
|
140205
|
-
const i18nString$
|
|
140394
|
+
const str_$P = registerUIStrings('models/workspace/UISourceCode.ts', UIStrings$Q);
|
|
140395
|
+
const i18nString$B = getLocalizedString.bind(undefined, str_$P);
|
|
140206
140396
|
class UISourceCode extends ObjectWrapper {
|
|
140207
140397
|
#origin;
|
|
140208
140398
|
#parentURL;
|
|
@@ -140278,7 +140468,7 @@ class UISourceCode extends ObjectWrapper {
|
|
|
140278
140468
|
}
|
|
140279
140469
|
displayName(skipTrim) {
|
|
140280
140470
|
if (!this.#name) {
|
|
140281
|
-
return i18nString$
|
|
140471
|
+
return i18nString$B(UIStrings$Q.index);
|
|
140282
140472
|
}
|
|
140283
140473
|
const name = this.#name;
|
|
140284
140474
|
return skipTrim ? name : trimEndWithMaxLength(name, 100);
|
|
@@ -140393,7 +140583,7 @@ class UISourceCode extends ObjectWrapper {
|
|
|
140393
140583
|
}
|
|
140394
140584
|
await reveal(this);
|
|
140395
140585
|
await new Promise(resolve => window.setTimeout(resolve, 0));
|
|
140396
|
-
const shouldUpdate = window.confirm(i18nString$
|
|
140586
|
+
const shouldUpdate = window.confirm(i18nString$B(UIStrings$Q.thisFileWasChangedExternally));
|
|
140397
140587
|
if (shouldUpdate) {
|
|
140398
140588
|
this.#contentCommitted(updatedContent.content, false);
|
|
140399
140589
|
}
|
|
@@ -140905,7 +141095,7 @@ var Events$1;
|
|
|
140905
141095
|
})(Events$1 || (Events$1 = {}));
|
|
140906
141096
|
|
|
140907
141097
|
// Copyright 2014 The Chromium Authors
|
|
140908
|
-
const UIStrings$
|
|
141098
|
+
const UIStrings$P = {
|
|
140909
141099
|
removeFromIgnoreList: 'Remove from ignore list',
|
|
140910
141100
|
addScriptToIgnoreList: 'Add script to ignore list',
|
|
140911
141101
|
addDirectoryToIgnoreList: 'Add directory to ignore list',
|
|
@@ -140913,8 +141103,8 @@ const UIStrings$O = {
|
|
|
140913
141103
|
addAllThirdPartyScriptsToIgnoreList: 'Add all third-party scripts to ignore list',
|
|
140914
141104
|
addAllAnonymousScriptsToIgnoreList: 'Add all anonymous scripts to ignore list',
|
|
140915
141105
|
};
|
|
140916
|
-
const str_$
|
|
140917
|
-
const i18nString$
|
|
141106
|
+
const str_$O = registerUIStrings('models/workspace/IgnoreListManager.ts', UIStrings$P);
|
|
141107
|
+
const i18nString$A = getLocalizedString.bind(undefined, str_$O);
|
|
140918
141108
|
class IgnoreListManager extends ObjectWrapper {
|
|
140919
141109
|
#settings;
|
|
140920
141110
|
#targetManager;
|
|
@@ -141306,7 +141496,7 @@ class IgnoreListManager extends ObjectWrapper {
|
|
|
141306
141496
|
if (isIgnoreListed) {
|
|
141307
141497
|
if (canIgnoreList || isContentScript || isKnownThirdParty || isAnonymous) {
|
|
141308
141498
|
menuItems.push({
|
|
141309
|
-
text: i18nString$
|
|
141499
|
+
text: i18nString$A(UIStrings$P.removeFromIgnoreList),
|
|
141310
141500
|
callback: this.unIgnoreListUISourceCode.bind(this, uiSourceCode),
|
|
141311
141501
|
jslogContext: 'remove-script-from-ignorelist',
|
|
141312
141502
|
});
|
|
@@ -141315,14 +141505,14 @@ class IgnoreListManager extends ObjectWrapper {
|
|
|
141315
141505
|
else {
|
|
141316
141506
|
if (canIgnoreList) {
|
|
141317
141507
|
menuItems.push({
|
|
141318
|
-
text: i18nString$
|
|
141508
|
+
text: i18nString$A(UIStrings$P.addScriptToIgnoreList),
|
|
141319
141509
|
callback: this.ignoreListUISourceCode.bind(this, uiSourceCode),
|
|
141320
141510
|
jslogContext: 'add-script-to-ignorelist',
|
|
141321
141511
|
});
|
|
141322
141512
|
}
|
|
141323
141513
|
else if (isAnonymous) {
|
|
141324
141514
|
menuItems.push({
|
|
141325
|
-
text: i18nString$
|
|
141515
|
+
text: i18nString$A(UIStrings$P.addAllAnonymousScriptsToIgnoreList),
|
|
141326
141516
|
callback: this.ignoreListAnonymousScripts.bind(this),
|
|
141327
141517
|
jslogContext: 'add-anonymous-scripts-to-ignorelist',
|
|
141328
141518
|
});
|
|
@@ -141335,14 +141525,14 @@ class IgnoreListManager extends ObjectWrapper {
|
|
|
141335
141525
|
const menuItems = [];
|
|
141336
141526
|
if (options?.isContentScript) {
|
|
141337
141527
|
menuItems.push({
|
|
141338
|
-
text: i18nString$
|
|
141528
|
+
text: i18nString$A(UIStrings$P.addAllContentScriptsToIgnoreList),
|
|
141339
141529
|
callback: this.ignoreListContentScripts.bind(this),
|
|
141340
141530
|
jslogContext: 'add-content-scripts-to-ignorelist',
|
|
141341
141531
|
});
|
|
141342
141532
|
}
|
|
141343
141533
|
if (options?.isKnownThirdParty) {
|
|
141344
141534
|
menuItems.push({
|
|
141345
|
-
text: i18nString$
|
|
141535
|
+
text: i18nString$A(UIStrings$P.addAllThirdPartyScriptsToIgnoreList),
|
|
141346
141536
|
callback: this.ignoreListThirdParty.bind(this),
|
|
141347
141537
|
jslogContext: 'add-3p-scripts-to-ignorelist',
|
|
141348
141538
|
});
|
|
@@ -141354,21 +141544,21 @@ class IgnoreListManager extends ObjectWrapper {
|
|
|
141354
141544
|
const regexValue = '^' + escapeForRegExp(url) + '/';
|
|
141355
141545
|
if (this.ignoreListHasPattern(regexValue, true)) {
|
|
141356
141546
|
menuItems.push({
|
|
141357
|
-
text: i18nString$
|
|
141547
|
+
text: i18nString$A(UIStrings$P.removeFromIgnoreList),
|
|
141358
141548
|
callback: this.removeIgnoreListPattern.bind(this, regexValue),
|
|
141359
141549
|
jslogContext: 'remove-from-ignore-list',
|
|
141360
141550
|
});
|
|
141361
141551
|
}
|
|
141362
141552
|
else if (this.isUserIgnoreListedURL(url, options)) {
|
|
141363
141553
|
menuItems.push({
|
|
141364
|
-
text: i18nString$
|
|
141554
|
+
text: i18nString$A(UIStrings$P.removeFromIgnoreList),
|
|
141365
141555
|
callback: this.unIgnoreListURL.bind(this, url, options),
|
|
141366
141556
|
jslogContext: 'remove-from-ignore-list',
|
|
141367
141557
|
});
|
|
141368
141558
|
}
|
|
141369
141559
|
else if (!options?.isCurrentlyIgnoreListed) {
|
|
141370
141560
|
menuItems.push({
|
|
141371
|
-
text: i18nString$
|
|
141561
|
+
text: i18nString$A(UIStrings$P.addDirectoryToIgnoreList),
|
|
141372
141562
|
callback: this.addRegexToIgnoreList.bind(this, regexValue),
|
|
141373
141563
|
jslogContext: 'add-directory-to-ignore-list',
|
|
141374
141564
|
});
|
|
@@ -141380,11 +141570,11 @@ class IgnoreListManager extends ObjectWrapper {
|
|
|
141380
141570
|
const scriptToRange = new WeakMap();
|
|
141381
141571
|
|
|
141382
141572
|
// Copyright 2013 The Chromium Authors
|
|
141383
|
-
const UIStrings$
|
|
141573
|
+
const UIStrings$O = {
|
|
141384
141574
|
unknownErrorLoadingFile: 'Unknown error loading file',
|
|
141385
141575
|
};
|
|
141386
|
-
const str_$
|
|
141387
|
-
const i18nString$
|
|
141576
|
+
const str_$N = registerUIStrings('models/bindings/ContentProviderBasedProject.ts', UIStrings$O);
|
|
141577
|
+
const i18nString$z = getLocalizedString.bind(undefined, str_$N);
|
|
141388
141578
|
class ContentProviderBasedProject extends ProjectStore {
|
|
141389
141579
|
#isServiceProject;
|
|
141390
141580
|
#uiSourceCodeToData = new WeakMap();
|
|
@@ -141400,7 +141590,7 @@ class ContentProviderBasedProject extends ProjectStore {
|
|
|
141400
141590
|
}
|
|
141401
141591
|
catch (err) {
|
|
141402
141592
|
return {
|
|
141403
|
-
error: err ? String(err) : i18nString$
|
|
141593
|
+
error: err ? String(err) : i18nString$z(UIStrings$O.unknownErrorLoadingFile),
|
|
141404
141594
|
};
|
|
141405
141595
|
}
|
|
141406
141596
|
}
|
|
@@ -142722,7 +142912,7 @@ class LiveLocation extends LiveLocationWithPool {
|
|
|
142722
142912
|
}
|
|
142723
142913
|
|
|
142724
142914
|
// Copyright 2020 The Chromium Authors
|
|
142725
|
-
const UIStrings$
|
|
142915
|
+
const UIStrings$N = {
|
|
142726
142916
|
errorInDebuggerLanguagePlugin: 'Error in debugger language plugin: {PH1}',
|
|
142727
142917
|
loadingDebugSymbolsForVia: '[{PH1}] Loading debug symbols for {PH2} (via {PH3})…',
|
|
142728
142918
|
loadingDebugSymbolsFor: '[{PH1}] Loading debug symbols for {PH2}…',
|
|
@@ -142730,8 +142920,8 @@ const UIStrings$M = {
|
|
|
142730
142920
|
loadedDebugSymbolsForFound: '[{PH1}] Loaded debug symbols for {PH2}, found {PH3} source file(s)',
|
|
142731
142921
|
failedToLoadDebugSymbolsFor: '[{PH1}] Failed to load debug symbols for {PH2} ({PH3})',
|
|
142732
142922
|
};
|
|
142733
|
-
const str_$
|
|
142734
|
-
const i18nString$
|
|
142923
|
+
const str_$M = registerUIStrings('models/bindings/DebuggerLanguagePlugins.ts', UIStrings$N);
|
|
142924
|
+
const i18nString$y = getLocalizedString.bind(undefined, str_$M);
|
|
142735
142925
|
function rawModuleIdForScript(script) {
|
|
142736
142926
|
return `${script.sourceURL}@${script.hash}`;
|
|
142737
142927
|
}
|
|
@@ -143085,7 +143275,7 @@ class DebuggerLanguagePluginManager {
|
|
|
143085
143275
|
const scripts = rawModuleHandle.scripts.filter(script => script.debuggerModel !== debuggerModel);
|
|
143086
143276
|
if (scripts.length === 0) {
|
|
143087
143277
|
rawModuleHandle.plugin.removeRawModule(rawModuleId).catch(error => {
|
|
143088
|
-
Console.instance().error(i18nString$
|
|
143278
|
+
Console.instance().error(i18nString$y(UIStrings$N.errorInDebuggerLanguagePlugin, { PH1: error.message }), false);
|
|
143089
143279
|
});
|
|
143090
143280
|
this.#rawModuleHandles.delete(rawModuleId);
|
|
143091
143281
|
}
|
|
@@ -143174,7 +143364,7 @@ class DebuggerLanguagePluginManager {
|
|
|
143174
143364
|
}
|
|
143175
143365
|
}
|
|
143176
143366
|
catch (error) {
|
|
143177
|
-
Console.instance().error(i18nString$
|
|
143367
|
+
Console.instance().error(i18nString$y(UIStrings$N.errorInDebuggerLanguagePlugin, { PH1: error.message }), false);
|
|
143178
143368
|
}
|
|
143179
143369
|
return null;
|
|
143180
143370
|
}
|
|
@@ -143193,7 +143383,7 @@ class DebuggerLanguagePluginManager {
|
|
|
143193
143383
|
return Promise.resolve(null);
|
|
143194
143384
|
}
|
|
143195
143385
|
return Promise.all(locationPromises).then(locations => locations.flat()).catch(error => {
|
|
143196
|
-
Console.instance().error(i18nString$
|
|
143386
|
+
Console.instance().error(i18nString$y(UIStrings$N.errorInDebuggerLanguagePlugin, { PH1: error.message }), false);
|
|
143197
143387
|
return null;
|
|
143198
143388
|
});
|
|
143199
143389
|
async function getLocations(rawModuleId, plugin, script) {
|
|
@@ -143332,10 +143522,10 @@ class DebuggerLanguagePluginManager {
|
|
|
143332
143522
|
const url = script.sourceURL;
|
|
143333
143523
|
const symbolsUrl = (script.debugSymbols?.externalURL) || '';
|
|
143334
143524
|
if (symbolsUrl) {
|
|
143335
|
-
console.log(i18nString$
|
|
143525
|
+
console.log(i18nString$y(UIStrings$N.loadingDebugSymbolsForVia, { PH1: plugin.name, PH2: url, PH3: symbolsUrl }));
|
|
143336
143526
|
}
|
|
143337
143527
|
else {
|
|
143338
|
-
console.log(i18nString$
|
|
143528
|
+
console.log(i18nString$y(UIStrings$N.loadingDebugSymbolsFor, { PH1: plugin.name, PH2: url }));
|
|
143339
143529
|
}
|
|
143340
143530
|
try {
|
|
143341
143531
|
const code = (!symbolsUrl && schemeIs(url, 'wasm:')) ? await script.getWasmBytecode() : undefined;
|
|
@@ -143353,15 +143543,15 @@ class DebuggerLanguagePluginManager {
|
|
|
143353
143543
|
}
|
|
143354
143544
|
const sourceFileURLs = addModuleResult;
|
|
143355
143545
|
if (sourceFileURLs.length === 0) {
|
|
143356
|
-
console.warn(i18nString$
|
|
143546
|
+
console.warn(i18nString$y(UIStrings$N.loadedDebugSymbolsForButDidnt, { PH1: plugin.name, PH2: url }));
|
|
143357
143547
|
}
|
|
143358
143548
|
else {
|
|
143359
|
-
console.log(i18nString$
|
|
143549
|
+
console.log(i18nString$y(UIStrings$N.loadedDebugSymbolsForFound, { PH1: plugin.name, PH2: url, PH3: sourceFileURLs.length }));
|
|
143360
143550
|
}
|
|
143361
143551
|
return sourceFileURLs;
|
|
143362
143552
|
}
|
|
143363
143553
|
catch (error) {
|
|
143364
|
-
console.error(i18nString$
|
|
143554
|
+
console.error(i18nString$y(UIStrings$N.failedToLoadDebugSymbolsFor, { PH1: plugin.name, PH2: url, PH3: error.message }),
|
|
143365
143555
|
false);
|
|
143366
143556
|
this.#rawModuleHandles.delete(rawModuleId);
|
|
143367
143557
|
return [];
|
|
@@ -143433,7 +143623,7 @@ class DebuggerLanguagePluginManager {
|
|
|
143433
143623
|
return Array.from(scopes.values());
|
|
143434
143624
|
}
|
|
143435
143625
|
catch (error) {
|
|
143436
|
-
Console.instance().error(i18nString$
|
|
143626
|
+
Console.instance().error(i18nString$y(UIStrings$N.errorInDebuggerLanguagePlugin, { PH1: error.message }), false);
|
|
143437
143627
|
return null;
|
|
143438
143628
|
}
|
|
143439
143629
|
}
|
|
@@ -143460,7 +143650,7 @@ class DebuggerLanguagePluginManager {
|
|
|
143460
143650
|
return functionInfo;
|
|
143461
143651
|
}
|
|
143462
143652
|
catch (error) {
|
|
143463
|
-
Console.instance().warn(i18nString$
|
|
143653
|
+
Console.instance().warn(i18nString$y(UIStrings$N.errorInDebuggerLanguagePlugin, { PH1: error.message }));
|
|
143464
143654
|
return { frames: [] };
|
|
143465
143655
|
}
|
|
143466
143656
|
}
|
|
@@ -143485,7 +143675,7 @@ class DebuggerLanguagePluginManager {
|
|
|
143485
143675
|
}));
|
|
143486
143676
|
}
|
|
143487
143677
|
catch (error) {
|
|
143488
|
-
Console.instance().warn(i18nString$
|
|
143678
|
+
Console.instance().warn(i18nString$y(UIStrings$N.errorInDebuggerLanguagePlugin, { PH1: error.message }));
|
|
143489
143679
|
return [];
|
|
143490
143680
|
}
|
|
143491
143681
|
}
|
|
@@ -143510,7 +143700,7 @@ class DebuggerLanguagePluginManager {
|
|
|
143510
143700
|
}));
|
|
143511
143701
|
}
|
|
143512
143702
|
catch (error) {
|
|
143513
|
-
Console.instance().warn(i18nString$
|
|
143703
|
+
Console.instance().warn(i18nString$y(UIStrings$N.errorInDebuggerLanguagePlugin, { PH1: error.message }));
|
|
143514
143704
|
return [];
|
|
143515
143705
|
}
|
|
143516
143706
|
}
|
|
@@ -143689,12 +143879,12 @@ class DefaultScriptMapping {
|
|
|
143689
143879
|
const defaultScriptMappings = new Set();
|
|
143690
143880
|
|
|
143691
143881
|
// Copyright 2012 The Chromium Authors
|
|
143692
|
-
const UIStrings$
|
|
143882
|
+
const UIStrings$M = {
|
|
143693
143883
|
liveEditFailed: '`LiveEdit` failed: {PH1}',
|
|
143694
143884
|
liveEditCompileFailed: '`LiveEdit` compile failed: {PH1}',
|
|
143695
143885
|
};
|
|
143696
|
-
const str_$
|
|
143697
|
-
const i18nString$
|
|
143886
|
+
const str_$L = registerUIStrings('models/bindings/ResourceScriptMapping.ts', UIStrings$M);
|
|
143887
|
+
const i18nString$x = getLocalizedString.bind(undefined, str_$L);
|
|
143698
143888
|
class ResourceScriptMapping {
|
|
143699
143889
|
debuggerModel;
|
|
143700
143890
|
#workspace;
|
|
@@ -143984,10 +144174,10 @@ class ResourceScriptFile extends ObjectWrapper {
|
|
|
143984
144174
|
return;
|
|
143985
144175
|
}
|
|
143986
144176
|
if (!exceptionDetails) {
|
|
143987
|
-
Console.instance().addMessage(i18nString$
|
|
144177
|
+
Console.instance().addMessage(i18nString$x(UIStrings$M.liveEditFailed, { PH1: getErrorText(status) }), "warning" );
|
|
143988
144178
|
return;
|
|
143989
144179
|
}
|
|
143990
|
-
const messageText = i18nString$
|
|
144180
|
+
const messageText = i18nString$x(UIStrings$M.liveEditCompileFailed, { PH1: exceptionDetails.text });
|
|
143991
144181
|
this.uiSourceCode.addLineMessage("Error" , messageText, exceptionDetails.lineNumber, exceptionDetails.columnNumber);
|
|
143992
144182
|
function getErrorText(status) {
|
|
143993
144183
|
switch (status) {
|
|
@@ -145346,27 +145536,34 @@ class Binding {
|
|
|
145346
145536
|
|
|
145347
145537
|
// Copyright 2025 The Chromium Authors
|
|
145348
145538
|
class Universe {
|
|
145349
|
-
context
|
|
145539
|
+
context;
|
|
145350
145540
|
constructor(options) {
|
|
145541
|
+
const context = new WritableDevToolsContext();
|
|
145542
|
+
this.context = context;
|
|
145351
145543
|
const settings = Settings.instance({
|
|
145352
145544
|
forceNew: true,
|
|
145353
145545
|
...options.settingsCreationOptions,
|
|
145354
145546
|
});
|
|
145355
|
-
|
|
145356
|
-
|
|
145547
|
+
context.set(Settings, settings);
|
|
145548
|
+
const console = new Console();
|
|
145549
|
+
context.set(Console, console);
|
|
145550
|
+
const targetManager = new TargetManager(context, options.overrideAutoStartModels);
|
|
145551
|
+
context.set(TargetManager, targetManager);
|
|
145552
|
+
const frameManager = new FrameManager(targetManager);
|
|
145553
|
+
context.set(FrameManager, frameManager);
|
|
145357
145554
|
const multitargetNetworkManager = new MultitargetNetworkManager(targetManager);
|
|
145358
|
-
|
|
145555
|
+
context.set(MultitargetNetworkManager, multitargetNetworkManager);
|
|
145359
145556
|
const pageResourceLoader = new PageResourceLoader(targetManager, settings, multitargetNetworkManager, null);
|
|
145360
|
-
|
|
145557
|
+
context.set(PageResourceLoader, pageResourceLoader);
|
|
145361
145558
|
const workspace = new WorkspaceImpl();
|
|
145362
|
-
|
|
145559
|
+
context.set(WorkspaceImpl, workspace);
|
|
145363
145560
|
const ignoreListManager = new IgnoreListManager(settings, targetManager);
|
|
145364
|
-
|
|
145561
|
+
context.set(IgnoreListManager, ignoreListManager);
|
|
145365
145562
|
const resourceMapping = new ResourceMapping(targetManager, workspace);
|
|
145366
145563
|
const cssWorkspaceBinding = new CSSWorkspaceBinding(resourceMapping, targetManager);
|
|
145367
|
-
|
|
145564
|
+
context.set(CSSWorkspaceBinding, cssWorkspaceBinding);
|
|
145368
145565
|
const debuggerWorkspaceBinding = new DebuggerWorkspaceBinding(resourceMapping, targetManager, ignoreListManager, workspace);
|
|
145369
|
-
|
|
145566
|
+
context.set(DebuggerWorkspaceBinding, debuggerWorkspaceBinding);
|
|
145370
145567
|
}
|
|
145371
145568
|
}
|
|
145372
145569
|
|
|
@@ -145531,7 +145728,6 @@ var nostatsSubset = require_nostats_subset();
|
|
|
145531
145728
|
|
|
145532
145729
|
// Copyright 2023 The Chromium Authors
|
|
145533
145730
|
const defaults = () => ({
|
|
145534
|
-
includeRuntimeCallStats: false,
|
|
145535
145731
|
showAllEvents: false,
|
|
145536
145732
|
debugMode: false,
|
|
145537
145733
|
maxInvalidationEventsPerEvent: 20,
|
|
@@ -145774,6 +145970,9 @@ function isBeginCommitCompositorFrame(event) {
|
|
|
145774
145970
|
function isParseMetaViewport(event) {
|
|
145775
145971
|
return event.name === "ParseMetaViewport" ;
|
|
145776
145972
|
}
|
|
145973
|
+
function isMetaCharsetCheck(event) {
|
|
145974
|
+
return event.name === "MetaCharsetCheck" ;
|
|
145975
|
+
}
|
|
145777
145976
|
function isLinkPreconnect(event) {
|
|
145778
145977
|
return event.name === "LinkPreconnect" ;
|
|
145779
145978
|
}
|
|
@@ -146340,6 +146539,7 @@ var TraceEvents = /*#__PURE__*/Object.freeze({
|
|
|
146340
146539
|
isMarkDOMContent: isMarkDOMContent,
|
|
146341
146540
|
isMarkLoad: isMarkLoad,
|
|
146342
146541
|
isMarkerEvent: isMarkerEvent,
|
|
146542
|
+
isMetaCharsetCheck: isMetaCharsetCheck,
|
|
146343
146543
|
isNavigationStart: isNavigationStart,
|
|
146344
146544
|
isNeedsBeginFrameChanged: isNeedsBeginFrameChanged,
|
|
146345
146545
|
isNestableAsyncPhase: isNestableAsyncPhase,
|
|
@@ -148009,20 +148209,13 @@ class SamplesIntegrator {
|
|
|
148009
148209
|
if (showAllEvents) {
|
|
148010
148210
|
return;
|
|
148011
148211
|
}
|
|
148012
|
-
let previousNativeFrameName = null;
|
|
148013
148212
|
let j = 0;
|
|
148014
148213
|
for (let i = 0; i < stack.length; ++i) {
|
|
148015
148214
|
const frame = stack[i].callFrame;
|
|
148016
148215
|
const nativeRuntimeFrame = _a$3.isNativeRuntimeFrame(frame);
|
|
148017
|
-
if (nativeRuntimeFrame
|
|
148018
|
-
!_a$3.showNativeName(frame.functionName, engineConfig.includeRuntimeCallStats)) {
|
|
148216
|
+
if (nativeRuntimeFrame) {
|
|
148019
148217
|
continue;
|
|
148020
148218
|
}
|
|
148021
|
-
const nativeFrameName = nativeRuntimeFrame ? _a$3.nativeGroup(frame.functionName) : null;
|
|
148022
|
-
if (previousNativeFrameName && previousNativeFrameName === nativeFrameName) {
|
|
148023
|
-
continue;
|
|
148024
|
-
}
|
|
148025
|
-
previousNativeFrameName = nativeFrameName;
|
|
148026
148219
|
stack[j++] = stack[i];
|
|
148027
148220
|
}
|
|
148028
148221
|
stack.length = j;
|
|
@@ -148119,7 +148312,7 @@ function handleEvent$t(event) {
|
|
|
148119
148312
|
animationFramePresentations.set(event.args.id, event);
|
|
148120
148313
|
}
|
|
148121
148314
|
}
|
|
148122
|
-
async function finalize$
|
|
148315
|
+
async function finalize$M() {
|
|
148123
148316
|
for (const [key, startEvents] of animationFrameStarts.entries()) {
|
|
148124
148317
|
const endEvents = animationFrameEnds.get(key);
|
|
148125
148318
|
if (!endEvents) {
|
|
@@ -148170,7 +148363,7 @@ var AnimationFramesHandler = /*#__PURE__*/Object.freeze({
|
|
|
148170
148363
|
__proto__: null,
|
|
148171
148364
|
data: data$t,
|
|
148172
148365
|
deps: deps$f,
|
|
148173
|
-
finalize: finalize$
|
|
148366
|
+
finalize: finalize$M,
|
|
148174
148367
|
handleEvent: handleEvent$t,
|
|
148175
148368
|
handleUserConfig: handleUserConfig$2,
|
|
148176
148369
|
reset: reset$t
|
|
@@ -148189,7 +148382,7 @@ function handleEvent$s(event) {
|
|
|
148189
148382
|
return;
|
|
148190
148383
|
}
|
|
148191
148384
|
}
|
|
148192
|
-
async function finalize$
|
|
148385
|
+
async function finalize$L() {
|
|
148193
148386
|
const syntheticEvents = createMatchedSortedSyntheticEvents(animations);
|
|
148194
148387
|
animationsSyntheticEvents.push(...syntheticEvents);
|
|
148195
148388
|
}
|
|
@@ -148202,7 +148395,7 @@ function data$s() {
|
|
|
148202
148395
|
var AnimationHandler = /*#__PURE__*/Object.freeze({
|
|
148203
148396
|
__proto__: null,
|
|
148204
148397
|
data: data$s,
|
|
148205
|
-
finalize: finalize$
|
|
148398
|
+
finalize: finalize$L,
|
|
148206
148399
|
handleEvent: handleEvent$s,
|
|
148207
148400
|
reset: reset$s
|
|
148208
148401
|
});
|
|
@@ -148282,7 +148475,7 @@ function addFlowIdToEventBinding(event, flowId) {
|
|
|
148282
148475
|
function flowGroupTokenForFlowPhaseEvent(event) {
|
|
148283
148476
|
return `${event.cat}${ID_COMPONENT_SEPARATOR}${event.name}${ID_COMPONENT_SEPARATOR}${event.id}`;
|
|
148284
148477
|
}
|
|
148285
|
-
async function finalize$
|
|
148478
|
+
async function finalize$K() {
|
|
148286
148479
|
flowEvents.forEach(processFlowEvent);
|
|
148287
148480
|
nonFlowEvents.forEach(processNonFlowEvent);
|
|
148288
148481
|
flows = [...flowsById.values()]
|
|
@@ -148299,7 +148492,7 @@ function data$r() {
|
|
|
148299
148492
|
var FlowsHandler = /*#__PURE__*/Object.freeze({
|
|
148300
148493
|
__proto__: null,
|
|
148301
148494
|
data: data$r,
|
|
148302
|
-
finalize: finalize$
|
|
148495
|
+
finalize: finalize$K,
|
|
148303
148496
|
handleEvent: handleEvent$r,
|
|
148304
148497
|
reset: reset$r
|
|
148305
148498
|
});
|
|
@@ -148362,7 +148555,7 @@ function makeSyntheticEventBase(event) {
|
|
|
148362
148555
|
type: workletType(event.args.data.type),
|
|
148363
148556
|
});
|
|
148364
148557
|
}
|
|
148365
|
-
async function finalize$
|
|
148558
|
+
async function finalize$J() {
|
|
148366
148559
|
for (const [pid, utilityThreadNameEvent] of utilityThreads) {
|
|
148367
148560
|
const v8HelperEvent = v8HelperThreads.get(pid);
|
|
148368
148561
|
if (!v8HelperEvent) {
|
|
@@ -148416,7 +148609,7 @@ function data$q() {
|
|
|
148416
148609
|
var AuctionWorkletsHandler = /*#__PURE__*/Object.freeze({
|
|
148417
148610
|
__proto__: null,
|
|
148418
148611
|
data: data$q,
|
|
148419
|
-
finalize: finalize$
|
|
148612
|
+
finalize: finalize$J,
|
|
148420
148613
|
handleEvent: handleEvent$q,
|
|
148421
148614
|
reset: reset$q
|
|
148422
148615
|
});
|
|
@@ -148637,7 +148830,7 @@ function handleEvent$p(event) {
|
|
|
148637
148830
|
return;
|
|
148638
148831
|
}
|
|
148639
148832
|
}
|
|
148640
|
-
async function finalize$
|
|
148833
|
+
async function finalize$I(options) {
|
|
148641
148834
|
config$1 = { showAllEvents: Boolean(options?.showAllEvents) };
|
|
148642
148835
|
if (traceStartedTimeFromTracingStartedEvent >= 0) {
|
|
148643
148836
|
traceBounds.min = traceStartedTimeFromTracingStartedEvent;
|
|
@@ -148711,7 +148904,7 @@ function data$p() {
|
|
|
148711
148904
|
var MetaHandler = /*#__PURE__*/Object.freeze({
|
|
148712
148905
|
__proto__: null,
|
|
148713
148906
|
data: data$p,
|
|
148714
|
-
finalize: finalize$
|
|
148907
|
+
finalize: finalize$I,
|
|
148715
148908
|
handleEvent: handleEvent$p,
|
|
148716
148909
|
reset: reset$p
|
|
148717
148910
|
});
|
|
@@ -148834,7 +149027,7 @@ function handleEvent$o(event) {
|
|
|
148834
149027
|
return;
|
|
148835
149028
|
}
|
|
148836
149029
|
}
|
|
148837
|
-
async function finalize$
|
|
149030
|
+
async function finalize$H() {
|
|
148838
149031
|
const { rendererProcessesByFrame } = data$p();
|
|
148839
149032
|
for (const [requestId, request] of requestMap.entries()) {
|
|
148840
149033
|
if (!request.sendRequests) {
|
|
@@ -149149,7 +149342,7 @@ var NetworkRequestsHandler = /*#__PURE__*/Object.freeze({
|
|
|
149149
149342
|
__proto__: null,
|
|
149150
149343
|
data: data$o,
|
|
149151
149344
|
deps: deps$e,
|
|
149152
|
-
finalize: finalize$
|
|
149345
|
+
finalize: finalize$H,
|
|
149153
149346
|
handleEvent: handleEvent$o,
|
|
149154
149347
|
reset: reset$o
|
|
149155
149348
|
});
|
|
@@ -149795,7 +149988,7 @@ function handleEvent$n(event) {
|
|
|
149795
149988
|
return;
|
|
149796
149989
|
}
|
|
149797
149990
|
}
|
|
149798
|
-
async function finalize$
|
|
149991
|
+
async function finalize$G(parseOptions = {}) {
|
|
149799
149992
|
parseCPUProfileData(parseOptions);
|
|
149800
149993
|
}
|
|
149801
149994
|
function assignProfileSourceIfKnown(profileData, source) {
|
|
@@ -149836,7 +150029,7 @@ function getProfileCallFunctionName(data, entry) {
|
|
|
149836
150029
|
var SamplesHandler = /*#__PURE__*/Object.freeze({
|
|
149837
150030
|
__proto__: null,
|
|
149838
150031
|
data: data$n,
|
|
149839
|
-
finalize: finalize$
|
|
150032
|
+
finalize: finalize$G,
|
|
149840
150033
|
getProfileCallFunctionName: getProfileCallFunctionName,
|
|
149841
150034
|
handleEvent: handleEvent$n,
|
|
149842
150035
|
reset: reset$n
|
|
@@ -149920,7 +150113,7 @@ function handleEvent$m(event) {
|
|
|
149920
150113
|
thread.recalcStyleEvents.push(event);
|
|
149921
150114
|
}
|
|
149922
150115
|
}
|
|
149923
|
-
async function finalize$
|
|
150116
|
+
async function finalize$F() {
|
|
149924
150117
|
const { mainFrameId, rendererProcessesByFrame, threadsInProcess } = data$p();
|
|
149925
150118
|
entityMappings = data$o().entityMappings;
|
|
149926
150119
|
assignMeta(processes, mainFrameId, rendererProcessesByFrame, threadsInProcess);
|
|
@@ -150087,7 +150280,7 @@ var RendererHandler = /*#__PURE__*/Object.freeze({
|
|
|
150087
150280
|
buildHierarchy: buildHierarchy,
|
|
150088
150281
|
data: data$m,
|
|
150089
150282
|
deps: deps$d,
|
|
150090
|
-
finalize: finalize$
|
|
150283
|
+
finalize: finalize$F,
|
|
150091
150284
|
handleEvent: handleEvent$m,
|
|
150092
150285
|
handleUserConfig: handleUserConfig$1,
|
|
150093
150286
|
makeCompleteEvent: makeCompleteEvent,
|
|
@@ -150109,7 +150302,7 @@ function reset$l() {
|
|
|
150109
150302
|
}
|
|
150110
150303
|
function handleEvent$l(_) {
|
|
150111
150304
|
}
|
|
150112
|
-
async function finalize$
|
|
150305
|
+
async function finalize$E() {
|
|
150113
150306
|
const { flows } = data$r();
|
|
150114
150307
|
const { entryToNode } = data$m();
|
|
150115
150308
|
for (const flow of flows) {
|
|
@@ -150201,7 +150394,7 @@ var AsyncJSCallsHandler = /*#__PURE__*/Object.freeze({
|
|
|
150201
150394
|
__proto__: null,
|
|
150202
150395
|
data: data$l,
|
|
150203
150396
|
deps: deps$c,
|
|
150204
|
-
finalize: finalize$
|
|
150397
|
+
finalize: finalize$E,
|
|
150205
150398
|
handleEvent: handleEvent$l,
|
|
150206
150399
|
reset: reset$l
|
|
150207
150400
|
});
|
|
@@ -150218,7 +150411,7 @@ function handleEvent$k(event) {
|
|
|
150218
150411
|
const domStatEvents = getWithDefault(domStatsByFrameId, event.args.data.frame, () => []);
|
|
150219
150412
|
domStatEvents.push(event);
|
|
150220
150413
|
}
|
|
150221
|
-
async function finalize$
|
|
150414
|
+
async function finalize$D() {
|
|
150222
150415
|
}
|
|
150223
150416
|
function data$k() {
|
|
150224
150417
|
return { domStatsByFrameId };
|
|
@@ -150227,7 +150420,7 @@ function data$k() {
|
|
|
150227
150420
|
var DOMStatsHandler = /*#__PURE__*/Object.freeze({
|
|
150228
150421
|
__proto__: null,
|
|
150229
150422
|
data: data$k,
|
|
150230
|
-
finalize: finalize$
|
|
150423
|
+
finalize: finalize$D,
|
|
150231
150424
|
handleEvent: handleEvent$k,
|
|
150232
150425
|
reset: reset$k
|
|
150233
150426
|
});
|
|
@@ -150351,7 +150544,7 @@ function handleEvent$j(event) {
|
|
|
150351
150544
|
timestampEvents.push(event);
|
|
150352
150545
|
}
|
|
150353
150546
|
}
|
|
150354
|
-
async function finalize$
|
|
150547
|
+
async function finalize$C() {
|
|
150355
150548
|
const asyncEvents = [...performanceMeasureEvents, ...consoleTimings];
|
|
150356
150549
|
syntheticEvents = createMatchedSortedSyntheticEvents(asyncEvents);
|
|
150357
150550
|
syntheticEvents = syntheticEvents.sort((a, b) => userTimingComparator(a, b, [...syntheticEvents]));
|
|
@@ -150370,7 +150563,7 @@ function data$j() {
|
|
|
150370
150563
|
var UserTimingsHandler = /*#__PURE__*/Object.freeze({
|
|
150371
150564
|
__proto__: null,
|
|
150372
150565
|
data: data$j,
|
|
150373
|
-
finalize: finalize$
|
|
150566
|
+
finalize: finalize$C,
|
|
150374
150567
|
handleEvent: handleEvent$j,
|
|
150375
150568
|
reset: reset$j,
|
|
150376
150569
|
userTimingComparator: userTimingComparator
|
|
@@ -150393,7 +150586,7 @@ function reset$i() {
|
|
|
150393
150586
|
entryToNode = new Map();
|
|
150394
150587
|
timeStampByName = new Map();
|
|
150395
150588
|
}
|
|
150396
|
-
async function finalize$
|
|
150589
|
+
async function finalize$B() {
|
|
150397
150590
|
createExtensionFlameChartEntries();
|
|
150398
150591
|
}
|
|
150399
150592
|
function createExtensionFlameChartEntries() {
|
|
@@ -150542,7 +150735,7 @@ var ExtensionTraceDataHandler = /*#__PURE__*/Object.freeze({
|
|
|
150542
150735
|
extensionDataInPerformanceTiming: extensionDataInPerformanceTiming,
|
|
150543
150736
|
extractConsoleAPIExtensionEntries: extractConsoleAPIExtensionEntries,
|
|
150544
150737
|
extractPerformanceAPIExtensionEntries: extractPerformanceAPIExtensionEntries,
|
|
150545
|
-
finalize: finalize$
|
|
150738
|
+
finalize: finalize$B,
|
|
150546
150739
|
handleEvent: handleEvent$i,
|
|
150547
150740
|
reset: reset$i
|
|
150548
150741
|
});
|
|
@@ -150570,7 +150763,7 @@ function handleEvent$h(event) {
|
|
|
150570
150763
|
relevantEvents.push(event);
|
|
150571
150764
|
}
|
|
150572
150765
|
}
|
|
150573
|
-
async function finalize$
|
|
150766
|
+
async function finalize$A() {
|
|
150574
150767
|
const metaData = data$p();
|
|
150575
150768
|
sortTraceEventsInPlace(relevantEvents);
|
|
150576
150769
|
for (const event of relevantEvents) {
|
|
@@ -150630,7 +150823,7 @@ var LayerTreeHandler = /*#__PURE__*/Object.freeze({
|
|
|
150630
150823
|
__proto__: null,
|
|
150631
150824
|
data: data$h,
|
|
150632
150825
|
deps: deps$a,
|
|
150633
|
-
finalize: finalize$
|
|
150826
|
+
finalize: finalize$A,
|
|
150634
150827
|
handleEvent: handleEvent$h,
|
|
150635
150828
|
reset: reset$h
|
|
150636
150829
|
});
|
|
@@ -150749,7 +150942,7 @@ function handleEvent$g(event) {
|
|
|
150749
150942
|
relevantFrameEvents.push(event);
|
|
150750
150943
|
}
|
|
150751
150944
|
}
|
|
150752
|
-
async function finalize$
|
|
150945
|
+
async function finalize$z() {
|
|
150753
150946
|
sortTraceEventsInPlace(relevantFrameEvents);
|
|
150754
150947
|
const modelForTrace = new TimelineFrameModel(relevantFrameEvents, data$m(), data$q(), data$p(), data$h());
|
|
150755
150948
|
model = modelForTrace;
|
|
@@ -151130,7 +151323,7 @@ var FramesHandler = /*#__PURE__*/Object.freeze({
|
|
|
151130
151323
|
TimelineFrameModel: TimelineFrameModel,
|
|
151131
151324
|
data: data$g,
|
|
151132
151325
|
deps: deps$9,
|
|
151133
|
-
finalize: finalize$
|
|
151326
|
+
finalize: finalize$z,
|
|
151134
151327
|
framesWithinWindow: framesWithinWindow,
|
|
151135
151328
|
handleEvent: handleEvent$g,
|
|
151136
151329
|
reset: reset$g
|
|
@@ -151149,7 +151342,7 @@ function handleEvent$f(event) {
|
|
|
151149
151342
|
}
|
|
151150
151343
|
addEventToProcessThread(event, eventsInProcessThread);
|
|
151151
151344
|
}
|
|
151152
|
-
async function finalize$
|
|
151345
|
+
async function finalize$y() {
|
|
151153
151346
|
const { gpuProcessId, gpuThreadId } = data$p();
|
|
151154
151347
|
const gpuThreadsForProcess = eventsInProcessThread.get(gpuProcessId);
|
|
151155
151348
|
if (gpuThreadsForProcess && gpuThreadId) {
|
|
@@ -151169,7 +151362,7 @@ var GPUHandler = /*#__PURE__*/Object.freeze({
|
|
|
151169
151362
|
__proto__: null,
|
|
151170
151363
|
data: data$f,
|
|
151171
151364
|
deps: deps$8,
|
|
151172
|
-
finalize: finalize$
|
|
151365
|
+
finalize: finalize$y,
|
|
151173
151366
|
handleEvent: handleEvent$f,
|
|
151174
151367
|
reset: reset$f
|
|
151175
151368
|
});
|
|
@@ -151236,7 +151429,7 @@ function handleEvent$e(event) {
|
|
|
151236
151429
|
eventToPaintImage.set(event, paintEvent);
|
|
151237
151430
|
}
|
|
151238
151431
|
}
|
|
151239
|
-
async function finalize$
|
|
151432
|
+
async function finalize$x(options) {
|
|
151240
151433
|
if (!options.metadata?.hostDPR) {
|
|
151241
151434
|
return;
|
|
151242
151435
|
}
|
|
@@ -151270,7 +151463,7 @@ function data$e() {
|
|
|
151270
151463
|
var ImagePaintingHandler = /*#__PURE__*/Object.freeze({
|
|
151271
151464
|
__proto__: null,
|
|
151272
151465
|
data: data$e,
|
|
151273
|
-
finalize: finalize$
|
|
151466
|
+
finalize: finalize$x,
|
|
151274
151467
|
handleEvent: handleEvent$e,
|
|
151275
151468
|
reset: reset$e
|
|
151276
151469
|
});
|
|
@@ -151402,7 +151595,7 @@ function createRelationshipsFromAsyncJSCalls() {
|
|
|
151402
151595
|
}
|
|
151403
151596
|
}
|
|
151404
151597
|
}
|
|
151405
|
-
async function finalize$
|
|
151598
|
+
async function finalize$w() {
|
|
151406
151599
|
createRelationshipsFromFlows();
|
|
151407
151600
|
createRelationshipsFromAsyncJSCalls();
|
|
151408
151601
|
}
|
|
@@ -151420,7 +151613,7 @@ var InitiatorsHandler = /*#__PURE__*/Object.freeze({
|
|
|
151420
151613
|
__proto__: null,
|
|
151421
151614
|
data: data$d,
|
|
151422
151615
|
deps: deps$7,
|
|
151423
|
-
finalize: finalize$
|
|
151616
|
+
finalize: finalize$w,
|
|
151424
151617
|
handleEvent: handleEvent$d,
|
|
151425
151618
|
reset: reset$d
|
|
151426
151619
|
});
|
|
@@ -151516,7 +151709,7 @@ function handleEvent$c(event) {
|
|
|
151516
151709
|
}
|
|
151517
151710
|
}
|
|
151518
151711
|
}
|
|
151519
|
-
async function finalize$
|
|
151712
|
+
async function finalize$v() {
|
|
151520
151713
|
}
|
|
151521
151714
|
function data$c() {
|
|
151522
151715
|
const invalidationsForEvent = new Map();
|
|
@@ -151538,7 +151731,7 @@ function data$c() {
|
|
|
151538
151731
|
var InvalidationsHandler = /*#__PURE__*/Object.freeze({
|
|
151539
151732
|
__proto__: null,
|
|
151540
151733
|
data: data$c,
|
|
151541
|
-
finalize: finalize$
|
|
151734
|
+
finalize: finalize$v,
|
|
151542
151735
|
handleEvent: handleEvent$c,
|
|
151543
151736
|
handleUserConfig: handleUserConfig,
|
|
151544
151737
|
reset: reset$c
|
|
@@ -151547,15 +151740,23 @@ var InvalidationsHandler = /*#__PURE__*/Object.freeze({
|
|
|
151547
151740
|
// Copyright 2022 The Chromium Authors
|
|
151548
151741
|
let metricScoresByFrameId = new Map();
|
|
151549
151742
|
let allMarkerEvents = [];
|
|
151743
|
+
let metaCharsetCheckEventsByNavigation = new Map();
|
|
151744
|
+
let metaCharsetCheckEventsArray = [];
|
|
151550
151745
|
function reset$b() {
|
|
151551
151746
|
metricScoresByFrameId = new Map();
|
|
151552
151747
|
pageLoadEventsArray = [];
|
|
151553
151748
|
allMarkerEvents = [];
|
|
151554
151749
|
selectedLCPCandidateEvents = new Set();
|
|
151750
|
+
metaCharsetCheckEventsByNavigation = new Map();
|
|
151751
|
+
metaCharsetCheckEventsArray = [];
|
|
151555
151752
|
}
|
|
151556
151753
|
let pageLoadEventsArray = [];
|
|
151557
151754
|
let selectedLCPCandidateEvents = new Set();
|
|
151558
151755
|
function handleEvent$b(event) {
|
|
151756
|
+
if (isMetaCharsetCheck(event)) {
|
|
151757
|
+
metaCharsetCheckEventsArray.push(event);
|
|
151758
|
+
return;
|
|
151759
|
+
}
|
|
151559
151760
|
if (!eventIsPageLoadEvent(event)) {
|
|
151560
151761
|
return;
|
|
151561
151762
|
}
|
|
@@ -151804,7 +152005,7 @@ function gatherFinalLCPEvents() {
|
|
|
151804
152005
|
}
|
|
151805
152006
|
return allFinalLCPEvents;
|
|
151806
152007
|
}
|
|
151807
|
-
async function finalize$
|
|
152008
|
+
async function finalize$u() {
|
|
151808
152009
|
pageLoadEventsArray.sort((a, b) => a.ts - b.ts);
|
|
151809
152010
|
for (const pageLoadEvent of pageLoadEventsArray) {
|
|
151810
152011
|
const navigation = getNavigationForPageLoadEvent(pageLoadEvent);
|
|
@@ -151812,6 +152013,20 @@ async function finalize$t() {
|
|
|
151812
152013
|
storePageLoadMetricAgainstNavigationId(navigation, pageLoadEvent);
|
|
151813
152014
|
}
|
|
151814
152015
|
}
|
|
152016
|
+
const { navigationsByFrameId } = data$p();
|
|
152017
|
+
metaCharsetCheckEventsArray.sort((a, b) => a.ts - b.ts);
|
|
152018
|
+
for (const metaCharsetCheckEvent of metaCharsetCheckEventsArray) {
|
|
152019
|
+
const frameId = metaCharsetCheckEvent.args.data?.frame;
|
|
152020
|
+
if (!frameId) {
|
|
152021
|
+
continue;
|
|
152022
|
+
}
|
|
152023
|
+
const navigation = getNavigationForTraceEvent(metaCharsetCheckEvent, frameId, navigationsByFrameId);
|
|
152024
|
+
if (!navigation) {
|
|
152025
|
+
continue;
|
|
152026
|
+
}
|
|
152027
|
+
const eventsForNavigation = getWithDefault(metaCharsetCheckEventsByNavigation, navigation, () => []);
|
|
152028
|
+
eventsForNavigation.push(metaCharsetCheckEvent);
|
|
152029
|
+
}
|
|
151815
152030
|
const allFinalLCPEvents = gatherFinalLCPEvents();
|
|
151816
152031
|
const mainFrame = data$p().mainFrameId;
|
|
151817
152032
|
const allEventsButLCP = pageLoadEventsArray.filter(event => !isAnyLargestContentfulPaintCandidate(event));
|
|
@@ -151823,6 +152038,7 @@ function data$b() {
|
|
|
151823
152038
|
return {
|
|
151824
152039
|
metricScoresByFrameId,
|
|
151825
152040
|
allMarkerEvents,
|
|
152041
|
+
metaCharsetCheckEventsByNavigation,
|
|
151826
152042
|
};
|
|
151827
152043
|
}
|
|
151828
152044
|
function deps$6() {
|
|
@@ -151836,7 +152052,7 @@ var PageLoadMetricsHandler = /*#__PURE__*/Object.freeze({
|
|
|
151836
152052
|
__proto__: null,
|
|
151837
152053
|
data: data$b,
|
|
151838
152054
|
deps: deps$6,
|
|
151839
|
-
finalize: finalize$
|
|
152055
|
+
finalize: finalize$u,
|
|
151840
152056
|
getFrameIdForPageLoadEvent: getFrameIdForPageLoadEvent,
|
|
151841
152057
|
handleEvent: handleEvent$b,
|
|
151842
152058
|
metricIsLCP: metricIsLCP,
|
|
@@ -151862,7 +152078,7 @@ function handleEvent$a(event) {
|
|
|
151862
152078
|
const imagePaintsByNodeId = getWithDefault(imagePaintsByNodeIdAndProcess, event.pid, () => new Map());
|
|
151863
152079
|
imagePaintsByNodeId.set(event.args.data.DOMNodeId, event);
|
|
151864
152080
|
}
|
|
151865
|
-
async function finalize$
|
|
152081
|
+
async function finalize$t() {
|
|
151866
152082
|
const requests = data$o().byTime;
|
|
151867
152083
|
const { traceBounds, navigationsByNavigationId } = data$p();
|
|
151868
152084
|
const metricScoresByFrameId = data$b().metricScoresByFrameId;
|
|
@@ -151912,7 +152128,7 @@ var LargestImagePaintHandler = /*#__PURE__*/Object.freeze({
|
|
|
151912
152128
|
__proto__: null,
|
|
151913
152129
|
data: data$a,
|
|
151914
152130
|
deps: deps$5,
|
|
151915
|
-
finalize: finalize$
|
|
152131
|
+
finalize: finalize$t,
|
|
151916
152132
|
handleEvent: handleEvent$a,
|
|
151917
152133
|
reset: reset$a
|
|
151918
152134
|
});
|
|
@@ -151931,7 +152147,7 @@ function handleEvent$9(event) {
|
|
|
151931
152147
|
}
|
|
151932
152148
|
textPaintByDOMNodeId.set(event.args.data.DOMNodeId, event);
|
|
151933
152149
|
}
|
|
151934
|
-
async function finalize$
|
|
152150
|
+
async function finalize$s() {
|
|
151935
152151
|
}
|
|
151936
152152
|
function data$9() {
|
|
151937
152153
|
return textPaintByDOMNodeId;
|
|
@@ -151940,7 +152156,7 @@ function data$9() {
|
|
|
151940
152156
|
var LargestTextPaintHandler = /*#__PURE__*/Object.freeze({
|
|
151941
152157
|
__proto__: null,
|
|
151942
152158
|
data: data$9,
|
|
151943
|
-
finalize: finalize$
|
|
152159
|
+
finalize: finalize$s,
|
|
151944
152160
|
handleEvent: handleEvent$9,
|
|
151945
152161
|
reset: reset$9
|
|
151946
152162
|
});
|
|
@@ -151967,7 +152183,7 @@ function handleEvent$8(event) {
|
|
|
151967
152183
|
unpairedAsyncEvents.push(event);
|
|
151968
152184
|
}
|
|
151969
152185
|
}
|
|
151970
|
-
async function finalize$
|
|
152186
|
+
async function finalize$r() {
|
|
151971
152187
|
const pipelineReporterEvents = createMatchedSortedSyntheticEvents(unpairedAsyncEvents);
|
|
151972
152188
|
Object.fromEntries(pipelineReporterEvents.map(evt => {
|
|
151973
152189
|
const args = evt.args.data.beginEvent.args;
|
|
@@ -152013,7 +152229,7 @@ var ScreenshotsHandler = /*#__PURE__*/Object.freeze({
|
|
|
152013
152229
|
__proto__: null,
|
|
152014
152230
|
data: data$8,
|
|
152015
152231
|
deps: deps$4,
|
|
152016
|
-
finalize: finalize$
|
|
152232
|
+
finalize: finalize$r,
|
|
152017
152233
|
handleEvent: handleEvent$8,
|
|
152018
152234
|
reset: reset$8,
|
|
152019
152235
|
screenshotImageDataUri: screenshotImageDataUri
|
|
@@ -152169,7 +152385,7 @@ function collectNodes() {
|
|
|
152169
152385
|
backendNodeIds.add(scheduleStyleInvalidation.args.data.nodeId);
|
|
152170
152386
|
}
|
|
152171
152387
|
}
|
|
152172
|
-
async function finalize$
|
|
152388
|
+
async function finalize$q() {
|
|
152173
152389
|
layoutShiftEvents.sort((a, b) => a.ts - b.ts);
|
|
152174
152390
|
prePaintEvents.sort((a, b) => a.ts - b.ts);
|
|
152175
152391
|
layoutInvalidationEvents.sort((a, b) => a.ts - b.ts);
|
|
@@ -152374,7 +152590,7 @@ var LayoutShiftsHandler = /*#__PURE__*/Object.freeze({
|
|
|
152374
152590
|
MAX_SHIFT_TIME_DELTA: MAX_SHIFT_TIME_DELTA,
|
|
152375
152591
|
data: data$7,
|
|
152376
152592
|
deps: deps$3,
|
|
152377
|
-
finalize: finalize$
|
|
152593
|
+
finalize: finalize$q,
|
|
152378
152594
|
handleEvent: handleEvent$7,
|
|
152379
152595
|
reset: reset$7,
|
|
152380
152596
|
scoreClassificationForLayoutShift: scoreClassificationForLayoutShift
|
|
@@ -152392,7 +152608,7 @@ function handleEvent$6(event) {
|
|
|
152392
152608
|
updateCountersByProcess.set(event.pid, countersForProcess);
|
|
152393
152609
|
}
|
|
152394
152610
|
}
|
|
152395
|
-
async function finalize$
|
|
152611
|
+
async function finalize$p() {
|
|
152396
152612
|
}
|
|
152397
152613
|
function data$6() {
|
|
152398
152614
|
return { updateCountersByProcess };
|
|
@@ -152401,7 +152617,7 @@ function data$6() {
|
|
|
152401
152617
|
var MemoryHandler = /*#__PURE__*/Object.freeze({
|
|
152402
152618
|
__proto__: null,
|
|
152403
152619
|
data: data$6,
|
|
152404
|
-
finalize: finalize$
|
|
152620
|
+
finalize: finalize$p,
|
|
152405
152621
|
handleEvent: handleEvent$6,
|
|
152406
152622
|
reset: reset$6
|
|
152407
152623
|
});
|
|
@@ -152434,7 +152650,7 @@ function handleEvent$5(event) {
|
|
|
152434
152650
|
});
|
|
152435
152651
|
}
|
|
152436
152652
|
}
|
|
152437
|
-
async function finalize$
|
|
152653
|
+
async function finalize$o() {
|
|
152438
152654
|
}
|
|
152439
152655
|
function data$5() {
|
|
152440
152656
|
return {
|
|
@@ -152445,7 +152661,7 @@ function data$5() {
|
|
|
152445
152661
|
var PageFramesHandler = /*#__PURE__*/Object.freeze({
|
|
152446
152662
|
__proto__: null,
|
|
152447
152663
|
data: data$5,
|
|
152448
|
-
finalize: finalize$
|
|
152664
|
+
finalize: finalize$o,
|
|
152449
152665
|
handleEvent: handleEvent$5,
|
|
152450
152666
|
reset: reset$5
|
|
152451
152667
|
});
|
|
@@ -152625,7 +152841,7 @@ function findCachedRawSourceMap(script, options) {
|
|
|
152625
152841
|
}
|
|
152626
152842
|
return;
|
|
152627
152843
|
}
|
|
152628
|
-
async function finalize$
|
|
152844
|
+
async function finalize$n(options) {
|
|
152629
152845
|
const meta = data$p();
|
|
152630
152846
|
const networkRequests = [...data$o().byId.values()];
|
|
152631
152847
|
const documentUrls = new Set();
|
|
@@ -152692,7 +152908,7 @@ var ScriptsHandler = /*#__PURE__*/Object.freeze({
|
|
|
152692
152908
|
__proto__: null,
|
|
152693
152909
|
data: data$4,
|
|
152694
152910
|
deps: deps$2,
|
|
152695
|
-
finalize: finalize$
|
|
152911
|
+
finalize: finalize$n,
|
|
152696
152912
|
getScriptGeneratedSizes: getScriptGeneratedSizes,
|
|
152697
152913
|
handleEvent: handleEvent$4,
|
|
152698
152914
|
reset: reset$4
|
|
@@ -152751,7 +152967,7 @@ function handleEvent$3(event) {
|
|
|
152751
152967
|
return;
|
|
152752
152968
|
}
|
|
152753
152969
|
}
|
|
152754
|
-
async function finalize$
|
|
152970
|
+
async function finalize$m() {
|
|
152755
152971
|
}
|
|
152756
152972
|
function data$3() {
|
|
152757
152973
|
return {
|
|
@@ -152763,7 +152979,7 @@ function data$3() {
|
|
|
152763
152979
|
var SelectorStatsHandler = /*#__PURE__*/Object.freeze({
|
|
152764
152980
|
__proto__: null,
|
|
152765
152981
|
data: data$3,
|
|
152766
|
-
finalize: finalize$
|
|
152982
|
+
finalize: finalize$m,
|
|
152767
152983
|
handleEvent: handleEvent$3,
|
|
152768
152984
|
reset: reset$3
|
|
152769
152985
|
});
|
|
@@ -152887,7 +153103,7 @@ function writeSyntheticTimespans(event) {
|
|
|
152887
153103
|
event.mainThreadHandling = Micro(event.processingEnd - event.processingStart);
|
|
152888
153104
|
event.presentationDelay = Micro(endEvent.ts - event.processingEnd);
|
|
152889
153105
|
}
|
|
152890
|
-
async function finalize$
|
|
153106
|
+
async function finalize$l() {
|
|
152891
153107
|
const { navigationsByFrameId } = data$p();
|
|
152892
153108
|
const beginAndEndEvents = mergeOrdered(eventTimingStartEventsForInteractions, eventTimingEndEventsForInteractions, eventTimeComparator);
|
|
152893
153109
|
const beginEventById = new Map();
|
|
@@ -152980,7 +153196,7 @@ var UserInteractionsHandler = /*#__PURE__*/Object.freeze({
|
|
|
152980
153196
|
categoryOfInteraction: categoryOfInteraction,
|
|
152981
153197
|
data: data$2,
|
|
152982
153198
|
deps: deps$1,
|
|
152983
|
-
finalize: finalize$
|
|
153199
|
+
finalize: finalize$l,
|
|
152984
153200
|
handleEvent: handleEvent$2,
|
|
152985
153201
|
removeNestedInteractionsAndSetProcessingTime: removeNestedInteractionsAndSetProcessingTime,
|
|
152986
153202
|
reset: reset$2,
|
|
@@ -153001,7 +153217,7 @@ function handleEvent$1(event) {
|
|
|
153001
153217
|
sessionIdEvents.push(event);
|
|
153002
153218
|
}
|
|
153003
153219
|
}
|
|
153004
|
-
async function finalize$
|
|
153220
|
+
async function finalize$k() {
|
|
153005
153221
|
for (const sessionIdEvent of sessionIdEvents) {
|
|
153006
153222
|
if (!sessionIdEvent.args.data) {
|
|
153007
153223
|
continue;
|
|
@@ -153021,7 +153237,7 @@ function data$1() {
|
|
|
153021
153237
|
var WorkersHandler = /*#__PURE__*/Object.freeze({
|
|
153022
153238
|
__proto__: null,
|
|
153023
153239
|
data: data$1,
|
|
153024
|
-
finalize: finalize$
|
|
153240
|
+
finalize: finalize$k,
|
|
153025
153241
|
handleEvent: handleEvent$1,
|
|
153026
153242
|
reset: reset$1
|
|
153027
153243
|
});
|
|
@@ -153099,7 +153315,7 @@ function accomodateEventInStack(event, stack, pushEventToStack = true) {
|
|
|
153099
153315
|
function deps() {
|
|
153100
153316
|
return ['UserInteractions', 'Workers'];
|
|
153101
153317
|
}
|
|
153102
|
-
async function finalize$
|
|
153318
|
+
async function finalize$j() {
|
|
153103
153319
|
const longInteractions = data$2().interactionsOverThreshold;
|
|
153104
153320
|
for (const interaction of longInteractions) {
|
|
153105
153321
|
storeWarning(interaction, 'LONG_INTERACTION');
|
|
@@ -153124,7 +153340,7 @@ var WarningsHandler = /*#__PURE__*/Object.freeze({
|
|
|
153124
153340
|
LONG_MAIN_THREAD_TASK_THRESHOLD: LONG_MAIN_THREAD_TASK_THRESHOLD,
|
|
153125
153341
|
data: data,
|
|
153126
153342
|
deps: deps,
|
|
153127
|
-
finalize: finalize$
|
|
153343
|
+
finalize: finalize$j,
|
|
153128
153344
|
handleEvent: handleEvent,
|
|
153129
153345
|
reset: reset
|
|
153130
153346
|
});
|
|
@@ -154865,7 +155081,7 @@ var types$1 = /*#__PURE__*/Object.freeze({
|
|
|
154865
155081
|
});
|
|
154866
155082
|
|
|
154867
155083
|
// Copyright 2025 The Chromium Authors
|
|
154868
|
-
const UIStrings$
|
|
155084
|
+
const UIStrings$L = {
|
|
154869
155085
|
title: 'Use efficient cache lifetimes',
|
|
154870
155086
|
description: 'A long cache lifetime can speed up repeat visits to your page. [Learn more about caching](https://developer.chrome.com/docs/performance/insights/cache).',
|
|
154871
155087
|
requestColumn: 'Request',
|
|
@@ -154873,15 +155089,15 @@ const UIStrings$K = {
|
|
|
154873
155089
|
noRequestsToCache: 'No requests with inefficient cache policies',
|
|
154874
155090
|
others: '{PH1} others',
|
|
154875
155091
|
};
|
|
154876
|
-
const str_$
|
|
154877
|
-
const i18nString$
|
|
155092
|
+
const str_$K = registerUIStrings('models/trace/insights/Cache.ts', UIStrings$L);
|
|
155093
|
+
const i18nString$w = getLocalizedString.bind(undefined, str_$K);
|
|
154878
155094
|
const IGNORE_THRESHOLD_IN_PERCENT = 0.925;
|
|
154879
|
-
function finalize$
|
|
155095
|
+
function finalize$i(partialModel) {
|
|
154880
155096
|
return {
|
|
154881
155097
|
insightKey: "Cache" ,
|
|
154882
|
-
strings: UIStrings$
|
|
154883
|
-
title: i18nString$
|
|
154884
|
-
description: i18nString$
|
|
155098
|
+
strings: UIStrings$L,
|
|
155099
|
+
title: i18nString$w(UIStrings$L.title),
|
|
155100
|
+
description: i18nString$w(UIStrings$L.description),
|
|
154885
155101
|
docs: 'https://developer.chrome.com/docs/performance/insights/cache',
|
|
154886
155102
|
category: InsightCategory.ALL,
|
|
154887
155103
|
state: partialModel.requests.length > 0 ? 'fail' : 'pass',
|
|
@@ -154954,7 +155170,7 @@ function cachingDisabled(headers, parsedCacheControl) {
|
|
|
154954
155170
|
function isCacheInsight(model) {
|
|
154955
155171
|
return model.insightKey === "Cache" ;
|
|
154956
155172
|
}
|
|
154957
|
-
function generateInsight$
|
|
155173
|
+
function generateInsight$i(data, context) {
|
|
154958
155174
|
const isWithinContext = (event) => eventIsInBounds(event, context.bounds);
|
|
154959
155175
|
const contextRequests = data.NetworkRequests.byTime.filter(isWithinContext);
|
|
154960
155176
|
const results = [];
|
|
@@ -154992,7 +155208,7 @@ function generateInsight$h(data, context) {
|
|
|
154992
155208
|
results.sort((a, b) => {
|
|
154993
155209
|
return b.request.args.data.decodedBodyLength - a.request.args.data.decodedBodyLength || a.ttl - b.ttl;
|
|
154994
155210
|
});
|
|
154995
|
-
return finalize$
|
|
155211
|
+
return finalize$i({
|
|
154996
155212
|
relatedEvents: results.map(r => r.request),
|
|
154997
155213
|
requests: results,
|
|
154998
155214
|
metricSavings: metricSavingsForWastedBytes(wastedBytesByRequestId, context),
|
|
@@ -155006,24 +155222,137 @@ function createOverlayForRequest$3(request) {
|
|
|
155006
155222
|
outlineReason: 'ERROR',
|
|
155007
155223
|
};
|
|
155008
155224
|
}
|
|
155009
|
-
function createOverlays$
|
|
155225
|
+
function createOverlays$i(model) {
|
|
155010
155226
|
return model.requests.map(req => createOverlayForRequest$3(req.request));
|
|
155011
155227
|
}
|
|
155012
155228
|
|
|
155013
155229
|
var Cache = /*#__PURE__*/Object.freeze({
|
|
155014
155230
|
__proto__: null,
|
|
155015
|
-
UIStrings: UIStrings$
|
|
155231
|
+
UIStrings: UIStrings$L,
|
|
155016
155232
|
cachingDisabled: cachingDisabled,
|
|
155017
155233
|
computeCacheLifetimeInSeconds: computeCacheLifetimeInSeconds,
|
|
155018
155234
|
createOverlayForRequest: createOverlayForRequest$3,
|
|
155019
|
-
createOverlays: createOverlays$
|
|
155020
|
-
generateInsight: generateInsight$
|
|
155235
|
+
createOverlays: createOverlays$i,
|
|
155236
|
+
generateInsight: generateInsight$i,
|
|
155021
155237
|
getCombinedHeaders: getCombinedHeaders,
|
|
155022
|
-
i18nString: i18nString$
|
|
155238
|
+
i18nString: i18nString$w,
|
|
155023
155239
|
isCacheInsight: isCacheInsight,
|
|
155024
155240
|
isCacheable: isCacheable
|
|
155025
155241
|
});
|
|
155026
155242
|
|
|
155243
|
+
// Copyright 2026 The Chromium Authors
|
|
155244
|
+
const UIStrings$K = {
|
|
155245
|
+
title: 'Declare a character encoding',
|
|
155246
|
+
description: 'A character encoding declaration is required. It can be done with a meta charset tag in the first 1024 bytes of the HTML or in the Content-Type HTTP response header. [Learn more about declaring the character encoding](https://developer.chrome.com/docs/insights/charset/).',
|
|
155247
|
+
passingHttpHeader: 'Declares charset in HTTP header',
|
|
155248
|
+
failedHttpHeader: 'Does not declare charset in HTTP header',
|
|
155249
|
+
passingMetaCharsetEarly: 'Declares charset using a meta tag in the first 1024 bytes',
|
|
155250
|
+
failedMetaCharsetLate: 'Declares charset using a meta tag after the first 1024 bytes',
|
|
155251
|
+
failedMetaCharsetMissing: 'Does not declare charset using a meta tag',
|
|
155252
|
+
failedMetaCharsetUnknown: 'Could not determine meta charset declaration from trace',
|
|
155253
|
+
};
|
|
155254
|
+
const str_$J = registerUIStrings('models/trace/insights/CharacterSet.ts', UIStrings$K);
|
|
155255
|
+
const i18nString$v = getLocalizedString.bind(undefined, str_$J);
|
|
155256
|
+
const CHARSET_HTTP_REGEX = /charset\s*=\s*[a-zA-Z0-9\-_:.()]{2,}/i;
|
|
155257
|
+
function isCharacterSetInsight(model) {
|
|
155258
|
+
return model.insightKey === "CharacterSet" ;
|
|
155259
|
+
}
|
|
155260
|
+
function finalize$h(partialModel) {
|
|
155261
|
+
let hasFailure = false;
|
|
155262
|
+
if (partialModel.data) {
|
|
155263
|
+
hasFailure = !partialModel.data.checklist.httpCharset.value && !partialModel.data.checklist.metaCharset.value;
|
|
155264
|
+
}
|
|
155265
|
+
return {
|
|
155266
|
+
insightKey: "CharacterSet" ,
|
|
155267
|
+
strings: UIStrings$K,
|
|
155268
|
+
title: i18nString$v(UIStrings$K.title),
|
|
155269
|
+
description: i18nString$v(UIStrings$K.description),
|
|
155270
|
+
docs: 'https://developer.chrome.com/docs/insights/charset/',
|
|
155271
|
+
category: InsightCategory.ALL,
|
|
155272
|
+
state: hasFailure ? 'fail' : 'pass',
|
|
155273
|
+
...partialModel,
|
|
155274
|
+
};
|
|
155275
|
+
}
|
|
155276
|
+
function hasCharsetInContentType(request) {
|
|
155277
|
+
if (!request.args.data.responseHeaders) {
|
|
155278
|
+
return false;
|
|
155279
|
+
}
|
|
155280
|
+
for (const header of request.args.data.responseHeaders) {
|
|
155281
|
+
if (header.name.toLowerCase() === 'content-type') {
|
|
155282
|
+
return CHARSET_HTTP_REGEX.test(header.value);
|
|
155283
|
+
}
|
|
155284
|
+
}
|
|
155285
|
+
return false;
|
|
155286
|
+
}
|
|
155287
|
+
function findMetaCharsetDisposition(data, context) {
|
|
155288
|
+
if (!context.navigation) {
|
|
155289
|
+
return undefined;
|
|
155290
|
+
}
|
|
155291
|
+
return data.PageLoadMetrics.metaCharsetCheckEventsByNavigation.get(context.navigation)
|
|
155292
|
+
?.at(-1)
|
|
155293
|
+
?.args.data?.disposition;
|
|
155294
|
+
}
|
|
155295
|
+
function metaCharsetLabel(disposition) {
|
|
155296
|
+
switch (disposition) {
|
|
155297
|
+
case 'found-in-first-1024-bytes':
|
|
155298
|
+
return i18nString$v(UIStrings$K.passingMetaCharsetEarly);
|
|
155299
|
+
case 'found-after-first-1024-bytes':
|
|
155300
|
+
return i18nString$v(UIStrings$K.failedMetaCharsetLate);
|
|
155301
|
+
case 'not-found':
|
|
155302
|
+
return i18nString$v(UIStrings$K.failedMetaCharsetMissing);
|
|
155303
|
+
default:
|
|
155304
|
+
return i18nString$v(UIStrings$K.failedMetaCharsetUnknown);
|
|
155305
|
+
}
|
|
155306
|
+
}
|
|
155307
|
+
function generateInsight$h(data, context) {
|
|
155308
|
+
if (!context.navigation) {
|
|
155309
|
+
return finalize$h({});
|
|
155310
|
+
}
|
|
155311
|
+
const documentRequest = data.NetworkRequests.byId.get(context.navigationId);
|
|
155312
|
+
if (!documentRequest) {
|
|
155313
|
+
return finalize$h({ warnings: [InsightWarning.NO_DOCUMENT_REQUEST] });
|
|
155314
|
+
}
|
|
155315
|
+
const hasHttpCharset = hasCharsetInContentType(documentRequest);
|
|
155316
|
+
const metaCharsetDisposition = findMetaCharsetDisposition(data, context);
|
|
155317
|
+
const hasMetaCharsetInFirst1024Bytes = metaCharsetDisposition === 'found-in-first-1024-bytes';
|
|
155318
|
+
return finalize$h({
|
|
155319
|
+
relatedEvents: [documentRequest],
|
|
155320
|
+
data: {
|
|
155321
|
+
hasHttpCharset,
|
|
155322
|
+
metaCharsetDisposition,
|
|
155323
|
+
documentRequest,
|
|
155324
|
+
checklist: {
|
|
155325
|
+
httpCharset: {
|
|
155326
|
+
label: hasHttpCharset ? i18nString$v(UIStrings$K.passingHttpHeader) : i18nString$v(UIStrings$K.failedHttpHeader),
|
|
155327
|
+
value: hasHttpCharset,
|
|
155328
|
+
},
|
|
155329
|
+
metaCharset: {
|
|
155330
|
+
label: metaCharsetLabel(metaCharsetDisposition),
|
|
155331
|
+
value: hasMetaCharsetInFirst1024Bytes,
|
|
155332
|
+
},
|
|
155333
|
+
},
|
|
155334
|
+
},
|
|
155335
|
+
});
|
|
155336
|
+
}
|
|
155337
|
+
function createOverlays$h(model) {
|
|
155338
|
+
if (!model.data?.documentRequest) {
|
|
155339
|
+
return [];
|
|
155340
|
+
}
|
|
155341
|
+
return [{
|
|
155342
|
+
type: 'ENTRY_SELECTED',
|
|
155343
|
+
entry: model.data.documentRequest,
|
|
155344
|
+
}];
|
|
155345
|
+
}
|
|
155346
|
+
|
|
155347
|
+
var CharacterSet = /*#__PURE__*/Object.freeze({
|
|
155348
|
+
__proto__: null,
|
|
155349
|
+
UIStrings: UIStrings$K,
|
|
155350
|
+
createOverlays: createOverlays$h,
|
|
155351
|
+
generateInsight: generateInsight$h,
|
|
155352
|
+
i18nString: i18nString$v,
|
|
155353
|
+
isCharacterSetInsight: isCharacterSetInsight
|
|
155354
|
+
});
|
|
155355
|
+
|
|
155027
155356
|
// Copyright 2024 The Chromium Authors
|
|
155028
155357
|
const UIStrings$J = {
|
|
155029
155358
|
title: 'Layout shift culprits',
|
|
@@ -158658,6 +158987,7 @@ var Models = /*#__PURE__*/Object.freeze({
|
|
|
158658
158987
|
__proto__: null,
|
|
158659
158988
|
CLSCulprits: CLSCulprits,
|
|
158660
158989
|
Cache: Cache,
|
|
158990
|
+
CharacterSet: CharacterSet,
|
|
158661
158991
|
DOMSize: DOMSize,
|
|
158662
158992
|
DocumentLatency: DocumentLatency,
|
|
158663
158993
|
DuplicatedJavaScript: DuplicatedJavaScript,
|
|
@@ -161744,6 +162074,7 @@ class TraceProcessor extends EventTarget {
|
|
|
161744
162074
|
SlowCSSSelector: null,
|
|
161745
162075
|
ForcedReflow: null,
|
|
161746
162076
|
Cache: null,
|
|
162077
|
+
CharacterSet: null,
|
|
161747
162078
|
ModernHTTP: null,
|
|
161748
162079
|
LegacyJavaScript: null,
|
|
161749
162080
|
};
|
|
@@ -162057,6 +162388,9 @@ class Model extends EventTarget {
|
|
|
162057
162388
|
this.#traces.splice(recordingIndex, 1);
|
|
162058
162389
|
this.#recordingsAvailable.splice(recordingIndex, 1);
|
|
162059
162390
|
}
|
|
162391
|
+
indexForTrace(trace) {
|
|
162392
|
+
return this.#traces.indexOf(trace);
|
|
162393
|
+
}
|
|
162060
162394
|
getRecordingsAvailable() {
|
|
162061
162395
|
return this.#recordingsAvailable;
|
|
162062
162396
|
}
|
|
@@ -162614,7 +162948,8 @@ class Prototypes {
|
|
|
162614
162948
|
const aiAnnotations = settings.createSetting('greendev-ai-annotations-enabled', false, "Local" );
|
|
162615
162949
|
const copyToGemini = settings.createSetting('greendev-copy-to-gemini-enabled', false, "Local" );
|
|
162616
162950
|
const breakpointDebuggerAgent = settings.createSetting('greendev-breakpoint-debugger-agent-enabled', false, "Local" );
|
|
162617
|
-
|
|
162951
|
+
const emulationCapabilities = settings.createSetting('greendev-emulation-capabilities-enabled', false, "Local" );
|
|
162952
|
+
return { aiAnnotations, copyToGemini, breakpointDebuggerAgent, emulationCapabilities };
|
|
162618
162953
|
}
|
|
162619
162954
|
}
|
|
162620
162955
|
|
|
@@ -164521,7 +164856,7 @@ class DeviceModeModel extends ObjectWrapper {
|
|
|
164521
164856
|
this.setHeight(height);
|
|
164522
164857
|
}
|
|
164523
164858
|
applyUserAgent(userAgent, userAgentMetadata) {
|
|
164524
|
-
MultitargetNetworkManager.instance().setUserAgentOverride(userAgent, userAgentMetadata);
|
|
164859
|
+
MultitargetNetworkManager.instance().setUserAgentOverride(userAgent, userAgent ? userAgentMetadata : null);
|
|
164525
164860
|
}
|
|
164526
164861
|
applyDeviceMetrics(screenSize, insets, outline, scale, deviceScaleFactor, mobile, screenOrientation, resetPageScaleFactor) {
|
|
164527
164862
|
screenSize.width = Math.max(1, Math.floor(screenSize.width));
|
|
@@ -167488,13 +167823,17 @@ class PerformanceInsightFormatter {
|
|
|
167488
167823
|
{ title: 'Is my site polyfilling modern JavaScript features?' },
|
|
167489
167824
|
{ title: 'How can I reduce the amount of legacy JavaScript on my page?' },
|
|
167490
167825
|
];
|
|
167826
|
+
case 'CharacterSet':
|
|
167827
|
+
return [
|
|
167828
|
+
{ title: 'How do I declare a character encoding for my page?' },
|
|
167829
|
+
];
|
|
167491
167830
|
default:
|
|
167492
167831
|
throw new Error(`Unknown insight key '${this.#insight.insightKey}'`);
|
|
167493
167832
|
}
|
|
167494
167833
|
}
|
|
167495
167834
|
formatCacheInsight(insight) {
|
|
167496
167835
|
if (insight.requests.length === 0) {
|
|
167497
|
-
return UIStrings$
|
|
167836
|
+
return UIStrings$L.noRequestsToCache + '.';
|
|
167498
167837
|
}
|
|
167499
167838
|
let output = 'The following resources were associated with ineffficient cache policies:\n';
|
|
167500
167839
|
for (const entry of insight.requests) {
|
|
@@ -167502,7 +167841,7 @@ class PerformanceInsightFormatter {
|
|
|
167502
167841
|
output += `\n - Cache Time to Live (TTL): ${entry.ttl} seconds`;
|
|
167503
167842
|
output += `\n - Wasted bytes: ${bytes(entry.wastedBytes)}`;
|
|
167504
167843
|
}
|
|
167505
|
-
output += '\n\n' + UIStrings$
|
|
167844
|
+
output += '\n\n' + UIStrings$L.description;
|
|
167506
167845
|
return output;
|
|
167507
167846
|
}
|
|
167508
167847
|
#formatLayoutShift(shift, index, rootCauses) {
|
|
@@ -167930,6 +168269,18 @@ ${requestSummary}`;
|
|
|
167930
168269
|
output += UIStrings$u.description;
|
|
167931
168270
|
return output;
|
|
167932
168271
|
}
|
|
168272
|
+
formatCharacterSetInsight(insight) {
|
|
168273
|
+
let output = '';
|
|
168274
|
+
if (insight.data) {
|
|
168275
|
+
output += 'HTTP Content-Type header charset: ' + (insight.data.hasHttpCharset ? 'present' : 'missing') + '.\n';
|
|
168276
|
+
output += 'HTML meta charset disposition: ' + (insight.data.metaCharsetDisposition ?? 'unknown') + '.\n';
|
|
168277
|
+
if (!insight.data.hasHttpCharset && insight.data.metaCharsetDisposition !== 'found-in-first-1024-bytes') {
|
|
168278
|
+
output +=
|
|
168279
|
+
'\nThe page does not declare character encoding via HTTP header or a meta charset tag in the first 1024 bytes.\n';
|
|
168280
|
+
}
|
|
168281
|
+
}
|
|
168282
|
+
return output;
|
|
168283
|
+
}
|
|
167933
168284
|
formatViewportInsight(insight) {
|
|
167934
168285
|
let output = '';
|
|
167935
168286
|
output += 'The webpage is ' + (insight.mobileOptimized ? 'already' : 'not') + ' optimized for mobile viewing.\n';
|
|
@@ -168016,6 +168367,9 @@ ${this.#links()}`;
|
|
|
168016
168367
|
if (isViewportInsight(this.#insight)) {
|
|
168017
168368
|
return this.formatViewportInsight(this.#insight);
|
|
168018
168369
|
}
|
|
168370
|
+
if (isCharacterSetInsight(this.#insight)) {
|
|
168371
|
+
return this.formatCharacterSetInsight(this.#insight);
|
|
168372
|
+
}
|
|
168019
168373
|
return '';
|
|
168020
168374
|
}
|
|
168021
168375
|
estimatedSavings() {
|
|
@@ -168090,6 +168444,9 @@ ${this.#links()}`;
|
|
|
168090
168444
|
links.push('https://web.dev/articles/baseline-and-polyfills');
|
|
168091
168445
|
links.push('https://philipwalton.com/articles/the-state-of-es5-on-the-web/');
|
|
168092
168446
|
break;
|
|
168447
|
+
case 'CharacterSet':
|
|
168448
|
+
links.push('https://developer.chrome.com/docs/insights/charset/');
|
|
168449
|
+
break;
|
|
168093
168450
|
}
|
|
168094
168451
|
return links.map(link => '- ' + link).join('\n');
|
|
168095
168452
|
}
|
|
@@ -168172,6 +168529,8 @@ To pass this insight, ensure your server supports and prioritizes a modern HTTP
|
|
|
168172
168529
|
return `This insight identified legacy JavaScript in your application's modules that may be creating unnecessary code.
|
|
168173
168530
|
|
|
168174
168531
|
Polyfills and transforms enable older browsers to use new JavaScript features. However, many are not necessary for modern browsers. Consider modifying your JavaScript build process to not transpile Baseline features, unless you know you must support older browsers.`;
|
|
168532
|
+
case 'CharacterSet':
|
|
168533
|
+
return `This insight checks that the page declares a character encoding, ideally via the Content-Type HTTP response header. A missing or late charset declaration can force the browser to re-parse the document once it finally determines the encoding, delaying first contentful paint. Best practice: include charset=utf-8 in the Content-Type header and add <meta charset="utf-8"> as the very first element inside <head>.`;
|
|
168175
168534
|
}
|
|
168176
168535
|
}
|
|
168177
168536
|
}
|
|
@@ -173748,8 +174107,8 @@ const str_$2 = registerUIStrings('models/issues_manager/SharedDictionaryIssue.ts
|
|
|
173748
174107
|
const i18nLazyString$2 = getLazilyComputedLocalizedString.bind(undefined, str_$2);
|
|
173749
174108
|
function getIssueCode(details) {
|
|
173750
174109
|
switch (details.sharedDictionaryError) {
|
|
173751
|
-
case "
|
|
173752
|
-
return "SharedDictionaryIssue::
|
|
174110
|
+
case "UseErrorNoCorpCrossOriginNoCorsRequest" :
|
|
174111
|
+
return "SharedDictionaryIssue::UseErrorNoCorpCrossOriginNoCorsRequest" ;
|
|
173753
174112
|
case "UseErrorDictionaryLoadFailure" :
|
|
173754
174113
|
return "SharedDictionaryIssue::UseErrorDictionaryLoadFailure" ;
|
|
173755
174114
|
case "UseErrorMatchingDictionaryNotUsed" :
|
|
@@ -173774,6 +174133,8 @@ function getIssueCode(details) {
|
|
|
173774
174133
|
return "SharedDictionaryIssue::WriteErrorInvalidTTLField" ;
|
|
173775
174134
|
case "WriteErrorNavigationRequest" :
|
|
173776
174135
|
return "SharedDictionaryIssue::WriteErrorNavigationRequest" ;
|
|
174136
|
+
case "WriteErrorNoCorpCossOriginNoCorsRequest" :
|
|
174137
|
+
return "SharedDictionaryIssue::WriteErrorNoCorpCossOriginNoCorsRequest" ;
|
|
173777
174138
|
case "WriteErrorNoMatchField" :
|
|
173778
174139
|
return "SharedDictionaryIssue::WriteErrorNoMatchField" ;
|
|
173779
174140
|
case "WriteErrorNonIntegerTTLField" :
|
|
@@ -173849,9 +174210,9 @@ const specLinks = [{
|
|
|
173849
174210
|
}];
|
|
173850
174211
|
const issueDescriptions = new Map([
|
|
173851
174212
|
[
|
|
173852
|
-
"
|
|
174213
|
+
"UseErrorNoCorpCrossOriginNoCorsRequest" ,
|
|
173853
174214
|
{
|
|
173854
|
-
file: '
|
|
174215
|
+
file: 'sharedDictionaryUseErrorNoCorpCrossOriginNoCorsRequest.md',
|
|
173855
174216
|
links: specLinks,
|
|
173856
174217
|
},
|
|
173857
174218
|
],
|
|
@@ -173939,6 +174300,13 @@ const issueDescriptions = new Map([
|
|
|
173939
174300
|
links: specLinks,
|
|
173940
174301
|
},
|
|
173941
174302
|
],
|
|
174303
|
+
[
|
|
174304
|
+
"WriteErrorNoCorpCossOriginNoCorsRequest" ,
|
|
174305
|
+
{
|
|
174306
|
+
file: 'sharedDictionaryWriteErrorNoCorpCossOriginNoCorsRequest.md',
|
|
174307
|
+
links: specLinks,
|
|
174308
|
+
},
|
|
174309
|
+
],
|
|
173942
174310
|
[
|
|
173943
174311
|
"WriteErrorNoMatchField" ,
|
|
173944
174312
|
{
|