diff options
Diffstat (limited to 'browser/components/newtab/prerendered')
3 files changed, 91 insertions, 0 deletions
diff --git a/browser/components/newtab/prerendered/activity-stream-debug.html b/browser/components/newtab/prerendered/activity-stream-debug.html new file mode 100644 index 0000000000..a54f489c3e --- /dev/null +++ b/browser/components/newtab/prerendered/activity-stream-debug.html @@ -0,0 +1,34 @@ +<!-- This Source Code Form is subject to the terms of the Mozilla Public + - License, v. 2.0. If a copy of the MPL was not distributed with this file, + - You can obtain one at http://mozilla.org/MPL/2.0/. --> + +<!doctype html> +<html> + <head> + <meta charset="utf-8"> + <meta http-equiv="Content-Security-Policy" content="default-src 'none'; object-src 'none'; script-src resource: chrome:; connect-src https:; img-src https: data: blob: chrome:; style-src 'unsafe-inline';"> + <meta name="color-scheme" content="light dark"> + <title data-l10n-id="newtab-page-title"></title> + <link rel="icon" type="image/png" href="chrome://branding/content/icon32.png"/> + <link rel="localization" href="branding/brand.ftl" /> + <link rel="localization" href="browser/branding/brandings.ftl" /> + <link rel="localization" href="browser/newtab/newtab.ftl" /> + <link rel="stylesheet" href="chrome://browser/content/contentSearchUI.css" /> + <link rel="stylesheet" href="chrome://activity-stream/content/css/activity-stream.css" /> + </head> + <body class="activity-stream"> + <div id="root"></div> + <div id="footer-asrouter-container" role="presentation"></div> + <script src="chrome://browser/content/contentSearchUI.js"></script> + <script src="chrome://browser/content/contentSearchHandoffUI.js"></script> + <script src="chrome://browser/content/contentTheme.js"></script> + <script src="resource://activity-stream/vendor/react-dev.js"></script> + <script src="resource://activity-stream/vendor/react-dom-dev.js"></script> + <script src="resource://activity-stream/vendor/prop-types.js"></script> + <script src="resource://activity-stream/vendor/redux.js"></script> + <script src="resource://activity-stream/vendor/react-redux.js"></script> + <script src="resource://activity-stream/vendor/react-transition-group.js"></script> + <script src="resource://activity-stream/data/content/activity-stream.bundle.js"></script> + <script src="resource://activity-stream/data/content/newtab-render.js"></script> + </body> +</html> diff --git a/browser/components/newtab/prerendered/activity-stream-noscripts.html b/browser/components/newtab/prerendered/activity-stream-noscripts.html new file mode 100644 index 0000000000..99cfff7822 --- /dev/null +++ b/browser/components/newtab/prerendered/activity-stream-noscripts.html @@ -0,0 +1,23 @@ +<!-- This Source Code Form is subject to the terms of the Mozilla Public + - License, v. 2.0. If a copy of the MPL was not distributed with this file, + - You can obtain one at http://mozilla.org/MPL/2.0/. --> + +<!doctype html> +<html> + <head> + <meta charset="utf-8"> + <meta http-equiv="Content-Security-Policy" content="default-src 'none'; object-src 'none'; script-src resource: chrome:; connect-src https:; img-src https: data: blob: chrome:; style-src 'unsafe-inline';"> + <meta name="color-scheme" content="light dark"> + <title data-l10n-id="newtab-page-title"></title> + <link rel="icon" type="image/png" href="chrome://branding/content/icon32.png"/> + <link rel="localization" href="branding/brand.ftl" /> + <link rel="localization" href="browser/branding/brandings.ftl" /> + <link rel="localization" href="browser/newtab/newtab.ftl" /> + <link rel="stylesheet" href="chrome://browser/content/contentSearchUI.css" /> + <link rel="stylesheet" href="chrome://activity-stream/content/css/activity-stream.css" /> + </head> + <body class="activity-stream"> + <div id="root"></div> + <div id="footer-asrouter-container" role="presentation"></div> + </body> +</html> diff --git a/browser/components/newtab/prerendered/activity-stream.html b/browser/components/newtab/prerendered/activity-stream.html new file mode 100644 index 0000000000..d4abea25c2 --- /dev/null +++ b/browser/components/newtab/prerendered/activity-stream.html @@ -0,0 +1,34 @@ +<!-- This Source Code Form is subject to the terms of the Mozilla Public + - License, v. 2.0. If a copy of the MPL was not distributed with this file, + - You can obtain one at http://mozilla.org/MPL/2.0/. --> + +<!doctype html> +<html> + <head> + <meta charset="utf-8"> + <meta http-equiv="Content-Security-Policy" content="default-src 'none'; object-src 'none'; script-src resource: chrome:; connect-src https:; img-src https: data: blob: chrome:; style-src 'unsafe-inline';"> + <meta name="color-scheme" content="light dark"> + <title data-l10n-id="newtab-page-title"></title> + <link rel="icon" type="image/png" href="chrome://branding/content/icon32.png"/> + <link rel="localization" href="branding/brand.ftl" /> + <link rel="localization" href="browser/branding/brandings.ftl" /> + <link rel="localization" href="browser/newtab/newtab.ftl" /> + <link rel="stylesheet" href="chrome://browser/content/contentSearchUI.css" /> + <link rel="stylesheet" href="chrome://activity-stream/content/css/activity-stream.css" /> + </head> + <body class="activity-stream"> + <div id="root"></div> + <div id="footer-asrouter-container" role="presentation"></div> + <script src="chrome://browser/content/contentSearchUI.js"></script> + <script src="chrome://browser/content/contentSearchHandoffUI.js"></script> + <script src="chrome://browser/content/contentTheme.js"></script> + <script src="resource://activity-stream/vendor/react.js"></script> + <script src="resource://activity-stream/vendor/react-dom.js"></script> + <script src="resource://activity-stream/vendor/prop-types.js"></script> + <script src="resource://activity-stream/vendor/redux.js"></script> + <script src="resource://activity-stream/vendor/react-redux.js"></script> + <script src="resource://activity-stream/vendor/react-transition-group.js"></script> + <script src="resource://activity-stream/data/content/activity-stream.bundle.js"></script> + <script src="resource://activity-stream/data/content/newtab-render.js"></script> + </body> +</html> |