Output more logs for debugging

This commit is contained in:
YUKI Hiroshi 2016-08-18 12:29:45 +09:00
parent d19d13c0af
commit 796059daef

View File

@ -1427,6 +1427,7 @@ TreeStyleTabWindow.prototype = inherit(TreeStyleTabBase, {
else if (Ci.nsIOpenURIInFrameParams && else if (Ci.nsIOpenURIInFrameParams &&
aParamsOrOpener instanceof Ci.nsIOpenURIInFrameParams) { aParamsOrOpener instanceof Ci.nsIOpenURIInFrameParams) {
log('TSTWindow_onBeforeBrowserAccessOpenURI: opener is nsIOpenURIInFrameParams'); log('TSTWindow_onBeforeBrowserAccessOpenURI: opener is nsIOpenURIInFrameParams');
log(' params => ', aParamsOrOpener);
// from remote contents, we have to detect its opener from the URI. // from remote contents, we have to detect its opener from the URI.
let referrer = aParamsOrOpener.referrer; let referrer = aParamsOrOpener.referrer;
if (referrer) { if (referrer) {