Commit 56ae33e5 authored by jschuh@chromium.org's avatar jschuh@chromium.org

2010-07-23 Justin Schuh <jschuh@chromium.org>

        Unreviewed, rolling out r63925.
        http://trac.webkit.org/changeset/63925
        https://bugs.webkit.org/show_bug.cgi?id=42858

        Introduced a regression in history state.

        * page/History.cpp:
        (WebCore::History::urlForState):
2010-07-23  Justin Schuh  <jschuh@chromium.org>

        Unreviewed, rolling out r63925.
        http://trac.webkit.org/changeset/63925
        https://bugs.webkit.org/show_bug.cgi?id=42858

        Introduced a regression in history state.

        * fast/history/history-replace-illegal-expected.txt: Removed.
        * fast/history/history-replace-illegal.html: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63984 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 54b81798
2010-07-23 Justin Schuh <jschuh@chromium.org>
Unreviewed, rolling out r63925.
http://trac.webkit.org/changeset/63925
https://bugs.webkit.org/show_bug.cgi?id=42858
Introduced a regression in history state.
* fast/history/history-replace-illegal-expected.txt: Removed.
* fast/history/history-replace-illegal.html: Removed.
2010-07-23 Justin Schuh <jschuh@chromium.org>
Unreviewed, rolling out r63959.
CONSOLE MESSAGE: line 9: SECURITY_ERR: DOM Exception 18: An attempt was made to break through the security policy of the user agent.
This page should trigger an error on attempting to set the URL bar to https://www.test.com/
<html>
<head>
<base href="https://www.test.com/">
<script>
if (window.layoutTestController)
layoutTestController.dumpAsText();
window.onload = function(){
window.history.replaceState({}, {}, 'https://www.test.com/');
};
</script>
</head>
<body>
This page should trigger an error on attempting to set the URL bar to https://www.test.com/
</body>
</html>
\ No newline at end of file
2010-07-23 Justin Schuh <jschuh@chromium.org>
Unreviewed, rolling out r63925.
http://trac.webkit.org/changeset/63925
https://bugs.webkit.org/show_bug.cgi?id=42858
Introduced a regression in history state.
* page/History.cpp:
(WebCore::History::urlForState):
2010-07-23 Martin Robinson <mrobinson@igalia.com>
Unreviewed build fix.
......@@ -82,7 +82,7 @@ void History::go(int distance)
KURL History::urlForState(const String& urlString)
{
KURL baseURL = m_frame->document()->url();
KURL baseURL = m_frame->loader()->baseURL();
if (urlString.isEmpty())
return baseURL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment