window-size draft
authorGeoff Lankow <geoff@darktrojan.net>
Mon, 21 Oct 2019 15:59:53 +1300
changeset 80387 0c79d985a4df84a6e0d320356a2732c517423c4b
parent 80386 32e57b35f3f0e1c77f7736851e8f4e7377263a95
push id9583
push usergeoff@darktrojan.net
push dateMon, 21 Oct 2019 03:01:29 +0000
treeherdertry-comm-central@0c79d985a4df [default view] [failures only]
window-size
common/src/Overlays.jsm
try_task_config.json
--- a/common/src/Overlays.jsm
+++ b/common/src/Overlays.jsm
@@ -208,17 +208,22 @@ class Overlays {
       let element = this.document.getElementById(id);
       if (element) {
         let attrNames = xulStore.getAttributeEnumerator(this.location, id);
         while (attrNames.hasMore()) {
           let attrName = attrNames.getNext();
           let attrValue = xulStore.getValue(this.location, id, attrName);
           if (attrName == "selectedIndex" && element.localName == "deck") {
             this._decksToResolve.set(element, attrValue);
-          } else {
+          } else if (
+            element != this.document.documentElement ||
+            !["height", "screenX", "screenY", "sizemode", "width"].includes(
+              attrName
+            )
+          ) {
             element.setAttribute(attrName, attrValue);
           }
         }
       }
     }
 
     // We've resolved all the forward references we can, we can now go ahead and load the scripts
     let deferredLoad = [];
new file mode 100644
--- /dev/null
+++ b/try_task_config.json
@@ -0,0 +1,25 @@
+{
+  "version": 1,
+  "tasks": [
+    "test-linux64-shippable/opt-mochitest-thunderbird",
+    "test-linux64-shippable/opt-mozmill-1",
+    "test-linux64-shippable/opt-mozmill-2",
+    "test-linux64-shippable/opt-mozmill-3",
+    "test-linux64-shippable/opt-mozmill-4",
+    "test-macosx1014-64-shippable/opt-mochitest-thunderbird",
+    "test-macosx1014-64-shippable/opt-mozmill-1",
+    "test-macosx1014-64-shippable/opt-mozmill-2",
+    "test-macosx1014-64-shippable/opt-mozmill-3",
+    "test-macosx1014-64-shippable/opt-mozmill-4",
+    "test-windows10-64-shippable/opt-mochitest-thunderbird",
+    "test-windows10-64-shippable/opt-mozmill-1",
+    "test-windows10-64-shippable/opt-mozmill-2",
+    "test-windows10-64-shippable/opt-mozmill-3",
+    "test-windows10-64-shippable/opt-mozmill-4"
+  ],
+  "templates": {
+    "artifact": {
+      "enabled": "1"
+    }
+  }
+}