There are three ways to use an overlay 1) explicitly, 2) dynamically, and 3) runtime dynamic.
Loaded using <?xul-overlay
in xul file.
diff --git a/test/other/metadce/test_metadce_files_wasmfs.size b/test/other/metadce/test_metadce_files_wasmfs.size | |
index 7e63637a7..e8a794252 100644 | |
--- a/test/other/metadce/test_metadce_files_wasmfs.size | |
+++ b/test/other/metadce/test_metadce_files_wasmfs.size | |
@@ -1 +1 @@ | |
-51626 | |
+51634 | |
diff --git a/test/other/metadce/test_metadce_hello_dylink.size b/test/other/metadce/test_metadce_hello_dylink.size | |
index 5c3d25d34..03aa96dc2 100644 | |
--- a/test/other/metadce/test_metadce_hello_dylink.size |
diff --git a/test/other/metadce/test_metadce_cxx_ctors1.jssize b/test/other/metadce/test_metadce_cxx_ctors1.jssize | |
index d4c636143..c0ec1b6fd 100644 | |
--- a/test/other/metadce/test_metadce_cxx_ctors1.jssize | |
+++ b/test/other/metadce/test_metadce_cxx_ctors1.jssize | |
@@ -1 +1 @@ | |
-26008 | |
+26031 | |
diff --git a/test/other/metadce/test_metadce_cxx_ctors2.jssize b/test/other/metadce/test_metadce_cxx_ctors2.jssize | |
index af118f35f..3a2c12952 100644 | |
--- a/test/other/metadce/test_metadce_cxx_ctors2.jssize |
I hereby claim:
To claim this, I am signing this object:
const domContentLoadedPromise = new Promise(resolve => { | |
window.addEventListener("DOMContentLoaded", () => { | |
dump(">>> dialog - DOMContentLoaded event" + window.document.documentURI + "\n"); | |
resolve(); | |
}, { capture: true, once: true }); | |
}); | |
domContentLoadedPromise.then(() => { | |
dump(">>> dialog - Promise for domContentLoadedPromise resolved\n"); | |
}); |
let fs = require("fs"); | |
var { | |
Parser | |
} = require("saxen"); | |
function structure(filename) { | |
let contents = fs.readFileSync(filename, "utf8"); | |
let parser = new Parser(); | |
let indent = 0; | |
let out = ""; |
sudo sysctl kern.maxvnodes=$((512*1024)) |
function toFile(url) { var chromeRegistry = Cc["@mozilla.org/chrome/chrome-registry;1"].getService(Ci.nsIChromeRegistry); return chromeRegistry.convertChromeURL(Services.io.newURI(url)).QueryInterface(Ci.nsIFileURL).file.path; } |
Say there are two overlays placesOverlay.xul and macBrowserOverlay.xul and a master document aboutDialog.xul. The relationship is: aboutDialog.xul includes macBrowserOverlay.xul and macBrowserOverlay.xul includes placesOverlay.xul.
placesOverlay.xul
<commandset id="zzz">
<command id="zzzPlacesOverlay"/>
</commandset>