diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts')
15 files changed, 42 insertions, 0 deletions
diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/count-script-tags.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/count-script-tags.js new file mode 100644 index 000000000..8fba4ecb3 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/count-script-tags.js @@ -0,0 +1 @@ +log('script tags in DOM: '+document.getElementsByTagName('script').length);
\ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/find-body.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/find-body.js new file mode 100644 index 000000000..22e1050ff --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/find-body.js @@ -0,0 +1,2 @@ +log('document.body: '+(document.body?'<BODY>':null)); +var findBodyLoaded=true;
\ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/find-foo.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/find-foo.js new file mode 100644 index 000000000..52d0ec91c --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/find-foo.js @@ -0,0 +1,2 @@ +log('found #foo element: ' + ( document.getElementById('foo') ? 'YES' : 'NO' )); +var findFooLoaded=true;
\ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-1.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-1.js new file mode 100644 index 000000000..8ff291ad5 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-1.js @@ -0,0 +1 @@ +log('external script #1');
\ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-10.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-10.js new file mode 100644 index 000000000..8dc770ddc --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-10.js @@ -0,0 +1 @@ +document.write("<script src='scripts/include-9.js?pipe=trickle(d2)' defer></script>"); diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-11.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-11.js new file mode 100644 index 000000000..a822dd8ba --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-11.js @@ -0,0 +1,4 @@ +log("external script before adding iframe"); +var iframe = document.createElement("iframe"); +iframe.src = "data:text/html,<script>parent.log('script in iframe')</script>" +document.body.appendChild(iframe);
\ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-12.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-12.js new file mode 100644 index 000000000..7ced0fb42 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-12.js @@ -0,0 +1,4 @@ +log("external script before adding object"); +var object = document.createElement("object"); +object.data = "data:text/html,<script>parent.log('script in object')</script>" +document.body.appendChild(object);
\ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-2.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-2.js new file mode 100644 index 000000000..31319423a --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-2.js @@ -0,0 +1 @@ +log('external script #2');
\ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-3.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-3.js new file mode 100644 index 000000000..53352e0f8 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-3.js @@ -0,0 +1,3 @@ +log('external script before doc write'); +document.write( '<script>log(\'document.write external script\');</script>'); +log('external script after doc write');
\ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-4.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-4.js new file mode 100644 index 000000000..0597a2262 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-4.js @@ -0,0 +1,3 @@ +log('include-4 before doc write'); +document.write( '<script src="scripts/include-3.js"></script>'); +log('include-4 after doc write');
\ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-5.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-5.js new file mode 100644 index 000000000..52952d737 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-5.js @@ -0,0 +1,7 @@ +log('include-5 before removing scripts'); +var scripts=[].slice.call(document.getElementsByTagName('script'), 3); +for(var i = 0; i < scripts.length; i++) { + var s = scripts[i]; + s.parentNode.removeChild(s); +} +log('include-5 after removing scripts'); diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-6.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-6.js new file mode 100644 index 000000000..77da2af23 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-6.js @@ -0,0 +1,6 @@ +top.log( + 'external script (#foo found? ' + + (document.getElementById('foo') ? 'YES' : 'NO' ) + + ')' +); +top.include6Loaded=true;
\ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-7.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-7.js new file mode 100644 index 000000000..57c550801 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-7.js @@ -0,0 +1 @@ +log('external script #7');
\ No newline at end of file diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-8.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-8.js new file mode 100644 index 000000000..960f2129f --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-8.js @@ -0,0 +1,4 @@ +log("external script #8"); +var s = document.createElement("script") +s.src='scripts/include-9.js?pipe=trickle(d2)' +document.body.appendChild(s); diff --git a/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-9.js b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-9.js new file mode 100644 index 000000000..904288202 --- /dev/null +++ b/testing/web-platform/tests/old-tests/submission/Opera/script_scheduling/scripts/include-9.js @@ -0,0 +1,2 @@ +log("external script #9"); +test();
\ No newline at end of file |