mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
Bug 1644863 - fix trailing whitespace in browser/toolkit/devtools/mobile frontend code files, r=mossop,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D79201
This commit is contained in:
parent
67234feea3
commit
d523471eac
@ -1,29 +1,29 @@
|
|||||||
<!DOCTYPE HTML>
|
<!DOCTYPE HTML>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Subtest for browser context menu</title>
|
<title>Subtest for browser context menu</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
Browser context menu subtest.
|
Browser context menu subtest.
|
||||||
<input id="input_text">
|
<input id="input_text">
|
||||||
<input id="input_spellcheck_no_value">
|
<input id="input_spellcheck_no_value">
|
||||||
<input id="input_spellcheck_incorrect" spellcheck="true" value="prodkjfgigrty">
|
<input id="input_spellcheck_incorrect" spellcheck="true" value="prodkjfgigrty">
|
||||||
<input id="input_spellcheck_correct" spellcheck="true" value="foo">
|
<input id="input_spellcheck_correct" spellcheck="true" value="foo">
|
||||||
<input id="input_disabled" disabled="true">
|
<input id="input_disabled" disabled="true">
|
||||||
<input id="input_password">
|
<input id="input_password">
|
||||||
<input id="input_email" type="email">
|
<input id="input_email" type="email">
|
||||||
<input id="input_tel" type="tel">
|
<input id="input_tel" type="tel">
|
||||||
<input id="input_url" type="url">
|
<input id="input_url" type="url">
|
||||||
<input id="input_number" type="number">
|
<input id="input_number" type="number">
|
||||||
<input id="input_date" type="date">
|
<input id="input_date" type="date">
|
||||||
<input id="input_time" type="time">
|
<input id="input_time" type="time">
|
||||||
<input id="input_color" type="color">
|
<input id="input_color" type="color">
|
||||||
<input id="input_range" type="range">
|
<input id="input_range" type="range">
|
||||||
<input id="input_search" type="search">
|
<input id="input_search" type="search">
|
||||||
<input id="input_datetime" type="datetime">
|
<input id="input_datetime" type="datetime">
|
||||||
<input id="input_month" type="month">
|
<input id="input_month" type="month">
|
||||||
<input id="input_week" type="week">
|
<input id="input_week" type="week">
|
||||||
<input id="input_datetime-local" type="datetime-local">
|
<input id="input_datetime-local" type="datetime-local">
|
||||||
<input id="input_readonly" readonly="true">
|
<input id="input_readonly" readonly="true">
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
<!DOCTYPE HTML>
|
<!DOCTYPE HTML>
|
||||||
<html>
|
<html>
|
||||||
<!--
|
<!--
|
||||||
https://bugzilla.mozilla.org/show_bug.cgi?id=575561
|
https://bugzilla.mozilla.org/show_bug.cgi?id=575561
|
||||||
-->
|
-->
|
||||||
<head>
|
<head>
|
||||||
<title>Test for links in app tabs</title>
|
<title>Test for links in app tabs</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<a href="http://example.com/browser/browser/base/content/test/general/dummy_page.html">same domain</a>
|
<a href="http://example.com/browser/browser/base/content/test/general/dummy_page.html">same domain</a>
|
||||||
<a href="http://test1.example.com/browser/browser/base/content/test/general/dummy_page.html">same domain (different subdomain)</a>
|
<a href="http://test1.example.com/browser/browser/base/content/test/general/dummy_page.html">same domain (different subdomain)</a>
|
||||||
<a href="http://example.org/browser/browser/base/content/test/general/dummy_page.html">different domain</a>
|
<a href="http://example.org/browser/browser/base/content/test/general/dummy_page.html">different domain</a>
|
||||||
<a href="http://example.org/browser/browser/base/content/test/general/dummy_page.html" target="foo">different domain (with target)</a>
|
<a href="http://example.org/browser/browser/base/content/test/general/dummy_page.html" target="foo">different domain (with target)</a>
|
||||||
<a href="http://www.example.com/browser/browser/base/content/test/general/dummy_page.html">same domain (www prefix)</a>
|
<a href="http://www.example.com/browser/browser/base/content/test/general/dummy_page.html">same domain (www prefix)</a>
|
||||||
<a href="data:text/html,<!DOCTYPE html><html><body>Another Page</body></html>">data: URI</a>
|
<a href="data:text/html,<!DOCTYPE html><html><body>Another Page</body></html>">data: URI</a>
|
||||||
<iframe src="app_subframe_bug575561.html"></iframe>
|
<iframe src="app_subframe_bug575561.html"></iframe>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
<body>
|
<body>
|
||||||
<a href="#" onclick="window.open('close_beforeunload.html', '_blank')">Open second tab</a>
|
<a href="#" onclick="window.open('close_beforeunload.html', '_blank')">Open second tab</a>
|
||||||
</body>
|
</body>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<embed id="test" style="width: 100px; height: 100px" type="application/x-test">
|
<embed id="test" style="width: 100px; height: 100px" type="application/x-test">
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
<script src="http://127.0.0.1:8/test.js"></script>
|
<script src="http://127.0.0.1:8/test.js"></script>
|
||||||
<script src="http://[::1]:8/test.js"></script>
|
<script src="http://[::1]:8/test.js"></script>
|
||||||
<script src="http://localhost:8/test.js"></script>
|
<script src="http://localhost:8/test.js"></script>
|
||||||
|
|
||||||
<link href="http://127.0.0.1:8/test.css" rel="stylesheet"></link>
|
<link href="http://127.0.0.1:8/test.css" rel="stylesheet"></link>
|
||||||
<link href="http://[::1]:8/test.css" rel="stylesheet"></link>
|
<link href="http://[::1]:8/test.css" rel="stylesheet"></link>
|
||||||
<link href="http://localhost:8/test.css" rel="stylesheet"></link>
|
<link href="http://localhost:8/test.css" rel="stylesheet"></link>
|
||||||
|
@ -123,7 +123,7 @@
|
|||||||
|
|
||||||
<!-- Connection is Not Secure -->
|
<!-- Connection is Not Secure -->
|
||||||
<description when-connection="not-secure cert-error-page"
|
<description when-connection="not-secure cert-error-page"
|
||||||
data-l10n-id="identity-description-insecure"></description>
|
data-l10n-id="identity-description-insecure"></description>
|
||||||
|
|
||||||
<!-- Weak Cipher -->
|
<!-- Weak Cipher -->
|
||||||
<description when-ciphers="weak" data-l10n-id="identity-description-weak-cipher-intro"></description>
|
<description when-ciphers="weak" data-l10n-id="identity-description-weak-cipher-intro"></description>
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="iso-8859-1">
|
<meta charset="iso-8859-1">
|
||||||
<title>Test page</title>
|
<title>Test page</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
This is a test page
|
This is a test page
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
<radiogroup id="importSourceGroup" align="start">
|
<radiogroup id="importSourceGroup" align="start">
|
||||||
# NB: if you add items to this list, please also assign them a unique migrator ID in MigrationUtils.jsm
|
# NB: if you add items to this list, please also assign them a unique migrator ID in MigrationUtils.jsm
|
||||||
<radio id="firefox" data-l10n-id="import-from-firefox"/>
|
<radio id="firefox" data-l10n-id="import-from-firefox"/>
|
||||||
#ifdef XP_WIN
|
#ifdef XP_WIN
|
||||||
<radio id="chromium-edge" data-l10n-id="import-from-edge"/>
|
<radio id="chromium-edge" data-l10n-id="import-from-edge"/>
|
||||||
<radio id="edge" data-l10n-id="import-from-edge-legacy" />
|
<radio id="edge" data-l10n-id="import-from-edge-legacy" />
|
||||||
<radio id="chromium-edge-beta" data-l10n-id="import-from-edge-beta"/>
|
<radio id="chromium-edge-beta" data-l10n-id="import-from-edge-beta"/>
|
||||||
|
@ -103,7 +103,7 @@ body {
|
|||||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Ubuntu', 'Helvetica Neue', sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Ubuntu', 'Helvetica Neue', sans-serif;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
position: relative;
|
position: relative;
|
||||||
/* these two rules fix test failures in
|
/* these two rules fix test failures in
|
||||||
"browser_ext_themes_ntp_colors" & "browser_ext_themes_ntp_colors_perwindow".*/
|
"browser_ext_themes_ntp_colors" & "browser_ext_themes_ntp_colors_perwindow".*/
|
||||||
color: var(--newtab-text-primary-color);
|
color: var(--newtab-text-primary-color);
|
||||||
background-color: var(--newtab-background-color); }
|
background-color: var(--newtab-background-color); }
|
||||||
|
@ -307,8 +307,8 @@
|
|||||||
</hbox>
|
</hbox>
|
||||||
</hbox>
|
</hbox>
|
||||||
|
|
||||||
<checkbox id="useSystemLocale" hidden="true"
|
<checkbox id="useSystemLocale" hidden="true"
|
||||||
data-l10n-id="use-system-locale"
|
data-l10n-id="use-system-locale"
|
||||||
data-l10n-args='{"localeName": "und"}'
|
data-l10n-args='{"localeName": "und"}'
|
||||||
preference="intl.regional_prefs.use_os_locales"/>
|
preference="intl.regional_prefs.use_os_locales"/>
|
||||||
|
|
||||||
|
@ -923,7 +923,7 @@ label[for="tab-cryptominer"]:hover ~ #highlight-hover {
|
|||||||
.monitor-partial-breaches-link-wrapper,
|
.monitor-partial-breaches-link-wrapper,
|
||||||
.monitor-breaches-link-wrapper {
|
.monitor-breaches-link-wrapper {
|
||||||
-moz-appearance: button;
|
-moz-appearance: button;
|
||||||
background-color: var(--in-content-primary-button-background);
|
background-color: var(--in-content-primary-button-background);
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -173,7 +173,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="monitor-block breaches">
|
<div class="monitor-block breaches">
|
||||||
<a target="_blank" id="monitor-known-breaches-link" data-l10n-id="monitor-breaches-tooltip">
|
<a target="_blank" id="monitor-known-breaches-link" data-l10n-id="monitor-breaches-tooltip">
|
||||||
<span class="monitor-stat">
|
<span class="monitor-stat">
|
||||||
<img class="icon-med" src="chrome://browser/skin/fxa/avatar.svg"/>
|
<img class="icon-med" src="chrome://browser/skin/fxa/avatar.svg"/>
|
||||||
<span data-type="known-breaches">
|
<span data-type="known-breaches">
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
<a href="http://mozilla.org">A partial <span id="partialLink">link selection</span></a>
|
<a href="http://mozilla.org">A partial <span id="partialLink">link selection</span></a>
|
||||||
<br/>
|
<br/>
|
||||||
<span id="surrogatePair">
|
<span id="surrogatePair">
|
||||||
This character🔥 shouldn't be truncated.
|
This character🔥 shouldn't be truncated.
|
||||||
</span>
|
</span>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
</body>
|
</body>
|
||||||
<script>
|
<script>
|
||||||
let video = document.getElementById("test-video");
|
let video = document.getElementById("test-video");
|
||||||
|
|
||||||
function toggleFullScreen() {
|
function toggleFullScreen() {
|
||||||
if (!document.fullscreenElement) {
|
if (!document.fullscreenElement) {
|
||||||
document.documentElement.requestFullscreen();
|
document.documentElement.requestFullscreen();
|
||||||
|
@ -161,7 +161,7 @@ add_task(async function check_fields_after_form_autofill() {
|
|||||||
|
|
||||||
synthesizeKey("KEY_ArrowDown");
|
synthesizeKey("KEY_ArrowDown");
|
||||||
// The popup doesn't auto-show on focus because the field isn't empty
|
// The popup doesn't auto-show on focus because the field isn't empty
|
||||||
await expectPopup();
|
await expectPopup();
|
||||||
checkMenuEntries(MOCK_STORAGE.slice(1).map(patchRecordCCNumber).map(cc => JSON.stringify({
|
checkMenuEntries(MOCK_STORAGE.slice(1).map(patchRecordCCNumber).map(cc => JSON.stringify({
|
||||||
primary: cc["cc-exp-year"],
|
primary: cc["cc-exp-year"],
|
||||||
secondary: cc.ccNumberFmt.affix + cc.ccNumberFmt.label,
|
secondary: cc.ccNumberFmt.affix + cc.ccNumberFmt.label,
|
||||||
|
@ -35,7 +35,7 @@ See https://github.com/adobe-type-tools/cmap-resources
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script src="viewer.js"></script>
|
<script src="viewer.js"></script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ body {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
margin-block: 15px;
|
margin-block: 15px;
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
}
|
}
|
||||||
@ -33,11 +33,11 @@ body {
|
|||||||
|
|
||||||
border-radius: 22px;
|
border-radius: 22px;
|
||||||
border-width: 2px;
|
border-width: 2px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
|
|
||||||
background-size: 22px;
|
background-size: 22px;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
|
|
||||||
-moz-context-properties: fill;
|
-moz-context-properties: fill;
|
||||||
@ -96,22 +96,22 @@ body {
|
|||||||
|
|
||||||
.urlbar_secure_icon {
|
.urlbar_secure_icon {
|
||||||
-moz-context-properties: fill;
|
-moz-context-properties: fill;
|
||||||
|
|
||||||
height: 32px;
|
height: 32px;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
|
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.urlbar_input {
|
.urlbar_input {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
|
||||||
border: none;
|
border: none;
|
||||||
|
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
font-family: 'Open Sans', sans-serif;
|
font-family: 'Open Sans', sans-serif;
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
<button id="eRefresh" class="icon_container icon_refresh icon_disabled_hide"></button>
|
<button id="eRefresh" class="icon_container icon_refresh icon_disabled_hide"></button>
|
||||||
<button id="eStop" class="icon_container icon_stop icon_disabled_hide" disabled></button>
|
<button id="eStop" class="icon_container icon_stop icon_disabled_hide" disabled></button>
|
||||||
<button id="eHome" class="icon_container icon_home" ></button>
|
<button id="eHome" class="icon_container icon_home" ></button>
|
||||||
|
|
||||||
<div class="urlbar_container urlbar_container_normal" id="eUrlBarContainer">
|
<div class="urlbar_container urlbar_container_normal" id="eUrlBarContainer">
|
||||||
<img class="urlbar_secure_icon" id="eUrlSecure" src="assets/icon-secure.svg" alt="Secure"/>
|
<img class="urlbar_secure_icon" id="eUrlSecure" src="assets/icon-secure.svg" alt="Secure"/>
|
||||||
<input class="urlbar_input" id="eUrlInput" type="text" value="" />
|
<input class="urlbar_input" id="eUrlInput" type="text" value="" />
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
--num14_alpha: #59667780;
|
--num14_alpha: #59667780;
|
||||||
--num16: #E7EAF0;
|
--num16: #E7EAF0;
|
||||||
--num19: #FFFFFF;
|
--num19: #FFFFFF;
|
||||||
|
|
||||||
--secure: #f7ce4d;
|
--secure: #f7ce4d;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -36,19 +36,19 @@ body {
|
|||||||
fill: var(--num06);
|
fill: var(--num06);
|
||||||
}
|
}
|
||||||
.icon_container:hover {
|
.icon_container:hover {
|
||||||
background-color: var(--num01);
|
background-color: var(--num01);
|
||||||
fill: var(--num06);
|
fill: var(--num06);
|
||||||
}
|
}
|
||||||
.icon_container:active {
|
.icon_container:active {
|
||||||
background-color: var(--num04);
|
background-color: var(--num04);
|
||||||
fill: var(--num06);
|
fill: var(--num06);
|
||||||
}
|
}
|
||||||
.icon_container:disabled {
|
.icon_container:disabled {
|
||||||
background-color: var(--num16);
|
background-color: var(--num16);
|
||||||
fill: var(--num14);
|
fill: var(--num14);
|
||||||
}
|
}
|
||||||
|
|
||||||
.urlbar_container {
|
.urlbar_container {
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
background-color: var(--num02);
|
background-color: var(--num02);
|
||||||
}
|
}
|
||||||
@ -64,7 +64,7 @@ body {
|
|||||||
fill: var(--secure);
|
fill: var(--secure);
|
||||||
}
|
}
|
||||||
|
|
||||||
.urlbar_input {
|
.urlbar_input {
|
||||||
color: var(--num06);
|
color: var(--num06);
|
||||||
}
|
}
|
||||||
.urlbar_input::selection {
|
.urlbar_input::selection {
|
||||||
|
@ -116,7 +116,7 @@ body {
|
|||||||
.setting_name {
|
.setting_name {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: var(--num13);
|
color: var(--num13);
|
||||||
|
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
<div class="version_text" id="eFxrVersion"></div>
|
<div class="version_text" id="eFxrVersion"></div>
|
||||||
<div class="version_text" id="eFxrDate"></div>
|
<div class="version_text" id="eFxrDate"></div>
|
||||||
<div class="version_text" id="eFxVersion"></div>
|
<div class="version_text" id="eFxVersion"></div>
|
||||||
</div>
|
</div>
|
||||||
<button id="eReportIssue" class="plain_button button_report_issue">
|
<button id="eReportIssue" class="plain_button button_report_issue">
|
||||||
<img class="button_report_issue_icon" src="assets/icon-reportissue.svg" />
|
<img class="button_report_issue_icon" src="assets/icon-reportissue.svg" />
|
||||||
<span class="button_report_text">Report an issue</span>
|
<span class="button_report_text">Report an issue</span>
|
||||||
|
@ -177,7 +177,7 @@
|
|||||||
background-color: var(--organizer-background-primary-color);
|
background-color: var(--organizer-background-primary-color);
|
||||||
}
|
}
|
||||||
#detailsDeck {
|
#detailsDeck {
|
||||||
border-top: 1px solid var(--organizer-background-color-content);
|
border-top: 1px solid var(--organizer-background-color-content);
|
||||||
background-color: var(--organizer-background-intermediate-color);
|
background-color: var(--organizer-background-intermediate-color);
|
||||||
color: var(--organizer-text-primary-color);
|
color: var(--organizer-text-primary-color);
|
||||||
}
|
}
|
||||||
|
@ -1984,7 +1984,7 @@ panelview:not([mainview]) #PanelUI-whatsNew-title {
|
|||||||
width: 32px;
|
width: 32px;
|
||||||
margin: 14px auto;
|
margin: 14px auto;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-column-start: 2;
|
grid-column-start: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
#PanelUI-whatsNew .whatsNew-message-title,
|
#PanelUI-whatsNew .whatsNew-message-title,
|
||||||
@ -1994,7 +1994,7 @@ panelview:not([mainview]) #PanelUI-whatsNew-title {
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
line-height: 1.4em;
|
line-height: 1.4em;
|
||||||
margin: 14px 0 0;
|
margin: 14px 0 0;
|
||||||
grid-column-start: 1;
|
grid-column-start: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#PanelUI-whatsNew .whatsNew-message-title-large {
|
#PanelUI-whatsNew .whatsNew-message-title-large {
|
||||||
|
@ -191,7 +191,7 @@
|
|||||||
-moz-appearance: none;
|
-moz-appearance: none;
|
||||||
color: var(--organizer-text-primary-color);
|
color: var(--organizer-text-primary-color);
|
||||||
}
|
}
|
||||||
#placesMenu > menu:hover,
|
#placesMenu > menu:hover,
|
||||||
#placesMenu > menu[_moz-menuactive="true"] {
|
#placesMenu > menu[_moz-menuactive="true"] {
|
||||||
border-color: var(--organizer-background-color-content);
|
border-color: var(--organizer-background-color-content);
|
||||||
background-color: var(--organizer-background-color-content);
|
background-color: var(--organizer-background-color-content);
|
||||||
@ -216,7 +216,7 @@
|
|||||||
background-color: var(--organizer-background-primary-color);
|
background-color: var(--organizer-background-primary-color);
|
||||||
}
|
}
|
||||||
#detailsDeck {
|
#detailsDeck {
|
||||||
border-top: 1px solid var(--organizer-background-color-content);
|
border-top: 1px solid var(--organizer-background-color-content);
|
||||||
background-color: var(--organizer-background-intermediate-color);
|
background-color: var(--organizer-background-intermediate-color);
|
||||||
color: var(--organizer-text-primary-color);
|
color: var(--organizer-text-primary-color);
|
||||||
}
|
}
|
||||||
|
@ -135,7 +135,7 @@
|
|||||||
margin-right: -33px;
|
margin-right: -33px;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
.network-monitor .headers-panel-container .accordion .properties-view tr.treeRow .treeValueCell {
|
.network-monitor .headers-panel-container .accordion .properties-view tr.treeRow .treeValueCell {
|
||||||
display: inline;
|
display: inline;
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
.url-preview td.splitter {
|
.url-preview td.splitter {
|
||||||
/* This makes sure that the column spans the width of the
|
/* This makes sure that the column spans the width of the
|
||||||
side bar so the contained horizontal splitter is visible */
|
side bar so the contained horizontal splitter is visible */
|
||||||
width: 100vw !important;
|
width: 100vw !important;
|
||||||
}
|
}
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
<menuitem id="cMenu_undo"
|
<menuitem id="cMenu_undo"
|
||||||
data-l10n-id="text-action-undo" command="cmd_undo"/>
|
data-l10n-id="text-action-undo" command="cmd_undo"/>
|
||||||
<menuseparator/>
|
<menuseparator/>
|
||||||
<menuitem id="cMenu_cut"
|
<menuitem id="cMenu_cut"
|
||||||
data-l10n-id="text-action-cut" command="cmd_cut"/>
|
data-l10n-id="text-action-cut" command="cmd_cut"/>
|
||||||
<menuitem id="cMenu_copy"
|
<menuitem id="cMenu_copy"
|
||||||
data-l10n-id="text-action-copy" command="cmd_copy"/>
|
data-l10n-id="text-action-copy" command="cmd_copy"/>
|
||||||
@ -112,9 +112,9 @@
|
|||||||
<html:div class="splitview-nav placeholder empty">
|
<html:div class="splitview-nav placeholder empty">
|
||||||
<html:p><html:strong
|
<html:p><html:strong
|
||||||
data-l10n-id="styleeditor-no-stylesheet"
|
data-l10n-id="styleeditor-no-stylesheet"
|
||||||
></html:strong></html:p>
|
></html:strong></html:p>
|
||||||
<html:p
|
<html:p
|
||||||
data-l10n-id="styleeditor-no-stylesheet-tip"><html:a class="style-editor-newButton"
|
data-l10n-id="styleeditor-no-stylesheet-tip"><html:a class="style-editor-newButton"
|
||||||
data-l10n-name="append-new-stylesheet" href="#"/></html:p>
|
data-l10n-name="append-new-stylesheet" href="#"/></html:p>
|
||||||
</html:div>
|
</html:div>
|
||||||
|
|
||||||
@ -146,7 +146,7 @@
|
|||||||
data-l10n-id="styleeditor-editor-textbox"/>
|
data-l10n-id="styleeditor-editor-textbox"/>
|
||||||
<splitter class="devtools-side-splitter"/>
|
<splitter class="devtools-side-splitter"/>
|
||||||
<vbox class="stylesheet-sidebar theme-sidebar" hidden="true">
|
<vbox class="stylesheet-sidebar theme-sidebar" hidden="true">
|
||||||
<toolbar class="devtools-toolbar"
|
<toolbar class="devtools-toolbar"
|
||||||
data-l10n-id="styleeditor-media-rules">
|
data-l10n-id="styleeditor-media-rules">
|
||||||
</toolbar>
|
</toolbar>
|
||||||
<vbox class="stylesheet-media-container" flex="1">
|
<vbox class="stylesheet-media-container" flex="1">
|
||||||
|
@ -14,8 +14,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Add a border radius match the borders of the window on Mac OS
|
/* Add a border radius match the borders of the window on Mac OS
|
||||||
* and hide the border radius on the right if the sidebar or editor
|
* and hide the border radius on the right if the sidebar or editor
|
||||||
* is open. */
|
* is open. */
|
||||||
:root[platform="mac"] .webconsole-app .reverse-search {
|
:root[platform="mac"] .webconsole-app .reverse-search {
|
||||||
border-bottom-left-radius: 5px;
|
border-bottom-left-radius: 5px;
|
||||||
|
@ -50,7 +50,7 @@ body.serif {
|
|||||||
|
|
||||||
body.light > .container > .header > .domain {
|
body.light > .container > .header > .domain {
|
||||||
color: #ee7600;
|
color: #ee7600;
|
||||||
border-bottom-color: #d0d0d0;
|
border-bottom-color: #d0d0d0;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.light > .container > .header > h1 {
|
body.light > .container > .header > h1 {
|
||||||
@ -63,7 +63,7 @@ body.light > .container > .header > .credits {
|
|||||||
|
|
||||||
body.dark > .container > .header > .domain {
|
body.dark > .container > .header > .domain {
|
||||||
color: #ff9400;
|
color: #ff9400;
|
||||||
border-bottom-color: #777777;
|
border-bottom-color: #777777;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.dark > .container > .header > h1 {
|
body.dark > .container > .header > h1 {
|
||||||
@ -460,7 +460,7 @@ table {
|
|||||||
margin: 5px;
|
margin: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Covers all images showing edge-to-edge using a
|
/* Covers all images showing edge-to-edge using a
|
||||||
an optional caption text */
|
an optional caption text */
|
||||||
.moz-reader-content .wp-caption,
|
.moz-reader-content .wp-caption,
|
||||||
.moz-reader-content figure {
|
.moz-reader-content figure {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Test for Alerts Service</title>
|
<title>Test for Alerts Service</title>
|
||||||
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
<!-- 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
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
/* 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
|
* 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/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
body {
|
body {
|
||||||
max-width: 1024px;
|
max-width: 1024px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
/* 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
|
* 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/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
:host {
|
:host {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: minmax(11em, 25%) minmax(50%, 75%);
|
grid-template-columns: minmax(11em, 25%) minmax(50%, 75%);
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
To change this file you will have to add a function to download a file in toolkit/components/certviewer/content/certviewer.js (e.g: https://ourcodeworld.com/articles/read/189/how-to-create-a-file-and-generate-a-download-with-javascript-in-the-browser-without-a-server),
|
To change this file you will have to add a function to download a file in toolkit/components/certviewer/content/certviewer.js (e.g: https://ourcodeworld.com/articles/read/189/how-to-create-a-file-and-generate-a-download-with-javascript-in-the-browser-without-a-server),
|
||||||
download adjustedCerts (e.g: download("out.txt", JSON.stringify(adjustedCerts)), do it after this line https://searchfox.org/mozilla-central/rev/e3fc8f8970491aef14d3212b2d052942f4d29818/toolkit/components/certviewer/content/certviewer.js#428),
|
download adjustedCerts (e.g: download("out.txt", JSON.stringify(adjustedCerts)), do it after this line https://searchfox.org/mozilla-central/rev/e3fc8f8970491aef14d3212b2d052942f4d29818/toolkit/components/certviewer/content/certviewer.js#428),
|
||||||
then open Nightly and go to about:certificate?cert=MIIHQjCCBiqgAwIBAgIQCgYwQn9bvO1pVzllk7ZFHzANBgkqhkiG9w0BAQsFADB1MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMTQwMgYDV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JkRXMDvlJhV1onQ3QAAAWNBYm0tAAAEAwBHMEUCIQCi7omUvYLm0b2LobtEeRAYnlIo7n6JxbYdrtYdmPUWJQIgVgw1AZ51vK9ENinBg22FPxb82TvNDO05T17hxXRC2IYAdgC72d%2B8H4pxtZOUI5eqkntHOFeVCqtS6BqQlmQ2jh7RhQAAAWNBYm3fAAAEAwBHMEUCIQChzdTKUU2N%2BXcqcK0OJYrN8EYynloVxho4yPk6Dq3EPgIgdNH5u8rC3UcslQV4B9o0a0w204omDREGKTVuEpxGeOQwDQYJKoZIhvcNAQELBQADggEBAHAPWpanWOW%2Fip2oJ5grAH8mqQfaunuCVE%2Bvac%2B88lkDK%2FLVdFgl2B6kIHZiYClzKtfczG93hWvKbST4NRNHP9LiaQqdNC17e5vNHnXVUGw%2ByxyjMLGqkgepOnZ2Rb14kcTOGp4i5AuJuuaMwXmCo7jUwPwfLe1NUlVBKqg6LK0Hcq4K0sZnxE8HFxiZ92WpV2AVWjRMEc%2F2z2shNoDvxvFUYyY1Oe67xINkmyQKc%2BygSBZzyLnXSFVWmHr3u5dcaaQGGAR42v6Ydr4iL38Hd4dOiBma%2BFXsXBIqWUjbST4VXmdaol7uzFMojA4zkxQDZAvF5XgJlAFadfySna%2Fteik%3D
|
||||||
open the file, and finally copy and paste it here like
|
open the file, and finally copy and paste it here like
|
||||||
|
|
||||||
const adjustedCerts = <what you just copied>;
|
const adjustedCerts = <what you just copied>;
|
||||||
*/
|
*/
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
<script type="module">
|
<script type="module">
|
||||||
import { parse } from "chrome://global/content/certviewer/certDecoder.js";
|
import { parse } from "chrome://global/content/certviewer/certDecoder.js";
|
||||||
import { pemToDER } from "chrome://global/content/certviewer/utils.js";
|
import { pemToDER } from "chrome://global/content/certviewer/utils.js";
|
||||||
|
|
||||||
// inputPEM is the same input to CS extension (https://github.com/april/certainly-something)
|
// inputPEM is the same input to CS extension (https://github.com/april/certainly-something)
|
||||||
const inputPEM = "M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NQ9cq8Az1KnMKRuaFAlAHUAh3W/51l8+IxDmV+9827/Vo1HVjb/SrVgwbTq/16g%0D%0Agw8AAAFm5haJAgAABAMARjBEAiAxGLXkUaOAkZhXNeNR3pWyahZeKmSaMXadgu18%0D%0ASfK1ZAIgKtwu5eGxK76rgaszLCZ9edBIjuU0DKorzPUuxUXFY0QwDQYJKoZIhvcN%0D%0AAQELBQADggEBAKLJAFO3wuaP5MM/ed1lhk5Uc2aDokhcM7XyvdhEKSHbgPhcgMoT%0D%0A9YIVoPa70gNC6KHcwoXu0g8wt7X6Vm1ql/68G5q844kFuC6JPl4LVT9mciD+VW6b%0D%0AHUSXD9xifL9DqdJ0Ic0SllTlM+oq5aAeOxUQGXhXIqj6fSQv9fQN6mXxQIoc/gjx%0D%0Ateskq/Vl8YmY1FIZP9Bh7g27kxZ9GAAGQtjTL03RzKAuSg6yeImYVdQWasc7UPnB%0D%0AXlRAzZ8+OJThUbzK16a2CI3Rg4agKSJk+uA47h1/ImmngpFLRb/MvRX6H1oWcUuy%0D%0AH6O7PZdl0YpwTpw1THIuqCGl/wpPgyQgcTM=%0D%0A-----END%20CERTIFICATE-----%0D%0A";
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
import { parse } from "chrome://global/content/certviewer/certDecoder.js";
|
import { parse } from "chrome://global/content/certviewer/certDecoder.js";
|
||||||
import { pemToDER } from "chrome://global/content/certviewer/utils.js";
|
import { pemToDER } from "chrome://global/content/certviewer/utils.js";
|
||||||
import { certOutputCS } from "./CSoutput.js";
|
import { certOutputCS } from "./CSoutput.js";
|
||||||
|
|
||||||
// inputPEM is the same input to CS extension (https://github.com/april/certainly-something)
|
// inputPEM is the same input to CS extension (https://github.com/april/certainly-something)
|
||||||
const inputPEM = "MIIGRjCCBS6gAwIBAgIQDJduPkI49CDWPd+G7+u6kDANBgkqhkiG9w0BAQsFADBNMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMScwJQYDVQQDEx5EaWdp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ly9jYWNlcnRzLmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydFNIQTJTZWN1cmVTZXJ2ZXJDQS5jcnQwDAYDVR0TAQH/BAIwADCCAQIGCisGAQQB1nkCBAIEgfMEgfAA7gB1AKS5CZC0GFgUh7sTosxncAo8NZgE+RvfuON3zQ7IDdwQAAABZuYWiHwAAAQDAEYwRAIgZnMSH1JdG6NASHWTwD0mlP/zbr0hzP263c02Ym0DU64CIEe4QHJDP47j0b6oTFu6RrZz1NQ9cq8Az1KnMKRuaFAlAHUAh3W/51l8+IxDmV+9827/Vo1HVjb/SrVgwbTq/16ggw8AAAFm5haJAgAABAMARjBEAiAxGLXkUaOAkZhXNeNR3pWyahZeKmSaMXadgu18SfK1ZAIgKtwu5eGxK76rgaszLCZ9edBIjuU0DKorzPUuxUXFY0QwDQYJKoZIhvcNAQELBQADggEBAKLJAFO3wuaP5MM/ed1lhk5Uc2aDokhcM7XyvdhEKSHbgPhcgMoT9YIVoPa70gNC6KHcwoXu0g8wt7X6Vm1ql/68G5q844kFuC6JPl4LVT9mciD+VW6bHUSXD9xifL9D";
|
||||||
@ -41,14 +41,14 @@
|
|||||||
}
|
}
|
||||||
ok(cert, "Parse function returned an Object");
|
ok(cert, "Parse function returned an Object");
|
||||||
|
|
||||||
// "Because the representation of JS Date objects will vary depending on the timezone,
|
// "Because the representation of JS Date objects will vary depending on the timezone,
|
||||||
// we don't consider them in the test. Instead we test their corresponding UTC values (e.g notAfterUTC)."
|
// we don't consider them in the test. Instead we test their corresponding UTC values (e.g notAfterUTC)."
|
||||||
cert.notAfter = "";
|
cert.notAfter = "";
|
||||||
expected.notAfter = "";
|
expected.notAfter = "";
|
||||||
|
|
||||||
cert.notBefore = "";
|
cert.notBefore = "";
|
||||||
expected.notBefore = "";
|
expected.notBefore = "";
|
||||||
|
|
||||||
cert.ext.scts.timestamps = cert.ext.scts.timestamps.map(elem => elem.timestamp = "");
|
cert.ext.scts.timestamps = cert.ext.scts.timestamps.map(elem => elem.timestamp = "");
|
||||||
expected.ext.scts.timestamps = expected.ext.scts.timestamps.map(elem => elem.timestamp = "");
|
expected.ext.scts.timestamps = expected.ext.scts.timestamps.map(elem => elem.timestamp = "");
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
for (let part in components) {
|
for (let part in components) {
|
||||||
dir.append(components[part]);
|
dir.append(components[part]);
|
||||||
}
|
}
|
||||||
return dir;
|
return dir;
|
||||||
}
|
}
|
||||||
|
|
||||||
function setupLibs(path) {
|
function setupLibs(path) {
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<pre id="c">
|
<pre id="c">
|
||||||
Fetching ...
|
Fetching ...
|
||||||
</pre>
|
</pre>
|
||||||
<script>
|
<script>
|
||||||
"use strict";
|
"use strict";
|
||||||
|
@ -40,7 +40,7 @@ add_task(async () => {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
const secondExtension = ExtensionTestUtils.loadExtension({
|
const secondExtension = ExtensionTestUtils.loadExtension({
|
||||||
manifest: {
|
manifest: {
|
||||||
permissions: ["webRequest", "webRequestBlocking", "<all_urls>"],
|
permissions: ["webRequest", "webRequestBlocking", "<all_urls>"],
|
||||||
|
@ -54,7 +54,7 @@ add_task(async () => {
|
|||||||
iframe.src = TEST_URL;
|
iframe.src = TEST_URL;
|
||||||
document.body.appendChild(iframe);
|
document.body.appendChild(iframe);
|
||||||
await new Promise(resolve => iframe.addEventListener("load", () => resolve(), {once: true}));
|
await new Promise(resolve => iframe.addEventListener("load", () => resolve(), {once: true}));
|
||||||
|
|
||||||
|
|
||||||
iframe.src = CROSS_ORIGIN_URL;
|
iframe.src = CROSS_ORIGIN_URL;
|
||||||
await new Promise(resolve => iframe.addEventListener("load", () => resolve(), {once: true}));
|
await new Promise(resolve => iframe.addEventListener("load", () => resolve(), {once: true}));
|
||||||
|
@ -306,7 +306,7 @@ add_task(async function test_sub_subframe_conduit_verified_env() {
|
|||||||
async function expectErrors(ext, log) {
|
async function expectErrors(ext, log) {
|
||||||
let err = await ext.awaitMessage("content_child");
|
let err = await ext.awaitMessage("content_child");
|
||||||
is(err, "Bad sender context envType: content_child");
|
is(err, "Bad sender context envType: content_child");
|
||||||
|
|
||||||
err = await ext.awaitMessage("addon_child");
|
err = await ext.awaitMessage("addon_child");
|
||||||
is(err, "Unknown sender or wrong actor for recvCreateProxyContext");
|
is(err, "Unknown sender or wrong actor for recvCreateProxyContext");
|
||||||
}
|
}
|
||||||
@ -319,7 +319,7 @@ add_task(async function test_sub_subframe_conduit_verified_env() {
|
|||||||
|
|
||||||
let extension = ExtensionTestUtils.loadExtension({ manifest, files });
|
let extension = ExtensionTestUtils.loadExtension({ manifest, files });
|
||||||
await extension.startup();
|
await extension.startup();
|
||||||
|
|
||||||
if (remote) {
|
if (remote) {
|
||||||
info("Need OOP to spoof from a web iframe inside background page.");
|
info("Need OOP to spoof from a web iframe inside background page.");
|
||||||
await expectErrors(extension);
|
await expectErrors(extension);
|
||||||
|
@ -31,24 +31,24 @@ add_task(async function test_tabs_sendMessage_to_extension_page_frame() {
|
|||||||
browser.runtime.onMessage.addListener(async (msg, sender) => {
|
browser.runtime.onMessage.addListener(async (msg, sender) => {
|
||||||
browser.test.assertEq(msg, "page-script-ready");
|
browser.test.assertEq(msg, "page-script-ready");
|
||||||
browser.test.assertEq(sender.url, browser.runtime.getURL("page.html"));
|
browser.test.assertEq(sender.url, browser.runtime.getURL("page.html"));
|
||||||
|
|
||||||
let tabId = sender.tab.id;
|
let tabId = sender.tab.id;
|
||||||
let response = await browser.tabs.sendMessage(tabId, "tab-sendMessage");
|
let response = await browser.tabs.sendMessage(tabId, "tab-sendMessage");
|
||||||
|
|
||||||
switch (response) {
|
switch (response) {
|
||||||
case "extension-tab":
|
case "extension-tab":
|
||||||
browser.test.assertEq(tab.id, tabId, "Extension tab responded");
|
browser.test.assertEq(tab.id, tabId, "Extension tab responded");
|
||||||
browser.test.assertEq(sender.frameId, 0, "Response from top level");
|
browser.test.assertEq(sender.frameId, 0, "Response from top level");
|
||||||
await browser.tabs.remove(tab.id);
|
await browser.tabs.remove(tab.id);
|
||||||
browser.test.sendMessage("extension-tab-responded");
|
browser.test.sendMessage("extension-tab-responded");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "extension-frame":
|
case "extension-frame":
|
||||||
browser.test.assertTrue(sender.frameId > 0, "Response from iframe");
|
browser.test.assertTrue(sender.frameId > 0, "Response from iframe");
|
||||||
browser.test.sendMessage("extension-frame-responded");
|
browser.test.sendMessage("extension-frame-responded");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
browser.test.fail("Unexpected response: " + response);
|
browser.test.fail("Unexpected response: " + response);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -36,7 +36,7 @@ async function loadFormIntoIframe(origin, html) {
|
|||||||
// eslint-disable-next-line no-unsanitized/property
|
// eslint-disable-next-line no-unsanitized/property
|
||||||
this.content.document.documentElement.innerHTML = contentHtml;
|
this.content.document.documentElement.innerHTML = contentHtml;
|
||||||
});
|
});
|
||||||
|
|
||||||
// Wait for the form to be processed before trying to submit.
|
// Wait for the form to be processed before trying to submit.
|
||||||
await promiseFormsProcessed();
|
await promiseFormsProcessed();
|
||||||
}
|
}
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
<!DOCTYPE HTML>
|
<!DOCTYPE HTML>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Link page 2</title>
|
<title>Link page 2</title>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
a:link { color: #0000ff; }
|
a:link { color: #0000ff; }
|
||||||
a:visited { color: #ff0000; }
|
a:visited { color: #ff0000; }
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<p><a href="461710_visited_page.html" id="link">Link to the second visited page</a></p>
|
<p><a href="461710_visited_page.html" id="link">Link to the second visited page</a></p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
<!DOCTYPE HTML>
|
<!DOCTYPE HTML>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Link page 3</title>
|
<title>Link page 3</title>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
a:link { color: #0000ff; }
|
a:link { color: #0000ff; }
|
||||||
a:visited { color: #ff0000; }
|
a:visited { color: #ff0000; }
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<p><a href="461710_visited_page.html" id="link">Link to the third visited page</a></p>
|
<p><a href="461710_visited_page.html" id="link">Link to the third visited page</a></p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
<!DOCTYPE HTML>
|
<!DOCTYPE HTML>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Link page</title>
|
<title>Link page</title>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
a:link { color: #0000ff; }
|
a:link { color: #0000ff; }
|
||||||
a:visited { color: #ff0000; }
|
a:visited { color: #ff0000; }
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<p><a href="461710_visited_page.html" id="link">Link to the visited page</a></p>
|
<p><a href="461710_visited_page.html" id="link">Link to the visited page</a></p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<!DOCTYPE HTML>
|
<!DOCTYPE HTML>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Visited page</title>
|
<title>Visited page</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<p>This page is marked as visited</p>
|
<p>This page is marked as visited</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -63,7 +63,7 @@ th {
|
|||||||
|
|
||||||
th + th,
|
th + th,
|
||||||
td + td {
|
td + td {
|
||||||
border-inline-start: 1px dotted ThreeDShadow;
|
border-inline-start: 1px dotted ThreeDShadow;
|
||||||
}
|
}
|
||||||
|
|
||||||
td {
|
td {
|
||||||
|
@ -1,102 +1,102 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
|
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
|
||||||
<?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
|
<?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
|
||||||
|
|
||||||
<window title="Context menugroup Tests"
|
<window title="Context menugroup Tests"
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||||
|
|
||||||
<script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
|
<script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
|
||||||
<script src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>
|
<script src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>
|
||||||
<script type="application/javascript" src="popup_shared.js"></script>
|
<script type="application/javascript" src="popup_shared.js"></script>
|
||||||
|
|
||||||
<menupopup id="context">
|
<menupopup id="context">
|
||||||
<menugroup>
|
<menugroup>
|
||||||
<menuitem id="a"/>
|
<menuitem id="a"/>
|
||||||
<menuitem id="b"/>
|
<menuitem id="b"/>
|
||||||
</menugroup>
|
</menugroup>
|
||||||
<menuitem id="c" label="c"/>
|
<menuitem id="c" label="c"/>
|
||||||
<menugroup/>
|
<menugroup/>
|
||||||
</menupopup>
|
</menupopup>
|
||||||
|
|
||||||
<button label="Check"/>
|
<button label="Check"/>
|
||||||
|
|
||||||
<vbox id="popuparea" popup="context" width="20" height="20"/>
|
<vbox id="popuparea" popup="context" width="20" height="20"/>
|
||||||
|
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
var gMenuPopup = $("context");
|
var gMenuPopup = $("context");
|
||||||
ok(gMenuPopup, "Got the reference to the context menu");
|
ok(gMenuPopup, "Got the reference to the context menu");
|
||||||
|
|
||||||
var popupTests = [
|
var popupTests = [
|
||||||
{
|
{
|
||||||
testname: "one-down-key",
|
testname: "one-down-key",
|
||||||
condition: function() { return (!navigator.platform.includes("Mac")); },
|
condition: function() { return (!navigator.platform.includes("Mac")); },
|
||||||
events: [ "popupshowing context", "popupshown context", "DOMMenuItemActive a" ],
|
events: [ "popupshowing context", "popupshown context", "DOMMenuItemActive a" ],
|
||||||
test: function () {
|
test: function () {
|
||||||
synthesizeMouse($("popuparea"), 4, 4, {});
|
synthesizeMouse($("popuparea"), 4, 4, {});
|
||||||
synthesizeKey("KEY_ArrowDown");
|
synthesizeKey("KEY_ArrowDown");
|
||||||
},
|
},
|
||||||
result: function (testname) {
|
result: function (testname) {
|
||||||
checkActive(gMenuPopup, "a", testname);
|
checkActive(gMenuPopup, "a", testname);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
testname: "two-down-keys",
|
testname: "two-down-keys",
|
||||||
condition: function() { return (!navigator.platform.includes("Mac")); },
|
condition: function() { return (!navigator.platform.includes("Mac")); },
|
||||||
events: [ "DOMMenuItemInactive a", "DOMMenuItemActive b" ],
|
events: [ "DOMMenuItemInactive a", "DOMMenuItemActive b" ],
|
||||||
test: () => synthesizeKey("KEY_ArrowDown"),
|
test: () => synthesizeKey("KEY_ArrowDown"),
|
||||||
result: function (testname) {
|
result: function (testname) {
|
||||||
checkActive(gMenuPopup, "b", testname);
|
checkActive(gMenuPopup, "b", testname);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
testname: "three-down-keys",
|
testname: "three-down-keys",
|
||||||
condition: function() { return (!navigator.platform.includes("Mac")); },
|
condition: function() { return (!navigator.platform.includes("Mac")); },
|
||||||
events: [ "DOMMenuItemInactive b", "DOMMenuItemActive c" ],
|
events: [ "DOMMenuItemInactive b", "DOMMenuItemActive c" ],
|
||||||
test: () => synthesizeKey("KEY_ArrowDown"),
|
test: () => synthesizeKey("KEY_ArrowDown"),
|
||||||
result: function (testname) {
|
result: function (testname) {
|
||||||
checkActive(gMenuPopup, "c", testname);
|
checkActive(gMenuPopup, "c", testname);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
testname: "three-down-keys-one-up-key",
|
testname: "three-down-keys-one-up-key",
|
||||||
condition: function() { return (!navigator.platform.includes("Mac")); },
|
condition: function() { return (!navigator.platform.includes("Mac")); },
|
||||||
events: [ "DOMMenuItemInactive c", "DOMMenuItemActive b" ],
|
events: [ "DOMMenuItemInactive c", "DOMMenuItemActive b" ],
|
||||||
test: () => synthesizeKey("KEY_ArrowUp"),
|
test: () => synthesizeKey("KEY_ArrowUp"),
|
||||||
result: function (testname) {
|
result: function (testname) {
|
||||||
checkActive(gMenuPopup, "b", testname);
|
checkActive(gMenuPopup, "b", testname);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
testname: "three-down-keys-two-up-keys",
|
testname: "three-down-keys-two-up-keys",
|
||||||
condition: function() { return (!navigator.platform.includes("Mac")); },
|
condition: function() { return (!navigator.platform.includes("Mac")); },
|
||||||
events: [ "DOMMenuItemInactive b", "DOMMenuItemActive a" ],
|
events: [ "DOMMenuItemInactive b", "DOMMenuItemActive a" ],
|
||||||
test: () => synthesizeKey("KEY_ArrowUp"),
|
test: () => synthesizeKey("KEY_ArrowUp"),
|
||||||
result: function (testname) {
|
result: function (testname) {
|
||||||
checkActive(gMenuPopup, "a", testname);
|
checkActive(gMenuPopup, "a", testname);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
testname: "three-down-keys-three-up-key",
|
testname: "three-down-keys-three-up-key",
|
||||||
condition: function() { return (!navigator.platform.includes("Mac")); },
|
condition: function() { return (!navigator.platform.includes("Mac")); },
|
||||||
events: [ "DOMMenuItemInactive a", "DOMMenuItemActive c" ],
|
events: [ "DOMMenuItemInactive a", "DOMMenuItemActive c" ],
|
||||||
test: () => synthesizeKey("KEY_ArrowUp"),
|
test: () => synthesizeKey("KEY_ArrowUp"),
|
||||||
result: function (testname) {
|
result: function (testname) {
|
||||||
checkActive(gMenuPopup, "c", testname);
|
checkActive(gMenuPopup, "c", testname);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
SimpleTest.waitForFocus(function runTest() {
|
SimpleTest.waitForFocus(function runTest() {
|
||||||
startPopupTests(popupTests);
|
startPopupTests(popupTests);
|
||||||
});
|
});
|
||||||
|
|
||||||
]]>
|
]]>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<body xmlns="http://www.w3.org/1999/xhtml"><p id="display"/></body>
|
<body xmlns="http://www.w3.org/1999/xhtml"><p id="display"/></body>
|
||||||
|
|
||||||
</window>
|
</window>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<title>Video controls directionality test</title>
|
<title>Video controls directionality test</title>
|
||||||
<script type="text/javascript" src="/MochiKit/MochiKit.js"></script>
|
<script type="text/javascript" src="/MochiKit/MochiKit.js"></script>
|
||||||
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||||
<script src="/tests/SimpleTest/WindowSnapshot.js"></script>
|
<script src="/tests/SimpleTest/WindowSnapshot.js"></script>
|
||||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||||
</head>
|
</head>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<title>Video controls directionality test</title>
|
<title>Video controls directionality test</title>
|
||||||
<script type="text/javascript" src="/MochiKit/MochiKit.js"></script>
|
<script type="text/javascript" src="/MochiKit/MochiKit.js"></script>
|
||||||
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||||
<script src="/tests/SimpleTest/WindowSnapshot.js"></script>
|
<script src="/tests/SimpleTest/WindowSnapshot.js"></script>
|
||||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||||
</head>
|
</head>
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file contains all localizable skin settings such as
|
* This file contains all localizable skin settings such as
|
||||||
* font, layout, and geometry
|
* font, layout, and geometry
|
||||||
*/
|
*/
|
||||||
window {
|
window {
|
||||||
font: 3mm tahoma,arial,helvetica,sans-serif;
|
font: 3mm tahoma,arial,helvetica,sans-serif;
|
||||||
}
|
}
|
||||||
|
@ -30,13 +30,13 @@
|
|||||||
<label data-l10n-id="remove-info"/>
|
<label data-l10n-id="remove-info"/>
|
||||||
|
|
||||||
<hbox align="center">
|
<hbox align="center">
|
||||||
<label control="password" data-l10n-id="remove-password-old-password"/>
|
<label control="password" data-l10n-id="remove-password-old-password"/>
|
||||||
<html:input id="password" type="password"
|
<html:input id="password" type="password"
|
||||||
oninput="gRemovePasswordDialog.validateInput();"
|
oninput="gRemovePasswordDialog.validateInput();"
|
||||||
aria-describedby="warnings"/>
|
aria-describedby="warnings"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
</groupbox>
|
</groupbox>
|
||||||
|
|
||||||
<separator/>
|
<separator/>
|
||||||
|
|
||||||
</dialog>
|
</dialog>
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Download page</title>
|
<title>Download page</title>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- just use simple.mar since we have it available and it will result in a download dialog -->
|
<!-- just use simple.mar since we have it available and it will result in a download dialog -->
|
||||||
<a id="download-link" href="http://example.com/browser/browser/base/content/test/appUpdate/simple.mar" data-link-type="download">
|
<a id="download-link" href="http://example.com/browser/browser/base/content/test/appUpdate/simple.mar" data-link-type="download">
|
||||||
Download
|
Download
|
||||||
</a>
|
</a>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -7,7 +7,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=543854
|
|||||||
<window title="Mozilla Bug 543854"
|
<window title="Mozilla Bug 543854"
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||||
<script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
|
<script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
|
||||||
|
|
||||||
<!-- test results are displayed in the html:body -->
|
<!-- test results are displayed in the html:body -->
|
||||||
<body xmlns="http://www.w3.org/1999/xhtml">
|
<body xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=543854"
|
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=543854"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
/* 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
|
* 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/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
body {
|
body {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@ -11,7 +11,7 @@ richlistitem[type] {
|
|||||||
min-height: 36px; /* Don't forget to update the richlistbox height! */
|
min-height: 36px; /* Don't forget to update the richlistbox height! */
|
||||||
padding-inline-start: 2px;
|
padding-inline-start: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
richlistitem {
|
richlistitem {
|
||||||
-moz-box-align: center;
|
-moz-box-align: center;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user