@@ -35,7 +35,7 @@ import * as Platform from '../../core/platform/platform.js';
3535import * as TextUtils from '../text_utils/text_utils.js' ;
3636
3737import { Events , type IsolatedFileSystemManager } from './IsolatedFileSystemManager.js' ;
38- import { PlatformFileSystem } from './PlatformFileSystem.js' ;
38+ import { PlatformFileSystem , type PlatformFileSystemType } from './PlatformFileSystem.js' ;
3939
4040const UIStrings = {
4141 /**
@@ -75,8 +75,9 @@ export class IsolatedFileSystem extends PlatformFileSystem {
7575
7676 constructor (
7777 manager : IsolatedFileSystemManager , path : Platform . DevToolsPath . UrlString ,
78- embedderPath : Platform . DevToolsPath . RawPathString , domFileSystem : FileSystem , type : string ) {
79- super ( path , type ) ;
78+ embedderPath : Platform . DevToolsPath . RawPathString , domFileSystem : FileSystem , type : PlatformFileSystemType ,
79+ automatic : boolean ) {
80+ super ( path , type , automatic ) ;
8081 this . manager = manager ;
8182 this . embedderPathInternal = embedderPath ;
8283 this . domFileSystem = domFileSystem ;
@@ -87,14 +88,14 @@ export class IsolatedFileSystem extends PlatformFileSystem {
8788
8889 static async create (
8990 manager : IsolatedFileSystemManager , path : Platform . DevToolsPath . UrlString ,
90- embedderPath : Platform . DevToolsPath . RawPathString , type : string , name : string ,
91- rootURL : string ) : Promise < IsolatedFileSystem | null > {
91+ embedderPath : Platform . DevToolsPath . RawPathString , type : PlatformFileSystemType , name : string , rootURL : string ,
92+ automatic : boolean ) : Promise < IsolatedFileSystem | null > {
9293 const domFileSystem = Host . InspectorFrontendHost . InspectorFrontendHostInstance . isolatedFileSystem ( name , rootURL ) ;
9394 if ( ! domFileSystem ) {
9495 return null ;
9596 }
9697
97- const fileSystem = new IsolatedFileSystem ( manager , path , embedderPath , domFileSystem , type ) ;
98+ const fileSystem = new IsolatedFileSystem ( manager , path , embedderPath , domFileSystem , type , automatic ) ;
9899 return await fileSystem . initializeFilePaths ( ) . then ( ( ) => fileSystem ) . catch ( error => {
99100 console . error ( error ) ;
100101 return null ;
0 commit comments