Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when reaching root of file system for HTML path completion #44506

Closed
dbaeumer opened this issue Feb 27, 2018 · 0 comments
Closed

Exception when reaching root of file system for HTML path completion #44506

dbaeumer opened this issue Feb 27, 2018 · 0 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug html HTML support issues

Comments

@dbaeumer
Copy link
Member

Testing #44460

Type <a href="/../../../../../../"> until you reach the root of the file system (on my system p:). You get the following exception

[Error - 11:11:41 AM] Error while computing completions for file:///p%3A/mseng/VSCode/Playgrounds/testpass/44460/test.html: EPERM: operation not permitted, stat 'p:\System Volume Information'
Error: EPERM: operation not permitted, stat 'p:\System Volume Information'
    at fs.statSync (fs.js:973:11)
    at Object.fs.statSync (ELECTRON_ASAR.js:280:16)
    at isDir (c:\Program Files\Microsoft VS Code Insiders\resources\app\extensions\html\server\out\modes\pathCompletion.js:73:15)
    at c:\Program Files\Microsoft VS Code Insiders\resources\app\extensions\html\server\out\modes\pathCompletion.js:66:19
    at Array.map (native)
    at providePathSuggestions (c:\Program Files\Microsoft VS Code Insiders\resources\app\extensions\html\server\out\modes\pathCompletion.js:63:38)
    at Object.onHtmlAttributeValue (c:\Program Files\Microsoft VS Code Insiders\resources\app\extensions\html\server\out\modes\pathCompletion.js:25:35)
    at collectAttributeValueSuggestions (c:\Program Files\Microsoft VS Code Insiders\resources\app\extensions\html\server\node_modules\vscode-html-languageservice\lib\services\htmlCompletion.js:237:41)
    at HTMLCompletion.doComplete (c:\Program Files\Microsoft VS Code Insiders\resources\app\extensions\html\server\node_modules\vscode-html-languageservice\lib\services\htmlCompletion.js:329:36)
    at Object.doComplete (c:\Program Files\Microsoft VS Code Insiders\resources\app\extensions\html\server\out\modes\htmlMode.js:30:40)
@octref octref added bug Issue identified by VS Code Team member as probable bug html HTML support issues labels Feb 27, 2018
@octref octref closed this as completed in d1d1e65 Feb 27, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Apr 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug html HTML support issues
Projects
None yet
Development

No branches or pull requests

2 participants