зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1552714 - Move DOM L10n tests from intl/l10n to dom/l10n. r=fluent-reviewers,smaug,Pike
Differential Revision: https://phabricator.services.mozilla.com/D33197 --HG-- rename : intl/l10n/test/browser.ini => dom/l10n/tests/mochitest/browser.ini rename : intl/l10n/test/document_l10n/README.txt => dom/l10n/tests/mochitest/document_l10n/README.txt rename : intl/l10n/test/document_l10n/non-system-principal/README.txt => dom/l10n/tests/mochitest/document_l10n/non-system-principal/README.txt rename : intl/l10n/test/document_l10n/non-system-principal/browser_resource_uri.js => dom/l10n/tests/mochitest/document_l10n/non-system-principal/browser_resource_uri.js rename : intl/l10n/test/document_l10n/non-system-principal/localization/test.ftl => dom/l10n/tests/mochitest/document_l10n/non-system-principal/localization/test.ftl rename : intl/l10n/test/document_l10n/non-system-principal/test.html => dom/l10n/tests/mochitest/document_l10n/non-system-principal/test.html rename : intl/l10n/test/dom/test_docl10n.html => dom/l10n/tests/mochitest/document_l10n/test_docl10n.html rename : intl/l10n/test/dom/test_docl10n.xhtml => dom/l10n/tests/mochitest/document_l10n/test_docl10n.xhtml rename : intl/l10n/test/dom/test_docl10n.xul => dom/l10n/tests/mochitest/document_l10n/test_docl10n.xul rename : intl/l10n/test/dom/test_docl10n_initialize_after_parse.xhtml => dom/l10n/tests/mochitest/document_l10n/test_docl10n_initialize_after_parse.xhtml rename : intl/l10n/test/dom/test_docl10n_initialize_after_parse.xul => dom/l10n/tests/mochitest/document_l10n/test_docl10n_initialize_after_parse.xul rename : intl/l10n/test/dom/test_docl10n_ready_rejected.html => dom/l10n/tests/mochitest/document_l10n/test_docl10n_ready_rejected.html rename : intl/l10n/test/dom/test_docl10n_removeResourceIds.html => dom/l10n/tests/mochitest/document_l10n/test_docl10n_removeResourceIds.html rename : intl/l10n/test/dom/test_docl10n_unpriv_iframe.html => dom/l10n/tests/mochitest/document_l10n/test_unpriv_iframe.html rename : intl/l10n/test/dom/test_domloc_attr_sanitized.html => dom/l10n/tests/mochitest/dom_localization/test_attr_sanitized.html rename : intl/l10n/test/dom/test_domloc_connectRoot.html => dom/l10n/tests/mochitest/dom_localization/test_connectRoot.html rename : intl/l10n/test/dom/test_domloc_disconnectRoot.html => dom/l10n/tests/mochitest/dom_localization/test_disconnectRoot.html rename : intl/l10n/test/dom/test_domloc.xul => dom/l10n/tests/mochitest/dom_localization/test_domloc.xul rename : intl/l10n/test/dom/test_domloc_getAttributes.html => dom/l10n/tests/mochitest/dom_localization/test_getAttributes.html rename : intl/l10n/test/dom/test_domloc_mutations.html => dom/l10n/tests/mochitest/dom_localization/test_mutations.html rename : intl/l10n/test/dom/test_domloc_overlay.html => dom/l10n/tests/mochitest/dom_localization/test_overlay.html rename : intl/l10n/test/dom/test_domloc_overlay_missing_all.html => dom/l10n/tests/mochitest/dom_localization/test_overlay_missing_all.html rename : intl/l10n/test/dom/test_domloc_overlay_missing_children.html => dom/l10n/tests/mochitest/dom_localization/test_overlay_missing_children.html rename : intl/l10n/test/dom/test_domloc_overlay_repeated.html => dom/l10n/tests/mochitest/dom_localization/test_overlay_repeated.html rename : intl/l10n/test/dom/test_domloc_overlay_sanitized.html => dom/l10n/tests/mochitest/dom_localization/test_overlay_sanitized.html rename : intl/l10n/test/dom/test_domloc_repeated_l10nid.html => dom/l10n/tests/mochitest/dom_localization/test_repeated_l10nid.html rename : intl/l10n/test/dom/test_domloc_setAttributes.html => dom/l10n/tests/mochitest/dom_localization/test_setAttributes.html rename : intl/l10n/test/dom/test_domloc_translateElements.html => dom/l10n/tests/mochitest/dom_localization/test_translateElements.html rename : intl/l10n/test/dom/test_domloc_translateFragment.html => dom/l10n/tests/mochitest/dom_localization/test_translateFragment.html rename : intl/l10n/test/dom/test_domloc_translateRoots.html => dom/l10n/tests/mochitest/dom_localization/test_translateRoots.html rename : dom/l10n/tests/mochitest/test_domoverlays_attributes.html => dom/l10n/tests/mochitest/domoverlays/test_attributes.html rename : dom/l10n/tests/mochitest/test_domoverlays.xul => dom/l10n/tests/mochitest/domoverlays/test_domoverlays.xul rename : dom/l10n/tests/mochitest/test_domoverlays_extra_text_markup.html => dom/l10n/tests/mochitest/domoverlays/test_extra_text_markup.html rename : dom/l10n/tests/mochitest/test_domoverlays_functional_children.html => dom/l10n/tests/mochitest/domoverlays/test_functional_children.html rename : dom/l10n/tests/mochitest/test_domoverlays_text_children.html => dom/l10n/tests/mochitest/domoverlays/test_text_children.html rename : intl/l10n/test/mochitest.ini => dom/l10n/tests/mochitest/mochitest.ini extra : moz-landing-system : lando
This commit is contained in:
Родитель
37d6923b94
Коммит
23627f4456
|
@ -27,7 +27,9 @@ LOCAL_INCLUDES += [
|
|||
|
||||
FINAL_LIBRARY = 'xul'
|
||||
|
||||
MOCHITEST_MANIFESTS += ['tests/mochitest/mochitest.ini']
|
||||
MOCHITEST_CHROME_MANIFESTS += ['tests/mochitest/chrome.ini']
|
||||
BROWSER_CHROME_MANIFESTS += ['tests/mochitest/browser.ini']
|
||||
|
||||
if CONFIG['ENABLE_TESTS']:
|
||||
DIRS += ['tests/gtest']
|
||||
|
|
|
@ -1,11 +1,37 @@
|
|||
[test_domoverlays_attributes.html]
|
||||
[test_domoverlays_functional_children.html]
|
||||
[test_domoverlays_text_children.html]
|
||||
[test_domoverlays_extra_text_markup.html]
|
||||
[test_domoverlays.xul]
|
||||
[domoverlays/test_attributes.html]
|
||||
[domoverlays/test_functional_children.html]
|
||||
[domoverlays/test_text_children.html]
|
||||
[domoverlays/test_extra_text_markup.html]
|
||||
[domoverlays/test_domoverlays.xul]
|
||||
|
||||
[mutations/test_append_content_post_dcl.html]
|
||||
[mutations/test_append_content_pre_dcl.html]
|
||||
[mutations/test_append_fragment_post_dcl.html]
|
||||
[mutations/test_set_attributes.html]
|
||||
[mutations/test_pause_observing.html]
|
||||
|
||||
[dom_localization/test_attr_sanitized.html]
|
||||
[dom_localization/test_getAttributes.html]
|
||||
[dom_localization/test_setAttributes.html]
|
||||
[dom_localization/test_translateElements.html]
|
||||
[dom_localization/test_translateFragment.html]
|
||||
[dom_localization/test_connectRoot.html]
|
||||
[dom_localization/test_disconnectRoot.html]
|
||||
[dom_localization/test_repeated_l10nid.html]
|
||||
[dom_localization/test_translateRoots.html]
|
||||
[dom_localization/test_mutations.html]
|
||||
[dom_localization/test_overlay.html]
|
||||
[dom_localization/test_overlay_repeated.html]
|
||||
[dom_localization/test_overlay_missing_all.html]
|
||||
[dom_localization/test_overlay_missing_children.html]
|
||||
[dom_localization/test_overlay_sanitized.html]
|
||||
[dom_localization/test_domloc.xul]
|
||||
|
||||
|
||||
[document_l10n/test_docl10n.xul]
|
||||
[document_l10n/test_docl10n_initialize_after_parse.xhtml]
|
||||
[document_l10n/test_docl10n_initialize_after_parse.xul]
|
||||
[document_l10n/test_docl10n.xhtml]
|
||||
[document_l10n/test_docl10n.html]
|
||||
[document_l10n/test_docl10n_ready_rejected.html]
|
||||
[document_l10n/test_docl10n_removeResourceIds.html]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
const { L10nRegistry, FileSource } = ChromeUtils.import("resource://gre/modules/L10nRegistry.jsm");
|
||||
|
||||
let uri = "chrome://mochitests/content/browser/intl/l10n/test/document_l10n/non-system-principal/";
|
||||
let uri = "chrome://mochitests/content/browser/dom/l10n/tests/mochitest//document_l10n/non-system-principal/";
|
||||
let protocol = Services.io.getProtocolHandler("resource")
|
||||
.QueryInterface(Ci.nsIResProtocolHandler);
|
||||
|
|
@ -0,0 +1 @@
|
|||
[document_l10n/test_unpriv_iframe.html]
|
|
@ -28,9 +28,7 @@ LOCAL_INCLUDES += [
|
|||
|
||||
XPCSHELL_TESTS_MANIFESTS += ['test/xpcshell.ini']
|
||||
|
||||
MOCHITEST_MANIFESTS += ['test/mochitest.ini']
|
||||
MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']
|
||||
BROWSER_CHROME_MANIFESTS += ['test/browser.ini']
|
||||
|
||||
SPHINX_TREES['l10n'] = 'docs'
|
||||
|
||||
|
|
|
@ -1,31 +1,6 @@
|
|||
[dom/test_domloc_attr_sanitized.html]
|
||||
[dom/test_domloc_getAttributes.html]
|
||||
[dom/test_domloc_setAttributes.html]
|
||||
[dom/test_domloc_translateElements.html]
|
||||
[dom/test_domloc_translateFragment.html]
|
||||
[dom/test_domloc_connectRoot.html]
|
||||
[dom/test_domloc_disconnectRoot.html]
|
||||
[dom/test_domloc_repeated_l10nid.html]
|
||||
[dom/test_domloc_translateRoots.html]
|
||||
[dom/test_domloc_mutations.html]
|
||||
[dom/test_domloc_overlay.html]
|
||||
[dom/test_domloc_overlay_repeated.html]
|
||||
[dom/test_domloc_overlay_missing_all.html]
|
||||
[dom/test_domloc_overlay_missing_children.html]
|
||||
[dom/test_domloc_overlay_sanitized.html]
|
||||
[dom/test_domloc.xul]
|
||||
|
||||
[dom/test_mozdom_translateElements.html]
|
||||
[dom/test_mozdom_translateFragment.html]
|
||||
[dom/test_mozdom_translateRoots.html]
|
||||
|
||||
[dom/test_docl10n.xul]
|
||||
[dom/test_docl10n_initialize_after_parse.xhtml]
|
||||
[dom/test_docl10n_initialize_after_parse.xul]
|
||||
[dom/test_docl10n.xhtml]
|
||||
[dom/test_docl10n.html]
|
||||
[dom/test_docl10n_ready_rejected.html]
|
||||
[dom/test_docl10n_removeResourceIds.html]
|
||||
|
||||
[dom_overlays/test_same_id.html]
|
||||
[dom_overlays/test_same_id_args.html]
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
[dom/test_docl10n_unpriv_iframe.html]
|
Загрузка…
Ссылка в новой задаче