forked from mirrors/gecko-dev
Bug 1824173 - Automatically fix some ESLint issues raised by the valid-jsdoc configuration. r=mossop,webcompat-reviewers,denschub
Differential Revision: https://phabricator.services.mozilla.com/D173450
This commit is contained in:
parent
be7a7167d0
commit
4a729cf9d7
124 changed files with 146 additions and 138 deletions
|
|
@ -94,7 +94,7 @@ add_task(async function testReopen() {
|
||||||
* reopen container tab in regular tab
|
* reopen container tab in regular tab
|
||||||
* Close all the tabs
|
* Close all the tabs
|
||||||
* This tests that behaviour of reopening tabs is correct
|
* This tests that behaviour of reopening tabs is correct
|
||||||
* */
|
*/
|
||||||
|
|
||||||
let regularPage = await openURIInRegularTab("about:blank");
|
let regularPage = await openURIInRegularTab("about:blank");
|
||||||
var currRemoteType;
|
var currRemoteType;
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=402788
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script class="testbody" type="text/javascript">
|
<script class="testbody" type="text/javascript">
|
||||||
|
|
||||||
/** Test for Bug 402788 **/
|
/** Test for Bug 402788 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
// return false if an exception has been catched, true otherwise
|
// return false if an exception has been catched, true otherwise
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1382545
|
||||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 1382545 **/
|
/** Test for Bug 1382545 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
// Used by file_animation_api.html
|
// Used by file_animation_api.html
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1369319
|
||||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 1369319 **/
|
/** Test for Bug 1369319 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
window.onload = () => {
|
window.onload = () => {
|
||||||
SimpleTest.waitForFocus(() => {
|
SimpleTest.waitForFocus(() => {
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1372069
|
||||||
|
|
||||||
const BASE_GEO_URL = "http://mochi.test:8888/tests/dom/tests/mochitest/geolocation/network_geolocation.sjs";
|
const BASE_GEO_URL = "http://mochi.test:8888/tests/dom/tests/mochitest/geolocation/network_geolocation.sjs";
|
||||||
|
|
||||||
/** Test for Bug 1372069 **/
|
/** Test for Bug 1372069 */
|
||||||
/** Modified for Bug 1441295 **/
|
/** Modified for Bug 1441295 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
window.onload = () => {
|
window.onload = () => {
|
||||||
SimpleTest.waitForFocus(() => {
|
SimpleTest.waitForFocus(() => {
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1222285
|
||||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 1222285 **/
|
/** Test for Bug 1222285 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
window.onload = () => {
|
window.onload = () => {
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1363508
|
||||||
<div id="target1" style="width: 50px; height: 50px; background: black"></div>
|
<div id="target1" style="width: 50px; height: 50px; background: black"></div>
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 1363508 **/
|
/** Test for Bug 1363508 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
var target0 = window.document.getElementById("target0");
|
var target0 = window.document.getElementById("target0");
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1333641
|
||||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 1333641 **/
|
/** Test for Bug 1333641 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
window.onload = setupSpeechSynthesis;
|
window.onload = setupSpeechSynthesis;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -436,7 +436,7 @@ let ShellServiceInternal = {
|
||||||
* Determine if we're the default handler for the given file extension (like
|
* Determine if we're the default handler for the given file extension (like
|
||||||
* ".pdf") or protocol (like "https"). Windows-only for now.
|
* ".pdf") or protocol (like "https"). Windows-only for now.
|
||||||
*
|
*
|
||||||
* @returns true if we are the default handler, false otherwise.
|
* @returns {boolean} true if we are the default handler, false otherwise.
|
||||||
*/
|
*/
|
||||||
isDefaultHandlerFor(aFileExtensionOrProtocol) {
|
isDefaultHandlerFor(aFileExtensionOrProtocol) {
|
||||||
if (AppConstants.platform == "win") {
|
if (AppConstants.platform == "win") {
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@ XPCOMUtils.defineLazyServiceGetter(
|
||||||
/**
|
/**
|
||||||
* Executes a XUL command on the top window. Called by the callbacks in each
|
* Executes a XUL command on the top window. Called by the callbacks in each
|
||||||
* TouchBarInput.
|
* TouchBarInput.
|
||||||
|
*
|
||||||
* @param {string} commandName
|
* @param {string} commandName
|
||||||
* A XUL command.
|
* A XUL command.
|
||||||
*/
|
*/
|
||||||
|
|
@ -52,6 +53,7 @@ function execCommand(commandName) {
|
||||||
/**
|
/**
|
||||||
* Static helper function to convert a hexadecimal string to its integer
|
* Static helper function to convert a hexadecimal string to its integer
|
||||||
* value. Used to convert colours to a format accepted by Apple's NSColor code.
|
* value. Used to convert colours to a format accepted by Apple's NSColor code.
|
||||||
|
*
|
||||||
* @param {string} hexString
|
* @param {string} hexString
|
||||||
* A hexadecimal string, optionally beginning with '#'.
|
* A hexadecimal string, optionally beginning with '#'.
|
||||||
*/
|
*/
|
||||||
|
|
@ -364,6 +366,7 @@ class TouchBarHelper {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fetches a specific Touch Bar Input by name and updates it on the Touch Bar.
|
* Fetches a specific Touch Bar Input by name and updates it on the Touch Bar.
|
||||||
|
*
|
||||||
* @param {...*} inputNames
|
* @param {...*} inputNames
|
||||||
* A key/keys to a value/values in the gBuiltInInputs object in this file.
|
* A key/keys to a value/values in the gBuiltInInputs object in this file.
|
||||||
*/
|
*/
|
||||||
|
|
@ -392,6 +395,7 @@ class TouchBarHelper {
|
||||||
/**
|
/**
|
||||||
* Inserts a restriction token into the Urlbar ahead of the current typed
|
* Inserts a restriction token into the Urlbar ahead of the current typed
|
||||||
* search term.
|
* search term.
|
||||||
|
*
|
||||||
* @param {string} restrictionToken
|
* @param {string} restrictionToken
|
||||||
* The restriction token to be inserted into the Urlbar. Preferably
|
* The restriction token to be inserted into the Urlbar. Preferably
|
||||||
* sourced from UrlbarTokenizer.RESTRICT.
|
* sourced from UrlbarTokenizer.RESTRICT.
|
||||||
|
|
@ -509,6 +513,7 @@ helperProto._l10n = new Localization(["browser/touchbar/touchbar.ftl"]);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A representation of a Touch Bar input.
|
* A representation of a Touch Bar input.
|
||||||
|
*
|
||||||
* @param {object} input
|
* @param {object} input
|
||||||
* An object representing a Touch Bar Input.
|
* An object representing a Touch Bar Input.
|
||||||
* Contains listed properties.
|
* Contains listed properties.
|
||||||
|
|
@ -617,6 +622,7 @@ class TouchBarInput {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Apply Fluent l10n to child inputs.
|
* Apply Fluent l10n to child inputs.
|
||||||
|
*
|
||||||
* @param {Array} children
|
* @param {Array} children
|
||||||
* An array of initialized TouchBarInputs.
|
* An array of initialized TouchBarInputs.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
* to make sure `FastClick.notNeeded` returns `true`.
|
* to make sure `FastClick.notNeeded` returns `true`.
|
||||||
* This allows to disable FastClick and fix various breakage caused
|
* This allows to disable FastClick and fix various breakage caused
|
||||||
* by the library (mainly non-functioning drop-down lists).
|
* by the library (mainly non-functioning drop-down lists).
|
||||||
**/
|
*/
|
||||||
|
|
||||||
/* globals exportFunction */
|
/* globals exportFunction */
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
* The patch is applied on sites using older version of FastClick library.
|
* The patch is applied on sites using older version of FastClick library.
|
||||||
* This allows to disable FastClick and fix various breakage caused
|
* This allows to disable FastClick and fix various breakage caused
|
||||||
* by the library.
|
* by the library.
|
||||||
**/
|
*/
|
||||||
|
|
||||||
/* globals exportFunction */
|
/* globals exportFunction */
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
/**
|
/**
|
||||||
* A Map of themes built in to the browser, alongwith a Map of collections those themes belong to. Params for the objects contained
|
* A Map of themes built in to the browser, alongwith a Map of collections those themes belong to. Params for the objects contained
|
||||||
* within the map:
|
* within the map:
|
||||||
|
*
|
||||||
* @param {string} id
|
* @param {string} id
|
||||||
* The unique identifier for the theme. The map's key.
|
* The unique identifier for the theme. The map's key.
|
||||||
* @param {string} version
|
* @param {string} version
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1180921
|
||||||
<link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"/>
|
<link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"/>
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 1180921 **/
|
/** Test for Bug 1180921 */
|
||||||
let module = Cu.getGlobalForObject(Services);
|
let module = Cu.getGlobalForObject(Services);
|
||||||
let ssm = Services.scriptSecurityManager;
|
let ssm = Services.scriptSecurityManager;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,9 +18,9 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=246699
|
||||||
<script class="testbody" type="text/javascript">
|
<script class="testbody" type="text/javascript">
|
||||||
|
|
||||||
/**
|
/**
|
||||||
** Test for Bug 246699
|
* Test for Bug 246699
|
||||||
** (should produce stack information for caps errors)
|
* (should produce stack information for caps errors)
|
||||||
**/
|
*/
|
||||||
function isError(e) {
|
function isError(e) {
|
||||||
return e.constructor.name === "Error" || e.constructor.name === "TypeError";
|
return e.constructor.name === "Error" || e.constructor.name === "TypeError";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,10 +20,10 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=292789
|
||||||
<script class="testbody" type="text/javascript">
|
<script class="testbody" type="text/javascript">
|
||||||
|
|
||||||
/** Test for Bug 292789
|
/** Test for Bug 292789
|
||||||
**
|
*
|
||||||
** Selectively allow access to allowlisted chrome packages
|
* Selectively allow access to allowlisted chrome packages
|
||||||
** even for ALLOW_CHROME mechanisms (<script>, <img> etc)
|
* even for ALLOW_CHROME mechanisms (<script>, <img> etc)
|
||||||
**/
|
*/
|
||||||
|
|
||||||
/* import-globals-from ../../../toolkit/content/treeUtils.js */
|
/* import-globals-from ../../../toolkit/content/treeUtils.js */
|
||||||
/* import-globals-from ../../../toolkit/mozapps/update/content/history.js */
|
/* import-globals-from ../../../toolkit/mozapps/update/content/history.js */
|
||||||
|
|
@ -34,20 +34,20 @@ let ChromeUtils = {
|
||||||
import() { return {}; },
|
import() { return {}; },
|
||||||
};
|
};
|
||||||
|
|
||||||
/** <script src=""> test **/
|
/** <script src=""> test */
|
||||||
function testScriptSrc(aCallback) {
|
function testScriptSrc(aCallback) {
|
||||||
is(typeof gTreeUtils.sort, "function",
|
is(typeof gTreeUtils.sort, "function",
|
||||||
"content can still load <script> from chrome://global");
|
"content can still load <script> from chrome://global");
|
||||||
|
|
||||||
/** Try to find an export from history.js. We will find it if it is
|
/** Try to find an export from history.js. We will find it if it is
|
||||||
** improperly not blocked, otherwise it will be "undefined".
|
* improperly not blocked, otherwise it will be "undefined".
|
||||||
**/
|
*/
|
||||||
is(typeof gUpdateHistory, "undefined",
|
is(typeof gUpdateHistory, "undefined",
|
||||||
"content should not be able to load <script> from chrome://mozapps");
|
"content should not be able to load <script> from chrome://mozapps");
|
||||||
|
|
||||||
/** make sure the last one didn't pass because someone
|
/** make sure the last one didn't pass because someone
|
||||||
** moved history.js
|
* moved history.js
|
||||||
**/
|
*/
|
||||||
var resjs = document.getElementById("resjs");
|
var resjs = document.getElementById("resjs");
|
||||||
resjs.onload = scriptOnload;
|
resjs.onload = scriptOnload;
|
||||||
resjs.src = "resource://gre/chrome/toolkit/content/mozapps/update/history.js";
|
resjs.src = "resource://gre/chrome/toolkit/content/mozapps/update/history.js";
|
||||||
|
|
@ -63,7 +63,7 @@ function testScriptSrc(aCallback) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/** <img src=""> tests **/
|
/** <img src=""> tests */
|
||||||
var img_global = "chrome://global/skin/media/error.png";
|
var img_global = "chrome://global/skin/media/error.png";
|
||||||
var img_mozapps = "chrome://mozapps/skin/extensions/extensionGeneric.svg";
|
var img_mozapps = "chrome://mozapps/skin/extensions/extensionGeneric.svg";
|
||||||
var res_mozapps = "resource://gre/chrome/toolkit/skin/classic/mozapps/extensions/extensionGeneric.svg";
|
var res_mozapps = "resource://gre/chrome/toolkit/skin/classic/mozapps/extensions/extensionGeneric.svg";
|
||||||
|
|
|
||||||
|
|
@ -18,9 +18,9 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=423375
|
||||||
<script class="testbody" type="text/javascript">
|
<script class="testbody" type="text/javascript">
|
||||||
|
|
||||||
/**
|
/**
|
||||||
** Test for Bug 423375
|
*Test for Bug 423375
|
||||||
** (content shouldn't be able to load chrome: or resource:)
|
*(content shouldn't be able to load chrome: or resource:)
|
||||||
**/
|
*/
|
||||||
function tryLoad(url) {
|
function tryLoad(url) {
|
||||||
try {
|
try {
|
||||||
window.frames[0].location = url;
|
window.frames[0].location = url;
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=470804
|
||||||
|
|
||||||
/** Test for Bug 470804
|
/** Test for Bug 470804
|
||||||
Passing a null targetURL to checkLoadURIWithPrincipal shouldn't crash
|
Passing a null targetURL to checkLoadURIWithPrincipal shouldn't crash
|
||||||
**/
|
*/
|
||||||
|
|
||||||
const nsIScriptSecurityManager = SpecialPowers.Ci.nsIScriptSecurityManager;
|
const nsIScriptSecurityManager = SpecialPowers.Ci.nsIScriptSecurityManager;
|
||||||
var secMan = SpecialPowers.Services.scriptSecurityManager;
|
var secMan = SpecialPowers.Services.scriptSecurityManager;
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=995943
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
function debug(msg) { info(msg); }
|
function debug(msg) { info(msg); }
|
||||||
|
|
||||||
/** Test for CAPS file:// URI prefs. **/
|
/** Test for CAPS file:// URI prefs. */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
SimpleTest.requestCompleteLog();
|
SimpleTest.requestCompleteLog();
|
||||||
if (navigator.userAgent.includes("Mac OS X 10.10"))
|
if (navigator.userAgent.includes("Mac OS X 10.10"))
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=840488
|
||||||
/* eslint-disable mozilla/no-useless-parameters, no-redeclare, no-undef */
|
/* eslint-disable mozilla/no-useless-parameters, no-redeclare, no-undef */
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
|
||||||
/** Test for all the different ways that script can be disabled for a given global. **/
|
/** Test for all the different ways that script can be disabled for a given global. */
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
const ssm = Services.scriptSecurityManager;
|
const ssm = Services.scriptSecurityManager;
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=732413
|
||||||
/** Test for Bug 732413
|
/** Test for Bug 732413
|
||||||
Passing DISALLOW_INHERIT_PRINCIPAL flag should be effective even if
|
Passing DISALLOW_INHERIT_PRINCIPAL flag should be effective even if
|
||||||
aPrincipal is the system principal.
|
aPrincipal is the system principal.
|
||||||
**/
|
*/
|
||||||
|
|
||||||
const nsIScriptSecurityManager = SpecialPowers.Ci.nsIScriptSecurityManager;
|
const nsIScriptSecurityManager = SpecialPowers.Ci.nsIScriptSecurityManager;
|
||||||
var secMan = SpecialPowers.Cc["@mozilla.org/scriptsecuritymanager;1"]
|
var secMan = SpecialPowers.Cc["@mozilla.org/scriptsecuritymanager;1"]
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
* Test for Bug 655273. Make sure that after changing the URI via
|
* Test for Bug 655273. Make sure that after changing the URI via
|
||||||
* history.pushState, the resulting SHEntry has the same title as our old
|
* history.pushState, the resulting SHEntry has the same title as our old
|
||||||
* SHEntry.
|
* SHEntry.
|
||||||
**/
|
*/
|
||||||
|
|
||||||
add_task(async function test() {
|
add_task(async function test() {
|
||||||
waitForExplicitFinish();
|
waitForExplicitFinish();
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@
|
||||||
addBrowser("box1", "f2", 300, 200);
|
addBrowser("box1", "f2", 300, 200);
|
||||||
addBrowser("box2", "f3", 30, 200);
|
addBrowser("box2", "f3", 30, 200);
|
||||||
|
|
||||||
/** Test for Bug 113934 **/
|
/** Test for Bug 113934 */
|
||||||
var doc1 =
|
var doc1 =
|
||||||
"data:text/html,<html><body onbeforeunload='document.documentElement.textContent = \"\"' onunload='document.documentElement.textContent = \"\"' onpagehide='document.documentElement.textContent = \"\"'>This is a test</body></html>";
|
"data:text/html,<html><body onbeforeunload='document.documentElement.textContent = \"\"' onunload='document.documentElement.textContent = \"\"' onpagehide='document.documentElement.textContent = \"\"'>This is a test</body></html>";
|
||||||
var doc2 = "data:text/html,<html><head></head><body>This is a second test</body></html>";
|
var doc2 = "data:text/html,<html><head></head><body>This is a second test</body></html>";
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@
|
||||||
addBrowser("parent", "f1", 300, 200);
|
addBrowser("parent", "f1", 300, 200);
|
||||||
addBrowser("parent", "f2", 300, 200);
|
addBrowser("parent", "f2", 300, 200);
|
||||||
|
|
||||||
/** Test for Bug 449778 **/
|
/** Test for Bug 449778 */
|
||||||
var doc1 = "data:text/html,<html><body>This is a test</body></html>";
|
var doc1 = "data:text/html,<html><body>This is a test</body></html>";
|
||||||
var doc2 = "data:text/html,<html><body>This is a second test</body></html>";
|
var doc2 = "data:text/html,<html><body>This is a second test</body></html>";
|
||||||
var doc3 = "data:text/html,<html><body>This is a <script>var evt = document.createEvent('Events'); evt.initEvent('testEvt', true, true); document.dispatchEvent(evt);</script>third test</body></html>";
|
var doc3 = "data:text/html,<html><body>This is a <script>var evt = document.createEvent('Events'); evt.initEvent('testEvt', true, true); document.dispatchEvent(evt);</script>third test</body></html>";
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
let f1 = addBrowser("parent", 300, 200);
|
let f1 = addBrowser("parent", 300, 200);
|
||||||
|
|
||||||
/** Test for Bug 449780 **/
|
/** Test for Bug 449780 */
|
||||||
var doc1 = "data:text/html,<html><body>This is a test</body></html>";
|
var doc1 = "data:text/html,<html><body>This is a test</body></html>";
|
||||||
var doc2 = "data:text/html,<html><body>This is a second test</body></html>";
|
var doc2 = "data:text/html,<html><body>This is a second test</body></html>";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=112564
|
||||||
<script class="testbody" type="application/javascript">
|
<script class="testbody" type="application/javascript">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
|
||||||
/** Test for Bug 112564 **/
|
/** Test for Bug 112564 */
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
window.openDialog("bug112564_window.xhtml", "bug112564",
|
window.openDialog("bug112564_window.xhtml", "bug112564",
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=215405
|
||||||
<script class="testbody" type="application/javascript">
|
<script class="testbody" type="application/javascript">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
|
||||||
/** Test for Bug 215405 **/
|
/** Test for Bug 215405 */
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
window.openDialog("bug215405_window.xhtml", "bug215405",
|
window.openDialog("bug215405_window.xhtml", "bug215405",
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=293235.xul
|
||||||
<script class="testbody" type="application/javascript">
|
<script class="testbody" type="application/javascript">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
|
||||||
/** Test for Bug 293235 **/
|
/** Test for Bug 293235 */
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
window.openDialog("bug293235_window.xhtml", "bug293235",
|
window.openDialog("bug293235_window.xhtml", "bug293235",
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=294258.xul
|
||||||
<script class="testbody" type="application/javascript">
|
<script class="testbody" type="application/javascript">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
|
||||||
/** Test for Bug 294258 **/
|
/** Test for Bug 294258 */
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
window.openDialog("bug294258_window.xhtml", "bug294258",
|
window.openDialog("bug294258_window.xhtml", "bug294258",
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=298622.xul
|
||||||
<script class="testbody" type="application/javascript">
|
<script class="testbody" type="application/javascript">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
|
||||||
/** Test for Bug 298622 **/
|
/** Test for Bug 298622 */
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
window.openDialog("bug298622_window.xhtml", "bug298622",
|
window.openDialog("bug298622_window.xhtml", "bug298622",
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=301397.xul
|
||||||
<script class="testbody" type="application/javascript">
|
<script class="testbody" type="application/javascript">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
|
||||||
/** Test for Bug 301397 **/
|
/** Test for Bug 301397 */
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
window.openDialog("bug301397_window.xhtml", "bug301397",
|
window.openDialog("bug301397_window.xhtml", "bug301397",
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=303267.xul
|
||||||
|
|
||||||
SimpleTest.expectAssertions(0, 1);
|
SimpleTest.expectAssertions(0, 1);
|
||||||
|
|
||||||
/** Test for Bug 303267 **/
|
/** Test for Bug 303267 */
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
window.openDialog("bug303267_window.xhtml", "bug303267",
|
window.openDialog("bug303267_window.xhtml", "bug303267",
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ if (navigator.platform.startsWith("Win")) {
|
||||||
SimpleTest.expectAssertions(0, 1);
|
SimpleTest.expectAssertions(0, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Test for Bug 311007 **/
|
/** Test for Bug 311007 */
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
window.openDialog("bug311007_window.xhtml", "bug311007",
|
window.openDialog("bug311007_window.xhtml", "bug311007",
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=321671.xul
|
||||||
<script class="testbody" type="application/javascript">
|
<script class="testbody" type="application/javascript">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
|
||||||
/** Test for Bug 321671 **/
|
/** Test for Bug 321671 */
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
window.openDialog("bug321671_window.xhtml", "bug321671",
|
window.openDialog("bug321671_window.xhtml", "bug321671",
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=360511.xul
|
||||||
<script class="testbody" type="application/javascript">
|
<script class="testbody" type="application/javascript">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
|
||||||
/** Test for Bug 360511 **/
|
/** Test for Bug 360511 */
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
window.openDialog("bug360511_window.xhtml", "bug360511",
|
window.openDialog("bug360511_window.xhtml", "bug360511",
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=364461
|
||||||
<script class="testbody" type="application/javascript">
|
<script class="testbody" type="application/javascript">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
|
||||||
/** Test for Bug 364461 **/
|
/** Test for Bug 364461 */
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=396519
|
||||||
<!-- test code goes here -->
|
<!-- test code goes here -->
|
||||||
<script type="application/javascript"><![CDATA[
|
<script type="application/javascript"><![CDATA[
|
||||||
|
|
||||||
/** Test for Bug 396519 **/
|
/** Test for Bug 396519 */
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
window.openDialog("bug396519_window.xhtml", "bug396519",
|
window.openDialog("bug396519_window.xhtml", "bug396519",
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=396649.xul
|
||||||
<script class="testbody" type="application/javascript">
|
<script class="testbody" type="application/javascript">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
|
||||||
/** Test for Bug 396649 **/
|
/** Test for Bug 396649 */
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
window.openDialog("bug396649_window.xhtml", "bug396649",
|
window.openDialog("bug396649_window.xhtml", "bug396649",
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=428288
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script class="testbody" type="text/javascript">
|
<script class="testbody" type="text/javascript">
|
||||||
|
|
||||||
/** Test for Bug 428288 **/
|
/** Test for Bug 428288 */
|
||||||
|
|
||||||
function makeClick() {
|
function makeClick() {
|
||||||
var event = document.createEvent("MouseEvents");
|
var event = document.createEvent("MouseEvents");
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=453650
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
|
||||||
/** Test for Bug 453650 **/
|
/** Test for Bug 453650 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
var iter = runTests();
|
var iter = runTests();
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=454235
|
||||||
<!-- test code goes here -->
|
<!-- test code goes here -->
|
||||||
<script type="application/javascript"><![CDATA[
|
<script type="application/javascript"><![CDATA[
|
||||||
|
|
||||||
/** Test for Bug 454235 **/
|
/** Test for Bug 454235 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
SimpleTest.waitForFocus(doTest);
|
SimpleTest.waitForFocus(doTest);
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=565388
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
|
||||||
/** Test for Bug 565388 **/
|
/** Test for Bug 565388 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
function test() {
|
function test() {
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=582176.xul
|
||||||
<script class="testbody" type="application/javascript">
|
<script class="testbody" type="application/javascript">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
|
||||||
/** Test for Bug 582176 **/
|
/** Test for Bug 582176 */
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
window.openDialog("bug582176_window.xhtml", "bug582176",
|
window.openDialog("bug582176_window.xhtml", "bug582176",
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=608669
|
||||||
<!-- test code goes here -->
|
<!-- test code goes here -->
|
||||||
<script type="application/javascript"><![CDATA[
|
<script type="application/javascript"><![CDATA[
|
||||||
|
|
||||||
/** Test for Bug 608669 **/
|
/** Test for Bug 608669 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
addLoadEvent(nextTest);
|
addLoadEvent(nextTest);
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=662200.xul
|
||||||
<script class="testbody" type="application/javascript">
|
<script class="testbody" type="application/javascript">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
|
||||||
/** Test for Bug 662200 **/
|
/** Test for Bug 662200 */
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
window.openDialog("bug662200_window.xhtml", "bug662200",
|
window.openDialog("bug662200_window.xhtml", "bug662200",
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=690056
|
||||||
<!-- test code goes here -->
|
<!-- test code goes here -->
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
/** Test for Bug 690056 **/
|
/** Test for Bug 690056 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
window.openDialog("bug690056_window.xhtml", "bug690056",
|
window.openDialog("bug690056_window.xhtml", "bug690056",
|
||||||
"chrome,width=600,height=600,noopener", window);
|
"chrome,width=600,height=600,noopener", window);
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=846906
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
|
||||||
/** Test for Bug 846906 **/
|
/** Test for Bug 846906 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
var appShellService = SpecialPowers.Services.appShell;
|
var appShellService = SpecialPowers.Services.appShell;
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=89419.xul
|
||||||
<script class="testbody" type="application/javascript">
|
<script class="testbody" type="application/javascript">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
|
||||||
/** Test for Bug 89419 **/
|
/** Test for Bug 89419 */
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
window.openDialog("bug89419_window.xhtml", "bug89419",
|
window.openDialog("bug89419_window.xhtml", "bug89419",
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=92598
|
||||||
<script class="testbody" type="application/javascript">
|
<script class="testbody" type="application/javascript">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
|
||||||
/** Test for Bug 92598 **/
|
/** Test for Bug 92598 */
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
window.openDialog("bug92598_window.xhtml", "bug92598",
|
window.openDialog("bug92598_window.xhtml", "bug92598",
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ if (navigator.platform.startsWith("Win")) {
|
||||||
SimpleTest.expectAssertions(0, 1);
|
SimpleTest.expectAssertions(0, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Test for Bug 769771 **/
|
/** Test for Bug 769771 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
addLoadEvent(function () {
|
addLoadEvent(function () {
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=602256
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 602256 **/
|
/** Test for Bug 602256 */
|
||||||
|
|
||||||
var testWin = window.opener ? window.opener : window.parent;
|
var testWin = window.opener ? window.opener : window.parent;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=881487
|
||||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 881487 **/
|
/** Test for Bug 881487 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
// Child needs to invoke us, otherwise our onload will fire before the child
|
// Child needs to invoke us, otherwise our onload will fire before the child
|
||||||
// has done the write/close bit.
|
// has done the write/close bit.
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=646641
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 646641 **/
|
/** Test for Bug 646641 */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Steps:
|
* Steps:
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1045096
|
||||||
</pre>
|
</pre>
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 1045096 **/
|
/** Test for Bug 1045096 */
|
||||||
var i = document.createElement("iframe");
|
var i = document.createElement("iframe");
|
||||||
i.src = "javascript:false"; // This is required!
|
i.src = "javascript:false"; // This is required!
|
||||||
$("content").appendChild(i);
|
$("content").appendChild(i);
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1121701
|
||||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 1121701 **/
|
/** Test for Bug 1121701 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
var testUrl1 = "file_bug1121701_1.html";
|
var testUrl1 = "file_bug1121701_1.html";
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1151421
|
||||||
|
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 1151421 **/
|
/** Test for Bug 1151421 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
function childLoad() {
|
function childLoad() {
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1186774
|
||||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 1186774 **/
|
/** Test for Bug 1186774 */
|
||||||
|
|
||||||
var child;
|
var child;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 1450164 **/
|
/** Test for Bug 1450164 */
|
||||||
|
|
||||||
function runTest() {
|
function runTest() {
|
||||||
var child = window.open("file_bug1450164.html", "", "width=100,height=100");
|
var child = window.open("file_bug1450164.html", "", "width=100,height=100");
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=385434
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 385434 **/
|
/** Test for Bug 385434 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
SimpleTest.requestFlakyTimeout("untriaged");
|
SimpleTest.requestFlakyTimeout("untriaged");
|
||||||
SimpleTest.expectAssertions(0, 1); // bug 1333702
|
SimpleTest.expectAssertions(0, 1); // bug 1333702
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=387979
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script class="testbody" type="text/javascript">
|
<script class="testbody" type="text/javascript">
|
||||||
|
|
||||||
/** Test for Bug 387979 **/
|
/** Test for Bug 387979 */
|
||||||
function a(s) {
|
function a(s) {
|
||||||
var r;
|
var r;
|
||||||
try { r = frames[0].document.body; } catch (e) { r = e; }
|
try { r = frames[0].document.body; } catch (e) { r = e; }
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=404548
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script class="testbody" type="text/javascript">
|
<script class="testbody" type="text/javascript">
|
||||||
|
|
||||||
/** Test for Bug 404548 **/
|
/** Test for Bug 404548 */
|
||||||
var firstRemoved = false;
|
var firstRemoved = false;
|
||||||
var secondHidden = false;
|
var secondHidden = false;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ if (navigator.platform.startsWith("Mac")) {
|
||||||
SimpleTest.expectAssertions(0, 1);
|
SimpleTest.expectAssertions(0, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Test for Bug 413310 **/
|
/** Test for Bug 413310 */
|
||||||
|
|
||||||
// NOTE: If we ever make subframes do bfcache stuff, this test will need to be
|
// NOTE: If we ever make subframes do bfcache stuff, this test will need to be
|
||||||
// modified accordingly! It assumes that subframes do NOT get bfcached.
|
// modified accordingly! It assumes that subframes do NOT get bfcached.
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=509055
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 509055 **/
|
/** Test for Bug 509055 */
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=511449
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 511449 **/
|
/** Test for Bug 511449 */
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
SimpleTest.requestFlakyTimeout("untriaged");
|
SimpleTest.requestFlakyTimeout("untriaged");
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=540462
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 540462 **/
|
/** Test for Bug 540462 */
|
||||||
|
|
||||||
var win;
|
var win;
|
||||||
function runTest() {
|
function runTest() {
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=551225
|
||||||
|
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 551225 **/
|
/** Test for Bug 551225 */
|
||||||
|
|
||||||
var obj = {
|
var obj = {
|
||||||
a: new Date("1/1/2000"),
|
a: new Date("1/1/2000"),
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=598895
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 598895 **/
|
/** Test for Bug 598895 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
addLoadEvent(function() {
|
addLoadEvent(function() {
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=637644
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 637644 **/
|
/** Test for Bug 637644 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
addLoadEvent(function() {
|
addLoadEvent(function() {
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=653741
|
||||||
|
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 653741 **/
|
/** Test for Bug 653741 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
function childLoad() {
|
function childLoad() {
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=660404
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 660404 **/
|
/** Test for Bug 660404 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
var textContent =
|
var textContent =
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=662170
|
||||||
|
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 662170 **/
|
/** Test for Bug 662170 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
function childLoad() {
|
function childLoad() {
|
||||||
|
|
|
||||||
|
|
@ -40,9 +40,9 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=669671
|
||||||
* Then we go back and repeat the whole process but call history.replaceState
|
* Then we go back and repeat the whole process but call history.replaceState
|
||||||
* instead of pushState. And for good measure, we test once more, this time
|
* instead of pushState. And for good measure, we test once more, this time
|
||||||
* modifying only the hash of the URI using replaceState. In this case, we
|
* modifying only the hash of the URI using replaceState. In this case, we
|
||||||
* *should* load from the cache.
|
* should* load from the cache.
|
||||||
*
|
*
|
||||||
**/
|
*/
|
||||||
SimpleTest.requestLongerTimeout(2);
|
SimpleTest.requestLongerTimeout(2);
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=675587
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 675587 **/
|
/** Test for Bug 675587 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
addLoadEvent(function() {
|
addLoadEvent(function() {
|
||||||
ok(window.frames[0].location.href.endsWith("file_bug675587.html#"),
|
ok(window.frames[0].location.href.endsWith("file_bug675587.html#"),
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=694612
|
||||||
</div>
|
</div>
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
/** Test for Bug 694612 **/
|
/** Test for Bug 694612 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
window.addEventListener("message", receiveMessage);
|
window.addEventListener("message", receiveMessage);
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=703855
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 703855 **/
|
/** Test for Bug 703855 */
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=797909
|
||||||
</div>
|
</div>
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
/** Test for Bug 797909 **/
|
/** Test for Bug 797909 */
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ Checks that we correctly decompress and display it (via running JS within the do
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 1600211 **/
|
/** Test for Bug 1600211 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
var w;
|
var w;
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=602256
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 602256 **/
|
/** Test for Bug 602256 */
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
var win = window.open("file_framedhistoryframes.html");
|
var win = window.open("file_framedhistoryframes.html");
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=957479
|
||||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 957479 **/
|
/** Test for Bug 957479 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
// Child needs to invoke us, otherwise our onload will fire before the child
|
// Child needs to invoke us, otherwise our onload will fire before the child
|
||||||
// has done the write/close bit.
|
// has done the write/close bit.
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=602256
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 602256 **/
|
/** Test for Bug 602256 */
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1364364
|
||||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 1364364 **/
|
/** Test for Bug 1364364 */
|
||||||
let testWin, testDoc;
|
let testWin, testDoc;
|
||||||
async function test() {
|
async function test() {
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=344861
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script class="testbody" type="text/javascript">
|
<script class="testbody" type="text/javascript">
|
||||||
|
|
||||||
/** Test for Bug 344861 **/
|
/** Test for Bug 344861 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
var newwindow = window.open("/", "testwindow", "width=200,height=200");
|
var newwindow = window.open("/", "testwindow", "width=200,height=200");
|
||||||
|
|
|
||||||
|
|
@ -112,7 +112,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=386782
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script class="testbody" type="text/javascript">
|
<script class="testbody" type="text/javascript">
|
||||||
|
|
||||||
/** Test for Bug 386782 **/
|
/** Test for Bug 386782 */
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=430624
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script class="testbody" type="text/javascript">
|
<script class="testbody" type="text/javascript">
|
||||||
|
|
||||||
/** Test for Bug 430624 **/
|
/** Test for Bug 430624 */
|
||||||
|
|
||||||
function onLoad() {
|
function onLoad() {
|
||||||
window.frames[0].frameElement.onload = onReload;
|
window.frames[0].frameElement.onload = onReload;
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=430723
|
||||||
<script class="testbody" type="text/javascript">
|
<script class="testbody" type="text/javascript">
|
||||||
// <![CDATA[
|
// <![CDATA[
|
||||||
|
|
||||||
/** Test for Bug 430723 **/
|
/** Test for Bug 430723 */
|
||||||
|
|
||||||
var BASE_URI = "http://mochi.test:8888/tests/docshell/test/navigation/";
|
var BASE_URI = "http://mochi.test:8888/tests/docshell/test/navigation/";
|
||||||
var gTallRedBoxURI = BASE_URI + "redbox_bug430723.html";
|
var gTallRedBoxURI = BASE_URI + "redbox_bug430723.html";
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1314912
|
||||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 1314912 **/
|
/** Test for Bug 1314912 */
|
||||||
|
|
||||||
const RATE_LIMIT_COUNT = 90;
|
const RATE_LIMIT_COUNT = 90;
|
||||||
const RATE_LIMIT_TIME_SPAN = 3;
|
const RATE_LIMIT_TIME_SPAN = 3;
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1170484
|
||||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
|
|
||||||
/** Test for Bug 1170484 **/
|
/** Test for Bug 1170484 */
|
||||||
SimpleTest.waitForExplicitFinish();
|
SimpleTest.waitForExplicitFinish();
|
||||||
|
|
||||||
var { maybeOnSpellCheck } = SpecialPowers.ChromeUtils.import(
|
var { maybeOnSpellCheck } = SpecialPowers.ChromeUtils.import(
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1272623
|
||||||
</pre>
|
</pre>
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
/** Test for Bug 1272623 **/
|
/** Test for Bug 1272623 */
|
||||||
|
|
||||||
var maybeOnSpellCheck;
|
var maybeOnSpellCheck;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1071816
|
||||||
<iframe id="testframe"></iframe>
|
<iframe id="testframe"></iframe>
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script class="testbody" type="text/javascript">
|
<script class="testbody" type="text/javascript">
|
||||||
/** Test for Bug 1071816 **/
|
/** Test for Bug 1071816 */
|
||||||
/* Note! This test uses the chardet test harness but doesn't test chardet! */
|
/* Note! This test uses the chardet test harness but doesn't test chardet! */
|
||||||
CharsetDetectionTests("bug1071816-1_text.html",
|
CharsetDetectionTests("bug1071816-1_text.html",
|
||||||
"UTF-8",
|
"UTF-8",
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1071816
|
||||||
<iframe id="testframe"></iframe>
|
<iframe id="testframe"></iframe>
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script class="testbody" type="text/javascript">
|
<script class="testbody" type="text/javascript">
|
||||||
/** Test for Bug 1071816 **/
|
/** Test for Bug 1071816 */
|
||||||
/* Note! This test uses the chardet test harness but doesn't test chardet! */
|
/* Note! This test uses the chardet test harness but doesn't test chardet! */
|
||||||
CharsetDetectionTests("bug1071816-2_text.html",
|
CharsetDetectionTests("bug1071816-2_text.html",
|
||||||
"windows-1252",
|
"windows-1252",
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1071816
|
||||||
<iframe id="testframe"></iframe>
|
<iframe id="testframe"></iframe>
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script class="testbody" type="text/javascript">
|
<script class="testbody" type="text/javascript">
|
||||||
/** Test for Bug 1071816 **/
|
/** Test for Bug 1071816 */
|
||||||
/* Note! This test uses the chardet test harness but doesn't test chardet! */
|
/* Note! This test uses the chardet test harness but doesn't test chardet! */
|
||||||
CharsetDetectionTests("bug1071816-3_text.html",
|
CharsetDetectionTests("bug1071816-3_text.html",
|
||||||
"UTF-8",
|
"UTF-8",
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1071816
|
||||||
<iframe id="testframe"></iframe>
|
<iframe id="testframe"></iframe>
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script class="testbody" type="text/javascript">
|
<script class="testbody" type="text/javascript">
|
||||||
/** Test for Bug 1071816 **/
|
/** Test for Bug 1071816 */
|
||||||
/* Note! This test uses the chardet test harness but doesn't test chardet! */
|
/* Note! This test uses the chardet test harness but doesn't test chardet! */
|
||||||
CharsetDetectionTests("bug1071816-4_text.html",
|
CharsetDetectionTests("bug1071816-4_text.html",
|
||||||
"windows-1252",
|
"windows-1252",
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=306272
|
||||||
<iframe id="testframe"></iframe>
|
<iframe id="testframe"></iframe>
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script class="testbody" type="text/javascript">
|
<script class="testbody" type="text/javascript">
|
||||||
/** Test for Bug 306272 **/
|
/** Test for Bug 306272 */
|
||||||
CharsetDetectionTests("bug306272_text.html",
|
CharsetDetectionTests("bug306272_text.html",
|
||||||
"UTF-8",
|
"UTF-8",
|
||||||
new Array("ja_parallel_state_machine"));
|
new Array("ja_parallel_state_machine"));
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=426271
|
||||||
<iframe id="testframe"></iframe>
|
<iframe id="testframe"></iframe>
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script class="testbody" type="text/javascript">
|
<script class="testbody" type="text/javascript">
|
||||||
/** Test for Bug 426271 **/
|
/** Test for Bug 426271 */
|
||||||
CharsetDetectionTests("bug426271_text-euc-jp.html",
|
CharsetDetectionTests("bug426271_text-euc-jp.html",
|
||||||
"EUC-JP",
|
"EUC-JP",
|
||||||
new Array("ja_parallel_state_machine"));
|
new Array("ja_parallel_state_machine"));
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=426271
|
||||||
<iframe id="testframe"></iframe>
|
<iframe id="testframe"></iframe>
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script class="testbody" type="text/javascript">
|
<script class="testbody" type="text/javascript">
|
||||||
/** Test for Bug 426271 **/
|
/** Test for Bug 426271 */
|
||||||
CharsetDetectionTests("bug426271_text-utf-8.html",
|
CharsetDetectionTests("bug426271_text-utf-8.html",
|
||||||
"UTF-8",
|
"UTF-8",
|
||||||
new Array("ja_parallel_state_machine"));
|
new Array("ja_parallel_state_machine"));
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=431054
|
||||||
<iframe id="testframe"></iframe>
|
<iframe id="testframe"></iframe>
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script class="testbody" type="text/javascript">
|
<script class="testbody" type="text/javascript">
|
||||||
/** Test for Bug 431054 **/
|
/** Test for Bug 431054 */
|
||||||
CharsetDetectionTests("bug431054_text.html",
|
CharsetDetectionTests("bug431054_text.html",
|
||||||
"EUC-JP",
|
"EUC-JP",
|
||||||
new Array("ja_parallel_state_machine"));
|
new Array("ja_parallel_state_machine"));
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=431054
|
||||||
<iframe id="testframe"></iframe>
|
<iframe id="testframe"></iframe>
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script class="testbody" type="text/javascript">
|
<script class="testbody" type="text/javascript">
|
||||||
/** Test for Bug 431054 **/
|
/** Test for Bug 431054 */
|
||||||
CharsetDetectionTests("bug431054_text.html",
|
CharsetDetectionTests("bug431054_text.html",
|
||||||
"EUC-JP",
|
"EUC-JP",
|
||||||
["zhtw_parallel_state_machine",
|
["zhtw_parallel_state_machine",
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=631751
|
||||||
<iframe id="testframe"></iframe>
|
<iframe id="testframe"></iframe>
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script class="testbody" type="text/javascript">
|
<script class="testbody" type="text/javascript">
|
||||||
/** Test for Bug 631751 **/
|
/** Test for Bug 631751 */
|
||||||
/* Note! This test uses the chardet test harness but doesn't test chardet! */
|
/* Note! This test uses the chardet test harness but doesn't test chardet! */
|
||||||
CharsetDetectionTests("bug631751be_text.html",
|
CharsetDetectionTests("bug631751be_text.html",
|
||||||
"UTF-8", // Test runs from file: URL, so ASCII gets detected as UTF-8.
|
"UTF-8", // Test runs from file: URL, so ASCII gets detected as UTF-8.
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=631751
|
||||||
<iframe id="testframe"></iframe>
|
<iframe id="testframe"></iframe>
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script class="testbody" type="text/javascript">
|
<script class="testbody" type="text/javascript">
|
||||||
/** Test for Bug 631751 **/
|
/** Test for Bug 631751 */
|
||||||
/* Note! This test uses the chardet test harness but doesn't test chardet! */
|
/* Note! This test uses the chardet test harness but doesn't test chardet! */
|
||||||
CharsetDetectionTests("bug631751le_text.html",
|
CharsetDetectionTests("bug631751le_text.html",
|
||||||
"UTF-8", // Test runs from file: URL, so ASCII gets detected as UTF-8.
|
"UTF-8", // Test runs from file: URL, so ASCII gets detected as UTF-8.
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=638318
|
||||||
<iframe id="testframe"></iframe>
|
<iframe id="testframe"></iframe>
|
||||||
<pre id="test">
|
<pre id="test">
|
||||||
<script class="testbody" type="text/javascript">
|
<script class="testbody" type="text/javascript">
|
||||||
/** Test for Bug 638318 **/
|
/** Test for Bug 638318 */
|
||||||
/* Note! This test uses the chardet test harness but doesn't test chardet! */
|
/* Note! This test uses the chardet test harness but doesn't test chardet! */
|
||||||
CharsetDetectionTests("bug638318_text.html",
|
CharsetDetectionTests("bug638318_text.html",
|
||||||
"UTF-8",
|
"UTF-8",
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue