From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- js/xpconnect/tests/chrome/bug503926.xhtml | 30 + js/xpconnect/tests/chrome/chrome.ini | 128 +++ js/xpconnect/tests/chrome/file_bug1281071.html | 13 + js/xpconnect/tests/chrome/file_bug1530146.html | 6 + .../tests/chrome/file_bug1530146_inner.html | 4 + js/xpconnect/tests/chrome/file_bug484459.html | 10 + js/xpconnect/tests/chrome/file_bug618176.xhtml | 48 + js/xpconnect/tests/chrome/file_bug996069.html | 11 + .../tests/chrome/file_discardSystemSource.html | 19 + js/xpconnect/tests/chrome/file_empty.html | 2 + js/xpconnect/tests/chrome/file_evalInSandbox.html | 1 + js/xpconnect/tests/chrome/file_expandosharing.jsm | 12 + js/xpconnect/tests/chrome/moz.build | 12 + js/xpconnect/tests/chrome/outoflinexulscript.js | 5 + js/xpconnect/tests/chrome/subscript.js | 4 + js/xpconnect/tests/chrome/test_APIExposer.xhtml | 48 + js/xpconnect/tests/chrome/test_bug1041626.xhtml | 60 + js/xpconnect/tests/chrome/test_bug1042436.xhtml | 54 + js/xpconnect/tests/chrome/test_bug1065185.html | 64 ++ js/xpconnect/tests/chrome/test_bug1074863.html | 31 + js/xpconnect/tests/chrome/test_bug1092477.xhtml | 33 + js/xpconnect/tests/chrome/test_bug1124898.html | 52 + js/xpconnect/tests/chrome/test_bug1126911.html | 40 + js/xpconnect/tests/chrome/test_bug1281071.xhtml | 32 + js/xpconnect/tests/chrome/test_bug1390159.xhtml | 44 + js/xpconnect/tests/chrome/test_bug1430164.html | 31 + js/xpconnect/tests/chrome/test_bug1516237.html | 50 + js/xpconnect/tests/chrome/test_bug1530146.html | 58 + js/xpconnect/tests/chrome/test_bug361111.xhtml | 33 + js/xpconnect/tests/chrome/test_bug448587.xhtml | 35 + js/xpconnect/tests/chrome/test_bug484459.xhtml | 37 + js/xpconnect/tests/chrome/test_bug500931.xhtml | 40 + js/xpconnect/tests/chrome/test_bug503926.xhtml | 58 + js/xpconnect/tests/chrome/test_bug533596.xhtml | 58 + js/xpconnect/tests/chrome/test_bug571849.xhtml | 44 + js/xpconnect/tests/chrome/test_bug610390.xhtml | 32 + js/xpconnect/tests/chrome/test_bug614757.xhtml | 33 + js/xpconnect/tests/chrome/test_bug616992.xhtml | 30 + js/xpconnect/tests/chrome/test_bug618176.xhtml | 30 + js/xpconnect/tests/chrome/test_bug654370.xhtml | 27 + js/xpconnect/tests/chrome/test_bug658560.xhtml | 38 + js/xpconnect/tests/chrome/test_bug658909.xhtml | 92 ++ js/xpconnect/tests/chrome/test_bug664689.xhtml | 28 + js/xpconnect/tests/chrome/test_bug679861.xhtml | 38 + js/xpconnect/tests/chrome/test_bug706301.xhtml | 52 + js/xpconnect/tests/chrome/test_bug720619.xhtml | 46 + js/xpconnect/tests/chrome/test_bug726949.xhtml | 41 + js/xpconnect/tests/chrome/test_bug732665.xhtml | 92 ++ js/xpconnect/tests/chrome/test_bug732665_meta.js | 34 + js/xpconnect/tests/chrome/test_bug738244.xhtml | 58 + js/xpconnect/tests/chrome/test_bug743843.xhtml | 39 + js/xpconnect/tests/chrome/test_bug760076.xhtml | 49 + js/xpconnect/tests/chrome/test_bug760131.html | 48 + js/xpconnect/tests/chrome/test_bug763343.xhtml | 35 + js/xpconnect/tests/chrome/test_bug771429.xhtml | 66 ++ js/xpconnect/tests/chrome/test_bug773962.xhtml | 88 ++ js/xpconnect/tests/chrome/test_bug792280.xhtml | 43 + js/xpconnect/tests/chrome/test_bug793433.xhtml | 44 + js/xpconnect/tests/chrome/test_bug795275.xhtml | 80 ++ js/xpconnect/tests/chrome/test_bug799348.xhtml | 47 + js/xpconnect/tests/chrome/test_bug801241.xhtml | 48 + js/xpconnect/tests/chrome/test_bug812415.xhtml | 90 ++ js/xpconnect/tests/chrome/test_bug853283.xhtml | 40 + js/xpconnect/tests/chrome/test_bug853571.xhtml | 62 + js/xpconnect/tests/chrome/test_bug858101.xhtml | 55 + js/xpconnect/tests/chrome/test_bug860494.xhtml | 57 + js/xpconnect/tests/chrome/test_bug865948.xhtml | 35 + js/xpconnect/tests/chrome/test_bug866823.xhtml | 49 + js/xpconnect/tests/chrome/test_bug895340.xhtml | 50 + js/xpconnect/tests/chrome/test_bug932906.xhtml | 69 ++ js/xpconnect/tests/chrome/test_bug996069.xhtml | 52 + .../tests/chrome/test_chrometoSource.xhtml | 68 ++ js/xpconnect/tests/chrome/test_cloneInto.xhtml | 194 ++++ js/xpconnect/tests/chrome/test_cows.xhtml | 207 ++++ .../tests/chrome/test_discardSystemSource.xhtml | 81 ++ .../tests/chrome/test_documentdomain.xhtml | 100 ++ .../chrome/test_doublewrappedcompartments.xhtml | 41 + .../tests/chrome/test_envChain_event_handler.html | 137 +++ js/xpconnect/tests/chrome/test_evalInSandbox.xhtml | 205 ++++ js/xpconnect/tests/chrome/test_evalInWindow.xhtml | 71 ++ js/xpconnect/tests/chrome/test_exnstack.xhtml | 68 ++ .../tests/chrome/test_expandosharing.xhtml | 147 +++ .../tests/chrome/test_exposeInDerived.xhtml | 45 + js/xpconnect/tests/chrome/test_inlineScripts.html | 53 + .../tests/chrome/test_localstorage_with_nsEp.xhtml | 37 + js/xpconnect/tests/chrome/test_matches.xhtml | 49 + js/xpconnect/tests/chrome/test_nodelists.xhtml | 49 + .../tests/chrome/test_nsScriptErrorWithStack.html | 59 + .../tests/chrome/test_onGarbageCollection.html | 48 + js/xpconnect/tests/chrome/test_precisegc.xhtml | 26 + .../tests/chrome/test_private_field_cows.xhtml | 131 +++ js/xpconnect/tests/chrome/test_sandboxImport.xhtml | 37 + .../tests/chrome/test_scriptSettings.xhtml | 128 +++ js/xpconnect/tests/chrome/test_scripterror.html | 87 ++ js/xpconnect/tests/chrome/test_secureContexts.html | 58 + .../tests/chrome/test_sharedChromeCompartment.html | 63 ++ .../tests/chrome/test_weakmap_keys_preserved.xhtml | 33 + .../chrome/test_weakmap_keys_preserved2.xhtml | 80 ++ js/xpconnect/tests/chrome/test_weakref.xhtml | 32 + .../tests/chrome/test_windowProxyDeadWrapper.html | 76 ++ js/xpconnect/tests/chrome/test_wrappers.xhtml | 85 ++ .../tests/chrome/test_xrayLargeTypedArray.html | 47 + js/xpconnect/tests/chrome/test_xrayToJS.xhtml | 1191 ++++++++++++++++++++ js/xpconnect/tests/chrome/test_xrayic.xhtml | 81 ++ js/xpconnect/tests/chrome/utf8_subscript.js | 5 + .../tests/chrome/worker_discardSystemSource.js | 6 + 106 files changed, 6849 insertions(+) create mode 100644 js/xpconnect/tests/chrome/bug503926.xhtml create mode 100644 js/xpconnect/tests/chrome/chrome.ini create mode 100644 js/xpconnect/tests/chrome/file_bug1281071.html create mode 100644 js/xpconnect/tests/chrome/file_bug1530146.html create mode 100644 js/xpconnect/tests/chrome/file_bug1530146_inner.html create mode 100644 js/xpconnect/tests/chrome/file_bug484459.html create mode 100644 js/xpconnect/tests/chrome/file_bug618176.xhtml 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_empty.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.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug1041626.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug1042436.xhtml 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.xhtml 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.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug1390159.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug1430164.html create mode 100644 js/xpconnect/tests/chrome/test_bug1516237.html create mode 100644 js/xpconnect/tests/chrome/test_bug1530146.html create mode 100644 js/xpconnect/tests/chrome/test_bug361111.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug448587.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug484459.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug500931.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug503926.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug533596.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug571849.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug610390.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug614757.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug616992.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug618176.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug654370.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug658560.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug658909.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug664689.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug679861.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug706301.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug720619.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug726949.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug732665.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug732665_meta.js create mode 100644 js/xpconnect/tests/chrome/test_bug738244.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug743843.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug760076.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug760131.html create mode 100644 js/xpconnect/tests/chrome/test_bug763343.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug771429.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug773962.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug792280.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug793433.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug795275.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug799348.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug801241.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug812415.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug853283.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug853571.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug858101.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug860494.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug865948.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug866823.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug895340.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug932906.xhtml create mode 100644 js/xpconnect/tests/chrome/test_bug996069.xhtml create mode 100644 js/xpconnect/tests/chrome/test_chrometoSource.xhtml create mode 100644 js/xpconnect/tests/chrome/test_cloneInto.xhtml create mode 100644 js/xpconnect/tests/chrome/test_cows.xhtml create mode 100644 js/xpconnect/tests/chrome/test_discardSystemSource.xhtml create mode 100644 js/xpconnect/tests/chrome/test_documentdomain.xhtml create mode 100644 js/xpconnect/tests/chrome/test_doublewrappedcompartments.xhtml create mode 100644 js/xpconnect/tests/chrome/test_envChain_event_handler.html create mode 100644 js/xpconnect/tests/chrome/test_evalInSandbox.xhtml create mode 100644 js/xpconnect/tests/chrome/test_evalInWindow.xhtml create mode 100644 js/xpconnect/tests/chrome/test_exnstack.xhtml create mode 100644 js/xpconnect/tests/chrome/test_expandosharing.xhtml create mode 100644 js/xpconnect/tests/chrome/test_exposeInDerived.xhtml create mode 100644 js/xpconnect/tests/chrome/test_inlineScripts.html create mode 100644 js/xpconnect/tests/chrome/test_localstorage_with_nsEp.xhtml create mode 100644 js/xpconnect/tests/chrome/test_matches.xhtml create mode 100644 js/xpconnect/tests/chrome/test_nodelists.xhtml 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_precisegc.xhtml create mode 100644 js/xpconnect/tests/chrome/test_private_field_cows.xhtml create mode 100644 js/xpconnect/tests/chrome/test_sandboxImport.xhtml create mode 100644 js/xpconnect/tests/chrome/test_scriptSettings.xhtml create mode 100644 js/xpconnect/tests/chrome/test_scripterror.html create mode 100644 js/xpconnect/tests/chrome/test_secureContexts.html create mode 100644 js/xpconnect/tests/chrome/test_sharedChromeCompartment.html create mode 100644 js/xpconnect/tests/chrome/test_weakmap_keys_preserved.xhtml create mode 100644 js/xpconnect/tests/chrome/test_weakmap_keys_preserved2.xhtml create mode 100644 js/xpconnect/tests/chrome/test_weakref.xhtml create mode 100644 js/xpconnect/tests/chrome/test_windowProxyDeadWrapper.html create mode 100644 js/xpconnect/tests/chrome/test_wrappers.xhtml create mode 100644 js/xpconnect/tests/chrome/test_xrayLargeTypedArray.html create mode 100644 js/xpconnect/tests/chrome/test_xrayToJS.xhtml create mode 100644 js/xpconnect/tests/chrome/test_xrayic.xhtml 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.xhtml b/js/xpconnect/tests/chrome/bug503926.xhtml new file mode 100644 index 0000000000..d62a6b575f --- /dev/null +++ b/js/xpconnect/tests/chrome/bug503926.xhtml @@ -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 0000000000..0057d6e193 --- /dev/null +++ b/js/xpconnect/tests/chrome/chrome.ini @@ -0,0 +1,128 @@ +[DEFAULT] +skip-if = os == 'android' +support-files = + bug503926.xhtml + file_bug484459.html + file_bug618176.xhtml + file_bug996069.html + file_bug1281071.html + file_discardSystemSource.html + file_empty.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_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 + !/js/xpconnect/tests/mochitest/file_xrayic.html +prefs = + javascript.options.large_arraybuffers=true + javascript.options.experimental.enable_new_set_methods=false + +[test_APIExposer.xhtml] +[test_bug361111.xhtml] +[test_bug448587.xhtml] +[test_bug484459.xhtml] +skip-if = os == 'win' || os == 'mac' || (os == 'linux' && !debug) # bug 1131110, 1255284 +[test_bug500931.xhtml] +[test_bug503926.xhtml] +[test_bug533596.xhtml] +[test_bug571849.xhtml] +[test_bug610390.xhtml] +[test_bug614757.xhtml] +[test_bug616992.xhtml] +[test_bug618176.xhtml] +[test_bug654370.xhtml] +[test_bug658560.xhtml] +[test_bug658909.xhtml] +[test_bug664689.xhtml] +[test_bug679861.xhtml] +[test_bug706301.xhtml] +[test_bug726949.xhtml] +[test_bug732665.xhtml] +[test_bug738244.xhtml] +[test_bug743843.xhtml] +[test_bug760076.xhtml] +[test_bug760131.html] +[test_bug763343.xhtml] +[test_bug771429.xhtml] +[test_bug773962.xhtml] +[test_bug792280.xhtml] +[test_bug793433.xhtml] +[test_bug795275.xhtml] +[test_bug799348.xhtml] +[test_bug801241.xhtml] +[test_bug812415.xhtml] +[test_bug853283.xhtml] +[test_bug853571.xhtml] +[test_bug858101.xhtml] +[test_bug860494.xhtml] +[test_bug865948.xhtml] +[test_bug866823.xhtml] +[test_bug895340.xhtml] +[test_bug932906.xhtml] +allow_xul_xbl = true +[test_bug996069.xhtml] +[test_bug1041626.xhtml] +[test_bug1042436.xhtml] +[test_bug1065185.html] +[test_bug1074863.html] +[test_bug1092477.xhtml] +[test_bug1124898.html] +[test_bug1126911.html] +[test_bug1281071.xhtml] +[test_bug1390159.xhtml] +[test_bug1430164.html] +[test_bug1516237.html] +[test_chrometoSource.xhtml] +[test_cloneInto.xhtml] +[test_cows.xhtml] +[test_private_field_cows.xhtml] +[test_discardSystemSource.xhtml] +[test_documentdomain.xhtml] +[test_doublewrappedcompartments.xhtml] +[test_evalInSandbox.xhtml] +[test_evalInWindow.xhtml] +[test_exnstack.xhtml] +[test_expandosharing.xhtml] +[test_exposeInDerived.xhtml] +[test_inlineScripts.html] +[test_localstorage_with_nsEp.xhtml] +[test_matches.xhtml] +[test_nodelists.xhtml] +[test_nsScriptErrorWithStack.html] +[test_onGarbageCollection.html] +[test_precisegc.xhtml] +[test_sandboxImport.xhtml] +[test_secureContexts.html] +[test_scriptSettings.xhtml] +[test_scripterror.html] +[test_sharedChromeCompartment.html] +[test_weakmap_keys_preserved.xhtml] +[test_weakmap_keys_preserved2.xhtml] +[test_weakref.xhtml] +[test_windowProxyDeadWrapper.html] +[test_wrappers.xhtml] +[test_xrayic.xhtml] +[test_xrayLargeTypedArray.html] +skip-if = bits == 32 # Large ArrayBuffers not supported on 32-bit. +[test_xrayToJS.xhtml] +[test_bug1530146.html] +support-files = file_bug1530146.html file_bug1530146_inner.html +[test_envChain_event_handler.html] diff --git a/js/xpconnect/tests/chrome/file_bug1281071.html b/js/xpconnect/tests/chrome/file_bug1281071.html new file mode 100644 index 0000000000..2398ce4a57 --- /dev/null +++ b/js/xpconnect/tests/chrome/file_bug1281071.html @@ -0,0 +1,13 @@ + + + diff --git a/js/xpconnect/tests/chrome/file_bug1530146.html b/js/xpconnect/tests/chrome/file_bug1530146.html new file mode 100644 index 0000000000..5414ea407d --- /dev/null +++ b/js/xpconnect/tests/chrome/file_bug1530146.html @@ -0,0 +1,6 @@ + + + diff --git a/js/xpconnect/tests/chrome/file_bug1530146_inner.html b/js/xpconnect/tests/chrome/file_bug1530146_inner.html new file mode 100644 index 0000000000..db642cf81d --- /dev/null +++ b/js/xpconnect/tests/chrome/file_bug1530146_inner.html @@ -0,0 +1,4 @@ + + diff --git a/js/xpconnect/tests/chrome/file_bug484459.html b/js/xpconnect/tests/chrome/file_bug484459.html new file mode 100644 index 0000000000..27be5463a2 --- /dev/null +++ b/js/xpconnect/tests/chrome/file_bug484459.html @@ -0,0 +1,10 @@ + + + helper for bug 484459 + + + + + diff --git a/js/xpconnect/tests/chrome/file_bug618176.xhtml b/js/xpconnect/tests/chrome/file_bug618176.xhtml new file mode 100644 index 0000000000..3aea153159 --- /dev/null +++ b/js/xpconnect/tests/chrome/file_bug618176.xhtml @@ -0,0 +1,48 @@ + + + + + + diff --git a/js/xpconnect/tests/chrome/file_bug996069.html b/js/xpconnect/tests/chrome/file_bug996069.html new file mode 100644 index 0000000000..e4bed07806 --- /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 0000000000..5dc9e9e7ba --- /dev/null +++ b/js/xpconnect/tests/chrome/file_discardSystemSource.html @@ -0,0 +1,19 @@ + + + + + + + + diff --git a/js/xpconnect/tests/chrome/file_empty.html b/js/xpconnect/tests/chrome/file_empty.html new file mode 100644 index 0000000000..b3bfe19c0b --- /dev/null +++ b/js/xpconnect/tests/chrome/file_empty.html @@ -0,0 +1,2 @@ + +test pagethere is nothing to see diff --git a/js/xpconnect/tests/chrome/file_evalInSandbox.html b/js/xpconnect/tests/chrome/file_evalInSandbox.html new file mode 100644 index 0000000000..fb58f2bb41 --- /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 0000000000..f680ae20a9 --- /dev/null +++ b/js/xpconnect/tests/chrome/file_expandosharing.jsm @@ -0,0 +1,12 @@ +var EXPORTED_SYMBOLS = ["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 0000000000..d371d3051f --- /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 0000000000..14b99048e9 --- /dev/null +++ b/js/xpconnect/tests/chrome/outoflinexulscript.js @@ -0,0 +1,5 @@ +// 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 0000000000..c2708f6e9b --- /dev/null +++ b/js/xpconnect/tests/chrome/subscript.js @@ -0,0 +1,4 @@ +/* global base */ +var ns = {}; +Services.scriptloader.loadSubScript(base + "file_expandosharing.jsm", ns); +var checkFromJSM = ns.checkFromJSM; diff --git a/js/xpconnect/tests/chrome/test_APIExposer.xhtml b/js/xpconnect/tests/chrome/test_APIExposer.xhtml new file mode 100644 index 0000000000..b327abe44d --- /dev/null +++ b/js/xpconnect/tests/chrome/test_APIExposer.xhtml @@ -0,0 +1,48 @@ + + + + + + + + + + Mozilla Bug 634156 + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug1041626.xhtml b/js/xpconnect/tests/chrome/test_bug1041626.xhtml new file mode 100644 index 0000000000..61d7630838 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug1041626.xhtml @@ -0,0 +1,60 @@ + + + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug1390159.xhtml b/js/xpconnect/tests/chrome/test_bug1390159.xhtml new file mode 100644 index 0000000000..7d5b917a27 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug1390159.xhtml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug1430164.html b/js/xpconnect/tests/chrome/test_bug1430164.html new file mode 100644 index 0000000000..609e662ad5 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug1430164.html @@ -0,0 +1,31 @@ + + + + + + Test for Bug 1430164 + + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug1516237.html b/js/xpconnect/tests/chrome/test_bug1516237.html new file mode 100644 index 0000000000..e7b92461bf --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug1516237.html @@ -0,0 +1,50 @@ + + + + + + Test for Bug 1516237 + + + + + + +Mozilla Bug 1516237 + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug1530146.html b/js/xpconnect/tests/chrome/test_bug1530146.html new file mode 100644 index 0000000000..59be912027 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug1530146.html @@ -0,0 +1,58 @@ + + + + + + Test for Bug 1530146 + + + + + + +Mozilla Bug 1530146 +

+ +
+
+ + diff --git a/js/xpconnect/tests/chrome/test_bug361111.xhtml b/js/xpconnect/tests/chrome/test_bug361111.xhtml new file mode 100644 index 0000000000..4f1f89cf86 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug361111.xhtml @@ -0,0 +1,33 @@ + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug448587.xhtml b/js/xpconnect/tests/chrome/test_bug448587.xhtml new file mode 100644 index 0000000000..cedab9ebbd --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug448587.xhtml @@ -0,0 +1,35 @@ + + + + + + + + + + Mozilla Bug 448587 + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug484459.xhtml b/js/xpconnect/tests/chrome/test_bug484459.xhtml new file mode 100644 index 0000000000..59f2f4ea60 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug484459.xhtml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug500931.xhtml b/js/xpconnect/tests/chrome/test_bug500931.xhtml new file mode 100644 index 0000000000..68effb7342 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug500931.xhtml @@ -0,0 +1,40 @@ + + + + + + + + + + Mozilla Bug 500931 + + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug503926.xhtml b/js/xpconnect/tests/chrome/test_bug503926.xhtml new file mode 100644 index 0000000000..cfe6315fd8 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug503926.xhtml @@ -0,0 +1,58 @@ + + + + + + + + + + Mozilla Bug 503926 + + + diff --git a/js/xpconnect/tests/chrome/test_bug571849.xhtml b/js/xpconnect/tests/chrome/test_bug571849.xhtml new file mode 100644 index 0000000000..3e4f6d6cc1 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug571849.xhtml @@ -0,0 +1,44 @@ + + + + + + + + + + Mozilla Bug 500931 + + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug610390.xhtml b/js/xpconnect/tests/chrome/test_bug610390.xhtml new file mode 100644 index 0000000000..e4d8a48477 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug610390.xhtml @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug614757.xhtml b/js/xpconnect/tests/chrome/test_bug614757.xhtml new file mode 100644 index 0000000000..34058e38a3 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug614757.xhtml @@ -0,0 +1,33 @@ + + + + + + + + + + Mozilla Bug 614757 + + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug743843.xhtml b/js/xpconnect/tests/chrome/test_bug743843.xhtml new file mode 100644 index 0000000000..a80134ff9e --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug743843.xhtml @@ -0,0 +1,39 @@ + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug760076.xhtml b/js/xpconnect/tests/chrome/test_bug760076.xhtml new file mode 100644 index 0000000000..9d56455024 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug760076.xhtml @@ -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 0000000000..eca4467c8d --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug760131.html @@ -0,0 +1,48 @@ + + + + + + Test for Bug 760131 + + + + +Mozilla Bug 760131 +

+ +
+
+
+ + diff --git a/js/xpconnect/tests/chrome/test_bug763343.xhtml b/js/xpconnect/tests/chrome/test_bug763343.xhtml new file mode 100644 index 0000000000..db3acd37c0 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug763343.xhtml @@ -0,0 +1,35 @@ + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug771429.xhtml b/js/xpconnect/tests/chrome/test_bug771429.xhtml new file mode 100644 index 0000000000..c5846dd6ac --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug771429.xhtml @@ -0,0 +1,66 @@ + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug773962.xhtml b/js/xpconnect/tests/chrome/test_bug773962.xhtml new file mode 100644 index 0000000000..2bdb43f6fc --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug773962.xhtml @@ -0,0 +1,88 @@ + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_documentdomain.xhtml b/js/xpconnect/tests/chrome/test_documentdomain.xhtml new file mode 100644 index 0000000000..8cffdc8e46 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_documentdomain.xhtml @@ -0,0 +1,100 @@ + + + + + + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_envChain_event_handler.html b/js/xpconnect/tests/chrome/test_envChain_event_handler.html new file mode 100644 index 0000000000..f492e11512 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_envChain_event_handler.html @@ -0,0 +1,137 @@ + + + + + + Test for Bug 1782450 + + + + + + +
+ + + +
+Mozilla Bug 1782450 + + + diff --git a/js/xpconnect/tests/chrome/test_evalInSandbox.xhtml b/js/xpconnect/tests/chrome/test_evalInSandbox.xhtml new file mode 100644 index 0000000000..ac65151101 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_evalInSandbox.xhtml @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_evalInWindow.xhtml b/js/xpconnect/tests/chrome/test_evalInWindow.xhtml new file mode 100644 index 0000000000..00299266f2 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_evalInWindow.xhtml @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_exnstack.xhtml b/js/xpconnect/tests/chrome/test_exnstack.xhtml new file mode 100644 index 0000000000..48bcac5243 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_exnstack.xhtml @@ -0,0 +1,68 @@ + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_expandosharing.xhtml b/js/xpconnect/tests/chrome/test_expandosharing.xhtml new file mode 100644 index 0000000000..1dc95239f4 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_expandosharing.xhtml @@ -0,0 +1,147 @@ + + + + + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_nodelists.xhtml b/js/xpconnect/tests/chrome/test_nodelists.xhtml new file mode 100644 index 0000000000..d3d4dfc34e --- /dev/null +++ b/js/xpconnect/tests/chrome/test_nodelists.xhtml @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_scripterror.html b/js/xpconnect/tests/chrome/test_scripterror.html new file mode 100644 index 0000000000..38cb316467 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_scripterror.html @@ -0,0 +1,87 @@ + + +Tests for nsIScriptError + +
+ diff --git a/js/xpconnect/tests/chrome/test_secureContexts.html b/js/xpconnect/tests/chrome/test_secureContexts.html new file mode 100644 index 0000000000..956e609d5f --- /dev/null +++ b/js/xpconnect/tests/chrome/test_secureContexts.html @@ -0,0 +1,58 @@ + + + + + + Test for Bug 1430164 + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_sharedChromeCompartment.html b/js/xpconnect/tests/chrome/test_sharedChromeCompartment.html new file mode 100644 index 0000000000..b653f19751 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_sharedChromeCompartment.html @@ -0,0 +1,63 @@ + + + + + + Test for Bug 1517694 + + + + + + +Mozilla Bug 1517694 + + + + + diff --git a/js/xpconnect/tests/chrome/test_weakmap_keys_preserved.xhtml b/js/xpconnect/tests/chrome/test_weakmap_keys_preserved.xhtml new file mode 100644 index 0000000000..c7c5d4369d --- /dev/null +++ b/js/xpconnect/tests/chrome/test_weakmap_keys_preserved.xhtml @@ -0,0 +1,33 @@ + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_weakmap_keys_preserved2.xhtml b/js/xpconnect/tests/chrome/test_weakmap_keys_preserved2.xhtml new file mode 100644 index 0000000000..faaaa8b9ac --- /dev/null +++ b/js/xpconnect/tests/chrome/test_weakmap_keys_preserved2.xhtml @@ -0,0 +1,80 @@ + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_weakref.xhtml b/js/xpconnect/tests/chrome/test_weakref.xhtml new file mode 100644 index 0000000000..21986cbf34 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_weakref.xhtml @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_windowProxyDeadWrapper.html b/js/xpconnect/tests/chrome/test_windowProxyDeadWrapper.html new file mode 100644 index 0000000000..7970c1ae70 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_windowProxyDeadWrapper.html @@ -0,0 +1,76 @@ + + + + + + Test for Bug 1223372 + + + + + + +Mozilla Bug 1223372 + + + + + diff --git a/js/xpconnect/tests/chrome/test_wrappers.xhtml b/js/xpconnect/tests/chrome/test_wrappers.xhtml new file mode 100644 index 0000000000..73c808a9df --- /dev/null +++ b/js/xpconnect/tests/chrome/test_wrappers.xhtml @@ -0,0 +1,85 @@ + + + + + + + + + + Mozilla Bug 533596 + + + + + + diff --git a/js/xpconnect/tests/chrome/test_xrayLargeTypedArray.html b/js/xpconnect/tests/chrome/test_xrayLargeTypedArray.html new file mode 100644 index 0000000000..dcb0b87380 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_xrayLargeTypedArray.html @@ -0,0 +1,47 @@ + + + + + + Test for Bug 1674777 + + + + + + +Mozilla Bug 1674777 + +