@@ -384,7 +384,9 @@ const DOWNLOAD_PATHS: Record<BrowserName | InternalTool, DownloadPaths> = {
384384    'win64' : 'builds/android/%s/android.zip' , 
385385  } , 
386386  // TODO(bidi): implement downloads. 
387-   'bidi' : { 
387+   '_bidiFirefox' : { 
388+   }  as  DownloadPaths , 
389+   '_bidiChromium' : { 
388390  }  as  DownloadPaths , 
389391} ; 
390392
@@ -480,7 +482,7 @@ function readDescriptors(browsersJSON: BrowsersJSON): BrowsersJSONDescriptor[] {
480482  } ) ; 
481483} 
482484
483- export  type  BrowserName  =  'chromium'  |  'firefox'  |  'webkit'  |  'bidi ' ; 
485+ export  type  BrowserName  =  'chromium'  |  'firefox'  |  'webkit'  |  '_bidiFirefox'    |   '_bidiChromium '; 
484486type  InternalTool  =  'ffmpeg'  |  'winldd'  |  'firefox-beta'  |  'chromium-tip-of-tree'  |  'chromium-headless-shell'  |  'chromium-tip-of-tree-headless-shell'  |  'android' ; 
485487type  BidiChannel  =  'moz-firefox'  |  'moz-firefox-beta'  |  'moz-firefox-nightly'  |  'bidi-chrome-canary'  |  'bidi-chrome-stable'  |  'bidi-chromium' ; 
486488type  ChromiumChannel  =  'chrome'  |  'chrome-beta'  |  'chrome-dev'  |  'chrome-canary'  |  'msedge'  |  'msedge-beta'  |  'msedge-dev'  |  'msedge-canary' ; 
@@ -717,8 +719,8 @@ export class Registry {
717719    } ) ) ; 
718720    this . _executables . push ( { 
719721      type : 'browser' , 
720-       name : 'bidi-chromium ' , 
721-       browserName : 'bidi ' , 
722+       name : '_bidiChromium ' , 
723+       browserName : '_bidiChromium ' , 
722724      directory : chromium . dir , 
723725      executablePath : ( )  =>  chromiumExecutable , 
724726      executablePathOrDie : ( sdkLanguage : string )  =>  executablePathOrDie ( 'chromium' ,  chromiumExecutable ,  chromium . installByDefault ,  sdkLanguage ) , 
@@ -842,21 +844,6 @@ export class Registry {
842844      _dependencyGroup : 'tools' , 
843845      _isHermeticInstallation : true , 
844846    } ) ; 
845- 
846-     this . _executables . push ( { 
847-       type : 'browser' , 
848-       name : 'bidi' , 
849-       browserName : 'bidi' , 
850-       directory : undefined , 
851-       executablePath : ( )  =>  undefined , 
852-       executablePathOrDie : ( )  =>  '' , 
853-       installType : 'none' , 
854-       _validateHostRequirements : ( )  =>  Promise . resolve ( ) , 
855-       downloadURLs : [ ] , 
856-       _install : ( )  =>  Promise . resolve ( ) , 
857-       _dependencyGroup : 'tools' , 
858-       _isHermeticInstallation : true , 
859-     } ) ; 
860847  } 
861848
862849  private  _createChromiumChannel ( name : ChromiumChannel ,  lookAt : Record < 'linux'  |  'darwin'  |  'win32' ,  string > ,  install ?: ( )  =>  Promise < void > ) : ExecutableImpl  { 
@@ -931,7 +918,7 @@ export class Registry {
931918    return  { 
932919      type : 'channel' , 
933920      name, 
934-       browserName : 'bidi ' , 
921+       browserName : '_bidiFirefox ' , 
935922      directory : undefined , 
936923      executablePath : ( sdkLanguage : string )  =>  executablePath ( sdkLanguage ,  false ) , 
937924      executablePathOrDie : ( sdkLanguage : string )  =>  executablePath ( sdkLanguage ,  true ) ! , 
@@ -947,7 +934,7 @@ export class Registry {
947934      const  suffix  =  lookAt [ process . platform  as  'linux'  |  'darwin'  |  'win32' ] ; 
948935      if  ( ! suffix )  { 
949936        if  ( shouldThrow ) 
950-           throw  new  Error ( `Firefox  distribution '${ name } ${ process . platform }  ) ; 
937+           throw  new  Error ( `Chromium  distribution '${ name } ${ process . platform }  ) ; 
951938        return  undefined ; 
952939      } 
953940      const  prefixes  =  ( process . platform  ===  'win32'  ? [ 
@@ -974,7 +961,7 @@ export class Registry {
974961    return  { 
975962      type : 'channel' , 
976963      name, 
977-       browserName : 'bidi ' , 
964+       browserName : '_bidiChromium ' , 
978965      directory : undefined , 
979966      executablePath : ( sdkLanguage : string )  =>  executablePath ( sdkLanguage ,  false ) , 
980967      executablePathOrDie : ( sdkLanguage : string )  =>  executablePath ( sdkLanguage ,  true ) ! , 
0 commit comments