Skip to content

Commit

Permalink
Backed out changeset 7e8d312fbc46 (bug 1824165) due to backout of reg…
Browse files Browse the repository at this point in the history
…ressor (bug 1823350), a=backout
  • Loading branch information
dsmithpadilla committed Mar 27, 2023
1 parent 6042179 commit c79db32
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions toolkit/components/pictureinpicture/PictureInPicture.sys.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ ChromeUtils.defineESModuleGetters(lazy, {
import { Rect, Point } from "resource://gre/modules/Geometry.sys.mjs";

const PLAYER_URI = "chrome://global/content/pictureinpicture/player.xhtml";
// Currently, we need titlebar="yes" on macOS in order for the player window
// to be resizable. See bug 1824171.
const TITLEBAR = AppConstants.platform == "macosx" ? "yes" : "no";
const PLAYER_FEATURES = `chrome,alwaysontop,lockaspectratio,resizable,dialog,titlebar=${TITLEBAR}`;

const PLAYER_FEATURES =
"chrome,titlebar=no,alwaysontop,lockaspectratio,resizable,dialog";
const WINDOW_TYPE = "Toolkit:PictureInPicture";
const PIP_ENABLED_PREF = "media.videocontrols.picture-in-picture.enabled";
const TOGGLE_ENABLED_PREF =
Expand Down

0 comments on commit c79db32

Please sign in to comment.