Uh oh!
There was an error while loading. Please reload this page.
Re-enable history api on file:// protocol - #57504
Conversation
As far as I can tell, it looks like |
steveklabnik
commented
Jan 10, 2019
via email
Yes, we have to test more than just Chrome :) …On Thu, Jan 10, 2019 at 6:32 PM ecstatic-morse ***@***.***> wrote:
Using history.pushState on a page loaded from file:// throws a
SecurityError in Firefox 64, so I don't think you should unconditionally
enable this.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#57504 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AABsik8HNtKAhpsPt8w9pGZq-f8N8xb6ks5vB816gaJpZM4Z6fNb>
.
|
GuillaumeGomez
commented
Jan 11, 2019
The problem was supposed to be only on chrome. My firefox worked correctly though. |
QuietMisdreavus
commented
Jan 11, 2019
This seems to make it okay? I think we only use the history API when loading up the search results, so it may work out. |
GuillaumeGomez
commented
Jan 11, 2019
Normally yes. |
QuietMisdreavus
commented
Feb 7, 2019
I double-checked main.js to make sure we only used the history API (or at least, only this detection) when modifying the query string or hash of the URL, and not the file. Because of that, i'm okay merging this. @bors r+ rollup |
bors
commented
Feb 7, 2019
📌 Commit 830b3b8 has been approved by |
…=QuietMisdreavus Re-enable history api on file:// protocol Fixesrust-lang#57135. I tested locally on chrome (since it was the browser having issues with history management on `file://` protocol) and it worked fine so I guess we can re-enable it. r? @QuietMisdreavus
Rollup of 11 pull requests Successful merges: - #57504 (Re-enable history api on file:// protocol) - #57848 (Generate a documentation page for core::mem::transmute.) - #57884 (Update minifier version) - #57954 (rustdoc: remove blank unstable spans) - #58028 (Fix image link in the settings menu) - #58033 (rustdoc: wrap stability tags in colored spans) - #58086 ([rustdoc] Improve file list display) - #58143 (Sort elements in the sidebar) - #58146 (Prevent automatic collapse of methods impl blocks) - #58150 (Don't apply impl block collapse rules to trait impls) - #58185 (Remove images' url to make it work even without internet connection) Failed merges: r? @ghost
Fixes#57135.
I tested locally on chrome (since it was the browser having issues with history management on
file://protocol) and it worked fine so I guess we can re-enable it.r? @QuietMisdreavus