(sourceMapUrl?: string)
| 158 | } |
| 159 | |
| 160 | private setSourceMapUrl(sourceMapUrl?: string) { |
| 161 | if (!sourceMapUrl) { |
| 162 | this.sourceMap = undefined; |
| 163 | return; |
| 164 | } |
| 165 | |
| 166 | this.sourceMap = { |
| 167 | url: sourceMapUrl, |
| 168 | sourceByUrl: new Map(), |
| 169 | metadata: { |
| 170 | sourceMapUrl, |
| 171 | compiledPath: this._absolutePath || this.url, |
| 172 | }, |
| 173 | }; |
| 174 | } |
| 175 | |
| 176 | addScriptId(scriptId: Cdp.Runtime.ScriptId): void { |
| 177 | this._scriptIds.push(scriptId); |
no outgoing calls
no test coverage detected