summaryrefslogtreecommitdiffstats
path: root/mobile/android/geckoview/src/androidTest/assets/web_extensions/actions/test-open-popup-page-action.js
blob: f16d96333f3d9ee97ff44ad188bc2df6d6d2713b (plain)
1
2
3
4
5
6
7
window.addEventListener("DOMContentLoaded", init);

function init() {
  document.body.addEventListener("click", event => {
    browser.pageAction.openPopup();
  });
}