File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -1195,9 +1195,12 @@ SourceView--close-button =
11951195## The string IDs here currently all start with SourceView for historical reasons.
11961196
11971197# Displayed below SourceView--cannot-obtain-source, if the profiler does not
1198- # know which URL to request source code from.
1199- SourceView--no-known-cors-url =
1200- There is no known cross-origin-accessible URL for this file.
1198+ # know which URL to request source code from. This can happen for JavaScript
1199+ # files when the "JavaScript Sources" feature is not enabled.
1200+ SourceView--no-known-cors-url1 =
1201+ There is no known cross-origin-accessible URL for this file. If this is a
1202+ JavaScript file, you may need to enable the “JavaScript Sources” feature in
1203+ about:profiling.
12011204
12021205# Displayed below SourceView--cannot-obtain-source, if there was a network error
12031206# when fetching the source code for a file.
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export function CodeErrorOverlay({ errors }: CodeErrorOverlayProps) {
1717 switch ( error . type ) {
1818 case 'NO_KNOWN_CORS_URL' : {
1919 return (
20- < Localized key = { key } id = "SourceView--no-known-cors-url " >
20+ < Localized key = { key } id = "SourceView--no-known-cors-url1 " >
2121 < li > No known cross-origin-accessible URL.</ li >
2222 </ Localized >
2323 ) ;
You can’t perform that action at this time.
0 commit comments