reload: abide buffer.display_uri_string
commitfe93ea13e659b9d75b5f5eb0482dedd4fac75320
authorJohn Foerch <jjfoerch@earthlink.net>
Tue, 29 Jun 2010 14:45:07 +0000 (29 10:45 -0400)
committerJohn Foerch <jjfoerch@earthlink.net>
Tue, 29 Jun 2010 14:45:07 +0000 (29 10:45 -0400)
treef7a775fa0be00f2c9059c8524f5aa216c1014c3d
parent4a67336ccfc6e3adb3edae720fb3b3b1cbb9414e
reload: abide buffer.display_uri_string

If a document has been requested, but not yet started loading,
buffer.display_uri_string will contain the intended uri, even though
buffer.current_uri may still be about:blank or the previous page.  This
patch makes the reload command check whether these two properties differ,
and do the expected thing in this situation: load buffer.display_uri_string.
modules/content-buffer.js