chrome-devtools-frontend 1.0.1010492 → 1.0.1010977
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/front_end/core/i18n/locales/en-US.json +0 -3
- package/front_end/core/i18n/locales/en-XL.json +0 -3
- package/front_end/generated/InspectorBackendCommands.js +3 -6
- package/front_end/generated/SupportedCSSProperties.js +2 -2
- package/front_end/generated/protocol.ts +24 -7
- package/front_end/models/issues_manager/DeprecationIssue.ts +1 -10
- package/front_end/models/javascript_metadata/NativeFunctions.js +4 -4
- package/front_end/ui/legacy/ViewManager.ts +2 -2
- package/package.json +1 -1
@@ -1442,9 +1442,6 @@
|
|
1442
1442
|
"models/issues_manager/DeprecationIssue.ts | obsoleteWebRtcCipherSuite": {
|
1443
1443
|
"message": "Your partner is negotiating an obsolete (D)TLS version. Please check with your partner to have this fixed."
|
1444
1444
|
},
|
1445
|
-
"models/issues_manager/DeprecationIssue.ts | paymentRequestBasicCard": {
|
1446
|
-
"message": "The basic-card payment method is deprecated and will be removed."
|
1447
|
-
},
|
1448
1445
|
"models/issues_manager/DeprecationIssue.ts | pictureSourceSrc": {
|
1449
1446
|
"message": "<source src> with a <picture> parent is invalid and therefore ignored. Please use <source srcset> instead."
|
1450
1447
|
},
|
@@ -1442,9 +1442,6 @@
|
|
1442
1442
|
"models/issues_manager/DeprecationIssue.ts | obsoleteWebRtcCipherSuite": {
|
1443
1443
|
"message": "Ŷóûŕ p̂ár̂t́n̂ér̂ íŝ ńêǵôt́îát̂ín̂ǵ âń ôb́ŝól̂ét̂é (D̂)T́L̂Ś v̂ér̂śîón̂. Ṕl̂éâśê ćĥéĉḱ ŵít̂h́ ŷóûŕ p̂ár̂t́n̂ér̂ t́ô h́âv́ê t́ĥíŝ f́îx́êd́."
|
1444
1444
|
},
|
1445
|
-
"models/issues_manager/DeprecationIssue.ts | paymentRequestBasicCard": {
|
1446
|
-
"message": "T̂h́ê basic-card ṕâým̂én̂t́ m̂ét̂h́ôd́ îś d̂ép̂ŕêćât́êd́ âńd̂ ẃîĺl̂ b́ê ŕêḿôv́êd́."
|
1447
|
-
},
|
1448
1445
|
"models/issues_manager/DeprecationIssue.ts | pictureSourceSrc": {
|
1449
1446
|
"message": "<source src> ŵít̂h́ â <picture> ṕâŕêńt̂ íŝ ín̂v́âĺîd́ âńd̂ t́ĥér̂éf̂ór̂é îǵn̂ór̂éd̂. Ṕl̂éâśê úŝé <source srcset> îńŝt́êád̂."
|
1450
1447
|
},
|
@@ -296,7 +296,6 @@ export function registerCommands(inspectorBackend) {
|
|
296
296
|
NotificationInsecureOrigin: 'NotificationInsecureOrigin',
|
297
297
|
NotificationPermissionRequestedIframe: 'NotificationPermissionRequestedIframe',
|
298
298
|
ObsoleteWebRtcCipherSuite: 'ObsoleteWebRtcCipherSuite',
|
299
|
-
PaymentRequestBasicCard: 'PaymentRequestBasicCard',
|
300
299
|
PictureSourceSrc: 'PictureSourceSrc',
|
301
300
|
PrefixedCancelAnimationFrame: 'PrefixedCancelAnimationFrame',
|
302
301
|
PrefixedRequestAnimationFrame: 'PrefixedRequestAnimationFrame',
|
@@ -1735,9 +1734,10 @@ export function registerCommands(inspectorBackend) {
|
|
1735
1734
|
inspectorBackend.registerEnum('Network.CrossOriginOpenerPolicyValue', {
|
1736
1735
|
SameOrigin: 'SameOrigin',
|
1737
1736
|
SameOriginAllowPopups: 'SameOriginAllowPopups',
|
1737
|
+
RestrictProperties: 'RestrictProperties',
|
1738
1738
|
UnsafeNone: 'UnsafeNone',
|
1739
1739
|
SameOriginPlusCoep: 'SameOriginPlusCoep',
|
1740
|
-
|
1740
|
+
RestrictPropertiesPlusCoep: 'RestrictPropertiesPlusCoep'
|
1741
1741
|
});
|
1742
1742
|
inspectorBackend.registerEnum(
|
1743
1743
|
'Network.CrossOriginEmbedderPolicyValue',
|
@@ -2085,7 +2085,6 @@ export function registerCommands(inspectorBackend) {
|
|
2085
2085
|
ChDeviceMemory: 'ch-device-memory',
|
2086
2086
|
ChDownlink: 'ch-downlink',
|
2087
2087
|
ChEct: 'ch-ect',
|
2088
|
-
ChPartitionedCookies: 'ch-partitioned-cookies',
|
2089
2088
|
ChPrefersColorScheme: 'ch-prefers-color-scheme',
|
2090
2089
|
ChRtt: 'ch-rtt',
|
2091
2090
|
ChSaveData: 'ch-save-data',
|
@@ -2317,7 +2316,6 @@ export function registerCommands(inspectorBackend) {
|
|
2317
2316
|
ContentMediaDevicesDispatcherHost: 'ContentMediaDevicesDispatcherHost',
|
2318
2317
|
ContentWebBluetooth: 'ContentWebBluetooth',
|
2319
2318
|
ContentWebUSB: 'ContentWebUSB',
|
2320
|
-
ContentMediaSession: 'ContentMediaSession',
|
2321
2319
|
ContentMediaSessionService: 'ContentMediaSessionService',
|
2322
2320
|
ContentScreenReader: 'ContentScreenReader',
|
2323
2321
|
EmbedderPopupBlockerTabHelper: 'EmbedderPopupBlockerTabHelper',
|
@@ -2379,8 +2377,7 @@ export function registerCommands(inspectorBackend) {
|
|
2379
2377
|
inspectorBackend.registerEnum(
|
2380
2378
|
'Page.FileChooserOpenedEventMode', {SelectSingle: 'selectSingle', SelectMultiple: 'selectMultiple'});
|
2381
2379
|
inspectorBackend.registerEvent('Page.fileChooserOpened', ['frameId', 'backendNodeId', 'mode']);
|
2382
|
-
inspectorBackend.registerEvent(
|
2383
|
-
'Page.frameAttached', ['frameId', 'parentFrameId', 'stack', 'adScriptId', 'debuggerId']);
|
2380
|
+
inspectorBackend.registerEvent('Page.frameAttached', ['frameId', 'parentFrameId', 'stack', 'adScriptId']);
|
2384
2381
|
inspectorBackend.registerEvent('Page.frameClearedScheduledNavigation', ['frameId']);
|
2385
2382
|
inspectorBackend.registerEnum('Page.FrameDetachedEventReason', {Remove: 'remove', Swap: 'swap'});
|
2386
2383
|
inspectorBackend.registerEvent('Page.frameDetached', ['frameId', 'reason']);
|
@@ -571,9 +571,9 @@ export const generatedProperties = [
|
|
571
571
|
{'name': 'math-depth', 'inherited': true},
|
572
572
|
{'name': 'math-shift', 'inherited': true, 'keywords': ['normal', 'compact']},
|
573
573
|
{'name': 'math-style', 'inherited': true, 'keywords': ['normal', 'compact']},
|
574
|
-
{'
|
574
|
+
{'name': 'max-block-size', 'keywords': ['none']},
|
575
575
|
{'name': 'max-height', 'keywords': ['none']},
|
576
|
-
{'
|
576
|
+
{'name': 'max-inline-size', 'keywords': ['none']},
|
577
577
|
{'name': 'max-width', 'keywords': ['none']},
|
578
578
|
{'name': 'max-zoom'},
|
579
579
|
{'name': 'min-block-size'},
|
@@ -970,7 +970,7 @@ export namespace Audits {
|
|
970
970
|
|
971
971
|
/**
|
972
972
|
* Details for issues around "Attribution Reporting API" usage.
|
973
|
-
* Explainer: https://github.com/WICG/
|
973
|
+
* Explainer: https://github.com/WICG/attribution-reporting-api
|
974
974
|
*/
|
975
975
|
export interface AttributionReportingIssueDetails {
|
976
976
|
violationType: AttributionReportingIssueType;
|
@@ -1043,7 +1043,6 @@ export namespace Audits {
|
|
1043
1043
|
NotificationInsecureOrigin = 'NotificationInsecureOrigin',
|
1044
1044
|
NotificationPermissionRequestedIframe = 'NotificationPermissionRequestedIframe',
|
1045
1045
|
ObsoleteWebRtcCipherSuite = 'ObsoleteWebRtcCipherSuite',
|
1046
|
-
PaymentRequestBasicCard = 'PaymentRequestBasicCard',
|
1047
1046
|
PictureSourceSrc = 'PictureSourceSrc',
|
1048
1047
|
PrefixedCancelAnimationFrame = 'PrefixedCancelAnimationFrame',
|
1049
1048
|
PrefixedRequestAnimationFrame = 'PrefixedRequestAnimationFrame',
|
@@ -8156,9 +8155,10 @@ export namespace Network {
|
|
8156
8155
|
export const enum CrossOriginOpenerPolicyValue {
|
8157
8156
|
SameOrigin = 'SameOrigin',
|
8158
8157
|
SameOriginAllowPopups = 'SameOriginAllowPopups',
|
8158
|
+
RestrictProperties = 'RestrictProperties',
|
8159
8159
|
UnsafeNone = 'UnsafeNone',
|
8160
8160
|
SameOriginPlusCoep = 'SameOriginPlusCoep',
|
8161
|
-
|
8161
|
+
RestrictPropertiesPlusCoep = 'RestrictPropertiesPlusCoep',
|
8162
8162
|
}
|
8163
8163
|
|
8164
8164
|
export interface CrossOriginOpenerPolicyStatus {
|
@@ -10138,6 +10138,22 @@ export namespace Page {
|
|
10138
10138
|
explanations?: AdFrameExplanation[];
|
10139
10139
|
}
|
10140
10140
|
|
10141
|
+
/**
|
10142
|
+
* Identifies the bottom-most script which caused the frame to be labelled
|
10143
|
+
* as an ad.
|
10144
|
+
*/
|
10145
|
+
export interface AdScriptId {
|
10146
|
+
/**
|
10147
|
+
* Script Id of the bottom-most script which caused the frame to be labelled
|
10148
|
+
* as an ad.
|
10149
|
+
*/
|
10150
|
+
scriptId: Runtime.ScriptId;
|
10151
|
+
/**
|
10152
|
+
* Id of adScriptId's debugger.
|
10153
|
+
*/
|
10154
|
+
debuggerId: Runtime.UniqueDebuggerId;
|
10155
|
+
}
|
10156
|
+
|
10141
10157
|
/**
|
10142
10158
|
* Indicates whether the frame is a secure context and why it is the case.
|
10143
10159
|
*/
|
@@ -10180,7 +10196,6 @@ export namespace Page {
|
|
10180
10196
|
ChDeviceMemory = 'ch-device-memory',
|
10181
10197
|
ChDownlink = 'ch-downlink',
|
10182
10198
|
ChEct = 'ch-ect',
|
10183
|
-
ChPartitionedCookies = 'ch-partitioned-cookies',
|
10184
10199
|
ChPrefersColorScheme = 'ch-prefers-color-scheme',
|
10185
10200
|
ChRtt = 'ch-rtt',
|
10186
10201
|
ChSaveData = 'ch-save-data',
|
@@ -10914,7 +10929,6 @@ export namespace Page {
|
|
10914
10929
|
ContentMediaDevicesDispatcherHost = 'ContentMediaDevicesDispatcherHost',
|
10915
10930
|
ContentWebBluetooth = 'ContentWebBluetooth',
|
10916
10931
|
ContentWebUSB = 'ContentWebUSB',
|
10917
|
-
ContentMediaSession = 'ContentMediaSession',
|
10918
10932
|
ContentMediaSessionService = 'ContentMediaSessionService',
|
10919
10933
|
ContentScreenReader = 'ContentScreenReader',
|
10920
10934
|
EmbedderPopupBlockerTabHelper = 'EmbedderPopupBlockerTabHelper',
|
@@ -11764,8 +11778,11 @@ export namespace Page {
|
|
11764
11778
|
* JavaScript stack trace of when frame was attached, only set if frame initiated from script.
|
11765
11779
|
*/
|
11766
11780
|
stack?: Runtime.StackTrace;
|
11767
|
-
|
11768
|
-
|
11781
|
+
/**
|
11782
|
+
* Identifies the bottom-most script which caused the frame to be labelled
|
11783
|
+
* as an ad. Only sent if frame is labelled as an ad and id is available.
|
11784
|
+
*/
|
11785
|
+
adScriptId?: AdScriptId;
|
11769
11786
|
}
|
11770
11787
|
|
11771
11788
|
/**
|
@@ -113,7 +113,7 @@ const UIStrings = {
|
|
113
113
|
getUserMediaInsecureOrigin:
|
114
114
|
'`getUserMedia()` no longer works on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gle/chrome-insecure-origins for more details.',
|
115
115
|
/**
|
116
|
-
* @description
|
116
|
+
* @description A deprecation warning shown to developers in the DevTools Issues tab when code tries to use the deprecated hostCandidate field, guiding developers to use the the equivalent information in the .address and .port fields instead.
|
117
117
|
*/
|
118
118
|
hostCandidateAttributeGetter:
|
119
119
|
'`RTCPeerConnectionIceErrorEvent.hostCandidate` is deprecated. Please use `RTCPeerConnectionIceErrorEvent.address` or `RTCPeerConnectionIceErrorEvent.port` instead.',
|
@@ -164,10 +164,6 @@ const UIStrings = {
|
|
164
164
|
*/
|
165
165
|
obsoleteWebRtcCipherSuite:
|
166
166
|
'Your partner is negotiating an obsolete (D)TLS version. Please check with your partner to have this fixed.',
|
167
|
-
/**
|
168
|
-
* @description TODO(crbug.com/1320349): Description needed for translation
|
169
|
-
*/
|
170
|
-
paymentRequestBasicCard: 'The `basic-card` payment method is deprecated and will be removed.',
|
171
167
|
/**
|
172
168
|
* @description This issue indicates that a `<source>` element with a `<picture>` parent was using an `src` attribute, which is not valid and is ignored by the browser. The `srcset` attribute should be used instead.
|
173
169
|
*/
|
@@ -411,11 +407,6 @@ export class DeprecationIssue extends Issue {
|
|
411
407
|
messageFunction = i18nLazyString(UIStrings.obsoleteWebRtcCipherSuite);
|
412
408
|
milestone = 81;
|
413
409
|
break;
|
414
|
-
case Protocol.Audits.DeprecationIssueType.PaymentRequestBasicCard:
|
415
|
-
messageFunction = i18nLazyString(UIStrings.paymentRequestBasicCard);
|
416
|
-
feature = 5730051011117056;
|
417
|
-
milestone = 100;
|
418
|
-
break;
|
419
410
|
case Protocol.Audits.DeprecationIssueType.PictureSourceSrc:
|
420
411
|
messageFunction = i18nLazyString(UIStrings.pictureSourceSrc);
|
421
412
|
break;
|
@@ -7865,10 +7865,6 @@ export const NativeFunctions = [
|
|
7865
7865
|
name: 'colorMaskiOES',
|
7866
7866
|
signatures: [['buf','r','g','b','a']]
|
7867
7867
|
},
|
7868
|
-
{
|
7869
|
-
name: 'isEnablediOES',
|
7870
|
-
signatures: [['target','index']]
|
7871
|
-
},
|
7872
7868
|
{
|
7873
7869
|
name: 'WebGLContextEvent',
|
7874
7870
|
signatures: [['type','?eventInit']]
|
@@ -7909,6 +7905,10 @@ export const NativeFunctions = [
|
|
7909
7905
|
name: 'releaseVideoFrame',
|
7910
7906
|
signatures: [['handle']]
|
7911
7907
|
},
|
7908
|
+
{
|
7909
|
+
name: 'requestAdapterInfo',
|
7910
|
+
signatures: [['?unmaskHints']]
|
7911
|
+
},
|
7912
7912
|
{
|
7913
7913
|
name: 'mapAsync',
|
7914
7914
|
signatures: [['mode','?offset','?size']]
|
@@ -434,7 +434,7 @@ export class _ExpandableContainerWidget extends VBox {
|
|
434
434
|
|
435
435
|
this.titleElement = document.createElement('div');
|
436
436
|
this.titleElement.classList.add('expandable-view-title');
|
437
|
-
ARIAUtils.
|
437
|
+
ARIAUtils.markAsTreeitem(this.titleElement);
|
438
438
|
this.titleExpandIcon = Icon.create('smallicon-triangle-right', 'title-expand-icon');
|
439
439
|
this.titleElement.appendChild(this.titleExpandIcon);
|
440
440
|
const titleText = view.title();
|
@@ -858,7 +858,7 @@ class _StackLocation extends Location implements ViewLocation {
|
|
858
858
|
const vbox = new VBox();
|
859
859
|
super(manager, vbox, revealCallback);
|
860
860
|
this.vbox = vbox;
|
861
|
-
ARIAUtils.
|
861
|
+
ARIAUtils.markAsTree(vbox.element);
|
862
862
|
|
863
863
|
this.expandableContainers = new Map();
|
864
864
|
|
package/package.json
CHANGED