Skip to content

Commit

Permalink
Rebaseline http/tests/loading/state-object-security-exception.html af…
Browse files Browse the repository at this point in the history
…ter r221978.

https://bugs.webkit.org/show_bug.cgi?id=176730

Unreviewed test gardening.

* http/tests/loading/state-object-security-exception-expected.txt:

Canonical link: https://commits.webkit.org/193325@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@221991 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
ryanhaddad committed Sep 13, 2017
1 parent 4bb7d18 commit 99b9419
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 12 deletions.
9 changes: 9 additions & 0 deletions LayoutTests/ChangeLog
@@ -1,3 +1,12 @@
2017-09-13 Ryan Haddad <ryanhaddad@apple.com>

Rebaseline http/tests/loading/state-object-security-exception.html after r221978.
https://bugs.webkit.org/show_bug.cgi?id=176730

Unreviewed test gardening.

* http/tests/loading/state-object-security-exception-expected.txt:

2017-09-13 Matt Lewis <jlewis3@apple.com>

Followup rebaseline after r221973.
Expand Down
Expand Up @@ -5,28 +5,28 @@ main frame - didHandleOnloadEventsForFrame
main frame - didFinishLoadForFrame
This test makes sure that calls to pushState() and replaceState() with URLs that violate the security origin check fail as expected.

Trying to pushState() with url http://localhost/test.html failed with exception SecurityError: The operation is insecure.
Trying to pushState() with url http://localhost/test.html failed with exception SecurityError: Blocked attempt to use history.pushState() to change session history URL from http://127.0.0.1:8000/loading/state-object-security-exception.html to http://localhost/test.html. Protocols, domains, ports, usernames, and passwords must match.
History length is 1
Trying to replaceState() with url http://localhost/test.html failed with exception SecurityError: The operation is insecure.
Trying to replaceState() with url http://localhost/test.html failed with exception SecurityError: Blocked attempt to use history.replaceState() to change session history URL from http://127.0.0.1:8000/loading/state-object-security-exception.html to http://localhost/test.html. Protocols, domains, ports, usernames, and passwords must match.
History length is 1
Trying to pushState() with url http://localhost:8001/test.html failed with exception SecurityError: The operation is insecure.
Trying to pushState() with url http://localhost:8001/test.html failed with exception SecurityError: Blocked attempt to use history.pushState() to change session history URL from http://127.0.0.1:8000/loading/state-object-security-exception.html to http://localhost:8001/test.html. Protocols, domains, ports, usernames, and passwords must match.
History length is 1
Trying to replaceState() with url http://localhost:8001/test.html failed with exception SecurityError: The operation is insecure.
Trying to replaceState() with url http://localhost:8001/test.html failed with exception SecurityError: Blocked attempt to use history.replaceState() to change session history URL from http://127.0.0.1:8000/loading/state-object-security-exception.html to http://localhost:8001/test.html. Protocols, domains, ports, usernames, and passwords must match.
History length is 1
Trying to pushState() with url http://www.webkit.org/test.html failed with exception SecurityError: The operation is insecure.
Trying to pushState() with url http://www.webkit.org/test.html failed with exception SecurityError: Blocked attempt to use history.pushState() to change session history URL from http://127.0.0.1:8000/loading/state-object-security-exception.html to http://www.webkit.org/test.html. Protocols, domains, ports, usernames, and passwords must match.
History length is 1
Trying to replaceState() with url http://www.webkit.org/test.html failed with exception SecurityError: The operation is insecure.
Trying to replaceState() with url http://www.webkit.org/test.html failed with exception SecurityError: Blocked attempt to use history.replaceState() to change session history URL from http://127.0.0.1:8000/loading/state-object-security-exception.html to http://www.webkit.org/test.html. Protocols, domains, ports, usernames, and passwords must match.
History length is 1
Trying to pushState() with url http://www.webkit.org/ failed with exception SecurityError: The operation is insecure.
Trying to pushState() with url http://www.webkit.org/ failed with exception SecurityError: Blocked attempt to use history.pushState() to change session history URL from http://127.0.0.1:8000/loading/state-object-security-exception.html to http://www.webkit.org/. Protocols, domains, ports, usernames, and passwords must match.
History length is 1
Trying to replaceState() with url http://www.webkit.org/ failed with exception SecurityError: The operation is insecure.
Trying to replaceState() with url http://www.webkit.org/ failed with exception SecurityError: Blocked attempt to use history.replaceState() to change session history URL from http://127.0.0.1:8000/loading/state-object-security-exception.html to http://www.webkit.org/. Protocols, domains, ports, usernames, and passwords must match.
History length is 1
Trying to pushState() with url ftp://www.webkit.org/ failed with exception SecurityError: The operation is insecure.
Trying to pushState() with url ftp://www.webkit.org/ failed with exception SecurityError: Blocked attempt to use history.pushState() to change session history URL from http://127.0.0.1:8000/loading/state-object-security-exception.html to ftp://www.webkit.org/. Protocols, domains, ports, usernames, and passwords must match.
History length is 1
Trying to replaceState() with url ftp://www.webkit.org/ failed with exception SecurityError: The operation is insecure.
Trying to replaceState() with url ftp://www.webkit.org/ failed with exception SecurityError: Blocked attempt to use history.replaceState() to change session history URL from http://127.0.0.1:8000/loading/state-object-security-exception.html to ftp://www.webkit.org/. Protocols, domains, ports, usernames, and passwords must match.
History length is 1
Trying to pushState() with url file://anyfile.html/ failed with exception SecurityError: The operation is insecure.
Trying to pushState() with url file://anyfile.html/ failed with exception SecurityError: Blocked attempt to use history.pushState() to change session history URL from http://127.0.0.1:8000/loading/state-object-security-exception.html to file://anyfile.html/. Protocols, domains, ports, usernames, and passwords must match.
History length is 1
Trying to replaceState() with url file://anyfile.html/ failed with exception SecurityError: The operation is insecure.
Trying to replaceState() with url file://anyfile.html/ failed with exception SecurityError: Blocked attempt to use history.replaceState() to change session history URL from http://127.0.0.1:8000/loading/state-object-security-exception.html to file://anyfile.html/. Protocols, domains, ports, usernames, and passwords must match.
History length is 1

0 comments on commit 99b9419

Please sign in to comment.