Bug 736688 - Part 2: Move browser frame tests to their own directory. r=smaug

--HG--
extra : rebase_source : b8c03a5cc74b528fce8b4bb7ff77f9a25ab85800
This commit is contained in:
Justin Lebar 2012-03-28 11:36:03 -07:00
Родитель 0b53442386
Коммит 6a523f9e87
11 изменённых файлов: 61 добавлений и 10 удалений

Просмотреть файл

@ -57,6 +57,7 @@ DIRS += \
orientation \
sessionstorage \
storageevent \
browser-frame \
$(NULL)
#needs IPC support, also tests do not run successfully in Firefox for now

Просмотреть файл

@ -0,0 +1,59 @@
#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is
# Mozilla Foundation.
# Portions created by the Initial Developer are Copyright (C) 2007
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the terms of
# either of the GNU General Public License Version 2 or later (the "GPL"),
# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
DEPTH = ../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
relativesrcdir = dom/tests/mochitest/browser-frame
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk
_TEST_FILES = \
browserFrameHelpers.js \
test_browserFrame1.html \
test_browserFrame2.html \
test_browserFrame3.html \
test_browserFrame4.html \
test_browserFrame5.html \
test_browserFrame6.html \
test_browserFrame7.html \
$(NULL)
libs:: $(_TEST_FILES)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)

Просмотреть файл

@ -34,7 +34,7 @@ function runTest() {
iframe1.src = 'http://example.org';
document.body.appendChild(iframe1);
}
function runTest2() {
var iframe1 = document.getElementById('iframe1');
var iframe2 = document.getElementById('iframe2');

Просмотреть файл

@ -79,4 +79,3 @@ addEventListener('load', function() { SimpleTest.executeSoon(runTest); });
</body>
</html>

Просмотреть файл

@ -72,14 +72,6 @@ _TEST_FILES = \
test_focusrings.xul \
file_moving_xhr.html \
test_vibrator.html \
browserFrameHelpers.js \
test_browserFrame1.html \
test_browserFrame2.html \
test_browserFrame3.html \
test_browserFrame4.html \
test_browserFrame5.html \
test_browserFrame6.html \
test_browserFrame7.html \
test_for_of.html \
test_focus_legend_noparent.html \
file_clonewrapper.html \