Bug 1239119 - NewTab webchannel messages for thumbnails. Follow-up: Move semicolon from end of if block to end of function assigned to document.onreadystatechange (discovered by eslint). r=eslint-fix
authorSebastian Hengst <archaeopteryx@coole-files.de>
Fri, 01 Apr 2016 20:17:23 +0200
changeset 291408 7600e2f05b9709ed88f150def0f4df259fc95e54
parent 291407 ef48e50010010bd30ea94ce07116d82b12afebd7
child 291409 8d4ce12bda44c0d57bd52b1192e138680d1d6ba6
push id19656
push usergwagner@mozilla.com
push dateMon, 04 Apr 2016 13:43:23 +0000
treeherderb2g-inbound@e99061fde28a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerseslint-fix
bugs1239119
milestone48.0a1
Bug 1239119 - NewTab webchannel messages for thumbnails. Follow-up: Move semicolon from end of if block to end of function assigned to document.onreadystatechange (discovered by eslint). r=eslint-fix
browser/components/newtab/tests/browser/newtabmessages_preview.html
--- a/browser/components/newtab/tests/browser/newtabmessages_preview.html
+++ b/browser/components/newtab/tests/browser/newtabmessages_preview.html
@@ -25,13 +25,13 @@
         if (document.readyState === "complete") {
           let msg = new window.CustomEvent("WebChannelMessageToChrome", {
             detail: {
               id: "newtab",
               message: JSON.stringify({type: "REQUEST_THUMB", data: thumbURL}),
             }
           });
           window.dispatchEvent(msg);
-        };
-      }
+        }
+      };
     </script>
   </body>
 </html>