1 /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 import { XPCOMUtils } from "resource://gre/modules/XPCOMUtils.sys.mjs";
8 const kPrefLetterboxing = "privacy.resistFingerprinting.letterboxing";
12 XPCOMUtils.defineLazyPreferenceGetter(
14 "isLetterboxingEnabled",
19 export class RFPHelperChild extends JSWindowActorChild {
21 if (lazy.isLetterboxingEnabled && event.type == "resize") {
22 this.sendAsyncMessage("Letterboxing:ContentSizeUpdated");