"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "application/palemoon/base/content/content.js" between
UXP-2019.03.27.tar.gz and UXP-2019.06.08.tar.gz

About: Basilisk is a full-featured, optimized browser derived from the code behind the pre-Servo Firefox browser (29–56 era). UXP = Unified XUL Platform. Source code.

content.js  (UXP-2019.03.27):content.js  (UXP-2019.06.08)
skipping to change at line 142 skipping to change at line 142
try { try {
contentDisposition = contentDisposition =
props.get("content-disposition", Ci.nsISupportsCString).data; props.get("content-disposition", Ci.nsISupportsCString).data;
} catch (e) {} } catch (e) {}
} catch (e) {} } catch (e) {}
} }
let selectionInfo = BrowserUtils.getSelectionDetails(content); let selectionInfo = BrowserUtils.getSelectionDetails(content);
let loadContext = docShell.QueryInterface(Ci.nsILoadContext); let loadContext = docShell.QueryInterface(Ci.nsILoadContext);
let userContextId = loadContext.originAttributes.userContextId;
let browser = docShell.chromeEventHandler; let browser = docShell.chromeEventHandler;
let mainWin = browser.ownerGlobal; let mainWin = browser.ownerGlobal;
mainWin.gContextMenuContentData = { mainWin.gContextMenuContentData = {
isRemote: false, isRemote: false,
event: event, event: event,
popupNode: event.target, popupNode: event.target,
browser: browser, browser: browser,
addonInfo: addonInfo, addonInfo: addonInfo,
documentURIObject: doc.documentURIObject, documentURIObject: doc.documentURIObject,
docLocation: docLocation, docLocation: docLocation,
charSet: charSet, charSet: charSet,
referrer: referrer, referrer: referrer,
referrerPolicy: referrerPolicy, referrerPolicy: referrerPolicy,
contentType: contentType, contentType: contentType,
contentDisposition: contentDisposition, contentDisposition: contentDisposition,
selectionInfo: selectionInfo, selectionInfo: selectionInfo,
loginFillInfo, loginFillInfo,
parentAllowsMixedContent, parentAllowsMixedContent,
userContextId,
}; };
} }
Cc["@mozilla.org/eventlistenerservice;1"] Cc["@mozilla.org/eventlistenerservice;1"]
.getService(Ci.nsIEventListenerService) .getService(Ci.nsIEventListenerService)
.addSystemEventListener(global, "contextmenu", handleContentContextMenu, false ); .addSystemEventListener(global, "contextmenu", handleContentContextMenu, false );
// Lazily load the finder code // Lazily load the finder code
addMessageListener("Finder:Initialize", function () { addMessageListener("Finder:Initialize", function () {
let {RemoteFinderListener} = Cu.import("resource://gre/modules/RemoteFinder.js m", {}); let {RemoteFinderListener} = Cu.import("resource://gre/modules/RemoteFinder.js m", {});
 End of changes. 2 change blocks. 
2 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)