changeset 11128:32a30b0adafc 12+5

8215231: Remove the redundant file readAsText.html Reviewed-by: kcr
author mbilla
date Wed, 12 Dec 2018 00:34:05 +0530
parents ce2b158a0afe
children d7d399dd111e
files modules/javafx.web/src/test/resources/test/html/readAsText.html
diffstat 1 files changed, 0 insertions(+), 38 deletions(-) [+]
line wrap: on
line diff
--- a/modules/javafx.web/src/test/resources/test/html/readAsText.html	Tue Dec 11 23:23:35 2018 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-<html>
-<head>
-<title>Title of the document</title>
-
-<script type="text/javascript">
-var result = null;
-var file;
-window.addEventListener('click', (e) => {
-	document.getElementById('file').click();
-	test.print("onclick.." + e);
-
-});
-function ReadFile() {
-  file = event.target.files[0];
-  test.print("file.." + file);
-  var reader = new FileReader();
-     reader.onload = function () { 
-      document.getElementById('results').innerText='loaded:' + reader.result;
-	  result = reader.result;
-	  test.print("result..." + result);
-	  latch.countDown();
-     };
-  reader.onerror = function () { 
-    document.getElementById('results').innerText='Error:' + reader.result;
-	result = reader.result;
-	latch.countDown();
-  };
-  reader.readAsText(file);
-}
-</script>
-</head>
-
-<body>
-<input type="file" id="file" name="file" onchange="ReadFile()" multiple />
-<div>File Contents</div><div id='results'><div>
-<br/>
-</body>
-</html>