mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 968837 - Move more Mochitests into manifests. r=jmaher
--HG-- rename : toolkit/components/places/tests/browser/bug_399606/399606-history.go-0.html => toolkit/components/places/tests/browser/399606-history.go-0.html rename : toolkit/components/places/tests/browser/bug_399606/399606-httprefresh.html => toolkit/components/places/tests/browser/399606-httprefresh.html rename : toolkit/components/places/tests/browser/bug_399606/399606-location.reload.html => toolkit/components/places/tests/browser/399606-location.reload.html rename : toolkit/components/places/tests/browser/bug_399606/399606-location.replace.html => toolkit/components/places/tests/browser/399606-location.replace.html rename : toolkit/components/places/tests/browser/bug_399606/399606-window.location.href.html => toolkit/components/places/tests/browser/399606-window.location.href.html rename : toolkit/components/places/tests/browser/bug_399606/399606-window.location.html => toolkit/components/places/tests/browser/399606-window.location.html rename : toolkit/components/places/tests/browser/visituri/begin.html => toolkit/components/places/tests/browser/begin.html rename : toolkit/components/places/tests/browser/visituri/final.html => toolkit/components/places/tests/browser/final.html rename : toolkit/components/places/tests/browser/visituri/redirect_once.sjs => toolkit/components/places/tests/browser/redirect_once.sjs rename : toolkit/components/places/tests/browser/visituri/redirect_twice.sjs => toolkit/components/places/tests/browser/redirect_twice.sjs rename : toolkit/components/places/tests/browser/settitle/title1.html => toolkit/components/places/tests/browser/title1.html rename : toolkit/components/places/tests/browser/settitle/title2.html => toolkit/components/places/tests/browser/title2.html rename : toolkit/components/places/tests/mochitest/bug94514-postpage.html => toolkit/components/places/tests/bug94514-postpage.html rename : toolkit/components/places/tests/mochitest/test_bug_411966.html => toolkit/components/places/tests/test_bug_411966.html rename : toolkit/components/places/tests/mochitest/test_bug_461710_perwindowpb.html => toolkit/components/places/tests/test_bug_461710_perwindowpb.html rename : toolkit/components/places/tests/mochitest/test_bug_94514.html => toolkit/components/places/tests/test_bug_94514.html
This commit is contained in:
parent
9793bc03ab
commit
06e04ce1b2
@ -1,11 +0,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
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# Disabled on Linux and Windows due to frequent failures - bug 695019, bug 890795
|
||||
ifeq (,$(filter Linux WINNT,$(OS_ARCH)))
|
||||
MOCHITEST_A11Y_FILES += \
|
||||
test_focus_autocomplete.xul \
|
||||
$(NULL)
|
||||
endif
|
@ -19,6 +19,9 @@ support-files =
|
||||
[test_dragndrop.html]
|
||||
[test_flush.html]
|
||||
[test_focus_aria_activedescendant.html]
|
||||
[test_focus_autocomplete.xul]
|
||||
# Disabled on Linux and Windows due to frequent failures - bug 695019, bug 890795
|
||||
skip-if = os == 'win' || os == 'linux'
|
||||
[test_focus_browserui.xul]
|
||||
[test_focus_canvas.html]
|
||||
[test_focus_contextmenu.xul]
|
||||
|
@ -1,8 +0,0 @@
|
||||
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# 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/.
|
||||
|
||||
A11Y_MANIFESTS += ['a11y.ini']
|
||||
|
@ -10,7 +10,6 @@ DIRS += [
|
||||
'bounds',
|
||||
'editabletext',
|
||||
'elm',
|
||||
'events',
|
||||
'focus',
|
||||
'hittest',
|
||||
'hyperlink',
|
||||
@ -34,5 +33,6 @@ DIRS += [
|
||||
|
||||
A11Y_MANIFESTS += [
|
||||
'a11y.ini',
|
||||
'events/a11y.ini',
|
||||
'tree/a11y.ini',
|
||||
]
|
||||
|
@ -1,66 +0,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
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# test_contextmenu.html and test_contextmenu_input are disabled on Linux due to bug 513558
|
||||
ifndef MOZ_WIDGET_GTK
|
||||
MOCHITEST_FILES += \
|
||||
audio.ogg \
|
||||
privateBrowsingMode.js \
|
||||
subtst_contextmenu.html \
|
||||
contextmenu_common.js \
|
||||
test_contextmenu.html \
|
||||
test_contextmenu_input.html \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
# The following tests are disabled because they are unreliable:
|
||||
# browser_bug423833.js is bug 428712
|
||||
# browser_sanitize-download-history.js is bug 432425
|
||||
#
|
||||
# browser_sanitizeDialog_treeView.js is disabled until the tree view is added
|
||||
# back to the clear recent history dialog (sanitize.xul), if it ever is (bug
|
||||
# 480169)
|
||||
|
||||
# browser_drag.js is disabled, as it needs to be updated for the new behavior from bug 320638.
|
||||
|
||||
# browser_bug321000.js is disabled because newline handling is shaky (bug 592528)
|
||||
|
||||
# Disable tests on Windows due to frequent failures (bugs 825739, 841341)
|
||||
ifneq (windows,$(MOZ_WIDGET_TOOLKIT))
|
||||
MOCHITEST_BROWSER_FILES += \
|
||||
browser_bookmark_titles.js \
|
||||
browser_popupNotification.js \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
ifneq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||
MOCHITEST_BROWSER_FILES += \
|
||||
browser_bug462289.js \
|
||||
$(NULL)
|
||||
else
|
||||
MOCHITEST_BROWSER_FILES += \
|
||||
browser_bug565667.js \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
ifdef MOZ_DATA_REPORTING
|
||||
MOCHITEST_BROWSER_FILES += \
|
||||
browser_datareporting_notification.js \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
ifdef MOZ_CRASHREPORTER
|
||||
MOCHITEST_BROWSER_FILES += \
|
||||
browser_pluginCrashCommentAndURL.js \
|
||||
pluginCrashCommentAndURL.html \
|
||||
browser_CTP_crashreporting.js \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
# browser_CTP_context_menu.js fails intermittently on Linux (bug 909342)
|
||||
ifndef MOZ_WIDGET_GTK
|
||||
MOCHITEST_BROWSER_FILES += \
|
||||
browser_CTP_context_menu.js \
|
||||
$(NULL)
|
||||
endif
|
@ -1,5 +0,0 @@
|
||||
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# 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/.
|
@ -4,10 +4,6 @@
|
||||
# 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/.
|
||||
|
||||
TEST_DIRS += [
|
||||
'content/test/general',
|
||||
]
|
||||
|
||||
MOCHITEST_MANIFESTS += [
|
||||
'content/test/general/mochitest.ini',
|
||||
]
|
||||
|
@ -1,10 +0,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
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
MOCHITEST_FILES = \
|
||||
bug421622-referer.sjs \
|
||||
nochrome_bug765993.html \
|
||||
nochrome_bug765993.js \
|
||||
nochrome_bug765993.js^headers^ \
|
||||
$(NULL)
|
6
content/base/test/chrome/mochitest.ini
Normal file
6
content/base/test/chrome/mochitest.ini
Normal file
@ -0,0 +1,6 @@
|
||||
[DEFAULT]
|
||||
support-files =
|
||||
bug421622-referer.sjs
|
||||
nochrome_bug765993.html
|
||||
nochrome_bug765993.js
|
||||
nochrome_bug765993.js^headers^
|
@ -1,8 +0,0 @@
|
||||
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# 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/.
|
||||
|
||||
MOCHITEST_CHROME_MANIFESTS += ['chrome.ini']
|
||||
|
@ -5,7 +5,6 @@
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
TEST_TOOL_DIRS += [
|
||||
'chrome',
|
||||
'csp',
|
||||
'websocket_hybi',
|
||||
]
|
||||
@ -22,9 +21,15 @@ CPP_UNIT_TESTS += [
|
||||
'TestPlainTextSerializer.cpp',
|
||||
]
|
||||
|
||||
MOCHITEST_MANIFESTS += ['mochitest.ini']
|
||||
MOCHITEST_MANIFESTS += [
|
||||
'chrome/mochitest.ini',
|
||||
'mochitest.ini',
|
||||
]
|
||||
|
||||
MOCHITEST_CHROME_MANIFESTS += ['chrome.ini']
|
||||
MOCHITEST_CHROME_MANIFESTS += [
|
||||
'chrome.ini',
|
||||
'chrome/chrome.ini',
|
||||
]
|
||||
|
||||
BROWSER_CHROME_MANIFESTS += ['browser.ini']
|
||||
|
||||
|
@ -1,99 +0,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
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# SkiaGL on Android/Gonk does not implement these composite ops yet
|
||||
ifneq (1_Linux,$(MOZ_SUITE)_$(OS_ARCH))
|
||||
# This test fails in Suite on Linux for some reason, disable it there
|
||||
MOCHITEST_FILES += test_2d.composite.uncovered.image.destination-atop.html
|
||||
endif
|
||||
|
||||
# xor and lighter aren't well handled by cairo; they mostly work, but we don't want
|
||||
# to test that
|
||||
# test_2d.composite.solid.xor.html \
|
||||
# test_2d.composite.solid.lighter.html \
|
||||
# test_2d.composite.transparent.xor.html \
|
||||
# test_2d.composite.transparent.lighter.html \
|
||||
# test_2d.composite.image.xor.html \
|
||||
# test_2d.composite.image.lighter.html \
|
||||
# test_2d.composite.canvas.xor.html \
|
||||
# test_2d.composite.canvas.lighter.html \
|
||||
# test_2d.composite.clip.xor.html \
|
||||
# test_2d.composite.clip.lighter.html \
|
||||
#
|
||||
|
||||
# Tests that fail on Mac (possibly because spec is underdefined?). Bug 407105
|
||||
ifneq ($(MOZ_WIDGET_TOOLKIT),cocoa)
|
||||
# XXX vlad don't test these anywhere, cairo behaviour changed
|
||||
MOCHITEST_FILES += \
|
||||
test_2d.line.join.parallel.html \
|
||||
$(NULL)
|
||||
|
||||
ifneq ($(MOZ_WIDGET_TOOLKIT), android)
|
||||
ifneq ($(MOZ_WIDGET_TOOLKIT), gonk)
|
||||
# This is an issue with Quartz's handling of radial gradients and some numeric
|
||||
# imprecision that results in errors here. SkiaGL (on Android/Gonk) also has
|
||||
# a similar problem.
|
||||
MOCHITEST_FILES += \
|
||||
test_2d.gradient.radial.inside2.html \
|
||||
test_2d.gradient.radial.inside3.html \
|
||||
test_2d.gradient.radial.outside1.html \
|
||||
test_2d.gradient.radial.cone.front.html \
|
||||
test_2d.gradient.radial.cone.top.html \
|
||||
$(NULL)
|
||||
endif
|
||||
endif
|
||||
|
||||
# This is another Quartz bug -- closed paths that don't lie fully within the
|
||||
# destination bounds seem to have problems with the BEVEL/SQUARE join/cap combo.
|
||||
# The joins are rendered as if with MITER; the correct behaviour is also seen
|
||||
# if BUTT is used instead of SQUARE.
|
||||
MOCHITEST_FILES += test_2d.line.cap.closed.html
|
||||
|
||||
endif
|
||||
|
||||
# Tests that fail on non-Mac (bug 407107)
|
||||
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
|
||||
|
||||
# still need bug numbers
|
||||
MOCHITEST_FILES += \
|
||||
test_2d.composite.uncovered.fill.source-in.html \
|
||||
test_2d.composite.uncovered.fill.destination-in.html \
|
||||
test_2d.composite.uncovered.fill.source-out.html \
|
||||
test_2d.composite.uncovered.fill.destination-atop.html \
|
||||
test_2d.composite.uncovered.pattern.source-in.html \
|
||||
test_2d.composite.uncovered.pattern.destination-in.html \
|
||||
test_2d.composite.uncovered.pattern.source-out.html \
|
||||
test_2d.composite.uncovered.pattern.destination-atop.html \
|
||||
$(NULL)
|
||||
|
||||
# still need bug numbers
|
||||
MOCHITEST_FILES += \
|
||||
test_2d.gradient.radial.outside2.html \
|
||||
test_2d.gradient.radial.outside3.html \
|
||||
$(NULL)
|
||||
|
||||
# still need bug numbers
|
||||
MOCHITEST_FILES += test_2d.path.arc.shape.3.html
|
||||
|
||||
MOCHITEST_FILES += test_2d.path.rect.selfintersect.html
|
||||
endif
|
||||
|
||||
# These tests only pass on Mac OS X >= 10.5; see bug 450114
|
||||
# test_2d.gradient.radial.touch1.html \
|
||||
# test_2d.gradient.radial.touch2.html \
|
||||
# test_2d.gradient.radial.touch3.html \
|
||||
# test_2d.gradient.radial.equal.html \
|
||||
|
||||
# These tests do not pass on any platform; Quartz backend won't pass them
|
||||
# because we fall back to pixman when one circle doesn't contain the other.
|
||||
# See bug 512647.
|
||||
# test_2d.gradient.radial.cone.shape2.html \
|
||||
# test_2d.gradient.radial.cone.behind.html \
|
||||
# test_2d.gradient.radial.cone.beside.html \
|
||||
|
||||
# This test is bogus according to the spec; see bug 407107
|
||||
# test_2d.path.rect.zero.6.html
|
||||
|
||||
# split up into groups to work around command-line length limits
|
@ -1,8 +0,0 @@
|
||||
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# 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/.
|
||||
|
||||
MOCHITEST_CHROME_MANIFESTS += ['chrome.ini']
|
||||
|
@ -1,8 +0,0 @@
|
||||
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# 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/.
|
||||
|
||||
MOCHITEST_MANIFESTS += ['mochitest.ini']
|
||||
|
@ -47,6 +47,28 @@ support-files =
|
||||
[test_2d.composite.image.destination-in.html]
|
||||
[test_2d.composite.image.source-in.html]
|
||||
[test_2d.composite.image.source-out.html]
|
||||
# xor and lighter aren't well handled by cairo; they mostly work, but we don't want
|
||||
# to test that
|
||||
[test_2d.composite.solid.xor.html]
|
||||
disabled =
|
||||
[test_2d.composite.solid.lighter.html]
|
||||
disabled =
|
||||
[test_2d.composite.transparent.xor.html]
|
||||
disabled =
|
||||
[test_2d.composite.transparent.lighter.html]
|
||||
disabled =
|
||||
[test_2d.composite.image.xor.html]
|
||||
disabled =
|
||||
[test_2d.composite.image.lighter.html]
|
||||
disabled =
|
||||
[test_2d.composite.canvas.xor.html]
|
||||
disabled =
|
||||
[test_2d.composite.canvas.lighter.html]
|
||||
disabled =
|
||||
[test_2d.composite.clip.xor.html]
|
||||
disabled =
|
||||
[test_2d.composite.clip.lighter.html]
|
||||
disabled =
|
||||
[test_2d.composite.solid.color-burn.html]
|
||||
[test_2d.composite.solid.color-dodge.html]
|
||||
[test_2d.composite.solid.color.html]
|
||||
@ -62,6 +84,9 @@ support-files =
|
||||
[test_2d.composite.solid.saturation.html]
|
||||
[test_2d.composite.solid.screen.html]
|
||||
[test_2d.composite.solid.soft-light.html]
|
||||
[test_2d.composite.uncovered.image.destination-atop.html]
|
||||
# This test fails in Suite on Linux for some reason, disable it there
|
||||
skip-if = os == 'linux' && buildapp == 'suite'
|
||||
[test_2d.composite.uncovered.fill.color-burn.html]
|
||||
[test_2d.composite.uncovered.fill.color-dodge.html]
|
||||
[test_2d.composite.uncovered.fill.color.html]
|
||||
@ -77,12 +102,84 @@ support-files =
|
||||
[test_2d.composite.uncovered.fill.saturation.html]
|
||||
[test_2d.composite.uncovered.fill.screen.html]
|
||||
[test_2d.composite.uncovered.fill.soft-light.html]
|
||||
# Tests that fail on non-Mac (bug 407107)
|
||||
[test_2d.composite.uncovered.fill.source-in.html]
|
||||
skip-if = toolkit != 'cocoa'
|
||||
[test_2d.composite.uncovered.fill.destination-in.html]
|
||||
skip-if = toolkit != 'cocoa'
|
||||
[test_2d.composite.uncovered.fill.source-out.html]
|
||||
skip-if = toolkit != 'cocoa'
|
||||
[test_2d.composite.uncovered.fill.destination-atop.html]
|
||||
skip-if = toolkit != 'cocoa'
|
||||
[test_2d.composite.uncovered.image.destination-in.html]
|
||||
[test_2d.composite.uncovered.image.source-in.html]
|
||||
[test_2d.composite.uncovered.image.source-out.html]
|
||||
# Tests that fail on non-Mac (bug 407107)
|
||||
[test_2d.composite.uncovered.pattern.source-in.html]
|
||||
skip-if = toolkit != 'cocoa'
|
||||
[test_2d.composite.uncovered.pattern.destination-in.html]
|
||||
skip-if = toolkit != 'cocoa'
|
||||
[test_2d.composite.uncovered.pattern.source-out.html]
|
||||
skip-if = toolkit != 'cocoa'
|
||||
[test_2d.composite.uncovered.pattern.destination-atop.html]
|
||||
skip-if = toolkit != 'cocoa'
|
||||
[test_2d.drawImage.zerocanvas.html]
|
||||
[test_2d.fill.winding.html]
|
||||
# These tests do not pass on any platform; Quartz backend won't pass them
|
||||
# because we fall back to pixman when one circle doesn't contain the other.
|
||||
# See bug 512647.
|
||||
[test_2d.gradient.radial.cone.shape2.html]
|
||||
disabled = bug 512647
|
||||
[test_2d.gradient.radial.cone.behind.html]
|
||||
disabled = bug 512647
|
||||
[test_2d.gradient.radial.cone.beside.html]
|
||||
disabled = bug 512647
|
||||
# This is an issue with Quartz's handling of radial gradients and some numeric
|
||||
# imprecision that results in errors here. SkiaGL (on Android/Gonk) also has
|
||||
# a similar problem.
|
||||
[test_2d.gradient.radial.inside2.html]
|
||||
skip-if = toolkit == 'cocoa' || toolkit == 'android' || toolkit == 'gonk'
|
||||
[test_2d.gradient.radial.inside3.html]
|
||||
skip-if = toolkit == 'cocoa' || toolkit == 'android' || toolkit == 'gonk'
|
||||
[test_2d.gradient.radial.outside1.html]
|
||||
skip-if = toolkit == 'cocoa' || toolkit == 'android' || toolkit == 'gonk'
|
||||
[test_2d.gradient.radial.cone.front.html]
|
||||
skip-if = toolkit == 'cocoa' || toolkit == 'android' || toolkit == 'gonk'
|
||||
[test_2d.gradient.radial.cone.top.html]
|
||||
skip-if = toolkit == 'cocoa' || toolkit == 'android' || toolkit == 'gonk'
|
||||
# Tests that fail on non-Mac (bug 407107)
|
||||
[test_2d.gradient.radial.outside2.html]
|
||||
skip-if = toolkit != 'cocoa'
|
||||
[test_2d.gradient.radial.outside3.html]
|
||||
skip-if = toolkit != 'cocoa'
|
||||
# These tests only pass on Mac OS X >= 10.5; see bug 450114
|
||||
[test_2d.gradient.radial.touch1.html]
|
||||
disabled = bug 450114
|
||||
[test_2d.gradient.radial.touch2.html]
|
||||
disabled = bug 450114
|
||||
[test_2d.gradient.radial.touch3.html]
|
||||
disabled = bug 450114
|
||||
[test_2d.gradient.radial.equal.html]
|
||||
disabled = bug 450114
|
||||
[test_2d.isPointInPath.winding.html]
|
||||
[test_2d.line.cap.closed.html]
|
||||
# This is another Quartz bug -- closed paths that don't lie fully within the
|
||||
# destination bounds seem to have problems with the BEVEL/SQUARE join/cap combo.
|
||||
# The joins are rendered as if with MITER; the correct behaviour is also seen
|
||||
# if BUTT is used instead of SQUARE.
|
||||
skip-if = toolkit == 'cocoa'
|
||||
[test_2d.line.join.parallel.html]
|
||||
# Tests that fail on Mac (possibly because spec is underdefined?). Bug 407105
|
||||
# XXX vlad don't test these anywhere, cairo behaviour changed
|
||||
skip-if = toolkit == 'cocoa'
|
||||
# Tests that fail on non-Mac (bug 407107)
|
||||
[test_2d.path.arc.shape.3.html]
|
||||
skip-if = toolkit != 'cocoa'
|
||||
[test_2d.path.rect.selfintersect.html]
|
||||
skip-if = toolkit != 'cocoa'
|
||||
# This test is bogus according to the spec; see bug 407107
|
||||
[test_2d.path.rect.zero.6.html]
|
||||
disabled = bug 407107
|
||||
[test_2d.strokeRect.zero.5.html]
|
||||
[test_bug613794.html]
|
||||
[test_bug753758.html]
|
||||
|
@ -4,7 +4,11 @@
|
||||
# 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/.
|
||||
|
||||
DIRS += ['webgl', 'crossorigin', 'chrome']
|
||||
DIRS += ['webgl']
|
||||
|
||||
MOCHITEST_MANIFESTS += ['mochitest.ini']
|
||||
MOCHITEST_MANIFESTS += [
|
||||
'crossorigin/mochitest.ini',
|
||||
'mochitest.ini',
|
||||
]
|
||||
|
||||
MOCHITEST_CHROME_MANIFESTS += ['chrome/chrome.ini']
|
||||
|
@ -1,9 +0,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
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
MOCHITEST_FILES := \
|
||||
audio-testing.js \
|
||||
convolution-testing.js \
|
||||
panner-model-testing.js \
|
||||
$(NULL)
|
5
content/media/webaudio/test/blink/mochitest.ini
Normal file
5
content/media/webaudio/test/blink/mochitest.ini
Normal file
@ -0,0 +1,5 @@
|
||||
[DEFAULT]
|
||||
support-files =
|
||||
audio-testing.js
|
||||
convolution-testing.js
|
||||
panner-model-testing.js
|
@ -4,7 +4,7 @@
|
||||
# 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/.
|
||||
|
||||
PARALLEL_DIRS += ['blink']
|
||||
|
||||
MOCHITEST_MANIFESTS += ['mochitest.ini']
|
||||
|
||||
MOCHITEST_MANIFESTS += [
|
||||
'blink/mochitest.ini',
|
||||
'mochitest.ini',
|
||||
]
|
||||
|
@ -1,29 +0,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
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
MOCHITEST_FILES = \
|
||||
bug89419.sjs \
|
||||
blue.png \
|
||||
red.png \
|
||||
92598_nostore.html \
|
||||
92598_nostore.html^headers^ \
|
||||
112564_nocache.html \
|
||||
112564_nocache.html^headers^ \
|
||||
215405_nostore.html \
|
||||
215405_nostore.html^headers^ \
|
||||
215405_nocache.html \
|
||||
215405_nocache.html^headers^ \
|
||||
582176_dummy.html \
|
||||
582176_xml.xml \
|
||||
582176_xslt.xsl \
|
||||
allowContentRetargeting.sjs \
|
||||
$(NULL)
|
||||
|
||||
ifneq ($(MOZ_WIDGET_TOOLKIT),gtk2)
|
||||
MOCHITEST_CHROME_FILES += \
|
||||
test_bug454235.xul \
|
||||
$(NULL)
|
||||
else
|
||||
$(filter disabled-temporarily--bug-684176, test_bug454235.xul)
|
||||
endif
|
@ -65,6 +65,9 @@ support-files =
|
||||
[test_bug449778.xul]
|
||||
[test_bug449780.xul]
|
||||
[test_bug453650.xul]
|
||||
[test_bug454235.xul]
|
||||
# bug 684176
|
||||
skip-if = toolkit == "gtk2"
|
||||
[test_bug456980.xul]
|
||||
[test_bug565388.xul]
|
||||
[test_bug582176.xul]
|
||||
|
17
docshell/test/chrome/mochitest.ini
Normal file
17
docshell/test/chrome/mochitest.ini
Normal file
@ -0,0 +1,17 @@
|
||||
[DEFAULT]
|
||||
support-files =
|
||||
bug89419.sjs
|
||||
blue.png
|
||||
red.png
|
||||
92598_nostore.html
|
||||
92598_nostore.html^headers^
|
||||
112564_nocache.html
|
||||
112564_nocache.html^headers^
|
||||
215405_nostore.html
|
||||
215405_nostore.html^headers^
|
||||
215405_nocache.html
|
||||
215405_nocache.html^headers^
|
||||
582176_dummy.html
|
||||
582176_xml.xml
|
||||
582176_xslt.xsl
|
||||
allowContentRetargeting.sjs
|
@ -1,8 +0,0 @@
|
||||
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# 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/.
|
||||
|
||||
MOCHITEST_CHROME_MANIFESTS += ['chrome.ini']
|
||||
|
@ -4,8 +4,6 @@
|
||||
# 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/.
|
||||
|
||||
DIRS += ['chrome', 'navigation']
|
||||
|
||||
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']
|
||||
|
||||
# FIXME/bug 575918: out-of-process xpcshell is broken on OS X
|
||||
@ -13,8 +11,14 @@ if CONFIG['OS_ARCH'] != 'Darwin':
|
||||
XPCSHELL_TESTS_MANIFESTS += ['unit_ipc/xpcshell.ini']
|
||||
|
||||
MOCHITEST_MANIFESTS += [
|
||||
'chrome/mochitest.ini',
|
||||
'iframesandbox/mochitest.ini',
|
||||
'mochitest.ini'
|
||||
'mochitest.ini',
|
||||
'navigation/mochitest.ini',
|
||||
]
|
||||
BROWSER_CHROME_MANIFESTS += [
|
||||
'browser/browser.ini',
|
||||
'navigation/browser.ini',
|
||||
]
|
||||
BROWSER_CHROME_MANIFESTS += ['browser/browser.ini']
|
||||
|
||||
MOCHITEST_CHROME_MANIFESTS += ['chrome/chrome.ini']
|
||||
|
@ -1,10 +0,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
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
ifneq (mobile/android,$(MOZ_BUILD_APP))
|
||||
MOCHITEST_FILES += \
|
||||
test_bug270414.html \
|
||||
$(NULL)
|
||||
endif
|
||||
|
@ -20,6 +20,8 @@ support-files =
|
||||
parent.html
|
||||
|
||||
[test_bug13871.html]
|
||||
[test_bug270414.html]
|
||||
skip-if = toolkit == "android"
|
||||
[test_bug278916.html]
|
||||
[test_bug279495.html]
|
||||
[test_bug344861.html]
|
||||
|
@ -1,10 +0,0 @@
|
||||
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# 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/.
|
||||
|
||||
MOCHITEST_MANIFESTS += ['mochitest.ini']
|
||||
|
||||
BROWSER_CHROME_MANIFESTS += ['browser.ini']
|
||||
|
@ -1,17 +0,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
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
ifdef MOZ_B2G
|
||||
MOCHITEST_BROWSER_FILES += \
|
||||
browser_webapps_permissions.js \
|
||||
test-webapp.webapp \
|
||||
test-webapp-reinstall.webapp \
|
||||
test-webapp-original.webapp \
|
||||
test-webapps-permissions.html \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
|
||||
# TODO: Re-enable permissions tests on Mac, bug 795334
|
||||
# TODO: disabled test browser_webapps_perms_reinstall.js, re-enable when bug 794920 is fixed
|
@ -18,4 +18,14 @@ support-files =
|
||||
[browser_frame_elements.js]
|
||||
[browser_geolocation_privatebrowsing_perwindowpb.js]
|
||||
[browser_localStorage_privatestorageevent.js]
|
||||
[browser_webapps_permissions.js]
|
||||
# TODO: Re-enable permissions tests on Mac, bug 795334
|
||||
skip-if = buildapp != "b2g"
|
||||
support-files =
|
||||
test-webapp.webapp
|
||||
test-webapp-reinstall.webapp
|
||||
test-webapp-original.webapp
|
||||
test-webapps-permissions.html
|
||||
[browser_webapps_perms_reinstall.js]
|
||||
disabled = re-enable when bug 794920 is fixed
|
||||
[browser_xhr_sandbox.js]
|
||||
|
@ -1,8 +0,0 @@
|
||||
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# 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/.
|
||||
|
||||
BROWSER_CHROME_MANIFESTS += ['browser.ini']
|
||||
|
@ -1,9 +0,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
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
MOCHITEST_FILES = \
|
||||
AJAX_setup.js \
|
||||
test.css \
|
||||
$(NULL)
|
4
dom/tests/mochitest/ajax/lib/mochitest.ini
Normal file
4
dom/tests/mochitest/ajax/lib/mochitest.ini
Normal file
@ -0,0 +1,4 @@
|
||||
[DEFAULT]
|
||||
support-files =
|
||||
AJAX_setup.js
|
||||
test.css
|
@ -1,6 +0,0 @@
|
||||
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# 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/.
|
||||
|
@ -4,12 +4,9 @@
|
||||
# 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/.
|
||||
|
||||
DIRS += [
|
||||
'lib',
|
||||
]
|
||||
|
||||
MOCHITEST_MANIFESTS += [
|
||||
'jquery/mochitest.ini',
|
||||
'lib/mochitest.ini',
|
||||
'mochikit/mochitest.ini',
|
||||
'mochikit/tests/mochitest.ini',
|
||||
'offline/mochitest.ini',
|
||||
|
@ -1,29 +0,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
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
ifeq (WINNT,$(OS_ARCH))
|
||||
MOCHITEST_CHROME_FILES += \
|
||||
test_sizemode_attribute.xul \
|
||||
sizemode_attribute.xul \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
ifneq (Linux,$(OS_ARCH))
|
||||
MOCHITEST_CHROME_FILES += \
|
||||
test_resize_move_windows.xul \
|
||||
test_fullscreen.xul \
|
||||
$(NULL)
|
||||
else
|
||||
$(filter disabled-on-linux-for-timeouts--bug-834716, test_resize_move_windows.xul)
|
||||
$(filter disabled-on-linux-for-timeouts--bug-867745, test_fullscreen.xul)
|
||||
endif
|
||||
|
||||
ifneq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
||||
MOCHITEST_CHROME_FILES += \
|
||||
test_MozEnteredDomFullscreen_event.xul \
|
||||
$(NULL)
|
||||
else
|
||||
$(filter disabled-on-os-x-for-intermittent-failures--bug-798848, test_MozEnteredDomFullscreen_event.xul)
|
||||
endif
|
@ -17,6 +17,7 @@ support-files =
|
||||
queryCaretRectUnix.html
|
||||
queryCaretRectWin.html
|
||||
selectAtPoint.html
|
||||
sizemode_attribute.xul
|
||||
window_activation.xul
|
||||
window_callback_wrapping.xul
|
||||
window_docshell_swap.xul
|
||||
@ -38,19 +39,30 @@ support-files =
|
||||
[test_focus_docnav.xul]
|
||||
[test_focus_switchbinding.xul]
|
||||
[test_focused_link_scroll.xul]
|
||||
[test_fullscreen.xul]
|
||||
# disabled on linux for timeouts--bug-867745
|
||||
skip-if = os == 'linux'
|
||||
[test_fullscreen_preventdefault.xul]
|
||||
[test_geolocation.xul]
|
||||
[test_indexedSetter.html]
|
||||
[test_moving_nodeList.xul]
|
||||
[test_moving_xhr.xul]
|
||||
[test_MozEnteredDomFullscreen_event.xul]
|
||||
# disabled on OS X for intermittent failures--bug-798848
|
||||
skip-if = toolkit == 'cocoa'
|
||||
[test_nodesFromRect.html]
|
||||
[test_popup_blocker_chrome.xul]
|
||||
[test_queryCaretRect.html]
|
||||
[test_resize_move_windows.xul]
|
||||
# disabled on linux for timeouts--bug-834716
|
||||
skip-if = os == 'linux'
|
||||
[test_sandbox_bindings.xul]
|
||||
[test_sandbox_eventhandler.xul]
|
||||
[test_sandbox_image.xul]
|
||||
[test_sandbox_postMessage.html]
|
||||
[test_selectAtPoint.html]
|
||||
[test_sizemode_attribute.xul]
|
||||
skip-if = os != 'win'
|
||||
[test_subscript_bindings.xul]
|
||||
[test_xray_event_constructor.xul]
|
||||
[test_clipboard_events_chrome.html]
|
||||
|
@ -1,8 +0,0 @@
|
||||
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# 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/.
|
||||
|
||||
MOCHITEST_CHROME_MANIFESTS += ['chrome.ini']
|
||||
|
@ -8,7 +8,6 @@ DIRS += [
|
||||
'dom-level0',
|
||||
'ajax',
|
||||
'bugs',
|
||||
'chrome',
|
||||
'crypto',
|
||||
'general',
|
||||
'geolocation',
|
||||
@ -32,6 +31,7 @@ MOCHITEST_MANIFESTS += [
|
||||
]
|
||||
|
||||
MOCHITEST_CHROME_MANIFESTS += [
|
||||
'chrome/chrome.ini',
|
||||
'webapps/chrome.ini',
|
||||
'whatwg/chrome.ini',
|
||||
]
|
||||
|
@ -4,6 +4,7 @@
|
||||
# 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/.
|
||||
|
||||
DIRS += ['mochitest', 'browser']
|
||||
DIRS += ['mochitest']
|
||||
|
||||
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']
|
||||
BROWSER_CHROME_MANIFESTS += ['browser/browser.ini']
|
||||
|
@ -4,8 +4,6 @@
|
||||
# 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/.
|
||||
|
||||
TEST_DIRS += ['tests']
|
||||
|
||||
UNIFIED_SOURCES += [
|
||||
'nsInternetCiter.cpp',
|
||||
'nsPlaintextDataTransfer.cpp',
|
||||
@ -25,3 +23,7 @@ LOCAL_INCLUDES += [
|
||||
]
|
||||
|
||||
FINAL_LIBRARY = 'gklayout'
|
||||
|
||||
MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
|
||||
|
||||
MOCHITEST_CHROME_MANIFESTS += ['tests/chrome.ini']
|
||||
|
@ -1,13 +0,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
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# disables the key handling test on gtk because gtk overrides some key events
|
||||
# on our editor, and the combinations depend on the system.
|
||||
ifndef MOZ_WIDGET_GTK
|
||||
MOCHITEST_CHROME_FILES += \
|
||||
test_texteditor_keyevent_handling.html \
|
||||
$(NULL)
|
||||
endif
|
||||
|
@ -1,7 +1,9 @@
|
||||
[DEFAULT]
|
||||
|
||||
[test_bug471319.html]
|
||||
[test_bug483651.html]
|
||||
[test_bug569988.html]
|
||||
[test_bug636465.xul]
|
||||
[test_bug830600.html]
|
||||
[test_texteditor_keyevent_handling.html]
|
||||
# disables the key handling test on gtk because gtk overrides some key events
|
||||
# on our editor, and the combinations depend on the system.
|
||||
skip-if = toolkit == "gtk2" || toolkit == "gtk3"
|
||||
|
@ -1,10 +0,0 @@
|
||||
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# 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/.
|
||||
|
||||
MOCHITEST_MANIFESTS += ['mochitest.ini']
|
||||
|
||||
MOCHITEST_CHROME_MANIFESTS += ['chrome.ini']
|
||||
|
@ -1,8 +0,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
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
MOCHITEST_FILES = \
|
||||
moz_document_helper.html \
|
||||
additional_sheets_helper.html \
|
||||
$(NULL)
|
4
layout/style/test/chrome/mochitest.ini
Normal file
4
layout/style/test/chrome/mochitest.ini
Normal file
@ -0,0 +1,4 @@
|
||||
[DEFAULT]
|
||||
support-files =
|
||||
moz_document_helper.html
|
||||
additional_sheets_helper.html
|
@ -1,8 +0,0 @@
|
||||
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# 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/.
|
||||
|
||||
MOCHITEST_CHROME_MANIFESTS += ['chrome.ini']
|
||||
|
@ -4,8 +4,6 @@
|
||||
# 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/.
|
||||
|
||||
TEST_TOOL_DIRS += ['chrome']
|
||||
|
||||
HOST_SOURCES += [
|
||||
'ListCSSProperties.cpp',
|
||||
]
|
||||
@ -14,7 +12,11 @@ HOST_SIMPLE_PROGRAMS += [
|
||||
'host_%s' % f.replace('.cpp', '') for f in HOST_SOURCES
|
||||
]
|
||||
|
||||
MOCHITEST_MANIFESTS += ['mochitest.ini']
|
||||
MOCHITEST_MANIFESTS += [
|
||||
'chrome/mochitest.ini',
|
||||
'mochitest.ini',
|
||||
]
|
||||
BROWSER_CHROME_MANIFESTS += ['browser.ini']
|
||||
MOCHITEST_CHROME_MANIFESTS += ['chrome/chrome.ini']
|
||||
|
||||
DEFINES['MOZILLA_INTERNAL_API'] = True
|
||||
|
@ -1,10 +0,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
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# These are files that need to be loaded via the HTTP proxy server
|
||||
MOCHITEST_FILES = \
|
||||
download.html \
|
||||
download.test \
|
||||
$(NULL)
|
4
toolkit/components/downloads/test/browser/mochitest.ini
Normal file
4
toolkit/components/downloads/test/browser/mochitest.ini
Normal file
@ -0,0 +1,4 @@
|
||||
[DEFAULT]
|
||||
support-files =
|
||||
download.html
|
||||
download.test
|
@ -1,8 +0,0 @@
|
||||
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# 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/.
|
||||
|
||||
BROWSER_CHROME_MANIFESTS += ['browser.ini']
|
||||
|
@ -1,21 +0,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
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# Files in the main "tests" folder.
|
||||
XPCSHELL_TESTS_COMMON_FILES = \
|
||||
head_common.js \
|
||||
$(NULL)
|
||||
XPCSHELL_TESTS_COMMON_DEST = $(DEPTH)/_tests/xpcshell/$(relativesrcdir)
|
||||
INSTALL_TARGETS += XPCSHELL_TESTS_COMMON
|
||||
|
||||
# Simple MochiTests
|
||||
MOCHITEST_FILES = \
|
||||
mochitest/bug94514-postpage.html \
|
||||
$(NULL)
|
||||
|
||||
MOCHITEST_CHROME_FILES = \
|
||||
mochitest/test_bug_94514.html \
|
||||
mochitest/test_bug_411966.html \
|
||||
mochitest/test_bug_461710_perwindowpb.html \
|
||||
$(NULL)
|
@ -1,26 +0,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
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# These are files that need to be loaded via the HTTP proxy server
|
||||
# Access them through http://example.com/
|
||||
MOCHITEST_FILES = \
|
||||
bug_399606/399606-httprefresh.html \
|
||||
bug_399606/399606-location.reload.html \
|
||||
bug_399606/399606-location.replace.html \
|
||||
bug_399606/399606-window.location.href.html \
|
||||
bug_399606/399606-window.location.html \
|
||||
bug_399606/399606-history.go-0.html \
|
||||
redirect.sjs \
|
||||
redirect-target.html \
|
||||
settitle/title1.html \
|
||||
settitle/title2.html \
|
||||
visituri/begin.html \
|
||||
visituri/redirect_twice.sjs \
|
||||
visituri/redirect_once.sjs \
|
||||
visituri/final.html \
|
||||
favicon-normal16.png \
|
||||
favicon-normal32.png \
|
||||
favicon.html \
|
||||
$(NULL)
|
19
toolkit/components/places/tests/browser/mochitest.ini
Normal file
19
toolkit/components/places/tests/browser/mochitest.ini
Normal file
@ -0,0 +1,19 @@
|
||||
[DEFAULT]
|
||||
support-files =
|
||||
399606-httprefresh.html
|
||||
399606-location.reload.html
|
||||
399606-location.replace.html
|
||||
399606-window.location.href.html
|
||||
399606-window.location.html
|
||||
399606-history.go-0.html
|
||||
redirect.sjs
|
||||
redirect-target.html
|
||||
title1.html
|
||||
title2.html
|
||||
begin.html
|
||||
redirect_twice.sjs
|
||||
redirect_once.sjs
|
||||
final.html
|
||||
favicon-normal16.png
|
||||
favicon-normal32.png
|
||||
favicon.html
|
@ -1,8 +0,0 @@
|
||||
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# 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/.
|
||||
|
||||
BROWSER_CHROME_MANIFESTS += ['browser.ini']
|
||||
|
3
toolkit/components/places/tests/chrome.ini
Normal file
3
toolkit/components/places/tests/chrome.ini
Normal file
@ -0,0 +1,3 @@
|
||||
[test_bug_94514.html]
|
||||
[test_bug_411966.html]
|
||||
[test_bug_461710_perwindowpb.html]
|
@ -1,14 +0,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
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
MOCHITEST_FILES = \
|
||||
sample_feed.atom \
|
||||
bad_links.atom \
|
||||
rss_as_html.rss \
|
||||
rss_as_html.rss^headers^ \
|
||||
link-less-items.rss \
|
||||
link-less-items-no-site-uri.rss \
|
||||
$(NULL)
|
||||
|
8
toolkit/components/places/tests/chrome/mochitest.ini
Normal file
8
toolkit/components/places/tests/chrome/mochitest.ini
Normal file
@ -0,0 +1,8 @@
|
||||
[DEFAULT]
|
||||
support-files =
|
||||
sample_feed.atom
|
||||
bad_links.atom
|
||||
rss_as_html.rss
|
||||
rss_as_html.rss^headers^
|
||||
link-less-items.rss
|
||||
link-less-items-no-site-uri.rss
|
@ -1,8 +0,0 @@
|
||||
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# 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/.
|
||||
|
||||
MOCHITEST_CHROME_MANIFESTS += ['chrome.ini']
|
||||
|
2
toolkit/components/places/tests/mochitest.ini
Normal file
2
toolkit/components/places/tests/mochitest.ini
Normal file
@ -0,0 +1,2 @@
|
||||
[DEFAULT]
|
||||
support-files = bug94514-postpage.html
|
@ -1,14 +0,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
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
MOCHITEST_FILES = \
|
||||
redirect.js \
|
||||
TypedPage.htm \
|
||||
ClickedPage.htm \
|
||||
ClickedPage.htm^headers^ \
|
||||
TempRedirectPage.htm \
|
||||
TempRedirectPage.htm^headers^ \
|
||||
PermRedirectPage.htm \
|
||||
$(NULL)
|
@ -0,0 +1,9 @@
|
||||
[DEFAULT]
|
||||
support-files =
|
||||
redirect.js
|
||||
TypedPage.htm
|
||||
ClickedPage.htm
|
||||
ClickedPage.htm^headers^
|
||||
TempRedirectPage.htm
|
||||
TempRedirectPage.htm^headers^
|
||||
PermRedirectPage.htm
|
@ -1,6 +0,0 @@
|
||||
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# 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/.
|
||||
|
@ -1,12 +0,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
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
MOCHITEST_FILES = \
|
||||
visited_page.html \
|
||||
link_page.html \
|
||||
link_page-2.html \
|
||||
link_page-3.html \
|
||||
iframe.html \
|
||||
$(NULL)
|
@ -0,0 +1,7 @@
|
||||
[DEFAULT]
|
||||
support-files =
|
||||
visited_page.html
|
||||
link_page.html
|
||||
link_page-2.html
|
||||
link_page-3.html
|
||||
iframe.html
|
@ -1,6 +0,0 @@
|
||||
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# 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/.
|
||||
|
@ -1,70 +0,0 @@
|
||||
|
||||
const Ci = SpecialPowers.Ci;
|
||||
const Cc = SpecialPowers.Cc;
|
||||
|
||||
var didDialog;
|
||||
|
||||
var timer; // keep in outer scope so it's not GC'd before firing
|
||||
function startCallbackTimer() {
|
||||
didDialog = false;
|
||||
|
||||
// Delay before the callback twiddles the prompt.
|
||||
const dialogDelay = 10;
|
||||
|
||||
// Use a timer to invoke a callback to twiddle the authentication dialog
|
||||
timer = Cc["@mozilla.org/timer;1"].createInstance(Ci.nsITimer);
|
||||
timer.init(observer, dialogDelay, Ci.nsITimer.TYPE_ONE_SHOT);
|
||||
}
|
||||
|
||||
var observer = {
|
||||
QueryInterface : function (iid) {
|
||||
const interfaces = [Ci.nsIObserver,
|
||||
Ci.nsISupports, Ci.nsISupportsWeakReference];
|
||||
|
||||
if (!interfaces.some( function(v) { return iid.equals(v) } ))
|
||||
throw Components.results.NS_ERROR_NO_INTERFACE;
|
||||
return this;
|
||||
},
|
||||
|
||||
observe : function (subject, topic, data) {
|
||||
|
||||
var doc = getDialogDoc();
|
||||
if (doc)
|
||||
handleDialog(doc);
|
||||
else
|
||||
startCallbackTimer(); // try again in a bit
|
||||
}
|
||||
};
|
||||
|
||||
function getDialogDoc() {
|
||||
// Find the <browser> which contains notifyWindow, by looking
|
||||
// through all the open windows and all the <browsers> in each.
|
||||
var wm = Cc["@mozilla.org/appshell/window-mediator;1"].
|
||||
getService(Ci.nsIWindowMediator);
|
||||
//var enumerator = wm.getEnumerator("navigator:browser");
|
||||
var enumerator = wm.getXULWindowEnumerator(null);
|
||||
|
||||
while (enumerator.hasMoreElements()) {
|
||||
var win = enumerator.getNext();
|
||||
var windowDocShell = win.QueryInterface(Ci.nsIXULWindow).docShell;
|
||||
|
||||
var containedDocShells = windowDocShell.getDocShellEnumerator(
|
||||
Ci.nsIDocShellTreeItem.typeChrome,
|
||||
Ci.nsIDocShell.ENUMERATE_FORWARDS);
|
||||
while (containedDocShells.hasMoreElements()) {
|
||||
// Get the corresponding document for this docshell
|
||||
var childDocShell = containedDocShells.getNext();
|
||||
// We don't want it if it's not done loading.
|
||||
if (childDocShell.busyFlags != Ci.nsIDocShell.BUSY_FLAGS_NONE)
|
||||
continue;
|
||||
var childDoc = childDocShell.QueryInterface(Ci.nsIDocShell).
|
||||
contentViewer.DOMDocument;
|
||||
|
||||
//ok(true, "Got window: " + childDoc.location.href);
|
||||
if (childDoc.location.href == "chrome://global/content/commonDialog.xul")
|
||||
return childDoc;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
@ -4,13 +4,6 @@
|
||||
# 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/.
|
||||
|
||||
TEST_DIRS += [
|
||||
'chrome',
|
||||
'mochitest/bug_411966',
|
||||
'mochitest/bug_461710',
|
||||
'browser',
|
||||
]
|
||||
|
||||
TEST_TOOL_DIRS += ['cpp']
|
||||
|
||||
XPCSHELL_TESTS_MANIFESTS += [
|
||||
@ -23,4 +16,18 @@ XPCSHELL_TESTS_MANIFESTS += [
|
||||
'network/xpcshell.ini',
|
||||
'queries/xpcshell.ini',
|
||||
'unit/xpcshell.ini',
|
||||
'xpcshell.ini',
|
||||
]
|
||||
|
||||
BROWSER_CHROME_MANIFESTS += ['browser/browser.ini']
|
||||
MOCHITEST_CHROME_MANIFESTS += [
|
||||
'chrome.ini',
|
||||
'chrome/chrome.ini',
|
||||
]
|
||||
MOCHITEST_MANIFESTS += [
|
||||
'browser/mochitest.ini',
|
||||
'chrome/mochitest.ini',
|
||||
'mochitest.ini',
|
||||
'mochitest/bug_411966/mochitest.ini',
|
||||
'mochitest/bug_461710/mochitest.ini',
|
||||
]
|
||||
|
2
toolkit/components/places/tests/xpcshell.ini
Normal file
2
toolkit/components/places/tests/xpcshell.ini
Normal file
@ -0,0 +1,2 @@
|
||||
[DEFAULT]
|
||||
support-files = head_common.js
|
@ -1,22 +0,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
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# The mochitest doesn't work on fennec yet
|
||||
ifneq (android,$(MOZ_WIDGET_TOOLKIT))
|
||||
MOCHITEST_FILES = \
|
||||
test_webapps_actor.html \
|
||||
debugger-protocol-helper.js \
|
||||
redirect.sjs \
|
||||
$(NULL)
|
||||
|
||||
MOCHITEST_DATA_FILES = \
|
||||
data/app-redirect.zip \
|
||||
data/app-updated.zip \
|
||||
data/app.zip \
|
||||
data/app-certified.zip \
|
||||
$(NULL)
|
||||
|
||||
MOCHITEST_DATA_DEST = $(MOCHITEST_DEST)/data
|
||||
INSTALL_TARGETS += MOCHITEST_DATA
|
||||
endif
|
6
toolkit/devtools/apps/tests/data/mochitest.ini
Normal file
6
toolkit/devtools/apps/tests/data/mochitest.ini
Normal file
@ -0,0 +1,6 @@
|
||||
[DEFAULT]
|
||||
support-files =
|
||||
app-redirect.zip
|
||||
app-updated.zip
|
||||
app.zip
|
||||
app-certified.zip
|
8
toolkit/devtools/apps/tests/mochitest.ini
Normal file
8
toolkit/devtools/apps/tests/mochitest.ini
Normal file
@ -0,0 +1,8 @@
|
||||
[DEFAULT]
|
||||
support-files =
|
||||
debugger-protocol-helper.js
|
||||
redirect.sjs
|
||||
|
||||
[test_webapps_actor.html]
|
||||
# The mochitest doesn't work on fennec yet
|
||||
skip-if = toolkit == 'android'
|
@ -5,3 +5,7 @@
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']
|
||||
MOCHITEST_MANIFESTS += [
|
||||
'data/mochitest.ini',
|
||||
'mochitest.ini',
|
||||
]
|
||||
|
@ -1,24 +0,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
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
# temporarily disabled test (bug 483200)
|
||||
# test_retention_is_0_closes.xul \
|
||||
|
||||
ifneq (,$(filter cocoa, $(MOZ_WIDGET_TOOLKIT)))
|
||||
MOCHITEST_CHROME_FILES += \
|
||||
test_backspace_key_removes.xul \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
ifneq (,$(filter WINNT, $(OS_ARCH))$(filter cocoa, $(MOZ_WIDGET_TOOLKIT)))
|
||||
MOCHITEST_CHROME_FILES += \
|
||||
test_taskbarprogress_downloadstates.xul \
|
||||
$(NULL)
|
||||
endif
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
MOCHITEST_CHROME_FILES += \
|
||||
$(filter disabled-for-very-frequent-orange--bug-630567, test_taskbarprogress_service.xul) \
|
||||
$(NULL)
|
||||
endif
|
@ -6,6 +6,8 @@ support-files =
|
||||
unknownContentType_dialog_layout_data.txt^headers^
|
||||
utils.js
|
||||
|
||||
[test_backspace_key_removes.xul]
|
||||
skip-if = toolkit != 'cocoa'
|
||||
[test_basic_functionality.xul]
|
||||
[test_bug_412360.xul]
|
||||
[test_bug_429247.xul]
|
||||
@ -21,9 +23,16 @@ support-files =
|
||||
[test_multiword_search.xul]
|
||||
[test_pause_button_state.xul]
|
||||
[test_removeDownload_updates_ui.xul]
|
||||
[test_retention_is_0_closes.xul]
|
||||
disabled = temporarily disabled test (bug 483200)
|
||||
[test_search_clearlist.xul]
|
||||
[test_search_keys.xul]
|
||||
[test_select_all.xul]
|
||||
[test_space_key_pauses_resumes.xul]
|
||||
[test_taskbarprogress_downloadstates.xul]
|
||||
skip-if = os != 'win' && toolkit != 'cocoa'
|
||||
[test_taskbarprogress_service.xul]
|
||||
# disabled for very frequent orange--bug 630567
|
||||
skip-if = os != 'win' || true
|
||||
[test_ui_stays_open_on_alert_clickback.xul]
|
||||
[test_unknownContentType_dialog_layout.xul]
|
||||
|
@ -1,8 +0,0 @@
|
||||
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
||||
# vim: set filetype=python:
|
||||
# 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/.
|
||||
|
||||
MOCHITEST_CHROME_MANIFESTS += ['chrome.ini']
|
||||
|
@ -4,6 +4,5 @@
|
||||
# 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/.
|
||||
|
||||
DIRS += ['chrome']
|
||||
|
||||
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']
|
||||
MOCHITEST_CHROME_MANIFESTS += ['chrome/chrome.ini']
|
||||
|
@ -4,14 +4,6 @@
|
||||
|
||||
TESTROOT = $(DEPTH)/_tests/testing/mochitest/browser/$(relativesrcdir)
|
||||
|
||||
MOCHITEST_BROWSER_FILES = \
|
||||
$(filter disabled-for-leaks--bug-751100, browser_bug435788.js) \
|
||||
pfs_bug435788_1.rdf \
|
||||
pfs_bug435788_2.rdf \
|
||||
GoodExtension.xpi \
|
||||
BadExtension.xpi \
|
||||
$(NULL)
|
||||
|
||||
PROGRAMS_DEST = $(TESTROOT)
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
9
toolkit/mozapps/plugins/tests/browser.ini
Normal file
9
toolkit/mozapps/plugins/tests/browser.ini
Normal file
@ -0,0 +1,9 @@
|
||||
[DEFAULT]
|
||||
support-files =
|
||||
pfs_bug435788_1.rdf
|
||||
pfs_bug435788_2.rdf
|
||||
GoodExtension.xpi
|
||||
BadExtension.xpi
|
||||
|
||||
[browser_bug435788.js]
|
||||
disabled = disabled for leaks--bug-751100
|
@ -13,4 +13,5 @@ SOURCES += [
|
||||
'%s.cpp' % s for s in SIMPLE_PROGRAMS
|
||||
]
|
||||
|
||||
BROWSER_CHROME_MANIFESTS += ['browser.ini']
|
||||
USE_STATIC_LIBS = True
|
||||
|
Loading…
Reference in New Issue
Block a user