File tree 3 files changed +10
-1
lines changed
3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,12 @@ const modifications = [
58
58
// eslint-disable-next-line max-len
59
59
'Root.Runtime.experiments.isEnabled(Root.Runtime.ExperimentName.USE_SOURCE_MAP_SCOPES)' : 'false' ,
60
60
'Common.Base64.BASE64_CODES' : 'BASE64_CODES' ,
61
+ '* Implements Source Map V3 model.' : [
62
+ '* @param {string} compiledURL' ,
63
+ '* @param {string} sourceMappingURL' ,
64
+ '* @param {object} payload' ,
65
+ '* Implements Source Map V3 model.' ,
66
+ ] . join ( '\n ' ) ,
61
67
} ,
62
68
classesToRemove : [ ] ,
63
69
methodsToRemove : [
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ class TraceEngineResult {
51
51
lanternSettings,
52
52
async resolveSourceMap ( params ) {
53
53
const sourceMap = SourceMaps . find ( sm => sm . scriptId === params . scriptId ) ;
54
- if ( ! sourceMap ) {
54
+ if ( ! sourceMap || ! sourceMap . map ) {
55
55
return null ;
56
56
}
57
57
Original file line number Diff line number Diff line change @@ -104,6 +104,9 @@ class SourceMap {
104
104
#sourceInfoByURL = new Map ( ) ;
105
105
#scopesInfo = null ;
106
106
/**
107
+ * @param {string } compiledURL
108
+ * @param {string } sourceMappingURL
109
+ * @param {object } payload
107
110
* Implements Source Map V3 model. See https://github.com/google/closure-compiler/wiki/Source-Maps
108
111
* for format description.
109
112
*/
You can’t perform that action at this time.
0 commit comments