mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 11:45:37 +00:00
ce20fb6291
MozReview-Commit-ID: 3CKiDtpQePU
16 lines
546 B
JavaScript
16 lines
546 B
JavaScript
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
|
|
/* 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/. */
|
|
|
|
ChromeUtils.import("resource://gre/modules/GeckoViewUtils.jsm");
|
|
|
|
GeckoViewUtils.addLazyEventListener(this, ["click", "contextmenu"], {
|
|
handler: _ =>
|
|
Cc["@mozilla.org/prompter;1"].getService().wrappedJSObject,
|
|
options: {
|
|
capture: false,
|
|
mozSystemGroup: true,
|
|
},
|
|
});
|