-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
rustdoc JS does not handle NO_DEVICE_SPACE error #81928
Comments
Is this an issue with docs.rs, or with |
I think the problem is in the javascript generated by |
Where is the JavaScript source for the the cargo documentation ? Maybe I can attempt a PR myself? |
The only reference to localStorage is in: https://github.com/rust-lang/rust/blob/c4e33b51c1a2d5e599b949fa3006467b88df253a/src/librustdoc/html/static/storage.js |
Fix documentation not showing on localStorage error Fixes rust-lang#81928 The [documentation for setItem](https://developer.mozilla.org/en-US/docs/Web/API/Storage/setItem) specifies: > developers should make sure to always catch possible exceptions from setItem()
Fix documentation not showing on localStorage error Fixes rust-lang#81928 The [documentation for setItem](https://developer.mozilla.org/en-US/docs/Web/API/Storage/setItem) specifies: > developers should make sure to always catch possible exceptions from setItem()
Fix documentation not showing on localStorage error Fixes rust-lang#81928 The [documentation for setItem](https://developer.mozilla.org/en-US/docs/Web/API/Storage/setItem) specifies: > developers should make sure to always catch possible exceptions from setItem()
Fix documentation not showing on localStorage error Fixes rust-lang#81928 The [documentation for setItem](https://developer.mozilla.org/en-US/docs/Web/API/Storage/setItem) specifies: > developers should make sure to always catch possible exceptions from setItem()
Fix documentation not showing on localStorage error Fixes rust-lang#81928 The [documentation for setItem](https://developer.mozilla.org/en-US/docs/Web/API/Storage/setItem) specifies: > developers should make sure to always catch possible exceptions from setItem()
Thanks ! |
Problem
No documented item appear in documentation pages anywhere after a localStorage error.
(the page should render like that instead)
After localStorage raises a
NS_ERROR_FILE_NO_DEVICE_SPACE
error, all documentation page appear entirely blank. Freeing up space doesn't solve the isssue.The following appears in the browser console :
Steps
Possible Solution(s)
Opening the docs in a private browsing window works.
The text was updated successfully, but these errors were encountered: