about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorJan-Erik Rediger <janerik@fnordig.de>2015-09-14 13:52:32 +0200
committerJan-Erik Rediger <janerik@fnordig.de>2015-09-14 22:48:34 +0200
commit7f5ec6c392c53225d85b160bcef3cedbc366ed72 (patch)
tree06784cdeab4baddbefcb396c662042e9285cd734 /src/rustllvm/ExecutionEngineWrapper.cpp
parent664a45976fb5dd433766f73a221435883151d0ee (diff)
downloadrust-7f5ec6c392c53225d85b160bcef3cedbc366ed72.tar.gz
rust-7f5ec6c392c53225d85b160bcef3cedbc366ed72.zip
Disable browser history API on file:/ URLs
history.pushState is defined, but not working whenever document.origin is "null"
(literally that string, not just the null object).
This is due to some security considerations and is unlikely to be ever working.

For now just disable the usage of the history API when the documentation
is accessed through a file:/ URL.

See https://code.google.com/p/chromium/issues/detail?id=301210 for a
Chrome-specific issue on the history API on file:/ URLs

Closes #25953
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions