browser/extensions/activity-stream/prerendered/locales/ach/activity-stream.html
author Ed Lee <edilee@mozilla.com>
Thu, 07 Dec 2017 14:23:56 -0800
changeset 448210 75910829e8902445ec0e5e3a6639a0d6afa51434
parent 440938 def95432b0a17a1b29bef1e6aea9305d69572fb9
child 450393 aaf6de934ea64ec57f7ac78945563d058b9e4603
permissions -rw-r--r--
Bug 1418130 - Fix favicon link, default tippytop and bug fixes to Activity Stream. r=k88hudson MozReview-Commit-ID: 28PlKl5fQzl

<!doctype html>
<html lang="ach" dir="ltr">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="Content-Security-Policy-Report-Only" content="script-src 'unsafe-inline'; img-src http: https: data: blob:; style-src 'unsafe-inline'; child-src 'none'; object-src 'none'; report-uri https://tiles.services.mozilla.com/v4/links/activity-stream/csp">
    <link rel="stylesheet" href="chrome://browser/content/contentSearchUI.css" />
    <link rel="stylesheet" href="resource://activity-stream/css/activity-stream.css" />
  </head>
  <body class="activity-stream">
    <div id="root"></div>
    <div id="snippets-container">
      <div id="snippets"></div>
    </div>
    <script>
// Don't directly load the following scripts as part of html to let the page
// finish loading to render the content sooner.
for (const src of [
  "chrome://browser/content/contentSearchUI.js",
  "resource://activity-stream/vendor/react.js",
  "resource://activity-stream/vendor/react-dom.js",
  "resource://activity-stream/vendor/prop-types.js",
  "resource://activity-stream/vendor/react-intl.js",
  "resource://activity-stream/vendor/redux.js",
  "resource://activity-stream/vendor/react-redux.js",
  "resource://activity-stream/prerendered/ach/activity-stream-strings.js",
  "resource://activity-stream/data/content/activity-stream.bundle.js"
]) {
  // These dynamically inserted scripts by default are async, but we need them
  // to load in the desired order (i.e., bundle last).
  const script = document.body.appendChild(document.createElement("script"));
  script.async = false;
  script.src = src;
}
    </script>
  </body>
</html>