Skip to content

Commit

Permalink
calendar: Re-add missing URL constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
kewisch committed Aug 19, 2024
1 parent 28b4eaa commit d7b122c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ module.exports = {
global: true,
Services: true,
},
rules: {
"mozilla/reject-importGlobalProperties": "off"
}
}
]
};
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ var { ExtensionUtils: { ExtensionError } } = ChromeUtils.importESModule("resourc

var { ExtensionSupport } = ChromeUtils.importESModule("resource:///modules/ExtensionSupport.sys.mjs");

Cu.importGlobalProperties(["URL"]);

this.calendarItemDetails = class extends ExtensionAPI {
onLoadCalendarItemPanel(window, origLoadCalendarItemPanel, iframeId, url) {
const { setupE10sBrowser } = ChromeUtils.importESModule("resource://tb-experiments-calendar/experiments/calendar/ext-calendar-utils.sys.mjs");
Expand Down

0 comments on commit d7b122c

Please sign in to comment.