Skip to content

Commit

Permalink
✨ Allow extension tests
Browse files Browse the repository at this point in the history
  • Loading branch information
trickypr committed Feb 11, 2024
1 parent 4af5380 commit b1819df
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/toolkit/components/extensions/child/ext-test-js.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/toolkit/components/extensions/child/ext-test.js b/toolkit/components/extensions/child/ext-test.js
index a4178b63ff30a8956cfa71fb9e3c3bda93e13d33..b2230e32fe99abcb49e29df72b71dd610695ff42 100644
--- a/toolkit/components/extensions/child/ext-test.js
+++ b/toolkit/components/extensions/child/ext-test.js
@@ -188,10 +188,6 @@ this.test = class extends ExtensionAPI {
}
}

- if (!Cu.isInAutomation && !isXpcshell) {
- return { test: {} };
- }
-
return {
test: {
withHandlingUserInput(callback) {

0 comments on commit b1819df

Please sign in to comment.