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:
Gijs Kruitbosch 2020-06-17 22:40:53 +00:00
parent 67234feea3
commit d523471eac
57 changed files with 291 additions and 291 deletions

View File

@ -1,29 +1,29 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Subtest for browser context menu</title>
</head>
<body>
Browser context menu subtest.
<input id="input_text">
<input id="input_spellcheck_no_value">
<input id="input_spellcheck_incorrect" spellcheck="true" value="prodkjfgigrty">
<input id="input_spellcheck_correct" spellcheck="true" value="foo">
<input id="input_disabled" disabled="true">
<input id="input_password">
<input id="input_email" type="email">
<input id="input_tel" type="tel">
<input id="input_url" type="url">
<input id="input_number" type="number">
<input id="input_date" type="date">
<input id="input_time" type="time">
<input id="input_color" type="color">
<input id="input_range" type="range">
<input id="input_search" type="search">
<input id="input_datetime" type="datetime">
<input id="input_month" type="month">
<input id="input_week" type="week">
<input id="input_datetime-local" type="datetime-local">
<input id="input_readonly" readonly="true">
</body>
<!DOCTYPE HTML>
<html>
<head>
<title>Subtest for browser context menu</title>
</head>
<body>
Browser context menu subtest.
<input id="input_text">
<input id="input_spellcheck_no_value">
<input id="input_spellcheck_incorrect" spellcheck="true" value="prodkjfgigrty">
<input id="input_spellcheck_correct" spellcheck="true" value="foo">
<input id="input_disabled" disabled="true">
<input id="input_password">
<input id="input_email" type="email">
<input id="input_tel" type="tel">
<input id="input_url" type="url">
<input id="input_number" type="number">
<input id="input_date" type="date">
<input id="input_time" type="time">
<input id="input_color" type="color">
<input id="input_range" type="range">
<input id="input_search" type="search">
<input id="input_datetime" type="datetime">
<input id="input_month" type="month">
<input id="input_week" type="week">
<input id="input_datetime-local" type="datetime-local">
<input id="input_readonly" readonly="true">
</body>
</html>

View File

@ -1,18 +1,18 @@
<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=575561
-->
<head>
<title>Test for links in app tabs</title>
</head>
<body>
<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://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://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>
<iframe src="app_subframe_bug575561.html"></iframe>
</body>
<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=575561
-->
<head>
<title>Test for links in app tabs</title>
</head>
<body>
<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://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://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>
<iframe src="app_subframe_bug575561.html"></iframe>
</body>
</html>

View File

@ -1,3 +1,3 @@
<body>
<a href="#" onclick="window.open('close_beforeunload.html', '_blank')">Open second tab</a>
<body>
<a href="#" onclick="window.open('close_beforeunload.html', '_blank')">Open second tab</a>
</body>

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<head>
<meta charset="utf-8">
</head>
<body>
<embed id="test" style="width: 100px; height: 100px" type="application/x-test">

View File

@ -42,7 +42,7 @@
<script src="http://127.0.0.1:8/test.js"></script>
<script src="http://[::1]: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://[::1]:8/test.css" rel="stylesheet"></link>
<link href="http://localhost:8/test.css" rel="stylesheet"></link>

View File

@ -123,7 +123,7 @@
<!-- Connection is Not Secure -->
<description when-connection="not-secure cert-error-page"
data-l10n-id="identity-description-insecure"></description>
data-l10n-id="identity-description-insecure"></description>
<!-- Weak Cipher -->
<description when-ciphers="weak" data-l10n-id="identity-description-weak-cipher-intro"></description>

View File

@ -1,11 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="iso-8859-1">
<title>Test page</title>
</head>
<body>
This is a test page
</body>
<!DOCTYPE html>
<html>
<head>
<meta charset="iso-8859-1">
<title>Test page</title>
</head>
<body>
This is a test page
</body>
</html>

View File

@ -31,7 +31,7 @@
<radiogroup id="importSourceGroup" align="start">
# 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"/>
#ifdef XP_WIN
#ifdef XP_WIN
<radio id="chromium-edge" data-l10n-id="import-from-edge"/>
<radio id="edge" data-l10n-id="import-from-edge-legacy" />
<radio id="chromium-edge-beta" data-l10n-id="import-from-edge-beta"/>

View File

@ -103,7 +103,7 @@ body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Ubuntu', 'Helvetica Neue', sans-serif;
font-size: 16px;
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".*/
color: var(--newtab-text-primary-color);
background-color: var(--newtab-background-color); }

View File

@ -307,8 +307,8 @@
</hbox>
</hbox>
<checkbox id="useSystemLocale" hidden="true"
data-l10n-id="use-system-locale"
<checkbox id="useSystemLocale" hidden="true"
data-l10n-id="use-system-locale"
data-l10n-args='{"localeName": "und"}'
preference="intl.regional_prefs.use_os_locales"/>

View File

@ -923,7 +923,7 @@ label[for="tab-cryptominer"]:hover ~ #highlight-hover {
.monitor-partial-breaches-link-wrapper,
.monitor-breaches-link-wrapper {
-moz-appearance: button;
background-color: var(--in-content-primary-button-background);
background-color: var(--in-content-primary-button-background);
border: 1px solid transparent;
border-radius: 2px;
text-decoration: none;

View File

@ -173,7 +173,7 @@
</a>
</div>
<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">
<img class="icon-med" src="chrome://browser/skin/fxa/avatar.svg"/>
<span data-type="known-breaches">

View File

@ -16,7 +16,7 @@
<a href="http://mozilla.org">A partial <span id="partialLink">link selection</span></a>
<br/>
<span id="surrogatePair">
This character🔥 shouldn't be truncated.
This character🔥 shouldn't be truncated.
</span>
</body>
</html>

View File

@ -15,7 +15,7 @@
</body>
<script>
let video = document.getElementById("test-video");
function toggleFullScreen() {
if (!document.fullscreenElement) {
document.documentElement.requestFullscreen();

View File

@ -161,7 +161,7 @@ add_task(async function check_fields_after_form_autofill() {
synthesizeKey("KEY_ArrowDown");
// 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({
primary: cc["cc-exp-year"],
secondary: cc.ccNumberFmt.affix + cc.ccNumberFmt.label,

View File

@ -35,7 +35,7 @@ See https://github.com/adobe-type-tools/cmap-resources
<script src="viewer.js"></script>
<script src="viewer.js"></script>
</head>

View File

@ -18,7 +18,7 @@ body {
width: 100%;
margin-block: 15px;
display: flex;
flex-direction: row;
}
@ -33,11 +33,11 @@ body {
border-radius: 22px;
border-width: 2px;
border-style: solid;
border-style: solid;
background-size: 22px;
background-repeat: no-repeat;
background-position: center;
background-position: center;
background-color: inherit;
-moz-context-properties: fill;
@ -96,22 +96,22 @@ body {
.urlbar_secure_icon {
-moz-context-properties: fill;
height: 32px;
padding: 2px;
visibility: hidden;
display: inline-block;
}
.urlbar_input {
background-color: transparent;
background-color: transparent;
flex-grow: 1;
border: none;
font-size: 18px;
font-family: 'Open Sans', sans-serif;

View File

@ -28,7 +28,7 @@
<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="eHome" class="icon_container icon_home" ></button>
<div class="urlbar_container urlbar_container_normal" id="eUrlBarContainer">
<img class="urlbar_secure_icon" id="eUrlSecure" src="assets/icon-secure.svg" alt="Secure"/>
<input class="urlbar_input" id="eUrlInput" type="text" value="" />

View File

@ -21,7 +21,7 @@
--num14_alpha: #59667780;
--num16: #E7EAF0;
--num19: #FFFFFF;
--secure: #f7ce4d;
}
@ -36,19 +36,19 @@ body {
fill: var(--num06);
}
.icon_container:hover {
background-color: var(--num01);
background-color: var(--num01);
fill: var(--num06);
}
.icon_container:active {
background-color: var(--num04);
background-color: var(--num04);
fill: var(--num06);
}
.icon_container:disabled {
background-color: var(--num16);
background-color: var(--num16);
fill: var(--num14);
}
.urlbar_container {
.urlbar_container {
border-color: transparent;
background-color: var(--num02);
}
@ -64,7 +64,7 @@ body {
fill: var(--secure);
}
.urlbar_input {
.urlbar_input {
color: var(--num06);
}
.urlbar_input::selection {

View File

@ -116,7 +116,7 @@ body {
.setting_name {
font-size: 14px;
color: var(--num13);
flex-grow: 1;
}

View File

@ -25,7 +25,7 @@
<div class="version_text" id="eFxrVersion"></div>
<div class="version_text" id="eFxrDate"></div>
<div class="version_text" id="eFxVersion"></div>
</div>
</div>
<button id="eReportIssue" class="plain_button button_report_issue">
<img class="button_report_issue_icon" src="assets/icon-reportissue.svg" />
<span class="button_report_text">Report an issue</span>

View File

@ -177,7 +177,7 @@
background-color: var(--organizer-background-primary-color);
}
#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);
color: var(--organizer-text-primary-color);
}

View File

@ -1984,7 +1984,7 @@ panelview:not([mainview]) #PanelUI-whatsNew-title {
width: 32px;
margin: 14px auto;
display: grid;
grid-column-start: 2;
grid-column-start: 2;
}
#PanelUI-whatsNew .whatsNew-message-title,
@ -1994,7 +1994,7 @@ panelview:not([mainview]) #PanelUI-whatsNew-title {
font-weight: 600;
line-height: 1.4em;
margin: 14px 0 0;
grid-column-start: 1;
grid-column-start: 1;
}
#PanelUI-whatsNew .whatsNew-message-title-large {

View File

@ -191,7 +191,7 @@
-moz-appearance: none;
color: var(--organizer-text-primary-color);
}
#placesMenu > menu:hover,
#placesMenu > menu:hover,
#placesMenu > menu[_moz-menuactive="true"] {
border-color: var(--organizer-background-color-content);
background-color: var(--organizer-background-color-content);
@ -216,7 +216,7 @@
background-color: var(--organizer-background-primary-color);
}
#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);
color: var(--organizer-text-primary-color);
}

View File

@ -135,7 +135,7 @@
margin-right: -33px;
margin-left: 5px;
padding: 0;
}
.network-monitor .headers-panel-container .accordion .properties-view tr.treeRow .treeValueCell {
display: inline;

View File

@ -24,7 +24,7 @@
outline: none;
}
.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 */
width: 100vw !important;
}

View File

@ -51,7 +51,7 @@
<menuitem id="cMenu_undo"
data-l10n-id="text-action-undo" command="cmd_undo"/>
<menuseparator/>
<menuitem id="cMenu_cut"
<menuitem id="cMenu_cut"
data-l10n-id="text-action-cut" command="cmd_cut"/>
<menuitem id="cMenu_copy"
data-l10n-id="text-action-copy" command="cmd_copy"/>
@ -112,9 +112,9 @@
<html:div class="splitview-nav placeholder empty">
<html:p><html:strong
data-l10n-id="styleeditor-no-stylesheet"
></html:strong></html:p>
></html:strong></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>
</html:div>
@ -146,7 +146,7 @@
data-l10n-id="styleeditor-editor-textbox"/>
<splitter class="devtools-side-splitter"/>
<vbox class="stylesheet-sidebar theme-sidebar" hidden="true">
<toolbar class="devtools-toolbar"
<toolbar class="devtools-toolbar"
data-l10n-id="styleeditor-media-rules">
</toolbar>
<vbox class="stylesheet-media-container" flex="1">

View File

@ -14,8 +14,8 @@
}
/* 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
/* 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
* is open. */
:root[platform="mac"] .webconsole-app .reverse-search {
border-bottom-left-radius: 5px;

View File

@ -50,7 +50,7 @@ body.serif {
body.light > .container > .header > .domain {
color: #ee7600;
border-bottom-color: #d0d0d0;
border-bottom-color: #d0d0d0;
}
body.light > .container > .header > h1 {
@ -63,7 +63,7 @@ body.light > .container > .header > .credits {
body.dark > .container > .header > .domain {
color: #ff9400;
border-bottom-color: #777777;
border-bottom-color: #777777;
}
body.dark > .container > .header > h1 {
@ -460,7 +460,7 @@ table {
margin: 5px;
}
/* Covers all images showing edge-to-edge using a
/* Covers all images showing edge-to-edge using a
an optional caption text */
.moz-reader-content .wp-caption,
.moz-reader-content figure {

View File

@ -4,7 +4,7 @@
<html>
<head>
<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"/>
</head>

View File

@ -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
- License, v. 2.0. If a copy of the MPL was not distributed with this

View File

@ -1,7 +1,7 @@
/* 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/. */
body {
max-width: 1024px;
margin: 0 auto;

View File

@ -1,7 +1,7 @@
/* 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/. */
:host {
display: grid;
grid-template-columns: minmax(11em, 25%) minmax(50%, 75%);

View File

@ -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),
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=MIIHQjCCBiqgAwIBAgIQCgYwQn9bvO1pVzllk7ZFHzANBgkqhkiG9w0BAQsFADB1MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMTQwMgYDVQQDEytEaWdpQ2VydCBTSEEyIEV4dGVuZGVkIFZhbGlkYXRpb24gU2VydmVyIENBMB4XDTE4MDUwODAwMDAwMFoXDTIwMDYwMzEyMDAwMFowgccxHTAbBgNVBA8MFFByaXZhdGUgT3JnYW5pemF0aW9uMRMwEQYLKwYBBAGCNzwCAQMTAlVTMRkwFwYLKwYBBAGCNzwCAQITCERlbGF3YXJlMRAwDgYDVQQFEwc1MTU3NTUwMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEVMBMGA1UEChMMR2l0SHViLCBJbmMuMRMwEQYDVQQDEwpnaXRodWIuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxjyq8jyXDDrBTyitcnB90865tWBzpHSbindG%2FXqYQkzFMBlXmqkzC%2BFdTRBYyneZw5Pz%2BXWQvL%2B74JW6LsWNc2EF0xCEqLOJuC9zjPAqbr7uroNLghGxYf13YdqbG5oj%2F4x%2B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IcvSykZYgIgCP5gGv6yzaazxBK2NwGdmmyuEFNSg2pARbMJlUFgU5UAdgBWFAaaL9fC7NP14b1Esj7HRna5vJkRXMDvlJhV1onQ3QAAAWNBYm0tAAAEAwBHMEUCIQCi7omUvYLm0b2LobtEeRAYnlIo7n6JxbYdrtYdmPUWJQIgVgw1AZ51vK9ENinBg22FPxb82TvNDO05T17hxXRC2IYAdgC72d%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>;
*/

View File

@ -14,7 +14,7 @@
<script type="module">
import { parse } from "chrome://global/content/certviewer/certDecoder.js";
import { pemToDER } from "chrome://global/content/certviewer/utils.js";
// inputPEM is the same input to CS extension (https://github.com/april/certainly-something)
const inputPEM = "MIIGRjCCBS6gAwIBAgIQDJduPkI49CDWPd+G7+u6kDANBgkqhkiG9w0BAQsFADBNMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMScwJQYDVQQDEx5EaW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AAGQtjTL03RzKAuSg6yeImYVdQWasc7UPnB%0D%0AXlRAzZ8+OJThUbzK16a2CI3Rg4agKSJk+uA47h1/ImmngpFLRb/MvRX6H1oWcUuy%0D%0AH6O7PZdl0YpwTpw1THIuqCGl/wpPgyQgcTM=%0D%0A-----END%20CERTIFICATE-----%0D%0A";

View File

@ -16,7 +16,7 @@
import { parse } from "chrome://global/content/certviewer/certDecoder.js";
import { pemToDER } from "chrome://global/content/certviewer/utils.js";
import { certOutputCS } from "./CSoutput.js";
// inputPEM is the same input to CS extension (https://github.com/april/certainly-something)
const inputPEM = "MIIGRjCCBS6gAwIBAgIQDJduPkI49CDWPd+G7+u6kDANBgkqhkiG9w0BAQsFADBNMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMScwJQYDVQQDEx5EaWdpQ2VydCBTSEEyIFNlY3VyZSBTZXJ2ZXIgQ0EwHhcNMTgxMTA1MDAwMDAwWhcNMTkxMTEzMTIwMDAwWjCBgzELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxHDAaBgNVBAoTE01vemlsbGEgQ29ycG9yYXRpb24xDzANBgNVBAsTBldlYk9wczEYMBYGA1UEAxMPd3d3Lm1vemlsbGEub3JnMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuKruymkkmkqCJh7QjmXlUOBcLFRyw5LG/vUUWVrsxC2gsbR8WJq+cYoYBpoNVStKrO4U2rBh1GEbccvT6qKOQI+pjjDxx9cmRdubGTGp8L0MF1ohVvhIvYLumOEoRDDPU4PvGJjGhek/ojvedPWe8dhciHkxOC2qPFZvVFMwg1/o/b80147BwZQmzB18mnHsmcyKlpsCN8pxw86uao9Iun8gZQrsllW64rTZlRR56pHdAcuGAoZjYZxwS9Z+lvrSjEgrddemWyGGalqyFp1rXlVM1Tf4/IYWAQXTgTUN303u3xMjss7QK7eUDsACRxiWPLW9XQ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BQADggEBAKLJAFO3wuaP5MM/ed1lhk5Uc2aDokhcM7XyvdhEKSHbgPhcgMoT9YIVoPa70gNC6KHcwoXu0g8wt7X6Vm1ql/68G5q844kFuC6JPl4LVT9mciD+VW6bHUSXD9xifL9D";
@ -41,14 +41,14 @@
}
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)."
cert.notAfter = "";
expected.notAfter = "";
cert.notBefore = "";
expected.notBefore = "";
cert.ext.scts.timestamps = cert.ext.scts.timestamps.map(elem => elem.timestamp = "");
expected.ext.scts.timestamps = expected.ext.scts.timestamps.map(elem => elem.timestamp = "");

View File

@ -45,7 +45,7 @@
for (let part in components) {
dir.append(components[part]);
}
return dir;
return dir;
}
function setupLibs(path) {

View File

@ -5,7 +5,7 @@
</head>
<body>
<pre id="c">
Fetching ...
Fetching ...
</pre>
<script>
"use strict";

View File

@ -40,7 +40,7 @@ add_task(async () => {
);
},
});
const secondExtension = ExtensionTestUtils.loadExtension({
manifest: {
permissions: ["webRequest", "webRequestBlocking", "<all_urls>"],

View File

@ -54,7 +54,7 @@ add_task(async () => {
iframe.src = TEST_URL;
document.body.appendChild(iframe);
await new Promise(resolve => iframe.addEventListener("load", () => resolve(), {once: true}));
iframe.src = CROSS_ORIGIN_URL;
await new Promise(resolve => iframe.addEventListener("load", () => resolve(), {once: true}));

View File

@ -306,7 +306,7 @@ add_task(async function test_sub_subframe_conduit_verified_env() {
async function expectErrors(ext, log) {
let err = await ext.awaitMessage("content_child");
is(err, "Bad sender context envType: content_child");
err = await ext.awaitMessage("addon_child");
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 });
await extension.startup();
if (remote) {
info("Need OOP to spoof from a web iframe inside background page.");
await expectErrors(extension);

View File

@ -31,24 +31,24 @@ add_task(async function test_tabs_sendMessage_to_extension_page_frame() {
browser.runtime.onMessage.addListener(async (msg, sender) => {
browser.test.assertEq(msg, "page-script-ready");
browser.test.assertEq(sender.url, browser.runtime.getURL("page.html"));
let tabId = sender.tab.id;
let response = await browser.tabs.sendMessage(tabId, "tab-sendMessage");
switch (response) {
case "extension-tab":
case "extension-tab":
browser.test.assertEq(tab.id, tabId, "Extension tab responded");
browser.test.assertEq(sender.frameId, 0, "Response from top level");
await browser.tabs.remove(tab.id);
browser.test.sendMessage("extension-tab-responded");
break;
case "extension-frame":
browser.test.assertTrue(sender.frameId > 0, "Response from iframe");
browser.test.sendMessage("extension-frame-responded");
break;
default:
default:
browser.test.fail("Unexpected response: " + response);
}
});

View File

@ -36,7 +36,7 @@ async function loadFormIntoIframe(origin, html) {
// eslint-disable-next-line no-unsanitized/property
this.content.document.documentElement.innerHTML = contentHtml;
});
// Wait for the form to be processed before trying to submit.
await promiseFormsProcessed();
}

View File

@ -1,13 +1,13 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Link page 2</title>
<style type="text/css">
a:link { color: #0000ff; }
a:visited { color: #ff0000; }
</style>
</head>
<body>
<p><a href="461710_visited_page.html" id="link">Link to the second visited page</a></p>
</body>
<!DOCTYPE HTML>
<html>
<head>
<title>Link page 2</title>
<style type="text/css">
a:link { color: #0000ff; }
a:visited { color: #ff0000; }
</style>
</head>
<body>
<p><a href="461710_visited_page.html" id="link">Link to the second visited page</a></p>
</body>
</html>

View File

@ -1,13 +1,13 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Link page 3</title>
<style type="text/css">
a:link { color: #0000ff; }
a:visited { color: #ff0000; }
</style>
</head>
<body>
<p><a href="461710_visited_page.html" id="link">Link to the third visited page</a></p>
</body>
<!DOCTYPE HTML>
<html>
<head>
<title>Link page 3</title>
<style type="text/css">
a:link { color: #0000ff; }
a:visited { color: #ff0000; }
</style>
</head>
<body>
<p><a href="461710_visited_page.html" id="link">Link to the third visited page</a></p>
</body>
</html>

View File

@ -1,13 +1,13 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Link page</title>
<style type="text/css">
a:link { color: #0000ff; }
a:visited { color: #ff0000; }
</style>
</head>
<body>
<p><a href="461710_visited_page.html" id="link">Link to the visited page</a></p>
</body>
<!DOCTYPE HTML>
<html>
<head>
<title>Link page</title>
<style type="text/css">
a:link { color: #0000ff; }
a:visited { color: #ff0000; }
</style>
</head>
<body>
<p><a href="461710_visited_page.html" id="link">Link to the visited page</a></p>
</body>
</html>

View File

@ -1,9 +1,9 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Visited page</title>
</head>
<body>
<p>This page is marked as visited</p>
</body>
<!DOCTYPE HTML>
<html>
<head>
<title>Visited page</title>
</head>
<body>
<p>This page is marked as visited</p>
</body>
</html>

View File

@ -63,7 +63,7 @@ th {
th + th,
td + td {
border-inline-start: 1px dotted ThreeDShadow;
border-inline-start: 1px dotted ThreeDShadow;
}
td {

View File

@ -1,102 +1,102 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
<?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
<window title="Context menugroup Tests"
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/EventUtils.js"></script>
<script type="application/javascript" src="popup_shared.js"></script>
<menupopup id="context">
<menugroup>
<menuitem id="a"/>
<menuitem id="b"/>
</menugroup>
<menuitem id="c" label="c"/>
<menugroup/>
</menupopup>
<button label="Check"/>
<vbox id="popuparea" popup="context" width="20" height="20"/>
<script type="application/javascript">
<![CDATA[
SimpleTest.waitForExplicitFinish();
var gMenuPopup = $("context");
ok(gMenuPopup, "Got the reference to the context menu");
var popupTests = [
{
testname: "one-down-key",
condition: function() { return (!navigator.platform.includes("Mac")); },
events: [ "popupshowing context", "popupshown context", "DOMMenuItemActive a" ],
test: function () {
synthesizeMouse($("popuparea"), 4, 4, {});
synthesizeKey("KEY_ArrowDown");
},
result: function (testname) {
checkActive(gMenuPopup, "a", testname);
}
},
{
testname: "two-down-keys",
condition: function() { return (!navigator.platform.includes("Mac")); },
events: [ "DOMMenuItemInactive a", "DOMMenuItemActive b" ],
test: () => synthesizeKey("KEY_ArrowDown"),
result: function (testname) {
checkActive(gMenuPopup, "b", testname);
}
},
{
testname: "three-down-keys",
condition: function() { return (!navigator.platform.includes("Mac")); },
events: [ "DOMMenuItemInactive b", "DOMMenuItemActive c" ],
test: () => synthesizeKey("KEY_ArrowDown"),
result: function (testname) {
checkActive(gMenuPopup, "c", testname);
}
},
{
testname: "three-down-keys-one-up-key",
condition: function() { return (!navigator.platform.includes("Mac")); },
events: [ "DOMMenuItemInactive c", "DOMMenuItemActive b" ],
test: () => synthesizeKey("KEY_ArrowUp"),
result: function (testname) {
checkActive(gMenuPopup, "b", testname);
}
},
{
testname: "three-down-keys-two-up-keys",
condition: function() { return (!navigator.platform.includes("Mac")); },
events: [ "DOMMenuItemInactive b", "DOMMenuItemActive a" ],
test: () => synthesizeKey("KEY_ArrowUp"),
result: function (testname) {
checkActive(gMenuPopup, "a", testname);
}
},
{
testname: "three-down-keys-three-up-key",
condition: function() { return (!navigator.platform.includes("Mac")); },
events: [ "DOMMenuItemInactive a", "DOMMenuItemActive c" ],
test: () => synthesizeKey("KEY_ArrowUp"),
result: function (testname) {
checkActive(gMenuPopup, "c", testname);
}
},
];
SimpleTest.waitForFocus(function runTest() {
startPopupTests(popupTests);
});
]]>
</script>
<body xmlns="http://www.w3.org/1999/xhtml"><p id="display"/></body>
</window>
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
<?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
<window title="Context menugroup Tests"
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/EventUtils.js"></script>
<script type="application/javascript" src="popup_shared.js"></script>
<menupopup id="context">
<menugroup>
<menuitem id="a"/>
<menuitem id="b"/>
</menugroup>
<menuitem id="c" label="c"/>
<menugroup/>
</menupopup>
<button label="Check"/>
<vbox id="popuparea" popup="context" width="20" height="20"/>
<script type="application/javascript">
<![CDATA[
SimpleTest.waitForExplicitFinish();
var gMenuPopup = $("context");
ok(gMenuPopup, "Got the reference to the context menu");
var popupTests = [
{
testname: "one-down-key",
condition: function() { return (!navigator.platform.includes("Mac")); },
events: [ "popupshowing context", "popupshown context", "DOMMenuItemActive a" ],
test: function () {
synthesizeMouse($("popuparea"), 4, 4, {});
synthesizeKey("KEY_ArrowDown");
},
result: function (testname) {
checkActive(gMenuPopup, "a", testname);
}
},
{
testname: "two-down-keys",
condition: function() { return (!navigator.platform.includes("Mac")); },
events: [ "DOMMenuItemInactive a", "DOMMenuItemActive b" ],
test: () => synthesizeKey("KEY_ArrowDown"),
result: function (testname) {
checkActive(gMenuPopup, "b", testname);
}
},
{
testname: "three-down-keys",
condition: function() { return (!navigator.platform.includes("Mac")); },
events: [ "DOMMenuItemInactive b", "DOMMenuItemActive c" ],
test: () => synthesizeKey("KEY_ArrowDown"),
result: function (testname) {
checkActive(gMenuPopup, "c", testname);
}
},
{
testname: "three-down-keys-one-up-key",
condition: function() { return (!navigator.platform.includes("Mac")); },
events: [ "DOMMenuItemInactive c", "DOMMenuItemActive b" ],
test: () => synthesizeKey("KEY_ArrowUp"),
result: function (testname) {
checkActive(gMenuPopup, "b", testname);
}
},
{
testname: "three-down-keys-two-up-keys",
condition: function() { return (!navigator.platform.includes("Mac")); },
events: [ "DOMMenuItemInactive b", "DOMMenuItemActive a" ],
test: () => synthesizeKey("KEY_ArrowUp"),
result: function (testname) {
checkActive(gMenuPopup, "a", testname);
}
},
{
testname: "three-down-keys-three-up-key",
condition: function() { return (!navigator.platform.includes("Mac")); },
events: [ "DOMMenuItemInactive a", "DOMMenuItemActive c" ],
test: () => synthesizeKey("KEY_ArrowUp"),
result: function (testname) {
checkActive(gMenuPopup, "c", testname);
}
},
];
SimpleTest.waitForFocus(function runTest() {
startPopupTests(popupTests);
});
]]>
</script>
<body xmlns="http://www.w3.org/1999/xhtml"><p id="display"/></body>
</window>

View File

@ -3,7 +3,7 @@
<head>
<title>Video controls directionality test</title>
<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>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
</head>

View File

@ -3,7 +3,7 @@
<head>
<title>Video controls directionality test</title>
<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>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
</head>

View File

@ -3,9 +3,9 @@
* 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
*/
window {
window {
font: 3mm tahoma,arial,helvetica,sans-serif;
}

View File

@ -30,13 +30,13 @@
<label data-l10n-id="remove-info"/>
<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"
oninput="gRemovePasswordDialog.validateInput();"
aria-describedby="warnings"/>
</hbox>
</groupbox>
<separator/>
</dialog>

View File

@ -1,13 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<title>Download page</title>
<meta charset="utf-8">
</head>
<body>
<!-- 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">
Download
</a>
</body>
<!DOCTYPE html>
<html>
<head>
<title>Download page</title>
<meta charset="utf-8">
</head>
<body>
<!-- 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">
Download
</a>
</body>
</html>

View File

@ -7,7 +7,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=543854
<window title="Mozilla Bug 543854"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
<!-- test results are displayed in the html:body -->
<body xmlns="http://www.w3.org/1999/xhtml">
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=543854"

View File

@ -1,7 +1,7 @@
/* 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/. */
body {
display: flex;
align-items: center;

View File

@ -11,7 +11,7 @@ richlistitem[type] {
min-height: 36px; /* Don't forget to update the richlistbox height! */
padding-inline-start: 2px;
}
richlistitem {
-moz-box-align: center;
}