Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: lib/utils.js

Issue 29322679: Issue 1730 - Fixed abp:subscribe functionality with e10s (Closed)
Patch Set: Created July 20, 2015, 3:19 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« chrome/content/subscribeLinkHandler.js ('K') | « lib/ui.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2015 Eyeo GmbH 3 * Copyright (C) 2006-2015 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 XPCOMUtils.defineLazyServiceGetter(Utils, "effectiveTLD", "@mozilla.org/network/ effective-tld-service;1", "nsIEffectiveTLDService"); 590 XPCOMUtils.defineLazyServiceGetter(Utils, "effectiveTLD", "@mozilla.org/network/ effective-tld-service;1", "nsIEffectiveTLDService");
591 XPCOMUtils.defineLazyServiceGetter(Utils, "netUtils", "@mozilla.org/network/util ;1", "nsINetUtil"); 591 XPCOMUtils.defineLazyServiceGetter(Utils, "netUtils", "@mozilla.org/network/util ;1", "nsINetUtil");
592 XPCOMUtils.defineLazyServiceGetter(Utils, "styleService", "@mozilla.org/content/ style-sheet-service;1", "nsIStyleSheetService"); 592 XPCOMUtils.defineLazyServiceGetter(Utils, "styleService", "@mozilla.org/content/ style-sheet-service;1", "nsIStyleSheetService");
593 XPCOMUtils.defineLazyServiceGetter(Utils, "prefService", "@mozilla.org/preferenc es-service;1", "nsIPrefService"); 593 XPCOMUtils.defineLazyServiceGetter(Utils, "prefService", "@mozilla.org/preferenc es-service;1", "nsIPrefService");
594 XPCOMUtils.defineLazyServiceGetter(Utils, "versionComparator", "@mozilla.org/xpc om/version-comparator;1", "nsIVersionComparator"); 594 XPCOMUtils.defineLazyServiceGetter(Utils, "versionComparator", "@mozilla.org/xpc om/version-comparator;1", "nsIVersionComparator");
595 XPCOMUtils.defineLazyServiceGetter(Utils, "windowMediator", "@mozilla.org/appshe ll/window-mediator;1", "nsIWindowMediator"); 595 XPCOMUtils.defineLazyServiceGetter(Utils, "windowMediator", "@mozilla.org/appshe ll/window-mediator;1", "nsIWindowMediator");
596 XPCOMUtils.defineLazyServiceGetter(Utils, "windowWatcher", "@mozilla.org/embedco mp/window-watcher;1", "nsIWindowWatcher"); 596 XPCOMUtils.defineLazyServiceGetter(Utils, "windowWatcher", "@mozilla.org/embedco mp/window-watcher;1", "nsIWindowWatcher");
597 XPCOMUtils.defineLazyServiceGetter(Utils, "chromeRegistry", "@mozilla.org/chrome /chrome-registry;1", "nsIXULChromeRegistry"); 597 XPCOMUtils.defineLazyServiceGetter(Utils, "chromeRegistry", "@mozilla.org/chrome /chrome-registry;1", "nsIXULChromeRegistry");
598 XPCOMUtils.defineLazyServiceGetter(Utils, "systemPrincipal", "@mozilla.org/syste mprincipal;1", "nsIPrincipal"); 598 XPCOMUtils.defineLazyServiceGetter(Utils, "systemPrincipal", "@mozilla.org/syste mprincipal;1", "nsIPrincipal");
599 XPCOMUtils.defineLazyServiceGetter(Utils, "dateFormatter", "@mozilla.org/intl/sc riptabledateformat;1", "nsIScriptableDateFormat"); 599 XPCOMUtils.defineLazyServiceGetter(Utils, "dateFormatter", "@mozilla.org/intl/sc riptabledateformat;1", "nsIScriptableDateFormat");
600 XPCOMUtils.defineLazyServiceGetter(Utils, "childMessageManager", "@mozilla.org/c hildprocessmessagemanager;1", "nsISyncMessageSender");
601 XPCOMUtils.defineLazyServiceGetter(Utils, "parentMessageManager", "@mozilla.org/ parentprocessmessagemanager;1", "nsIFrameMessageManager");
602 XPCOMUtils.defineLazyServiceGetter(Utils, "httpProtocol", "@mozilla.org/network/ protocol;1?name=http", "nsIHttpProtocolHandler"); 600 XPCOMUtils.defineLazyServiceGetter(Utils, "httpProtocol", "@mozilla.org/network/ protocol;1?name=http", "nsIHttpProtocolHandler");
603 XPCOMUtils.defineLazyServiceGetter(Utils, "clipboard", "@mozilla.org/widget/clip board;1", "nsIClipboard"); 601 XPCOMUtils.defineLazyServiceGetter(Utils, "clipboard", "@mozilla.org/widget/clip board;1", "nsIClipboard");
604 XPCOMUtils.defineLazyServiceGetter(Utils, "clipboardHelper", "@mozilla.org/widge t/clipboardhelper;1", "nsIClipboardHelper"); 602 XPCOMUtils.defineLazyServiceGetter(Utils, "clipboardHelper", "@mozilla.org/widge t/clipboardhelper;1", "nsIClipboardHelper");
605 XPCOMUtils.defineLazyGetter(Utils, "crypto", function() 603 XPCOMUtils.defineLazyGetter(Utils, "crypto", function()
606 { 604 {
607 try 605 try
608 { 606 {
609 let ctypes = Components.utils.import("resource://gre/modules/ctypes.jsm", nu ll).ctypes; 607 let ctypes = Components.utils.import("resource://gre/modules/ctypes.jsm", nu ll).ctypes;
610 608
611 let nsslib; 609 let nsslib;
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
768 Cu.reportError(e); 766 Cu.reportError(e);
769 // Expected, ctypes isn't supported in Gecko 1.9.2 767 // Expected, ctypes isn't supported in Gecko 1.9.2
770 return null; 768 return null;
771 } 769 }
772 }); 770 });
773 771
774 if ("@mozilla.org/messenger/headerparser;1" in Cc) 772 if ("@mozilla.org/messenger/headerparser;1" in Cc)
775 XPCOMUtils.defineLazyServiceGetter(Utils, "headerParser", "@mozilla.org/messen ger/headerparser;1", "nsIMsgHeaderParser"); 773 XPCOMUtils.defineLazyServiceGetter(Utils, "headerParser", "@mozilla.org/messen ger/headerparser;1", "nsIMsgHeaderParser");
776 else 774 else
777 Utils.headerParser = null; 775 Utils.headerParser = null;
OLDNEW
« chrome/content/subscribeLinkHandler.js ('K') | « lib/ui.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld