JSDocument::setLocation does too much bare-handed lifting
authorabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Apr 2012 08:57:33 +0000 (08:57 +0000)
committerabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Apr 2012 08:57:33 +0000 (08:57 +0000)
commit222485b49223153dc90205e0da0cfe58c5a8b3b9
tree2067f43024b5c4e3194fcaebff7d0c4ab47bef37
parente55483ede36c720f26aa8ed14b0b514cd639b8af
JSDocument::setLocation does too much bare-handed lifting
https://bugs.webkit.org/show_bug.cgi?id=83850

Reviewed by Sam Weinig.

As part of auditing all the ways of kicking off a navigation, I
happened to read JSDocument::setLocation, which uses very old patterns.
This patch updates it to do things the "modern" way.  There shouldn't
be any behavior change.

* bindings/js/JSDocumentCustom.cpp:
(WebCore::JSDocument::setLocation):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114098 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/bindings/js/JSDocumentCustom.cpp