mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 09:15:35 +00:00
Bug 1025568 - fix contextmenu actions across page loads, r=MattN
--HG-- extra : commitid : HWHeooHCAH extra : rebase_source : 7654e7a347e0c00cd572e7f1fc0b352039cf8450
This commit is contained in:
parent
ec335abb8b
commit
1650e4eeec
@ -99,7 +99,7 @@ var handleContentContextMenu = function (event) {
|
||||
Services.obs.notifyObservers(subject, "content-contextmenu", null);
|
||||
|
||||
let doc = event.target.ownerDocument;
|
||||
let docLocation = doc.location.href;
|
||||
let docLocation = doc.location ? doc.location.href : undefined;
|
||||
let charSet = doc.characterSet;
|
||||
let baseURI = doc.baseURI;
|
||||
let referrer = doc.referrer;
|
||||
@ -1264,4 +1264,4 @@ var PageInfoListener = {
|
||||
return text.replace(endRE, "");
|
||||
}
|
||||
};
|
||||
PageInfoListener.init();
|
||||
PageInfoListener.init();
|
||||
|
Loading…
Reference in New Issue
Block a user