From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- js/xpconnect/tests/chrome/bug503926.xul | 30 + js/xpconnect/tests/chrome/chrome.ini | 119 +++ js/xpconnect/tests/chrome/file_bug1050049.xml | 10 + js/xpconnect/tests/chrome/file_bug1281071.html | 13 + js/xpconnect/tests/chrome/file_bug618176.xul | 44 + js/xpconnect/tests/chrome/file_bug996069.html | 11 + .../tests/chrome/file_discardSystemSource.html | 18 + js/xpconnect/tests/chrome/file_evalInSandbox.html | 1 + js/xpconnect/tests/chrome/file_expandosharing.jsm | 10 + js/xpconnect/tests/chrome/moz.build | 12 + js/xpconnect/tests/chrome/outoflinexulscript.js | 6 + js/xpconnect/tests/chrome/subscript.js | 6 + js/xpconnect/tests/chrome/test_APIExposer.xul | 51 ++ js/xpconnect/tests/chrome/test_bug1041626.xul | 64 ++ js/xpconnect/tests/chrome/test_bug1042436.xul | 49 ++ js/xpconnect/tests/chrome/test_bug1050049.html | 56 ++ js/xpconnect/tests/chrome/test_bug1065185.html | 64 ++ js/xpconnect/tests/chrome/test_bug1074863.html | 32 + js/xpconnect/tests/chrome/test_bug1092477.xul | 36 + js/xpconnect/tests/chrome/test_bug1124898.html | 47 + js/xpconnect/tests/chrome/test_bug1126911.html | 41 + js/xpconnect/tests/chrome/test_bug1281071.xul | 33 + js/xpconnect/tests/chrome/test_bug361111.xul | 33 + js/xpconnect/tests/chrome/test_bug448587.xul | 37 + js/xpconnect/tests/chrome/test_bug484459.xul | 38 + js/xpconnect/tests/chrome/test_bug500931.xul | 41 + js/xpconnect/tests/chrome/test_bug503926.xul | 59 ++ js/xpconnect/tests/chrome/test_bug533596.xul | 56 ++ js/xpconnect/tests/chrome/test_bug571849.xul | 44 + js/xpconnect/tests/chrome/test_bug596580.xul | 48 ++ js/xpconnect/tests/chrome/test_bug601803.xul | 38 + js/xpconnect/tests/chrome/test_bug610390.xul | 33 + js/xpconnect/tests/chrome/test_bug614757.xul | 34 + js/xpconnect/tests/chrome/test_bug616992.xul | 32 + js/xpconnect/tests/chrome/test_bug618176.xul | 31 + js/xpconnect/tests/chrome/test_bug654370.xul | 29 + js/xpconnect/tests/chrome/test_bug658560.xul | 39 + js/xpconnect/tests/chrome/test_bug658909.xul | 92 ++ js/xpconnect/tests/chrome/test_bug664689.xul | 30 + js/xpconnect/tests/chrome/test_bug679861.xul | 39 + js/xpconnect/tests/chrome/test_bug706301.xul | 52 ++ js/xpconnect/tests/chrome/test_bug720619.xul | 49 ++ js/xpconnect/tests/chrome/test_bug726949.xul | 41 + js/xpconnect/tests/chrome/test_bug732665.xul | 81 ++ js/xpconnect/tests/chrome/test_bug732665_meta.js | 26 + js/xpconnect/tests/chrome/test_bug738244.xul | 59 ++ js/xpconnect/tests/chrome/test_bug743843.xul | 39 + js/xpconnect/tests/chrome/test_bug760076.xul | 49 ++ js/xpconnect/tests/chrome/test_bug760131.html | 44 + js/xpconnect/tests/chrome/test_bug763343.xul | 39 + js/xpconnect/tests/chrome/test_bug771429.xul | 51 ++ js/xpconnect/tests/chrome/test_bug773962.xul | 82 ++ js/xpconnect/tests/chrome/test_bug792280.xul | 45 + js/xpconnect/tests/chrome/test_bug793433.xul | 48 ++ js/xpconnect/tests/chrome/test_bug795275.xul | 88 ++ js/xpconnect/tests/chrome/test_bug799348.xul | 50 ++ js/xpconnect/tests/chrome/test_bug801241.xul | 46 + js/xpconnect/tests/chrome/test_bug812415.xul | 91 ++ js/xpconnect/tests/chrome/test_bug853283.xul | 41 + js/xpconnect/tests/chrome/test_bug853571.xul | 64 ++ js/xpconnect/tests/chrome/test_bug858101.xul | 55 ++ js/xpconnect/tests/chrome/test_bug860494.xul | 57 ++ js/xpconnect/tests/chrome/test_bug865948.xul | 36 + js/xpconnect/tests/chrome/test_bug866823.xul | 50 ++ js/xpconnect/tests/chrome/test_bug895340.xul | 64 ++ js/xpconnect/tests/chrome/test_bug932906.xul | 72 ++ js/xpconnect/tests/chrome/test_bug996069.xul | 53 ++ js/xpconnect/tests/chrome/test_chrometoSource.xul | 62 ++ js/xpconnect/tests/chrome/test_cloneInto.xul | 198 +++++ js/xpconnect/tests/chrome/test_cows.xul | 266 ++++++ .../tests/chrome/test_discardSystemSource.xul | 81 ++ js/xpconnect/tests/chrome/test_documentdomain.xul | 101 +++ .../chrome/test_doublewrappedcompartments.xul | 42 + js/xpconnect/tests/chrome/test_evalInSandbox.xul | 202 +++++ js/xpconnect/tests/chrome/test_evalInWindow.xul | 73 ++ js/xpconnect/tests/chrome/test_exnstack.xul | 68 ++ js/xpconnect/tests/chrome/test_expandosharing.xul | 145 ++++ js/xpconnect/tests/chrome/test_exposeInDerived.xul | 46 + js/xpconnect/tests/chrome/test_getweakmapkeys.xul | 67 ++ .../tests/chrome/test_localstorage_with_nsEp.xul | 38 + js/xpconnect/tests/chrome/test_matches.xul | 50 ++ js/xpconnect/tests/chrome/test_nodelists.xul | 52 ++ .../tests/chrome/test_nsScriptErrorWithStack.html | 63 ++ .../tests/chrome/test_onGarbageCollection.html | 35 + .../tests/chrome/test_paris_weakmap_keys.xul | 80 ++ js/xpconnect/tests/chrome/test_precisegc.xul | 27 + js/xpconnect/tests/chrome/test_sandboxImport.xul | 39 + js/xpconnect/tests/chrome/test_scriptSettings.xul | 127 +++ js/xpconnect/tests/chrome/test_watchpoints.xul | 75 ++ .../tests/chrome/test_weakmap_keys_preserved.xul | 37 + .../tests/chrome/test_weakmap_keys_preserved2.xul | 84 ++ js/xpconnect/tests/chrome/test_weakmaps.xul | 272 ++++++ js/xpconnect/tests/chrome/test_weakref.xul | 34 + .../tests/chrome/test_windowProxyDeadWrapper.html | 72 ++ js/xpconnect/tests/chrome/test_wrappers-2.xul | 215 +++++ js/xpconnect/tests/chrome/test_wrappers.xul | 96 +++ js/xpconnect/tests/chrome/test_xrayToJS.xul | 948 +++++++++++++++++++++ js/xpconnect/tests/chrome/utf8_subscript.js | 3 + .../tests/chrome/worker_discardSystemSource.js | 5 + 99 files changed, 6681 insertions(+) create mode 100644 js/xpconnect/tests/chrome/bug503926.xul create mode 100644 js/xpconnect/tests/chrome/chrome.ini create mode 100644 js/xpconnect/tests/chrome/file_bug1050049.xml create mode 100644 js/xpconnect/tests/chrome/file_bug1281071.html create mode 100644 js/xpconnect/tests/chrome/file_bug618176.xul create mode 100644 js/xpconnect/tests/chrome/file_bug996069.html create mode 100644 js/xpconnect/tests/chrome/file_discardSystemSource.html create mode 100644 js/xpconnect/tests/chrome/file_evalInSandbox.html create mode 100644 js/xpconnect/tests/chrome/file_expandosharing.jsm create mode 100644 js/xpconnect/tests/chrome/moz.build create mode 100644 js/xpconnect/tests/chrome/outoflinexulscript.js create mode 100644 js/xpconnect/tests/chrome/subscript.js create mode 100644 js/xpconnect/tests/chrome/test_APIExposer.xul create mode 100644 js/xpconnect/tests/chrome/test_bug1041626.xul create mode 100644 js/xpconnect/tests/chrome/test_bug1042436.xul create mode 100644 js/xpconnect/tests/chrome/test_bug1050049.html create mode 100644 js/xpconnect/tests/chrome/test_bug1065185.html create mode 100644 js/xpconnect/tests/chrome/test_bug1074863.html create mode 100644 js/xpconnect/tests/chrome/test_bug1092477.xul create mode 100644 js/xpconnect/tests/chrome/test_bug1124898.html create mode 100644 js/xpconnect/tests/chrome/test_bug1126911.html create mode 100644 js/xpconnect/tests/chrome/test_bug1281071.xul create mode 100644 js/xpconnect/tests/chrome/test_bug361111.xul create mode 100644 js/xpconnect/tests/chrome/test_bug448587.xul create mode 100644 js/xpconnect/tests/chrome/test_bug484459.xul create mode 100644 js/xpconnect/tests/chrome/test_bug500931.xul create mode 100644 js/xpconnect/tests/chrome/test_bug503926.xul create mode 100644 js/xpconnect/tests/chrome/test_bug533596.xul create mode 100644 js/xpconnect/tests/chrome/test_bug571849.xul create mode 100644 js/xpconnect/tests/chrome/test_bug596580.xul create mode 100644 js/xpconnect/tests/chrome/test_bug601803.xul create mode 100644 js/xpconnect/tests/chrome/test_bug610390.xul create mode 100644 js/xpconnect/tests/chrome/test_bug614757.xul create mode 100644 js/xpconnect/tests/chrome/test_bug616992.xul create mode 100644 js/xpconnect/tests/chrome/test_bug618176.xul create mode 100644 js/xpconnect/tests/chrome/test_bug654370.xul create mode 100644 js/xpconnect/tests/chrome/test_bug658560.xul create mode 100644 js/xpconnect/tests/chrome/test_bug658909.xul create mode 100644 js/xpconnect/tests/chrome/test_bug664689.xul create mode 100644 js/xpconnect/tests/chrome/test_bug679861.xul create mode 100644 js/xpconnect/tests/chrome/test_bug706301.xul create mode 100644 js/xpconnect/tests/chrome/test_bug720619.xul create mode 100644 js/xpconnect/tests/chrome/test_bug726949.xul create mode 100644 js/xpconnect/tests/chrome/test_bug732665.xul create mode 100644 js/xpconnect/tests/chrome/test_bug732665_meta.js create mode 100644 js/xpconnect/tests/chrome/test_bug738244.xul create mode 100644 js/xpconnect/tests/chrome/test_bug743843.xul create mode 100644 js/xpconnect/tests/chrome/test_bug760076.xul create mode 100644 js/xpconnect/tests/chrome/test_bug760131.html create mode 100644 js/xpconnect/tests/chrome/test_bug763343.xul create mode 100644 js/xpconnect/tests/chrome/test_bug771429.xul create mode 100644 js/xpconnect/tests/chrome/test_bug773962.xul create mode 100644 js/xpconnect/tests/chrome/test_bug792280.xul create mode 100644 js/xpconnect/tests/chrome/test_bug793433.xul create mode 100644 js/xpconnect/tests/chrome/test_bug795275.xul create mode 100644 js/xpconnect/tests/chrome/test_bug799348.xul create mode 100644 js/xpconnect/tests/chrome/test_bug801241.xul create mode 100644 js/xpconnect/tests/chrome/test_bug812415.xul create mode 100644 js/xpconnect/tests/chrome/test_bug853283.xul create mode 100644 js/xpconnect/tests/chrome/test_bug853571.xul create mode 100644 js/xpconnect/tests/chrome/test_bug858101.xul create mode 100644 js/xpconnect/tests/chrome/test_bug860494.xul create mode 100644 js/xpconnect/tests/chrome/test_bug865948.xul create mode 100644 js/xpconnect/tests/chrome/test_bug866823.xul create mode 100644 js/xpconnect/tests/chrome/test_bug895340.xul create mode 100644 js/xpconnect/tests/chrome/test_bug932906.xul create mode 100644 js/xpconnect/tests/chrome/test_bug996069.xul create mode 100644 js/xpconnect/tests/chrome/test_chrometoSource.xul create mode 100644 js/xpconnect/tests/chrome/test_cloneInto.xul create mode 100644 js/xpconnect/tests/chrome/test_cows.xul create mode 100644 js/xpconnect/tests/chrome/test_discardSystemSource.xul create mode 100644 js/xpconnect/tests/chrome/test_documentdomain.xul create mode 100644 js/xpconnect/tests/chrome/test_doublewrappedcompartments.xul create mode 100644 js/xpconnect/tests/chrome/test_evalInSandbox.xul create mode 100644 js/xpconnect/tests/chrome/test_evalInWindow.xul create mode 100644 js/xpconnect/tests/chrome/test_exnstack.xul create mode 100644 js/xpconnect/tests/chrome/test_expandosharing.xul create mode 100644 js/xpconnect/tests/chrome/test_exposeInDerived.xul create mode 100644 js/xpconnect/tests/chrome/test_getweakmapkeys.xul create mode 100644 js/xpconnect/tests/chrome/test_localstorage_with_nsEp.xul create mode 100644 js/xpconnect/tests/chrome/test_matches.xul create mode 100644 js/xpconnect/tests/chrome/test_nodelists.xul create mode 100644 js/xpconnect/tests/chrome/test_nsScriptErrorWithStack.html create mode 100644 js/xpconnect/tests/chrome/test_onGarbageCollection.html create mode 100644 js/xpconnect/tests/chrome/test_paris_weakmap_keys.xul create mode 100644 js/xpconnect/tests/chrome/test_precisegc.xul create mode 100644 js/xpconnect/tests/chrome/test_sandboxImport.xul create mode 100644 js/xpconnect/tests/chrome/test_scriptSettings.xul create mode 100644 js/xpconnect/tests/chrome/test_watchpoints.xul create mode 100644 js/xpconnect/tests/chrome/test_weakmap_keys_preserved.xul create mode 100644 js/xpconnect/tests/chrome/test_weakmap_keys_preserved2.xul create mode 100644 js/xpconnect/tests/chrome/test_weakmaps.xul create mode 100644 js/xpconnect/tests/chrome/test_weakref.xul create mode 100644 js/xpconnect/tests/chrome/test_windowProxyDeadWrapper.html create mode 100644 js/xpconnect/tests/chrome/test_wrappers-2.xul create mode 100644 js/xpconnect/tests/chrome/test_wrappers.xul create mode 100644 js/xpconnect/tests/chrome/test_xrayToJS.xul create mode 100644 js/xpconnect/tests/chrome/utf8_subscript.js create mode 100644 js/xpconnect/tests/chrome/worker_discardSystemSource.js (limited to 'js/xpconnect/tests/chrome') diff --git a/js/xpconnect/tests/chrome/bug503926.xul b/js/xpconnect/tests/chrome/bug503926.xul new file mode 100644 index 000000000..ea5e02cbe --- /dev/null +++ b/js/xpconnect/tests/chrome/bug503926.xul @@ -0,0 +1,30 @@ + + + + + + + + Mozilla Bug 503926 + + + + + diff --git a/js/xpconnect/tests/chrome/chrome.ini b/js/xpconnect/tests/chrome/chrome.ini new file mode 100644 index 000000000..5a7b98214 --- /dev/null +++ b/js/xpconnect/tests/chrome/chrome.ini @@ -0,0 +1,119 @@ +[DEFAULT] +skip-if = os == 'android' +support-files = + bug503926.xul + file_bug618176.xul + file_bug996069.html + file_bug1050049.xml + file_bug1281071.html + file_discardSystemSource.html + file_evalInSandbox.html + file_expandosharing.jsm + outoflinexulscript.js + subscript.js + utf8_subscript.js + worker_discardSystemSource.js + !/js/xpconnect/tests/mochitest/bug500931_helper.html + !/js/xpconnect/tests/mochitest/bug571849_helper.html + !/js/xpconnect/tests/mochitest/chrome_wrappers_helper.html + !/js/xpconnect/tests/mochitest/file_bug706301.html + !/js/xpconnect/tests/mochitest/file_bug738244.html + !/js/xpconnect/tests/mochitest/file_bug760131.html + !/js/xpconnect/tests/mochitest/file_bug795275.html + !/js/xpconnect/tests/mochitest/file_bug795275.xml + !/js/xpconnect/tests/mochitest/file_bug799348.html + !/js/xpconnect/tests/mochitest/file_bug860494.html + !/js/xpconnect/tests/mochitest/file_documentdomain.html + !/js/xpconnect/tests/mochitest/file_doublewrappedcompartments.html + !/js/xpconnect/tests/mochitest/file_empty.html + !/js/xpconnect/tests/mochitest/file_exnstack.html + !/js/xpconnect/tests/mochitest/file_expandosharing.html + !/js/xpconnect/tests/mochitest/file_nodelists.html + !/js/xpconnect/tests/mochitest/file_evalInSandbox.html + +[test_APIExposer.xul] +[test_bug361111.xul] +[test_bug448587.xul] +[test_bug484459.xul] +skip-if = os == 'win' || os == 'mac' # bug 1131110 +[test_bug500931.xul] +[test_bug503926.xul] +[test_bug533596.xul] +[test_bug571849.xul] +[test_bug596580.xul] +[test_bug601803.xul] +[test_bug610390.xul] +[test_bug614757.xul] +[test_bug616992.xul] +[test_bug618176.xul] +[test_bug654370.xul] +[test_bug658560.xul] +[test_bug658909.xul] +[test_bug664689.xul] +[test_bug679861.xul] +[test_bug706301.xul] +[test_bug726949.xul] +[test_bug732665.xul] +[test_bug738244.xul] +[test_bug743843.xul] +[test_bug760076.xul] +[test_bug760131.html] +[test_bug763343.xul] +[test_bug771429.xul] +[test_bug773962.xul] +[test_bug792280.xul] +[test_bug793433.xul] +[test_bug795275.xul] +[test_bug799348.xul] +[test_bug801241.xul] +[test_bug812415.xul] +[test_bug853283.xul] +[test_bug853571.xul] +[test_bug858101.xul] +[test_bug860494.xul] +[test_bug865948.xul] +[test_bug866823.xul] +[test_bug895340.xul] +[test_bug932906.xul] +[test_bug996069.xul] +[test_bug1041626.xul] +[test_bug1042436.xul] +[test_bug1050049.html] +[test_bug1065185.html] +[test_bug1074863.html] +[test_bug1092477.xul] +[test_bug1124898.html] +[test_bug1126911.html] +[test_bug1281071.xul] +[test_chrometoSource.xul] +[test_cloneInto.xul] +[test_cows.xul] +[test_discardSystemSource.xul] +[test_documentdomain.xul] +[test_doublewrappedcompartments.xul] +[test_evalInSandbox.xul] +[test_evalInWindow.xul] +[test_exnstack.xul] +[test_expandosharing.xul] +[test_exposeInDerived.xul] +[test_getweakmapkeys.xul] +[test_localstorage_with_nsEp.xul] +[test_matches.xul] +[test_nodelists.xul] +[test_nsScriptErrorWithStack.html] +[test_onGarbageCollection.html] +[test_paris_weakmap_keys.xul] +[test_precisegc.xul] +[test_sandboxImport.xul] +[test_scriptSettings.xul] +[test_watchpoints.xul] +[test_weakmap_keys_preserved.xul] +[test_weakmap_keys_preserved2.xul] +[test_weakmaps.xul] +[test_weakref.xul] +[test_windowProxyDeadWrapper.html] +[test_wrappers.xul] +[test_wrappers-2.xul] +# Disabled until this test gets updated to test the new proxy based wrappers. +skip-if = true +[test_xrayToJS.xul] diff --git a/js/xpconnect/tests/chrome/file_bug1050049.xml b/js/xpconnect/tests/chrome/file_bug1050049.xml new file mode 100644 index 000000000..cc8653ea6 --- /dev/null +++ b/js/xpconnect/tests/chrome/file_bug1050049.xml @@ -0,0 +1,10 @@ + + + + Anonymous Paragraph + + + Anonymous Paragraph + + diff --git a/js/xpconnect/tests/chrome/file_bug1281071.html b/js/xpconnect/tests/chrome/file_bug1281071.html new file mode 100644 index 000000000..2398ce4a5 --- /dev/null +++ b/js/xpconnect/tests/chrome/file_bug1281071.html @@ -0,0 +1,13 @@ + + + diff --git a/js/xpconnect/tests/chrome/file_bug618176.xul b/js/xpconnect/tests/chrome/file_bug618176.xul new file mode 100644 index 000000000..f95352ae1 --- /dev/null +++ b/js/xpconnect/tests/chrome/file_bug618176.xul @@ -0,0 +1,44 @@ + + + + + + diff --git a/js/xpconnect/tests/chrome/file_bug996069.html b/js/xpconnect/tests/chrome/file_bug996069.html new file mode 100644 index 000000000..e4bed0780 --- /dev/null +++ b/js/xpconnect/tests/chrome/file_bug996069.html @@ -0,0 +1,11 @@ + + + + + + + diff --git a/js/xpconnect/tests/chrome/file_discardSystemSource.html b/js/xpconnect/tests/chrome/file_discardSystemSource.html new file mode 100644 index 000000000..9f264ffe5 --- /dev/null +++ b/js/xpconnect/tests/chrome/file_discardSystemSource.html @@ -0,0 +1,18 @@ + + + + + + + + diff --git a/js/xpconnect/tests/chrome/file_evalInSandbox.html b/js/xpconnect/tests/chrome/file_evalInSandbox.html new file mode 100644 index 000000000..fb58f2bb4 --- /dev/null +++ b/js/xpconnect/tests/chrome/file_evalInSandbox.html @@ -0,0 +1 @@ + diff --git a/js/xpconnect/tests/chrome/file_expandosharing.jsm b/js/xpconnect/tests/chrome/file_expandosharing.jsm new file mode 100644 index 000000000..2e7ffe541 --- /dev/null +++ b/js/xpconnect/tests/chrome/file_expandosharing.jsm @@ -0,0 +1,10 @@ +this.EXPORTED_SYMBOLS = ['checkFromJSM']; + +this.checkFromJSM = function checkFromJSM(target, is_op) { + is_op(target.numProp, 42, "Number expando works"); + is_op(target.strProp, "foo", "String expando works"); + // If is_op is todo_is, target.objProp will be undefined. + try { + is_op(target.objProp.bar, "baz", "Object expando works"); + } catch(e) { is_op(0, 1, "No object expando"); } +} diff --git a/js/xpconnect/tests/chrome/moz.build b/js/xpconnect/tests/chrome/moz.build new file mode 100644 index 000000000..7e310c9ea --- /dev/null +++ b/js/xpconnect/tests/chrome/moz.build @@ -0,0 +1,12 @@ +# -*- Mode: python; 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'] + +TEST_HARNESS_FILES.testing.mochitest.tests.js.xpconnect.tests.chrome += [ + 'file_discardSystemSource.html', + 'worker_discardSystemSource.js', +] diff --git a/js/xpconnect/tests/chrome/outoflinexulscript.js b/js/xpconnect/tests/chrome/outoflinexulscript.js new file mode 100644 index 000000000..a06b633af --- /dev/null +++ b/js/xpconnect/tests/chrome/outoflinexulscript.js @@ -0,0 +1,6 @@ +// Some unicode characters that must be decoded: +// ……………………………………………………………………………………………………………………………… +function outoflinefunction() { + return 42; +} + diff --git a/js/xpconnect/tests/chrome/subscript.js b/js/xpconnect/tests/chrome/subscript.js new file mode 100644 index 000000000..3065694b9 --- /dev/null +++ b/js/xpconnect/tests/chrome/subscript.js @@ -0,0 +1,6 @@ +const Cu = Components.utils; +Cu.import("resource://gre/modules/Services.jsm"); + +var ns = {}; +Services.scriptloader.loadSubScript("resource://gre/modules/NetUtil.jsm", ns); +var NetUtil = ns.NetUtil; diff --git a/js/xpconnect/tests/chrome/test_APIExposer.xul b/js/xpconnect/tests/chrome/test_APIExposer.xul new file mode 100644 index 000000000..d89d19759 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_APIExposer.xul @@ -0,0 +1,51 @@ + + + + + + + + + + Mozilla Bug 634156 + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug1041626.xul b/js/xpconnect/tests/chrome/test_bug1041626.xul new file mode 100644 index 000000000..c7c7b7024 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug1041626.xul @@ -0,0 +1,64 @@ + + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug1065185.html b/js/xpconnect/tests/chrome/test_bug1065185.html new file mode 100644 index 000000000..cdd65326f --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug1065185.html @@ -0,0 +1,64 @@ + + + + + + Test for Bug 1065185 + + + + + + +Mozilla Bug 1065185 +

+ +
+
+ + + +
diff --git a/js/xpconnect/tests/chrome/test_bug361111.xul b/js/xpconnect/tests/chrome/test_bug361111.xul new file mode 100644 index 000000000..4b790ea2d --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug361111.xul @@ -0,0 +1,33 @@ + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug448587.xul b/js/xpconnect/tests/chrome/test_bug448587.xul new file mode 100644 index 000000000..98ee5deda --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug448587.xul @@ -0,0 +1,37 @@ + + + + + + + + + + Mozilla Bug 448587 + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug484459.xul b/js/xpconnect/tests/chrome/test_bug484459.xul new file mode 100644 index 000000000..621a8ae1d --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug484459.xul @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + ", + "contents of w.location are correct"); + is(Components.utils.evalInSandbox("x * 4", sandbox), 12, + "Unexpected return from the sandbox"); + SimpleTest.finish(); + } + ]]> + diff --git a/js/xpconnect/tests/chrome/test_bug500931.xul b/js/xpconnect/tests/chrome/test_bug500931.xul new file mode 100644 index 000000000..28d51e362 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug500931.xul @@ -0,0 +1,41 @@ + + + + + + + + + + Mozilla Bug 500931 + + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug503926.xul b/js/xpconnect/tests/chrome/test_bug503926.xul new file mode 100644 index 000000000..ab611e489 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug503926.xul @@ -0,0 +1,59 @@ + + + + + + + + + + Mozilla Bug 503926 + + + diff --git a/js/xpconnect/tests/chrome/test_bug571849.xul b/js/xpconnect/tests/chrome/test_bug571849.xul new file mode 100644 index 000000000..a5750b6d4 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug571849.xul @@ -0,0 +1,44 @@ + + + + + + + + + + Mozilla Bug 500931 + + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug596580.xul b/js/xpconnect/tests/chrome/test_bug596580.xul new file mode 100644 index 000000000..fab7058ac --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug596580.xul @@ -0,0 +1,48 @@ + + + + + + + + + Mozilla Bug 596580 + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug601803.xul b/js/xpconnect/tests/chrome/test_bug601803.xul new file mode 100644 index 000000000..89c43f024 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug601803.xul @@ -0,0 +1,38 @@ + + + + + + + + + + Mozilla Bug 601803 + + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug614757.xul b/js/xpconnect/tests/chrome/test_bug614757.xul new file mode 100644 index 000000000..c9a50be33 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug614757.xul @@ -0,0 +1,34 @@ + + + + + + + + + + Mozilla Bug 614757 + + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug743843.xul b/js/xpconnect/tests/chrome/test_bug743843.xul new file mode 100644 index 000000000..df8df320b --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug743843.xul @@ -0,0 +1,39 @@ + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug760076.xul b/js/xpconnect/tests/chrome/test_bug760076.xul new file mode 100644 index 000000000..a0eb4904c --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug760076.xul @@ -0,0 +1,49 @@ + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug760131.html b/js/xpconnect/tests/chrome/test_bug760131.html new file mode 100644 index 000000000..ee02a96eb --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug760131.html @@ -0,0 +1,44 @@ + + + + + + Test for Bug 760131 + + + + +Mozilla Bug 760131 +

+ +
+
+
+ + diff --git a/js/xpconnect/tests/chrome/test_bug763343.xul b/js/xpconnect/tests/chrome/test_bug763343.xul new file mode 100644 index 000000000..1519e1fbe --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug763343.xul @@ -0,0 +1,39 @@ + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug771429.xul b/js/xpconnect/tests/chrome/test_bug771429.xul new file mode 100644 index 000000000..c6f14ee74 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug771429.xul @@ -0,0 +1,51 @@ + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug773962.xul b/js/xpconnect/tests/chrome/test_bug773962.xul new file mode 100644 index 000000000..76a9b0713 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug773962.xul @@ -0,0 +1,82 @@ + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_documentdomain.xul b/js/xpconnect/tests/chrome/test_documentdomain.xul new file mode 100644 index 000000000..858d2c4f0 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_documentdomain.xul @@ -0,0 +1,101 @@ + + + + + + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_evalInSandbox.xul b/js/xpconnect/tests/chrome/test_evalInSandbox.xul new file mode 100644 index 000000000..dc5e96998 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_evalInSandbox.xul @@ -0,0 +1,202 @@ + + + + + + + + + + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_evalInWindow.xul b/js/xpconnect/tests/chrome/test_evalInWindow.xul new file mode 100644 index 000000000..6c69af05c --- /dev/null +++ b/js/xpconnect/tests/chrome/test_evalInWindow.xul @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_exnstack.xul b/js/xpconnect/tests/chrome/test_exnstack.xul new file mode 100644 index 000000000..8536cf8dc --- /dev/null +++ b/js/xpconnect/tests/chrome/test_exnstack.xul @@ -0,0 +1,68 @@ + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_expandosharing.xul b/js/xpconnect/tests/chrome/test_expandosharing.xul new file mode 100644 index 000000000..93884a82f --- /dev/null +++ b/js/xpconnect/tests/chrome/test_expandosharing.xul @@ -0,0 +1,145 @@ + + + + + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_nodelists.xul b/js/xpconnect/tests/chrome/test_nodelists.xul new file mode 100644 index 000000000..7b91d7887 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_nodelists.xul @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_watchpoints.xul b/js/xpconnect/tests/chrome/test_watchpoints.xul new file mode 100644 index 000000000..2262b1a90 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_watchpoints.xul @@ -0,0 +1,75 @@ + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_weakmap_keys_preserved.xul b/js/xpconnect/tests/chrome/test_weakmap_keys_preserved.xul new file mode 100644 index 000000000..95908a7b1 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_weakmap_keys_preserved.xul @@ -0,0 +1,37 @@ + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_weakmap_keys_preserved2.xul b/js/xpconnect/tests/chrome/test_weakmap_keys_preserved2.xul new file mode 100644 index 000000000..c6931af36 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_weakmap_keys_preserved2.xul @@ -0,0 +1,84 @@ + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_weakmaps.xul b/js/xpconnect/tests/chrome/test_weakmaps.xul new file mode 100644 index 000000000..e741a41c6 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_weakmaps.xul @@ -0,0 +1,272 @@ + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_weakref.xul b/js/xpconnect/tests/chrome/test_weakref.xul new file mode 100644 index 000000000..3950a0e35 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_weakref.xul @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_windowProxyDeadWrapper.html b/js/xpconnect/tests/chrome/test_windowProxyDeadWrapper.html new file mode 100644 index 000000000..91f4037f7 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_windowProxyDeadWrapper.html @@ -0,0 +1,72 @@ + + + + + + Test for Bug 1223372 + + + + + + +Mozilla Bug 1223372 + + + + + diff --git a/js/xpconnect/tests/chrome/test_wrappers-2.xul b/js/xpconnect/tests/chrome/test_wrappers-2.xul new file mode 100644 index 000000000..abab47f80 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_wrappers-2.xul @@ -0,0 +1,215 @@ + + + + + + + + + + Mozilla Bug 403005 + Mozilla Bug 409298 + + + + + + diff --git a/js/xpconnect/tests/chrome/test_wrappers.xul b/js/xpconnect/tests/chrome/test_wrappers.xul new file mode 100644 index 000000000..41504d28f --- /dev/null +++ b/js/xpconnect/tests/chrome/test_wrappers.xul @@ -0,0 +1,96 @@ + + + + + + + + + + Mozilla Bug 533596 + + + + + + diff --git a/js/xpconnect/tests/chrome/test_xrayToJS.xul b/js/xpconnect/tests/chrome/test_xrayToJS.xul new file mode 100644 index 000000000..2f4e70f47 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_xrayToJS.xul @@ -0,0 +1,948 @@ + + + + + + +