mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 23:37:33 +09:00
Fixed the missing Cu, Cr, and Services globals in the PiP window
This commit is contained in:
parent
a77cc8ae29
commit
2ebf29a6aa
1 changed files with 4 additions and 0 deletions
|
|
@ -3,6 +3,10 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
"use strict";
|
||||
|
||||
// The browser XBL bindings resolve these names in their owning window.
|
||||
const {utils: Cu, results: Cr} = Components;
|
||||
Cu.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
var Player = {
|
||||
browser: null,
|
||||
source: null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue