Bug 1167238 - Part 1 - Remove Sanitizer.jsm shim. r=mak draft
authorJohann Hofmann <jhofmann@mozilla.com>
Wed, 17 Jan 2018 11:29:06 +0100
changeset 751168 f2db143467752b3ff0c6eaf05a1991c064470a20
parent 751156 3df7961bad2c287382fbbca76680fb125dc98d69
child 751169 63b0f274f8e84e4003edb61f2dace78981884048
push id97884
push userjhofmann@mozilla.com
push dateMon, 05 Feb 2018 17:07:12 +0000
reviewersmak
bugs1167238
milestone60.0a1
Bug 1167238 - Part 1 - Remove Sanitizer.jsm shim. r=mak MozReview-Commit-ID: I7l9M3sC4pD
browser/modules/Sanitizer.jsm
deleted file mode 100644
--- a/browser/modules/Sanitizer.jsm
+++ /dev/null
@@ -1,23 +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;
-
-ChromeUtils.import("resource://gre/modules/Services.jsm");
-
-var scope = {};
-Services.scriptloader.loadSubScript("chrome://browser/content/sanitize.js", scope);
-
-this.Sanitizer = scope.Sanitizer;