mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 941469 - RemoteWebProgress doesn't pass flags param for onLocationChange. r=felipe
This commit is contained in:
parent
e833b2dcf1
commit
3ff2a9909d
@ -74,6 +74,7 @@ let WebProgressListener = {
|
||||
let objects = this._setupObjects(aWebProgress);
|
||||
|
||||
json.location = aLocationURI ? aLocationURI.spec : "";
|
||||
json.flags = aFlags;
|
||||
|
||||
if (json.isTopLevel) {
|
||||
json.canGoBack = docShell.canGoBack;
|
||||
|
@ -162,6 +162,7 @@ RemoteWebProgressManager.prototype = {
|
||||
|
||||
case "Content:LocationChange":
|
||||
let location = newURI(json.location);
|
||||
let flags = json.flags;
|
||||
|
||||
if (json.isTopLevel) {
|
||||
this._browser.webNavigation._currentURI = location;
|
||||
@ -172,7 +173,7 @@ RemoteWebProgressManager.prototype = {
|
||||
this._browser._imageDocument = null;
|
||||
}
|
||||
|
||||
this._callProgressListeners("onLocationChange", webProgress, request, location);
|
||||
this._callProgressListeners("onLocationChange", webProgress, request, location, flags);
|
||||
break;
|
||||
|
||||
case "Content:SecurityChange":
|
||||
|
Loading…
Reference in New Issue
Block a user