chrome-devtools-frontend 1.0.996595 → 1.0.998045
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/AUTHORS +1 -0
- package/README.md +2 -2
- package/docs/design_guidelines.md +1 -1
- package/front_end/core/i18n/locales/en-US.json +6 -99
- package/front_end/core/i18n/locales/en-XL.json +6 -99
- package/front_end/core/root/Runtime.ts +5 -0
- package/front_end/core/sdk/DebuggerModel.ts +1 -1
- package/front_end/core/sdk/NetworkManager.ts +1 -2
- package/front_end/entrypoints/main/MainImpl.ts +1 -1
- package/front_end/generated/InspectorBackendCommands.js +0 -1
- package/front_end/generated/protocol.ts +5 -17
- package/front_end/models/bindings/BreakpointManager.ts +27 -3
- package/front_end/models/bindings/DebuggerLanguagePlugins.ts +9 -0
- package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +13 -0
- package/front_end/models/issues_manager/DeprecationIssue.ts +376 -117
- package/front_end/panels/accessibility/AXBreadcrumbsPane.ts +1 -1
- package/front_end/panels/css_overview/components/CSSOverviewStartView.ts +1 -1
- package/front_end/panels/css_overview/cssOverview.css +4 -0
- package/front_end/panels/elements/StylesSidebarPane.ts +19 -9
- package/front_end/panels/elements/components/adornerSettingsPane.css +5 -0
- package/front_end/panels/elements/stylesSectionTree.css +4 -4
- package/front_end/panels/sources/DebuggerPlugin.ts +6 -2
- package/front_end/panels/sources/SourcesPanel.ts +22 -6
- package/front_end/panels/sources/sources-legacy.ts +1 -1
- package/front_end/panels/sources/sources-meta.ts +61 -7
- package/front_end/ui/components/markdown_view/MarkdownLinksMap.ts +1 -1
- package/front_end/ui/legacy/SplitWidget.ts +17 -7
- package/front_end/ui/legacy/themeColors.css +2 -0
- package/front_end/ui/legacy/toolbar.css +5 -1
- package/package.json +1 -1
- package/scripts/eslint_rules/lib/lit_template_result_or_nothing.js +140 -0
- package/scripts/eslint_rules/lib/no_only_eslint_tests.js +5 -1
- package/scripts/eslint_rules/tests/lit_template_result_or_nothing_test.js +133 -0
- package/scripts/hosted_mode/server.js +1 -1
package/AUTHORS
CHANGED
@@ -57,6 +57,7 @@ Varun Varada <varuncvarada@gmail.com>
|
|
57
57
|
Will Hernandez <w.hernandez.code@gmail.com>
|
58
58
|
Yeol Park <peary2@gmail.com>
|
59
59
|
Yisi <yiorsi@gmail.com>
|
60
|
+
Yuan Zhuang <joann.yuanzhuang@gmail.com>
|
60
61
|
# Please DO NOT APPEND here. See comments at the top of the file.
|
61
62
|
# END individuals section.
|
62
63
|
|
package/README.md
CHANGED
@@ -29,8 +29,8 @@ Instructions to set up, use, and maintain a DevTools frontend checkout can be fo
|
|
29
29
|
- DevTools documentation: [devtools.chrome.com](https://devtools.chrome.com/)
|
30
30
|
- [Debugging protocol docs](https://developer.chrome.com/devtools/docs/debugger-protocol) and [Chrome Debugging Protocol Viewer](https://chromedevtools.github.io/debugger-protocol-viewer/)
|
31
31
|
- [awesome-chrome-devtools](https://github.com/paulirish/awesome-chrome-devtools): recommended tools and resources
|
32
|
-
- Contributing to DevTools: [bit.ly/devtools-contribution-guide](https://
|
33
|
-
- Contributing To Chrome DevTools Protocol: [docs.google.com](https://
|
32
|
+
- Contributing to DevTools: [bit.ly/devtools-contribution-guide](https://goo.gle/devtools-contribution-guide)
|
33
|
+
- Contributing To Chrome DevTools Protocol: [docs.google.com](https://goo.gle/devtools-contribution-guide-cdp)
|
34
34
|
- DevTools Design Review Guidelines: [design_guidelines.md](docs/design_guidelines.md)
|
35
35
|
|
36
36
|
### Source mirrors
|
@@ -81,7 +81,7 @@ Some pointers when people should be added to the list of LGTM providers:
|
|
81
81
|
|
82
82
|
### Where can I find a template for design documents?
|
83
83
|
|
84
|
-
[Here](https://
|
84
|
+
[Here](https://goo.gle/devtools-design-doc-template).
|
85
85
|
|
86
86
|
### What if I made big changes to the design document?
|
87
87
|
|
@@ -1352,105 +1352,6 @@
|
|
1352
1352
|
"models/issues_manager/CrossOriginEmbedderPolicyIssue.ts | samesiteAndSameorigin": {
|
1353
1353
|
"message": "Same-Site and Same-Origin"
|
1354
1354
|
},
|
1355
|
-
"models/issues_manager/DeprecationIssue.ts | authorizationCoveredByWildcard": {
|
1356
|
-
"message": "Authorization will not be covered by the wildcard symbol (*) in CORS Access-Control-Allow-Headers handling."
|
1357
|
-
},
|
1358
|
-
"models/issues_manager/DeprecationIssue.ts | cookieWithTruncatingChar": {
|
1359
|
-
"message": "Cookies containing a \\(0|r|n) character will be rejected instead of truncated."
|
1360
|
-
},
|
1361
|
-
"models/issues_manager/DeprecationIssue.ts | crossOriginAccessBasedOnDocumentDomain": {
|
1362
|
-
"message": "Relaxing the same-origin policy by setting document.domain is deprecated, and will be disabled by default. This deprecation warning is for a cross-origin access that was enabled by setting document.domain."
|
1363
|
-
},
|
1364
|
-
"models/issues_manager/DeprecationIssue.ts | crossOriginWindowAlert": {
|
1365
|
-
"message": "Triggering window.alert from cross origin iframes has been deprecated and will be removed in the future."
|
1366
|
-
},
|
1367
|
-
"models/issues_manager/DeprecationIssue.ts | crossOriginWindowConfirm": {
|
1368
|
-
"message": "Triggering window.confirm from cross origin iframes has been deprecated and will be removed in the future."
|
1369
|
-
},
|
1370
|
-
"models/issues_manager/DeprecationIssue.ts | deprecationExample": {
|
1371
|
-
"message": "This is an example of a translated deprecation issue message."
|
1372
|
-
},
|
1373
|
-
"models/issues_manager/DeprecationIssue.ts | documentDomainSettingWithoutOriginAgentClusterHeader": {
|
1374
|
-
"message": "Relaxing the same-origin policy by setting document.domain is deprecated, and will be disabled by default. To continue using this feature, please opt-out of origin-keyed agent clusters by sending an Origin-Agent-Cluster: ?0 header along with the HTTP response for the document and frames. See https://developer.chrome.com/blog/immutable-document-domain/ for more details."
|
1375
|
-
},
|
1376
|
-
"models/issues_manager/DeprecationIssue.ts | feature": {
|
1377
|
-
"message": "Check the feature status page for more details."
|
1378
|
-
},
|
1379
|
-
"models/issues_manager/DeprecationIssue.ts | geolocationInsecureOrigin": {
|
1380
|
-
"message": "getCurrentPosition() and watchPosition() no longer work on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details."
|
1381
|
-
},
|
1382
|
-
"models/issues_manager/DeprecationIssue.ts | geolocationInsecureOriginDeprecatedNotRemoved": {
|
1383
|
-
"message": "getCurrentPosition() and watchPosition() are deprecated on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details."
|
1384
|
-
},
|
1385
|
-
"models/issues_manager/DeprecationIssue.ts | getUserMediaInsecureOrigin": {
|
1386
|
-
"message": "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.gl/rStTGz for more details."
|
1387
|
-
},
|
1388
|
-
"models/issues_manager/DeprecationIssue.ts | legacyConstraintGoogCpuOveruseDetection": {
|
1389
|
-
"message": "CPU overuse detection is enabled-by-default and the ability to disable it using googCpuOveruseDetection will soon be removed. Please stop using this legacy constraint."
|
1390
|
-
},
|
1391
|
-
"models/issues_manager/DeprecationIssue.ts | legacyConstraintGoogIPv6": {
|
1392
|
-
"message": "IPv6 is enabled-by-default and the ability to disable it using googIPv6 will soon be removed. Please stop using this legacy constraint."
|
1393
|
-
},
|
1394
|
-
"models/issues_manager/DeprecationIssue.ts | legacyConstraintGoogScreencastMinBitrate": {
|
1395
|
-
"message": "Screencast min bitrate is now set to 100 kbps by default and googScreencastMinBitrate will soon be ignored in favor of this new default. Please stop using this legacy constraint."
|
1396
|
-
},
|
1397
|
-
"models/issues_manager/DeprecationIssue.ts | legacyConstraintGoogSuspendBelowMinBitrate": {
|
1398
|
-
"message": "Support for the googSuspendBelowMinBitrate constraint is about to be removed. Please stop using this legacy constraint."
|
1399
|
-
},
|
1400
|
-
"models/issues_manager/DeprecationIssue.ts | localCSSFileExtensionRejected": {
|
1401
|
-
"message": "CSS cannot be loaded from file: URLs unless they end in a .css file extension."
|
1402
|
-
},
|
1403
|
-
"models/issues_manager/DeprecationIssue.ts | milestone": {
|
1404
|
-
"message": "This change will go into effect with milestone {milestone}."
|
1405
|
-
},
|
1406
|
-
"models/issues_manager/DeprecationIssue.ts | notificationInsecureOrigin": {
|
1407
|
-
"message": "The Notification API may no longer be used from insecure origins. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details."
|
1408
|
-
},
|
1409
|
-
"models/issues_manager/DeprecationIssue.ts | obsoleteWebRtcCipherSuite": {
|
1410
|
-
"message": "Your partner is negotiating an obsolete (D)TLS version. Please check with your partner to have this fixed."
|
1411
|
-
},
|
1412
|
-
"models/issues_manager/DeprecationIssue.ts | pictureSourceSrc": {
|
1413
|
-
"message": "<source src> with a <picture> parent is invalid and therefore ignored. Please use <source srcset> instead."
|
1414
|
-
},
|
1415
|
-
"models/issues_manager/DeprecationIssue.ts | prefixedCancelAnimationFrame": {
|
1416
|
-
"message": "webkitCancelAnimationFrame is vendor-specific. Please use the standard cancelAnimationFrame instead."
|
1417
|
-
},
|
1418
|
-
"models/issues_manager/DeprecationIssue.ts | prefixedRequestAnimationFrame": {
|
1419
|
-
"message": "webkitRequestAnimationFrame is vendor-specific. Please use the standard requestAnimationFrame instead."
|
1420
|
-
},
|
1421
|
-
"models/issues_manager/DeprecationIssue.ts | rtcConstraintEnableDtlsSrtpFalse": {
|
1422
|
-
"message": "The constraint DtlsSrtpKeyAgreement is removed. You have specified a false value for this constraint, which is interpreted as an attempt to use the removed SDES key negotiation method. This functionality is removed; use a service that supports DTLS key negotiation instead."
|
1423
|
-
},
|
1424
|
-
"models/issues_manager/DeprecationIssue.ts | rtcConstraintEnableDtlsSrtpTrue": {
|
1425
|
-
"message": "The constraint DtlsSrtpKeyAgreement is removed. You have specified a true value for this constraint, which had no effect, but you can remove this constraint for tidiness."
|
1426
|
-
},
|
1427
|
-
"models/issues_manager/DeprecationIssue.ts | rtcPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics": {
|
1428
|
-
"message": "Complex Plan B SDP detected! Chrome will switch the default sdpSemantics from plan-b to the standardized unified-plan format and this peer connection is relying on the default sdpSemantics. This SDP is not compatible with Unified Plan and will be rejected by clients expecting Unified Plan. For more information about how to prepare for the switch, see https://webrtc.org/web-apis/chrome/unified-plan/."
|
1429
|
-
},
|
1430
|
-
"models/issues_manager/DeprecationIssue.ts | rtcPeerConnectionLegacyCreateWithMediaConstraints": {
|
1431
|
-
"message": "The mediaConstraints version of RTCOfferOptions/RTCAnswerOptions are deprecated and will soon be removed, please migrate to the promise-based createOffer/createAnswer instead."
|
1432
|
-
},
|
1433
|
-
"models/issues_manager/DeprecationIssue.ts | rtpDataChannel": {
|
1434
|
-
"message": "RTP data channels are no longer supported. The RtpDataChannels constraint is currently ignored, and may cause an error at a later date."
|
1435
|
-
},
|
1436
|
-
"models/issues_manager/DeprecationIssue.ts | sharedArrayBufferConstructedWithoutIsolation": {
|
1437
|
-
"message": "SharedArrayBuffer will require cross-origin isolation. See https://developer.chrome.com/blog/enabling-shared-array-buffer/ for more details."
|
1438
|
-
},
|
1439
|
-
"models/issues_manager/DeprecationIssue.ts | title": {
|
1440
|
-
"message": "Deprecated Feature Used"
|
1441
|
-
},
|
1442
|
-
"models/issues_manager/DeprecationIssue.ts | v8SharedArrayBufferConstructedInExtensionWithoutIsolation": {
|
1443
|
-
"message": "Extensions should opt into cross-origin isolation to continue using SharedArrayBuffer. See https://developer.chrome.com/docs/extensions/mv3/cross-origin-isolation/."
|
1444
|
-
},
|
1445
|
-
"models/issues_manager/DeprecationIssue.ts | webCodecsVideoFrameDefaultTimestamp": {
|
1446
|
-
"message": "Constructing a VideoFrame without a timestamp is deprecated and support will be removed. Please provide a timestamp via VideoFrameInit."
|
1447
|
-
},
|
1448
|
-
"models/issues_manager/DeprecationIssue.ts | xhrJSONEncodingDetection": {
|
1449
|
-
"message": "UTF-16 is not supported by response json in XMLHttpRequest"
|
1450
|
-
},
|
1451
|
-
"models/issues_manager/DeprecationIssue.ts | xmlHttpRequestSynchronousInNonWorkerOutsideBeforeUnload": {
|
1452
|
-
"message": "Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/."
|
1453
|
-
},
|
1454
1355
|
"models/issues_manager/FederatedAuthRequestIssue.ts | fedCm": {
|
1455
1356
|
"message": "Federated Credential Management API"
|
1456
1357
|
},
|
@@ -10004,6 +9905,12 @@
|
|
10004
9905
|
"panels/sources/sources-meta.ts | toggleBreakpointInputWindow": {
|
10005
9906
|
"message": "Toggle breakpoint input window"
|
10006
9907
|
},
|
9908
|
+
"panels/sources/sources-meta.ts | toggleDebuggerSidebar": {
|
9909
|
+
"message": "Toggle debugger sidebar"
|
9910
|
+
},
|
9911
|
+
"panels/sources/sources-meta.ts | toggleNavigatorSidebar": {
|
9912
|
+
"message": "Toggle navigator sidebar"
|
9913
|
+
},
|
10007
9914
|
"panels/sources/sources-meta.ts | trailing": {
|
10008
9915
|
"message": "Trailing"
|
10009
9916
|
},
|
@@ -1352,105 +1352,6 @@
|
|
1352
1352
|
"models/issues_manager/CrossOriginEmbedderPolicyIssue.ts | samesiteAndSameorigin": {
|
1353
1353
|
"message": "Ŝám̂é-Ŝít̂é âńd̂ Śâḿê-Ór̂íĝín̂"
|
1354
1354
|
},
|
1355
|
-
"models/issues_manager/DeprecationIssue.ts | authorizationCoveredByWildcard": {
|
1356
|
-
"message": "Âút̂h́ôŕîźât́îón̂ ẃîĺl̂ ńôt́ b̂é ĉóv̂ér̂éd̂ b́ŷ t́ĥé ŵíl̂d́ĉár̂d́ ŝým̂b́ôĺ (*) îń ĈÓR̂Ś Access-Control-Allow-Headers ĥán̂d́l̂ín̂ǵ."
|
1357
|
-
},
|
1358
|
-
"models/issues_manager/DeprecationIssue.ts | cookieWithTruncatingChar": {
|
1359
|
-
"message": "Ĉóôḱîéŝ ćôńt̂áîńîńĝ á \\(0|r|n) ĉh́âŕâćt̂ér̂ ẃîĺl̂ b́ê ŕêj́êćt̂éd̂ ín̂śt̂éâd́ ôf́ t̂ŕûńĉát̂éd̂."
|
1360
|
-
},
|
1361
|
-
"models/issues_manager/DeprecationIssue.ts | crossOriginAccessBasedOnDocumentDomain": {
|
1362
|
-
"message": "R̂él̂áx̂ín̂ǵ t̂h́ê śâḿê-ór̂íĝín̂ ṕôĺîćŷ b́ŷ śêt́t̂ín̂ǵ document.domain îś d̂ép̂ŕêćât́êd́, âńd̂ ẃîĺl̂ b́ê d́îśâb́l̂éd̂ b́ŷ d́êf́âúl̂t́. T̂h́îś d̂ép̂ŕêćât́îón̂ ẃâŕn̂ín̂ǵ îś f̂ór̂ á ĉŕôśŝ-ór̂íĝín̂ áĉćêśŝ t́ĥát̂ ẃâś êńâb́l̂éd̂ b́ŷ śêt́t̂ín̂ǵ document.domain."
|
1363
|
-
},
|
1364
|
-
"models/issues_manager/DeprecationIssue.ts | crossOriginWindowAlert": {
|
1365
|
-
"message": "T̂ŕîǵĝér̂ín̂ǵ window.alert f̂ŕôḿ ĉŕôśŝ ór̂íĝín̂ íf̂ŕâḿêś ĥáŝ b́êén̂ d́êṕr̂éĉát̂éd̂ án̂d́ ŵíl̂ĺ b̂é r̂ém̂óv̂éd̂ ín̂ t́ĥé f̂út̂úr̂é."
|
1366
|
-
},
|
1367
|
-
"models/issues_manager/DeprecationIssue.ts | crossOriginWindowConfirm": {
|
1368
|
-
"message": "T̂ŕîǵĝér̂ín̂ǵ window.confirm f̂ŕôḿ ĉŕôśŝ ór̂íĝín̂ íf̂ŕâḿêś ĥáŝ b́êén̂ d́êṕr̂éĉát̂éd̂ án̂d́ ŵíl̂ĺ b̂é r̂ém̂óv̂éd̂ ín̂ t́ĥé f̂út̂úr̂é."
|
1369
|
-
},
|
1370
|
-
"models/issues_manager/DeprecationIssue.ts | deprecationExample": {
|
1371
|
-
"message": "T̂h́îś îś âń êx́âḿp̂ĺê óf̂ á t̂ŕâńŝĺât́êd́ d̂ép̂ŕêćât́îón̂ íŝśûé m̂éŝśâǵê."
|
1372
|
-
},
|
1373
|
-
"models/issues_manager/DeprecationIssue.ts | documentDomainSettingWithoutOriginAgentClusterHeader": {
|
1374
|
-
"message": "R̂él̂áx̂ín̂ǵ t̂h́ê śâḿê-ór̂íĝín̂ ṕôĺîćŷ b́ŷ śêt́t̂ín̂ǵ document.domain îś d̂ép̂ŕêćât́êd́, âńd̂ ẃîĺl̂ b́ê d́îśâb́l̂éd̂ b́ŷ d́êf́âúl̂t́. T̂ó ĉón̂t́îńûé ûśîńĝ t́ĥíŝ f́êát̂úr̂é, p̂ĺêáŝé ôṕt̂-óût́ ôf́ ôŕîǵîń-k̂éŷéd̂ áĝén̂t́ ĉĺûśt̂ér̂ś b̂ý ŝén̂d́îńĝ án̂ Origin-Agent-Cluster: ?0 h́êád̂ér̂ ál̂ón̂ǵ ŵít̂h́ t̂h́ê H́T̂T́P̂ ŕêśp̂ón̂śê f́ôŕ t̂h́ê d́ôćûḿêńt̂ án̂d́ f̂ŕâḿêś. Ŝéê h́t̂t́p̂ś://d̂év̂él̂óp̂ér̂.ćĥŕôḿê.ćôḿ/b̂ĺôǵ/îḿm̂út̂áb̂ĺê-d́ôćûḿêńt̂-d́ôḿâín̂/ f́ôŕ m̂ór̂é d̂ét̂áîĺŝ."
|
1375
|
-
},
|
1376
|
-
"models/issues_manager/DeprecationIssue.ts | feature": {
|
1377
|
-
"message": "Ĉh́êćk̂ t́ĥé f̂éât́ûŕê śt̂át̂úŝ ṕâǵê f́ôŕ m̂ór̂é d̂ét̂áîĺŝ."
|
1378
|
-
},
|
1379
|
-
"models/issues_manager/DeprecationIssue.ts | geolocationInsecureOrigin": {
|
1380
|
-
"message": "getCurrentPosition() âńd̂ watchPosition() ńô ĺôńĝér̂ ẃôŕk̂ ón̂ ín̂śêćûŕê ór̂íĝín̂ś. T̂ó ûśê t́ĥíŝ f́êát̂úr̂é, ŷóû śĥóûĺd̂ ćôńŝíd̂ér̂ śŵít̂ćĥín̂ǵ ŷóûŕ âṕp̂ĺîćât́îón̂ t́ô á ŝéĉúr̂é ôŕîǵîń, ŝúĉh́ âś ĤT́T̂ṔŜ. Śêé ĥt́t̂ṕŝ://ǵôó.ĝĺ/r̂Śt̂T́Ĝź f̂ór̂ ḿôŕê d́êt́âíl̂ś."
|
1381
|
-
},
|
1382
|
-
"models/issues_manager/DeprecationIssue.ts | geolocationInsecureOriginDeprecatedNotRemoved": {
|
1383
|
-
"message": "getCurrentPosition() âńd̂ watchPosition() ár̂é d̂ép̂ŕêćât́êd́ ôń îńŝéĉúr̂é ôŕîǵîńŝ. T́ô úŝé t̂h́îś f̂éât́ûŕê, ýôú ŝh́ôúl̂d́ ĉón̂śîd́êŕ ŝẃît́ĉh́îńĝ ýôúr̂ áp̂ṕl̂íĉát̂íôń t̂ó â śêćûŕê ór̂íĝín̂, śûćĥ áŝ H́T̂T́P̂Ś. Ŝéê h́t̂t́p̂ś://ĝóô.ǵl̂/ŕŜt́T̂Ǵẑ f́ôŕ m̂ór̂é d̂ét̂áîĺŝ."
|
1384
|
-
},
|
1385
|
-
"models/issues_manager/DeprecationIssue.ts | getUserMediaInsecureOrigin": {
|
1386
|
-
"message": "getUserMedia() n̂ó l̂ón̂ǵêŕ ŵór̂ḱŝ ón̂ ín̂śêćûŕê ór̂íĝín̂ś. T̂ó ûśê t́ĥíŝ f́êát̂úr̂é, ŷóû śĥóûĺd̂ ćôńŝíd̂ér̂ śŵít̂ćĥín̂ǵ ŷóûŕ âṕp̂ĺîćât́îón̂ t́ô á ŝéĉúr̂é ôŕîǵîń, ŝúĉh́ âś ĤT́T̂ṔŜ. Śêé ĥt́t̂ṕŝ://ǵôó.ĝĺ/r̂Śt̂T́Ĝź f̂ór̂ ḿôŕê d́êt́âíl̂ś."
|
1387
|
-
},
|
1388
|
-
"models/issues_manager/DeprecationIssue.ts | legacyConstraintGoogCpuOveruseDetection": {
|
1389
|
-
"message": "ĈṔÛ óv̂ér̂úŝé d̂ét̂éĉt́îón̂ íŝ én̂áb̂ĺêd́-b̂ý-d̂éf̂áûĺt̂ án̂d́ t̂h́ê áb̂íl̂ít̂ý t̂ó d̂íŝáb̂ĺê ít̂ úŝín̂ǵ googCpuOveruseDetection ŵíl̂ĺ ŝóôń b̂é r̂ém̂óv̂éd̂. Ṕl̂éâśê śt̂óp̂ úŝín̂ǵ t̂h́îś l̂éĝáĉý ĉón̂śt̂ŕâín̂t́."
|
1390
|
-
},
|
1391
|
-
"models/issues_manager/DeprecationIssue.ts | legacyConstraintGoogIPv6": {
|
1392
|
-
"message": "ÎṔv̂6 íŝ én̂áb̂ĺêd́-b̂ý-d̂éf̂áûĺt̂ án̂d́ t̂h́ê áb̂íl̂ít̂ý t̂ó d̂íŝáb̂ĺê ít̂ úŝín̂ǵ googIPv6 ŵíl̂ĺ ŝóôń b̂é r̂ém̂óv̂éd̂. Ṕl̂éâśê śt̂óp̂ úŝín̂ǵ t̂h́îś l̂éĝáĉý ĉón̂śt̂ŕâín̂t́."
|
1393
|
-
},
|
1394
|
-
"models/issues_manager/DeprecationIssue.ts | legacyConstraintGoogScreencastMinBitrate": {
|
1395
|
-
"message": "Ŝćr̂éêńĉáŝt́ m̂ín̂ b́ît́r̂át̂é îś n̂óŵ śêt́ t̂ó 100 k̂b́p̂ś b̂ý d̂éf̂áûĺt̂ án̂d́ googScreencastMinBitrate ŵíl̂ĺ ŝóôń b̂é îǵn̂ór̂éd̂ ín̂ f́âv́ôŕ ôf́ t̂h́îś n̂éŵ d́êf́âúl̂t́. P̂ĺêáŝé ŝt́ôṕ ûśîńĝ t́ĥíŝ ĺêǵâćŷ ćôńŝt́r̂áîńt̂."
|
1396
|
-
},
|
1397
|
-
"models/issues_manager/DeprecationIssue.ts | legacyConstraintGoogSuspendBelowMinBitrate": {
|
1398
|
-
"message": "Ŝúp̂ṕôŕt̂ f́ôŕ t̂h́ê googSuspendBelowMinBitrate ćôńŝt́r̂áîńt̂ íŝ áb̂óût́ t̂ó b̂é r̂ém̂óv̂éd̂. Ṕl̂éâśê śt̂óp̂ úŝín̂ǵ t̂h́îś l̂éĝáĉý ĉón̂śt̂ŕâín̂t́."
|
1399
|
-
},
|
1400
|
-
"models/issues_manager/DeprecationIssue.ts | localCSSFileExtensionRejected": {
|
1401
|
-
"message": "ĈŚŜ ćâńn̂ót̂ b́ê ĺôád̂éd̂ f́r̂óm̂ file: ÚR̂Ĺŝ ún̂ĺêśŝ t́ĥéŷ én̂d́ îń â .css f́îĺê éx̂t́êńŝíôń."
|
1402
|
-
},
|
1403
|
-
"models/issues_manager/DeprecationIssue.ts | milestone": {
|
1404
|
-
"message": "T̂h́îś ĉh́âńĝé ŵíl̂ĺ ĝó îńt̂ó êf́f̂éĉt́ ŵít̂h́ m̂íl̂éŝt́ôńê {milestone}."
|
1405
|
-
},
|
1406
|
-
"models/issues_manager/DeprecationIssue.ts | notificationInsecureOrigin": {
|
1407
|
-
"message": "T̂h́ê Ńôt́îf́îćât́îón̂ ÁP̂Í m̂áŷ ńô ĺôńĝér̂ b́ê úŝéd̂ f́r̂óm̂ ín̂śêćûŕê ór̂íĝín̂ś. Ŷóû śĥóûĺd̂ ćôńŝíd̂ér̂ śŵít̂ćĥín̂ǵ ŷóûŕ âṕp̂ĺîćât́îón̂ t́ô á ŝéĉúr̂é ôŕîǵîń, ŝúĉh́ âś ĤT́T̂ṔŜ. Śêé ĥt́t̂ṕŝ://ǵôó.ĝĺ/r̂Śt̂T́Ĝź f̂ór̂ ḿôŕê d́êt́âíl̂ś."
|
1408
|
-
},
|
1409
|
-
"models/issues_manager/DeprecationIssue.ts | obsoleteWebRtcCipherSuite": {
|
1410
|
-
"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́."
|
1411
|
-
},
|
1412
|
-
"models/issues_manager/DeprecationIssue.ts | pictureSourceSrc": {
|
1413
|
-
"message": "<source src> ŵít̂h́ â <picture> ṕâŕêńt̂ íŝ ín̂v́âĺîd́ âńd̂ t́ĥér̂éf̂ór̂é îǵn̂ór̂éd̂. Ṕl̂éâśê úŝé <source srcset> îńŝt́êád̂."
|
1414
|
-
},
|
1415
|
-
"models/issues_manager/DeprecationIssue.ts | prefixedCancelAnimationFrame": {
|
1416
|
-
"message": "webkitCancelAnimationFrame îś v̂én̂d́ôŕ-ŝṕêćîf́îć. P̂ĺêáŝé ûśê t́ĥé ŝt́âńd̂ár̂d́ cancelAnimationFrame îńŝt́êád̂."
|
1417
|
-
},
|
1418
|
-
"models/issues_manager/DeprecationIssue.ts | prefixedRequestAnimationFrame": {
|
1419
|
-
"message": "webkitRequestAnimationFrame îś v̂én̂d́ôŕ-ŝṕêćîf́îć. P̂ĺêáŝé ûśê t́ĥé ŝt́âńd̂ár̂d́ requestAnimationFrame îńŝt́êád̂."
|
1420
|
-
},
|
1421
|
-
"models/issues_manager/DeprecationIssue.ts | rtcConstraintEnableDtlsSrtpFalse": {
|
1422
|
-
"message": "T̂h́ê ćôńŝt́r̂áîńt̂ DtlsSrtpKeyAgreement íŝ ŕêḿôv́êd́. Ŷóû h́âv́ê śp̂éĉíf̂íêd́ â false v́âĺûé f̂ór̂ t́ĥíŝ ćôńŝt́r̂áîńt̂, ẃĥíĉh́ îś îńt̂ér̂ṕr̂ét̂éd̂ áŝ án̂ át̂t́êḿp̂t́ t̂ó ûśê t́ĥé r̂ém̂óv̂éd̂ SDES ḱêý n̂éĝót̂íât́îón̂ ḿêt́ĥód̂. T́ĥíŝ f́ûńĉt́îón̂ál̂ít̂ý îś r̂ém̂óv̂éd̂; úŝé â śêŕv̂íĉé t̂h́ât́ ŝúp̂ṕôŕt̂ś D̂T́L̂Ś k̂éŷ ńêǵôt́îát̂íôń îńŝt́êád̂."
|
1423
|
-
},
|
1424
|
-
"models/issues_manager/DeprecationIssue.ts | rtcConstraintEnableDtlsSrtpTrue": {
|
1425
|
-
"message": "T̂h́ê ćôńŝt́r̂áîńt̂ DtlsSrtpKeyAgreement íŝ ŕêḿôv́êd́. Ŷóû h́âv́ê śp̂éĉíf̂íêd́ â true v́âĺûé f̂ór̂ t́ĥíŝ ćôńŝt́r̂áîńt̂, ẃĥíĉh́ ĥád̂ ńô éf̂f́êćt̂, b́ût́ ŷóû ćâń r̂ém̂óv̂é t̂h́îś ĉón̂śt̂ŕâín̂t́ f̂ór̂ t́îd́îńêśŝ."
|
1426
|
-
},
|
1427
|
-
"models/issues_manager/DeprecationIssue.ts | rtcPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics": {
|
1428
|
-
"message": "Ĉóm̂ṕl̂éx̂ Ṕl̂án̂ B́ ŜD́P̂ d́êt́êćt̂éd̂! Ćĥŕôḿê ẃîĺl̂ śŵít̂ćĥ t́ĥé d̂éf̂áûĺt̂ sdpSemantics f́r̂óm̂ plan-b t́ô t́ĥé ŝt́âńd̂ár̂d́îźêd́ unified-plan f̂ór̂ḿât́ âńd̂ t́ĥíŝ ṕêér̂ ćôńn̂éĉt́îón̂ íŝ ŕêĺŷín̂ǵ ôń t̂h́ê d́êf́âúl̂t́ sdpSemantics. T̂h́îś ŜD́P̂ íŝ ńôt́ ĉóm̂ṕât́îb́l̂é ŵít̂h́ Ûńîf́îéd̂ Ṕl̂án̂ án̂d́ ŵíl̂ĺ b̂é r̂éĵéĉt́êd́ b̂ý ĉĺîén̂t́ŝ éx̂ṕêćt̂ín̂ǵ Ûńîf́îéd̂ Ṕl̂án̂. F́ôŕ m̂ór̂é îńf̂ór̂ḿât́îón̂ áb̂óût́ ĥóŵ t́ô ṕr̂ép̂ár̂é f̂ór̂ t́ĥé ŝẃît́ĉh́, ŝéê h́t̂t́p̂ś://ŵéb̂ŕt̂ć.ôŕĝ/ẃêb́-âṕîś/ĉh́r̂óm̂é/ûńîf́îéd̂-ṕl̂án̂/."
|
1429
|
-
},
|
1430
|
-
"models/issues_manager/DeprecationIssue.ts | rtcPeerConnectionLegacyCreateWithMediaConstraints": {
|
1431
|
-
"message": "T̂h́ê mediaConstraints v́êŕŝíôń ôf́ RTCOfferOptions/RTCAnswerOptions âŕê d́êṕr̂éĉát̂éd̂ án̂d́ ŵíl̂ĺ ŝóôń b̂é r̂ém̂óv̂éd̂, ṕl̂éâśê ḿîǵr̂át̂é t̂ó t̂h́ê ṕr̂óm̂íŝé-b̂áŝéd̂ createOffer/createAnswer ín̂śt̂éâd́."
|
1432
|
-
},
|
1433
|
-
"models/issues_manager/DeprecationIssue.ts | rtpDataChannel": {
|
1434
|
-
"message": "R̂T́P̂ d́ât́â ćĥán̂ńêĺŝ ár̂é n̂ó l̂ón̂ǵêŕ ŝúp̂ṕôŕt̂éd̂. T́ĥé RtpDataChannels ĉón̂śt̂ŕâín̂t́ îś ĉúr̂ŕêńt̂ĺŷ íĝńôŕêd́, âńd̂ ḿâý ĉáûśê án̂ ér̂ŕôŕ ât́ â ĺât́êŕ d̂át̂é."
|
1435
|
-
},
|
1436
|
-
"models/issues_manager/DeprecationIssue.ts | sharedArrayBufferConstructedWithoutIsolation": {
|
1437
|
-
"message": "SharedArrayBuffer ŵíl̂ĺ r̂éq̂úîŕê ćr̂óŝś-ôŕîǵîń îśôĺât́îón̂. Śêé ĥt́t̂ṕŝ://d́êv́êĺôṕêŕ.ĉh́r̂óm̂é.ĉóm̂/b́l̂óĝ/én̂áb̂ĺîńĝ-śĥár̂éd̂-ár̂ŕâý-b̂úf̂f́êŕ/ f̂ór̂ ḿôŕê d́êt́âíl̂ś."
|
1438
|
-
},
|
1439
|
-
"models/issues_manager/DeprecationIssue.ts | title": {
|
1440
|
-
"message": "D̂ép̂ŕêćât́êd́ F̂éât́ûŕê Úŝéd̂"
|
1441
|
-
},
|
1442
|
-
"models/issues_manager/DeprecationIssue.ts | v8SharedArrayBufferConstructedInExtensionWithoutIsolation": {
|
1443
|
-
"message": "Êx́t̂én̂śîón̂ś ŝh́ôúl̂d́ ôṕt̂ ín̂t́ô ćr̂óŝś-ôŕîǵîń îśôĺât́îón̂ t́ô ćôńt̂ín̂úê úŝín̂ǵ SharedArrayBuffer. Ŝéê h́t̂t́p̂ś://d̂év̂él̂óp̂ér̂.ćĥŕôḿê.ćôḿ/d̂óĉś/êx́t̂én̂śîón̂ś/m̂v́3/ĉŕôśŝ-ór̂íĝín̂-íŝól̂át̂íôń/."
|
1444
|
-
},
|
1445
|
-
"models/issues_manager/DeprecationIssue.ts | webCodecsVideoFrameDefaultTimestamp": {
|
1446
|
-
"message": "Ĉón̂śt̂ŕûćt̂ín̂ǵ â VideoFrame ẃît́ĥóût́ â t́îḿêśt̂ám̂ṕ îś d̂ép̂ŕêćât́êd́ âńd̂ śûṕp̂ór̂t́ ŵíl̂ĺ b̂é r̂ém̂óv̂éd̂. Ṕl̂éâśê ṕr̂óv̂íd̂é â t́îḿêśt̂ám̂ṕ v̂íâ VideoFrameInit."
|
1447
|
-
},
|
1448
|
-
"models/issues_manager/DeprecationIssue.ts | xhrJSONEncodingDetection": {
|
1449
|
-
"message": "ÛT́F̂-16 íŝ ńôt́ ŝúp̂ṕôŕt̂éd̂ b́ŷ ŕêśp̂ón̂śê j́ŝón̂ ín̂ XMLHttpRequest"
|
1450
|
-
},
|
1451
|
-
"models/issues_manager/DeprecationIssue.ts | xmlHttpRequestSynchronousInNonWorkerOutsideBeforeUnload": {
|
1452
|
-
"message": "Ŝýn̂ćĥŕôńôúŝ XMLHttpRequest ón̂ t́ĥé m̂áîń t̂h́r̂éâd́ îś d̂ép̂ŕêćât́êd́ b̂éĉáûśê óf̂ ít̂ś d̂ét̂ŕîḿêńt̂ál̂ éf̂f́êćt̂ś t̂ó t̂h́ê én̂d́ ûśêŕ'ŝ éx̂ṕêŕîén̂ćê. F́ôŕ m̂ór̂é ĥél̂ṕ, ĉh́êćk̂ h́t̂t́p̂ś://x̂h́r̂.śp̂éĉ.ẃĥát̂ẃĝ.ór̂ǵ/."
|
1453
|
-
},
|
1454
1355
|
"models/issues_manager/FederatedAuthRequestIssue.ts | fedCm": {
|
1455
1356
|
"message": "F̂éd̂ér̂át̂éd̂ Ćr̂éd̂én̂t́îál̂ Ḿâńâǵêḿêńt̂ ÁP̂Í"
|
1456
1357
|
},
|
@@ -10004,6 +9905,12 @@
|
|
10004
9905
|
"panels/sources/sources-meta.ts | toggleBreakpointInputWindow": {
|
10005
9906
|
"message": "T̂óĝǵl̂é b̂ŕêák̂ṕôín̂t́ îńp̂út̂ ẃîńd̂óŵ"
|
10006
9907
|
},
|
9908
|
+
"panels/sources/sources-meta.ts | toggleDebuggerSidebar": {
|
9909
|
+
"message": "T̂óĝǵl̂é d̂éb̂úĝǵêŕ ŝíd̂éb̂ár̂"
|
9910
|
+
},
|
9911
|
+
"panels/sources/sources-meta.ts | toggleNavigatorSidebar": {
|
9912
|
+
"message": "T̂óĝǵl̂é n̂áv̂íĝát̂ór̂ śîd́êb́âŕ"
|
9913
|
+
},
|
10007
9914
|
"panels/sources/sources-meta.ts | trailing": {
|
10008
9915
|
"message": "T̂ŕâíl̂ín̂ǵ"
|
10009
9916
|
},
|
@@ -206,6 +206,11 @@ export class ExperimentsSupport {
|
|
206
206
|
this.#enabledTransiently.add(experimentName);
|
207
207
|
}
|
208
208
|
|
209
|
+
disableForTest(experimentName: string): void {
|
210
|
+
this.checkExperiment(experimentName);
|
211
|
+
this.#enabledTransiently.delete(experimentName);
|
212
|
+
}
|
213
|
+
|
209
214
|
clearForTest(): void {
|
210
215
|
this.#experiments = [];
|
211
216
|
this.#experimentNames.clear();
|
@@ -652,7 +652,7 @@ export class DebuggerModel extends SDKModel<EventTypes> {
|
|
652
652
|
this.evaluateOnCallFrameCallback = callback;
|
653
653
|
}
|
654
654
|
|
655
|
-
setSynchronizeBreakpointsCallback(callback: (script: Script) => Promise<void>): void {
|
655
|
+
setSynchronizeBreakpointsCallback(callback: ((script: Script) => Promise<void>)|null): void {
|
656
656
|
this.#synchronizeBreakpointsCallback = callback;
|
657
657
|
}
|
658
658
|
|
@@ -1535,8 +1535,7 @@ export class InterceptedRequest {
|
|
1535
1535
|
Promise<void> {
|
1536
1536
|
this.#hasRespondedInternal = true;
|
1537
1537
|
const body = encoded ? await contentBlob.text() : await blobToBase64(contentBlob);
|
1538
|
-
void this.#fetchAgent.invoke_fulfillRequest(
|
1539
|
-
{requestId: this.requestId, responseCode: this.responseStatusCode || 200, body, responseHeaders});
|
1538
|
+
void this.#fetchAgent.invoke_fulfillRequest({requestId: this.requestId, responseCode: 200, body, responseHeaders});
|
1540
1539
|
|
1541
1540
|
async function blobToBase64(blob: Blob): Promise<string> {
|
1542
1541
|
const reader = new FileReader();
|
@@ -372,7 +372,7 @@ export class MainImpl {
|
|
372
372
|
// CSS <length> authoring tool.
|
373
373
|
Root.Runtime.experiments.register(
|
374
374
|
'cssTypeComponentLength',
|
375
|
-
'Enable CSS <length> authoring tool in the Styles pane (https://
|
375
|
+
'Enable CSS <length> authoring tool in the Styles pane (https://g.co/devtools/length-feedback)', undefined,
|
376
376
|
'https://developer.chrome.com/blog/new-in-devtools-96/#length');
|
377
377
|
|
378
378
|
// Display precise changes in the Changes tab.
|
@@ -329,7 +329,6 @@ export function registerCommands(inspectorBackend) {
|
|
329
329
|
SelectionAddRangeIntersect: 'SelectionAddRangeIntersect',
|
330
330
|
SharedArrayBufferConstructedWithoutIsolation: 'SharedArrayBufferConstructedWithoutIsolation',
|
331
331
|
TextToSpeech_DisallowedByAutoplay: 'TextToSpeech_DisallowedByAutoplay',
|
332
|
-
Untranslated: 'Untranslated',
|
333
332
|
V8SharedArrayBufferConstructedInExtensionWithoutIsolation:
|
334
333
|
'V8SharedArrayBufferConstructedInExtensionWithoutIsolation',
|
335
334
|
WebCodecsVideoFrameDefaultTimestamp: 'WebCodecsVideoFrameDefaultTimestamp',
|
@@ -1076,7 +1076,6 @@ export namespace Audits {
|
|
1076
1076
|
SelectionAddRangeIntersect = 'SelectionAddRangeIntersect',
|
1077
1077
|
SharedArrayBufferConstructedWithoutIsolation = 'SharedArrayBufferConstructedWithoutIsolation',
|
1078
1078
|
TextToSpeech_DisallowedByAutoplay = 'TextToSpeech_DisallowedByAutoplay',
|
1079
|
-
Untranslated = 'Untranslated',
|
1080
1079
|
V8SharedArrayBufferConstructedInExtensionWithoutIsolation =
|
1081
1080
|
'V8SharedArrayBufferConstructedInExtensionWithoutIsolation',
|
1082
1081
|
WebCodecsVideoFrameDefaultTimestamp = 'WebCodecsVideoFrameDefaultTimestamp',
|
@@ -1087,26 +1086,11 @@ export namespace Audits {
|
|
1087
1086
|
|
1088
1087
|
/**
|
1089
1088
|
* This issue tracks information needed to print a deprecation message.
|
1090
|
-
*
|
1091
|
-
* https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/deprecation.cc
|
1092
|
-
* TODO(crbug.com/1264960): Re-work format to add i18n support per:
|
1093
|
-
* https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/README.md
|
1089
|
+
* https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/third_party/blink/renderer/core/frame/deprecation/README.md
|
1094
1090
|
*/
|
1095
1091
|
export interface DeprecationIssueDetails {
|
1096
1092
|
affectedFrame?: AffectedFrame;
|
1097
1093
|
sourceCodeLocation: SourceCodeLocation;
|
1098
|
-
/**
|
1099
|
-
* The content of an untranslated deprecation issue,
|
1100
|
-
* e.g. "window.inefficientLegacyStorageMethod will be removed in M97,
|
1101
|
-
* around January 2022. Please use Web Storage or Indexed Database
|
1102
|
-
* instead. This standard was abandoned in January, 1970. See
|
1103
|
-
* https://www.chromestatus.com/feature/5684870116278272 for more details."
|
1104
|
-
*/
|
1105
|
-
message?: string;
|
1106
|
-
/**
|
1107
|
-
* The id of an untranslated deprecation issue e.g. PrefixedStorageInfo.
|
1108
|
-
*/
|
1109
|
-
deprecationType?: string;
|
1110
1094
|
type: DeprecationIssueType;
|
1111
1095
|
}
|
1112
1096
|
|
@@ -10705,6 +10689,10 @@ export namespace Page {
|
|
10705
10689
|
* The fantasy font-family.
|
10706
10690
|
*/
|
10707
10691
|
fantasy?: string;
|
10692
|
+
/**
|
10693
|
+
* The math font-family.
|
10694
|
+
*/
|
10695
|
+
math?: string;
|
10708
10696
|
}
|
10709
10697
|
|
10710
10698
|
/**
|
@@ -100,11 +100,12 @@ export class BreakpointManager extends Common.ObjectWrapper.ObjectWrapper<EventT
|
|
100
100
|
|
101
101
|
modelAdded(debuggerModel: SDK.DebuggerModel.DebuggerModel): void {
|
102
102
|
if (Root.Runtime.experiments.isEnabled(Root.Runtime.ExperimentName.INSTRUMENTATION_BREAKPOINTS)) {
|
103
|
-
debuggerModel.setSynchronizeBreakpointsCallback(this
|
103
|
+
debuggerModel.setSynchronizeBreakpointsCallback(this.restoreBreakpointsForScript.bind(this));
|
104
104
|
}
|
105
105
|
}
|
106
106
|
|
107
|
-
modelRemoved(): void {
|
107
|
+
modelRemoved(debuggerModel: SDK.DebuggerModel.DebuggerModel): void {
|
108
|
+
debuggerModel.setSynchronizeBreakpointsCallback(null);
|
108
109
|
}
|
109
110
|
|
110
111
|
async copyBreakpoints(fromURL: Platform.DevToolsPath.UrlString, toSourceCode: Workspace.UISourceCode.UISourceCode):
|
@@ -117,7 +118,7 @@ export class BreakpointManager extends Common.ObjectWrapper.ObjectWrapper<EventT
|
|
117
118
|
|
118
119
|
// This method explicitly awaits the source map (if necessary) and the uiSourceCodes
|
119
120
|
// required to set all breakpoints that are related to this script.
|
120
|
-
async
|
121
|
+
async restoreBreakpointsForScript(script: SDK.Script.Script): Promise<void> {
|
121
122
|
if (!Root.Runtime.experiments.isEnabled(Root.Runtime.ExperimentName.INSTRUMENTATION_BREAKPOINTS)) {
|
122
123
|
return;
|
123
124
|
}
|
@@ -143,6 +144,21 @@ export class BreakpointManager extends Common.ObjectWrapper.ObjectWrapper<EventT
|
|
143
144
|
}
|
144
145
|
}
|
145
146
|
}
|
147
|
+
|
148
|
+
// Handle language plugins
|
149
|
+
const {pluginManager} = this.debuggerWorkspaceBinding;
|
150
|
+
if (pluginManager) {
|
151
|
+
const sourceUrls = await pluginManager.getSourcesForScript(script);
|
152
|
+
if (sourceUrls) {
|
153
|
+
for (const sourceURL of sourceUrls) {
|
154
|
+
if (this.#hasBreakpointsForUrl(sourceURL)) {
|
155
|
+
const uiSourceCode =
|
156
|
+
await Workspace.Workspace.WorkspaceImpl.instance().uiSourceCodeForURLPromise(sourceURL);
|
157
|
+
await this.#restoreBreakpointsForUrl(uiSourceCode);
|
158
|
+
}
|
159
|
+
}
|
160
|
+
}
|
161
|
+
}
|
146
162
|
}
|
147
163
|
|
148
164
|
async #restoreBreakpointsForUrl(uiSourceCode: Workspace.UISourceCode.UISourceCode): Promise<void> {
|
@@ -416,6 +432,10 @@ export class Breakpoint implements SDK.TargetManager.SDKModelObserver<SDK.Debugg
|
|
416
432
|
modelBreakpoint.removeEventListeners();
|
417
433
|
}
|
418
434
|
|
435
|
+
modelBreakpoint(debuggerModel: SDK.DebuggerModel.DebuggerModel): ModelBreakpoint|undefined {
|
436
|
+
return this.#modelBreakpoints.get(debuggerModel);
|
437
|
+
}
|
438
|
+
|
419
439
|
addUISourceCode(uiSourceCode: Workspace.UISourceCode.UISourceCode): void {
|
420
440
|
if (!this.uiSourceCodes.has(uiSourceCode)) {
|
421
441
|
this.uiSourceCodes.add(uiSourceCode);
|
@@ -626,6 +646,10 @@ export class ModelBreakpoint {
|
|
626
646
|
}
|
627
647
|
}
|
628
648
|
|
649
|
+
get currentState(): Breakpoint.State|null {
|
650
|
+
return this.#currentState;
|
651
|
+
}
|
652
|
+
|
629
653
|
resetLocations(): void {
|
630
654
|
for (const uiLocation of this.#uiLocations.values()) {
|
631
655
|
this.#breakpoint.uiLocationRemoved(uiLocation);
|
@@ -1127,6 +1127,15 @@ export class DebuggerLanguagePluginManager implements
|
|
1127
1127
|
}
|
1128
1128
|
}
|
1129
1129
|
|
1130
|
+
getSourcesForScript(script: SDK.Script.Script): Promise<Array<Platform.DevToolsPath.UrlString>|undefined> {
|
1131
|
+
const rawModuleId = rawModuleIdForScript(script);
|
1132
|
+
const rawModuleHandle = this.#rawModuleHandles.get(rawModuleId);
|
1133
|
+
if (rawModuleHandle) {
|
1134
|
+
return rawModuleHandle.addRawModulePromise;
|
1135
|
+
}
|
1136
|
+
return Promise.resolve(undefined);
|
1137
|
+
}
|
1138
|
+
|
1130
1139
|
async resolveScopeChain(callFrame: SDK.DebuggerModel.CallFrame): Promise<SourceScope[]|null> {
|
1131
1140
|
const script = callFrame.script;
|
1132
1141
|
const {rawModuleId, plugin} = await this.rawModuleIdAndPluginForScript(script);
|
@@ -26,6 +26,7 @@ export class DebuggerWorkspaceBinding implements SDK.TargetManager.SDKModelObser
|
|
26
26
|
readonly #debuggerModelToData: Map<SDK.DebuggerModel.DebuggerModel, ModelData>;
|
27
27
|
readonly #liveLocationPromises: Set<Promise<void|Location|StackTraceTopFrameLocation|null>>;
|
28
28
|
pluginManager: DebuggerLanguagePluginManager|null;
|
29
|
+
#targetManager: SDK.TargetManager.TargetManager;
|
29
30
|
private constructor(targetManager: SDK.TargetManager.TargetManager, workspace: Workspace.Workspace.WorkspaceImpl) {
|
30
31
|
this.workspace = workspace;
|
31
32
|
|
@@ -37,6 +38,7 @@ export class DebuggerWorkspaceBinding implements SDK.TargetManager.SDKModelObser
|
|
37
38
|
targetManager.addModelListener(
|
38
39
|
SDK.DebuggerModel.DebuggerModel, SDK.DebuggerModel.Events.DebuggerResumed, this.debuggerResumed, this);
|
39
40
|
targetManager.observeModels(SDK.DebuggerModel.DebuggerModel, this);
|
41
|
+
this.#targetManager = targetManager;
|
40
42
|
|
41
43
|
this.#liveLocationPromises = new Set();
|
42
44
|
|
@@ -45,6 +47,17 @@ export class DebuggerWorkspaceBinding implements SDK.TargetManager.SDKModelObser
|
|
45
47
|
null;
|
46
48
|
}
|
47
49
|
|
50
|
+
initPluginManagerForTest(): DebuggerLanguagePluginManager|null {
|
51
|
+
if (Root.Runtime.experiments.isEnabled('wasmDWARFDebugging')) {
|
52
|
+
if (!this.pluginManager) {
|
53
|
+
this.pluginManager = new DebuggerLanguagePluginManager(this.#targetManager, this.workspace, this);
|
54
|
+
}
|
55
|
+
} else {
|
56
|
+
this.pluginManager = null;
|
57
|
+
}
|
58
|
+
return this.pluginManager;
|
59
|
+
}
|
60
|
+
|
48
61
|
static instance(opts: {
|
49
62
|
forceNew: boolean|null,
|
50
63
|
targetManager: SDK.TargetManager.TargetManager|null,
|