mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-23 00:47:31 +09:00
pt 1 in reviving the android build (copied from pm 28a1, wish me luck)
This commit is contained in:
parent
efa9662725
commit
d7788a6d6d
4249 changed files with 468189 additions and 0 deletions
15
mobile/android/components/extensions/test/mochitest/head.js
Normal file
15
mobile/android/components/extensions/test/mochitest/head.js
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
"use strict";
|
||||
|
||||
/* exported isPageActionShown clickPageAction */
|
||||
|
||||
const {classes: Cc, interfaces: Ci, utils: Cu} = Components;
|
||||
|
||||
Cu.import("resource://gre/modules/PageActions.jsm");
|
||||
|
||||
function isPageActionShown(uuid) {
|
||||
return PageActions.isShown(uuid);
|
||||
}
|
||||
|
||||
function clickPageAction(uuid) {
|
||||
PageActions.synthesizeClick(uuid);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue