Skip to content
  • Samuel Attard's avatar
    feat: add webUtils module with getPathForFile method (#38776) · d6bb9b40
    Samuel Attard authored
    * feat: add blinkUtils module with getPathForFile method
    
    This is designed to replace the File.path augmentation
    we currently have in place to allow apps to get the filesystem
    path for a file that blink has a representation of.
    
    File.path is non-standard and messes with certain websites, using
    a method like this is effectively 0-cost and removes one of the final
    deviations we have with web standards.
    
    * add error
    
    * refactor: update per PR feedback
    
    * chore: update patches
    
    * oops
    
    * chore: update patches
    
    * chore: update patches
    
    * feat: add blinkUtils module with getPathForFile method
    
    This is designed to replace the File.path augmentation
    we currently have in place to allow apps to get the filesystem
    path for a file that blink has a representation of.
    
    File.path is non-standard and messes with certain websites, using
    a method like this is effectively 0-cost and removes one of the final
    deviations we have with we...
    d6bb9b40