mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-11 17:57:32 +09:00
Move WebExtensions enabled Add-ons Manager
This commit is contained in:
parent
d7d16e7fbb
commit
358cd0404a
1100 changed files with 133 additions and 106 deletions
|
|
@ -1,17 +0,0 @@
|
|||
// ----------------------------------------------------------------------------
|
||||
// Test whether setting a new property in InstallTrigger then persists to other
|
||||
// page loads
|
||||
add_task(function* test() {
|
||||
yield BrowserTestUtils.withNewTab({ gBrowser, url: TESTROOT + "enabled.html" }, function* (browser) {
|
||||
yield ContentTask.spawn(browser, null, () => {
|
||||
content.wrappedJSObject.InstallTrigger.enabled.k = function() { };
|
||||
});
|
||||
|
||||
BrowserTestUtils.loadURI(browser, TESTROOT2 + "enabled.html");
|
||||
yield BrowserTestUtils.browserLoaded(browser);
|
||||
yield ContentTask.spawn(browser, null, () => {
|
||||
is(content.wrappedJSObject.InstallTrigger.enabled.k, undefined, "Property should not be defined");
|
||||
});
|
||||
});
|
||||
});
|
||||
// ----------------------------------------------------------------------------
|
||||
Loading…
Add table
Add a link
Reference in a new issue