Bug 1167238 - Remove current Sanitize.jsm. draft
authorMarco Bonardo <mbonardo@mozilla.com>
Mon, 21 Mar 2016 17:39:24 +0100
changeset 376436 c0214ce2a1aedfba5a10a84b40609936e89abaee
parent 376435 5119ac972910e0f2f90c2cd90552201905526075
child 376437 3ef70820fca42677a999ee313fc3c46508a6f78d
push id20577
push usermak77@bonardo.net
push dateTue, 07 Jun 2016 22:57:25 +0000
bugs1167238
milestone50.0a1
Bug 1167238 - Remove current Sanitize.jsm. MozReview-Commit-ID: 8fTqtIqTIGv
browser/modules/Sanitizer.jsm
deleted file mode 100644
--- a/browser/modules/Sanitizer.jsm
+++ /dev/null
@@ -1,22 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/. */
-"use strict";
-
-//
-// A shared module for sanitize.js
-//
-// Until bug 1167238 lands, this serves only as a way to ensure that
-// sanitize is loaded from its own compartment, rather than from that
-// of the sanitize dialog.
-//
-
-this.EXPORTED_SYMBOLS = ["Sanitizer"];
-
-const { classes: Cc, interfaces: Ci, utils: Cu } = Components;
-
-var scope = {};
-Cc["@mozilla.org/moz/jssubscript-loader;1"].getService(Ci.mozIJSSubScriptLoader)
- .loadSubScript("chrome://browser/content/sanitize.js", scope);
-
-this.Sanitizer = scope.Sanitizer;