This can cause long file names (URLs) to be truncated which in turn will break named hooks code (since it needs to load those file names).
const wasmMappingsURL = chrome.extension.getURL('mappings.wasm');
    SourceMapConsumer.initialize({'lib/mappings.wasm': wasmMappingsURL});
  }
  
  const fetchPromises = new Map();
  const setPromises = [];
  locationKeyToHookSourceData.forEach(hookSourceData => {
    if (hookSourceData.sourceConsumer != null) {
      
      return;
    }
    const runtimeSourceCode = ((hookSourceData.runtimeSourceCode: any): string);
    const sourceMappingURLs = runtimeSourceCode.match(SOURCE_MAP_REGEX);
    if (sourceMappingURLs == null) {
      
      if (__DEBUG__) {
        console.log('extractAndLoadSourceMaps() No source map found');
      }
    } else {
      for (let i = 0; i < sourceMappingURLs.length; i++) {
        const {runtimeSourceURL} = hookSourceData;
        const sourceMappingURL = sourceMappingURLs[i];
        const index = sourceMappingURL.indexOf('base64,');
        if (index >= 0) {
          
          
          
          
          
          const trimmed = ((sourceMappingURL.match(