Skip to content

Commit

Permalink
Backed out changeset 9e894095a614 (bug 1831601) for causing failures …
Browse files Browse the repository at this point in the history
…in browser_all_files_referenced.js CLOSED TREE
  • Loading branch information
nerli1 committed May 8, 2023
1 parent 427029f commit 488de20
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 26 deletions.
5 changes: 2 additions & 3 deletions browser/components/about/AboutRedirector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,10 @@ static const RedirEntry kRedirMap[] = {
nsIAboutModule::URI_CAN_LOAD_IN_PRIVILEGEDABOUT_PROCESS |
nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
nsIAboutModule::IS_SECURE_CHROME_UI},
{"firefoxview", "chrome://browser/content/firefoxview/firefoxview.html",
{"firefoxview", "chrome://browser/content/firefoxview.html",
nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::IS_SECURE_CHROME_UI |
nsIAboutModule::HIDE_FROM_ABOUTABOUT},
{"firefoxview-next",
"chrome://browser/content/firefoxview/firefoxview-next.html",
{"firefoxview-next", "chrome://browser/content/firefoxview-next.html",
nsIAboutModule::ALLOW_SCRIPT | nsIAboutModule::IS_SECURE_CHROME_UI |
nsIAboutModule::HIDE_FROM_ABOUTABOUT},
{"policies", "chrome://browser/content/policies/aboutPolicies.html",
Expand Down
12 changes: 6 additions & 6 deletions browser/components/firefoxview/firefoxview.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<link rel="localization" href="toolkit/branding/accounts.ftl"/>
<link rel="localization" href="toolkit/branding/brandings.ftl"/>
<link rel="stylesheet" href="chrome://global/skin/in-content/common.css">
<link rel="stylesheet" href="chrome://browser/content/firefoxview/firefoxview.css">
<script type="module" src="chrome://browser/content/firefoxview/tab-pickup-container.mjs"></script>
<script type="module" src="chrome://browser/content/firefoxview/firefoxview.mjs"></script>
<script type="module" src="chrome://browser/content/firefoxview/recently-closed-tabs.mjs"></script>
<script type="module" src="chrome://browser/content/firefoxview/tab-pickup-list.mjs"></script>
<link rel="stylesheet" href="chrome://browser/content/firefoxview.css">
<script type="module" src="chrome://browser/content/tab-pickup-container.mjs"></script>
<script type="module" src="chrome://browser/content/firefoxview.mjs"></script>
<script type="module" src="chrome://browser/content/recently-closed-tabs.mjs"></script>
<script type="module" src="chrome://browser/content/tab-pickup-list.mjs"></script>
<script src="chrome://browser/content/contentTheme.js"></script>
</head>

Expand Down Expand Up @@ -113,7 +113,7 @@ <h2 id="tabpickup-steps-view3-header" data-l10n-id="firefoxview-tabpickup-syncta
<ol hidden="true" class="synced-tabs-list"></ol>
</tab-pickup-list>
<div hidden id="synced-tabs-placeholder" class="placeholder-content">
<img id="tab-pickup-empty-image" src="chrome://browser/content/firefoxview/tab-pickup-empty.svg" role="presentation" alt=""/>
<img id="tab-pickup-empty-image" src="chrome://browser/content/tab-pickup-empty.svg" role="presentation" alt=""/>
<div class="placeholder-text">
<h4 data-l10n-id="firefoxview-synced-tabs-placeholder-header" class="placeholder-header"></h4>
<p data-l10n-id="firefoxview-synced-tabs-placeholder-body" class="placeholder-body"></p>
Expand Down
26 changes: 13 additions & 13 deletions browser/components/firefoxview/jar.mn
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

browser.jar:
content/browser/firefoxview/firefoxview.html (firefoxview.html)
content/browser/firefoxview/firefoxview-next.html (firefoxview-next.html)
content/browser/firefoxview/firefoxview.mjs (firefoxview.mjs)
content/browser/firefoxview/firefoxview.css (firefoxview.css)
content/browser/firefoxview/helpers.mjs (helpers.mjs)
content/browser/firefoxview/moz-tab-list.css (moz-tab-list.css)
content/browser/firefoxview/moz-tab-list.mjs (moz-tab-list.mjs)
content/browser/firefoxview/moz-tab-row.css (moz-tab-row.css)
content/browser/firefoxview/tab-pickup-container.mjs (tab-pickup-container.mjs)
content/browser/firefoxview/tab-pickup-list.mjs (tab-pickup-list.mjs)
content/browser/firefoxview/recently-closed-tabs.mjs (recently-closed-tabs.mjs)
content/browser/firefoxview/recently-closed-empty.svg (content/recently-closed-empty.svg)
content/browser/firefoxview/tab-pickup-empty.svg (content/tab-pickup-empty.svg)
content/browser/firefoxview.html
content/browser/firefoxview-next.html
content/browser/firefoxview.mjs
content/browser/firefoxview.css
content/browser/helpers.mjs
content/browser/moz-tab-list.css
content/browser/moz-tab-list.mjs
content/browser/moz-tab-row.css
content/browser/tab-pickup-container.mjs
content/browser/tab-pickup-list.mjs
content/browser/recently-closed-tabs.mjs
content/browser/callout-tab-pickup.svg (content/callout-tab-pickup.svg)
content/browser/callout-tab-pickup-dark.svg (content/callout-tab-pickup-dark.svg)
content/browser/cfr-lightning.svg (content/cfr-lightning.svg)
content/browser/cfr-lightning-dark.svg (content/cfr-lightning-dark.svg)
content/browser/recently-closed-empty.svg (content/recently-closed-empty.svg)
content/browser/tab-pickup-empty.svg (content/tab-pickup-empty.svg)
4 changes: 2 additions & 2 deletions browser/components/firefoxview/moz-tab-list.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export default class MozTabList extends MozLitElement {
// Use a relative URL in storybook to get faster reloads on style changes.
static stylesheetUrl = window.IS_STORYBOOK
? "./moz-tab-list.css"
: "chrome://browser/content/firefoxview/moz-tab-list.css";
: "chrome://browser/content/moz-tab-list.css";

render() {
this.tabItems = this.tabItems.slice(0, this.maxTabsLength);
Expand Down Expand Up @@ -311,7 +311,7 @@ export class MozTabRow extends MozLitElement {
// Use a relative URL in storybook to get faster reloads on style changes.
static stylesheetUrl = window.IS_STORYBOOK
? "./moz-tab-row.css"
: "chrome://browser/content/firefoxview/moz-tab-row.css";
: "chrome://browser/content/moz-tab-row.css";

dateFluentArgs(timestamp, dateTimeFormat) {
if (dateTimeFormat === "date" || dateTimeFormat === "dateTime") {
Expand Down
2 changes: 1 addition & 1 deletion browser/components/firefoxview/recently-closed-tabs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ class RecentlyClosedTabsList extends MozLitElement {
>
<img
id="recently-closed-empty-image"
src="chrome://browser/content/firefoxview/recently-closed-empty.svg"
src="chrome://browser/content/recently-closed-empty.svg"
role="presentation"
alt=""
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="localization" href="browser/places.ftl">
<link rel="stylesheet" href="chrome://mochikit/content/tests/SimpleTest/test.css"/>
<link rel="stylesheet" href="chrome://global/skin/in-content/common.css">
<script type="module" src="chrome://browser/content/firefoxview/moz-tab-list.mjs"></script>
<script type="module" src="chrome://browser/content/moz-tab-list.mjs"></script>
</head>
<body>
<style>
Expand Down

0 comments on commit 488de20

Please sign in to comment.