| Index: third_party/WebKit/Source/core/frame/History.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/History.cpp b/third_party/WebKit/Source/core/frame/History.cpp
|
| index a3b323742d5683a1d2d3288ed5d4646a52af8bd6..ff278e4d8c74cc3ff2685cc5e9a663d3f5dd44c4 100644
|
| --- a/third_party/WebKit/Source/core/frame/History.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/History.cpp
|
| @@ -203,7 +203,9 @@ void History::stateObjectAdded(PassRefPtr<SerializedScriptValue> data,
|
| KURL fullURL = urlForState(urlString);
|
| if (!canChangeToUrl(fullURL, frame()->document()->getSecurityOrigin(),
|
| frame()->document()->url())) {
|
| - // We can safely expose the URL to JavaScript, as a) no redirection takes place: JavaScript already had this URL, b) JavaScript can only access a same-origin History object.
|
| + // We can safely expose the URL to JavaScript, as a) no redirection takes
|
| + // place: JavaScript already had this URL, b) JavaScript can only access a
|
| + // same-origin History object.
|
| exceptionState.throwSecurityError(
|
| "A history state object with URL '" + fullURL.elidedString() +
|
| "' cannot be created in a document with origin '" +
|
|
|