From 2aa4a82499d4becd2284cdb482213d541b8804dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 16:29:10 +0200 Subject: Adding upstream version 86.0.1. Signed-off-by: Daniel Baumann --- js/xpconnect/tests/chrome/bug503926.xhtml | 29 + js/xpconnect/tests/chrome/chrome.ini | 123 +++ js/xpconnect/tests/chrome/file_bug1281071.html | 13 + js/xpconnect/tests/chrome/file_bug1530146.html | 5 + .../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 | 18 + js/xpconnect/tests/chrome/file_empty.html | 2 + 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 | 5 + 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 | 34 + 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 | 45 + 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 | 57 + js/xpconnect/tests/chrome/test_bug533596.xhtml | 54 + js/xpconnect/tests/chrome/test_bug571849.xhtml | 43 + js/xpconnect/tests/chrome/test_bug596580.xhtml | 51 + 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 | 83 ++ js/xpconnect/tests/chrome/test_bug732665_meta.js | 26 + js/xpconnect/tests/chrome/test_bug738244.xhtml | 58 + js/xpconnect/tests/chrome/test_bug743843.xhtml | 39 + js/xpconnect/tests/chrome/test_bug760076.xhtml | 48 + 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 | 86 ++ js/xpconnect/tests/chrome/test_bug792280.xhtml | 43 + js/xpconnect/tests/chrome/test_bug793433.xhtml | 45 + js/xpconnect/tests/chrome/test_bug795275.xhtml | 88 ++ js/xpconnect/tests/chrome/test_bug799348.xhtml | 50 + js/xpconnect/tests/chrome/test_bug801241.xhtml | 45 + 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 | 56 + js/xpconnect/tests/chrome/test_bug865948.xhtml | 35 + js/xpconnect/tests/chrome/test_bug866823.xhtml | 49 + js/xpconnect/tests/chrome/test_bug895340.xhtml | 62 ++ js/xpconnect/tests/chrome/test_bug932906.xhtml | 71 ++ js/xpconnect/tests/chrome/test_bug996069.xhtml | 52 + .../tests/chrome/test_chrometoSource.xhtml | 66 ++ js/xpconnect/tests/chrome/test_cloneInto.xhtml | 194 ++++ js/xpconnect/tests/chrome/test_cows.xhtml | 230 ++++ .../tests/chrome/test_discardSystemSource.xhtml | 80 ++ .../tests/chrome/test_documentdomain.xhtml | 100 ++ .../chrome/test_doublewrappedcompartments.xhtml | 41 + js/xpconnect/tests/chrome/test_evalInSandbox.xhtml | 204 ++++ js/xpconnect/tests/chrome/test_evalInWindow.xhtml | 71 ++ js/xpconnect/tests/chrome/test_exnstack.xhtml | 68 ++ .../tests/chrome/test_expandosharing.xhtml | 145 +++ .../tests/chrome/test_exposeInDerived.xhtml | 45 + .../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 | 61 + .../tests/chrome/test_onGarbageCollection.html | 41 + 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 | 89 ++ js/xpconnect/tests/chrome/test_secureContexts.html | 57 + .../tests/chrome/test_sharedChromeCompartment.html | 61 + .../tests/chrome/test_weakmap_keys_preserved.xhtml | 33 + .../chrome/test_weakmap_keys_preserved2.xhtml | 81 ++ js/xpconnect/tests/chrome/test_weakref.xhtml | 32 + .../tests/chrome/test_windowProxyDeadWrapper.html | 76 ++ js/xpconnect/tests/chrome/test_wrappers.xhtml | 85 ++ js/xpconnect/tests/chrome/test_xrayToJS.xhtml | 1164 ++++++++++++++++++++ js/xpconnect/tests/chrome/test_xrayic.xhtml | 81 ++ js/xpconnect/tests/chrome/utf8_subscript.js | 3 + .../tests/chrome/worker_discardSystemSource.js | 5 + 104 files changed, 6635 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_bug596580.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_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_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_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..e3861d7a3e --- /dev/null +++ b/js/xpconnect/tests/chrome/bug503926.xhtml @@ -0,0 +1,29 @@ + + + + + + + + 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..74196e9522 --- /dev/null +++ b/js/xpconnect/tests/chrome/chrome.ini @@ -0,0 +1,123 @@ +[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.experimental.private_fields=true + +[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_bug596580.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] +[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_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_xrayToJS.xhtml] +[test_bug1530146.html] +support-files = file_bug1530146.html file_bug1530146_inner.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..1d758bf954 --- /dev/null +++ b/js/xpconnect/tests/chrome/file_bug1530146.html @@ -0,0 +1,5 @@ + + + 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..03069592c7 --- /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..9f264ffe5d --- /dev/null +++ b/js/xpconnect/tests/chrome/file_discardSystemSource.html @@ -0,0 +1,18 @@ + + + + + + + + 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..78718b28ec --- /dev/null +++ b/js/xpconnect/tests/chrome/file_expandosharing.jsm @@ -0,0 +1,10 @@ +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"); } +} \ No newline at end of file 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..a06b633afd --- /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 0000000000..266628abc6 --- /dev/null +++ b/js/xpconnect/tests/chrome/subscript.js @@ -0,0 +1,5 @@ +const {Services} = ChromeUtils.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.xhtml b/js/xpconnect/tests/chrome/test_APIExposer.xhtml new file mode 100644 index 0000000000..4044474df2 --- /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..3f970df60d --- /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..36ebc4bd38 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug1390159.xhtml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + 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..26524eab4c --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug503926.xhtml @@ -0,0 +1,57 @@ + + + + + + + + + + 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..35f94fba4f --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug571849.xhtml @@ -0,0 +1,43 @@ + + + + + + + + + + Mozilla Bug 500931 + + + + + + diff --git a/js/xpconnect/tests/chrome/test_bug596580.xhtml b/js/xpconnect/tests/chrome/test_bug596580.xhtml new file mode 100644 index 0000000000..12be180412 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug596580.xhtml @@ -0,0 +1,51 @@ + + + + + + + + + Mozilla Bug 596580 + + + + + 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..25e8c401e5 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug760076.xhtml @@ -0,0 +1,48 @@ + + + + + + + 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..d2b46101f2 --- /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..67e549d9cd --- /dev/null +++ b/js/xpconnect/tests/chrome/test_bug773962.xhtml @@ -0,0 +1,86 @@ + + + + + + + + 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_evalInSandbox.xhtml b/js/xpconnect/tests/chrome/test_evalInSandbox.xhtml new file mode 100644 index 0000000000..d4a2ea20fe --- /dev/null +++ b/js/xpconnect/tests/chrome/test_evalInSandbox.xhtml @@ -0,0 +1,204 @@ + + + + + + + + + + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_evalInWindow.xhtml b/js/xpconnect/tests/chrome/test_evalInWindow.xhtml new file mode 100644 index 0000000000..729675bb71 --- /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..056ccab407 --- /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..e7c80b38df --- /dev/null +++ b/js/xpconnect/tests/chrome/test_expandosharing.xhtml @@ -0,0 +1,145 @@ + + + + + + + + + + + + diff --git a/js/xpconnect/tests/chrome/test_nodelists.xhtml b/js/xpconnect/tests/chrome/test_nodelists.xhtml new file mode 100644 index 0000000000..1972e186ec --- /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..ab95be70d6 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_scripterror.html @@ -0,0 +1,89 @@ + + +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..e6da48d142 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_secureContexts.html @@ -0,0 +1,57 @@ + + + + + + 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..08d5f87795 --- /dev/null +++ b/js/xpconnect/tests/chrome/test_sharedChromeCompartment.html @@ -0,0 +1,61 @@ + + + + + + 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..d93bc2d30c --- /dev/null +++ b/js/xpconnect/tests/chrome/test_weakmap_keys_preserved2.xhtml @@ -0,0 +1,81 @@ + + + + + + + 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..9d8a2a7761 --- /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..32308eb72b --- /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_xrayToJS.xhtml b/js/xpconnect/tests/chrome/test_xrayToJS.xhtml new file mode 100644 index 0000000000..52bcb0774a --- /dev/null +++ b/js/xpconnect/tests/chrome/test_xrayToJS.xhtml @@ -0,0 +1,1164 @@ + + + + + + +