From 2fc89deaeae0341aa12b6b811927e793011055d1 Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 26 Jan 2011 00:34:39 -0800 Subject: work in progress js_uploader plugin, turn java uploader into plugin - not done yet --- .../tests/iframe-content-tests/application-javascript.php | 1 + .../file-uploader/tests/iframe-content-tests/application-json.php | 1 + .../file-uploader/tests/iframe-content-tests/header-404.php | 2 ++ .../file-uploader/tests/iframe-content-tests/somepage.php | 1 + .../file-uploader/tests/iframe-content-tests/text-html-large.php | 6 ++++++ .../file-uploader/tests/iframe-content-tests/text-html.php | 7 +++++++ .../file-uploader/tests/iframe-content-tests/text-javascript.php | 1 + .../file-uploader/tests/iframe-content-tests/text-plain.php | 2 ++ 8 files changed, 21 insertions(+) create mode 100644 addon/js_upload/file-uploader/tests/iframe-content-tests/application-javascript.php create mode 100644 addon/js_upload/file-uploader/tests/iframe-content-tests/application-json.php create mode 100644 addon/js_upload/file-uploader/tests/iframe-content-tests/header-404.php create mode 100644 addon/js_upload/file-uploader/tests/iframe-content-tests/somepage.php create mode 100644 addon/js_upload/file-uploader/tests/iframe-content-tests/text-html-large.php create mode 100644 addon/js_upload/file-uploader/tests/iframe-content-tests/text-html.php create mode 100644 addon/js_upload/file-uploader/tests/iframe-content-tests/text-javascript.php create mode 100644 addon/js_upload/file-uploader/tests/iframe-content-tests/text-plain.php (limited to 'addon/js_upload/file-uploader/tests/iframe-content-tests') diff --git a/addon/js_upload/file-uploader/tests/iframe-content-tests/application-javascript.php b/addon/js_upload/file-uploader/tests/iframe-content-tests/application-javascript.php new file mode 100644 index 000000000..a91c75f69 --- /dev/null +++ b/addon/js_upload/file-uploader/tests/iframe-content-tests/application-javascript.php @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/addon/js_upload/file-uploader/tests/iframe-content-tests/application-json.php b/addon/js_upload/file-uploader/tests/iframe-content-tests/application-json.php new file mode 100644 index 000000000..c1161256f --- /dev/null +++ b/addon/js_upload/file-uploader/tests/iframe-content-tests/application-json.php @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/addon/js_upload/file-uploader/tests/iframe-content-tests/header-404.php b/addon/js_upload/file-uploader/tests/iframe-content-tests/header-404.php new file mode 100644 index 000000000..17d807555 --- /dev/null +++ b/addon/js_upload/file-uploader/tests/iframe-content-tests/header-404.php @@ -0,0 +1,2 @@ + +Not found! \ No newline at end of file diff --git a/addon/js_upload/file-uploader/tests/iframe-content-tests/somepage.php b/addon/js_upload/file-uploader/tests/iframe-content-tests/somepage.php new file mode 100644 index 000000000..f0a2575a1 --- /dev/null +++ b/addon/js_upload/file-uploader/tests/iframe-content-tests/somepage.php @@ -0,0 +1 @@ +I'm a page. \ No newline at end of file diff --git a/addon/js_upload/file-uploader/tests/iframe-content-tests/text-html-large.php b/addon/js_upload/file-uploader/tests/iframe-content-tests/text-html-large.php new file mode 100644 index 000000000..ac9682be9 --- /dev/null +++ b/addon/js_upload/file-uploader/tests/iframe-content-tests/text-html-large.php @@ -0,0 +1,6 @@ + "&a, to download means to receive data to a local system from a remote system, or to initiate such a data transfer. Examples of a remote system from which a download might be performed include a webserver, FTP server, email server, or other similar systems. A download can mean either any file that is offered for downloading or that has been downloaded, or the process of receiving such a file.The inverse operation, uploading, can refer to the sending of data from a local system to a remote system such as a server or another client with the intent that the remote system should store a copy of the data being transferred, or the initiation of such a process. The words first came into popular usage among computer users with the increased popularity of Bulletin Board Systems (BBSs), facilitated by the widespread distribution and implementation of dial-up access the in the 1970s", + 'sub' => array('arr'=>array(10,20,30), 'boo'=>false) + ); + echo htmlspecialchars(json_encode($data), ENT_NOQUOTES); diff --git a/addon/js_upload/file-uploader/tests/iframe-content-tests/text-javascript.php b/addon/js_upload/file-uploader/tests/iframe-content-tests/text-javascript.php new file mode 100644 index 000000000..ee930d085 --- /dev/null +++ b/addon/js_upload/file-uploader/tests/iframe-content-tests/text-javascript.php @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/addon/js_upload/file-uploader/tests/iframe-content-tests/text-plain.php b/addon/js_upload/file-uploader/tests/iframe-content-tests/text-plain.php new file mode 100644 index 000000000..90c1af0ee --- /dev/null +++ b/addon/js_upload/file-uploader/tests/iframe-content-tests/text-plain.php @@ -0,0 +1,2 @@ + +text

P tag

\ No newline at end of file -- cgit v1.2.3