You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by jb...@apache.org on 2010/08/19 16:49:06 UTC

svn commit: r987174 - in /commons/sandbox/gsoc/2010/scxml-js/trunk/test/web-worker: ./ test.html test.js

Author: jbeard
Date: Thu Aug 19 14:49:06 2010
New Revision: 987174

URL: http://svn.apache.org/viewvc?rev=987174&view=rev
Log:
Checked in small web worker test. As suspected, XML processing API's are not available in web worker global scope, so at this moment, it will not be possible to use web workers to process XSL stylesheets, unless a pure-JavaScript implementation of XSLT is used.

Added:
    commons/sandbox/gsoc/2010/scxml-js/trunk/test/web-worker/
    commons/sandbox/gsoc/2010/scxml-js/trunk/test/web-worker/test.html   (with props)
    commons/sandbox/gsoc/2010/scxml-js/trunk/test/web-worker/test.js   (with props)

Added: commons/sandbox/gsoc/2010/scxml-js/trunk/test/web-worker/test.html
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/test/web-worker/test.html?rev=987174&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/test/web-worker/test.html (added)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/test/web-worker/test.html Thu Aug 19 14:49:06 2010
@@ -0,0 +1,9 @@
+<html>
+	<head>
+		<script type="text/javascript">
+			var w = new Worker("test.js");
+		</script>
+	</head>
+	<body>	
+	</body>
+</html>

Propchange: commons/sandbox/gsoc/2010/scxml-js/trunk/test/web-worker/test.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: commons/sandbox/gsoc/2010/scxml-js/trunk/test/web-worker/test.js
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/test/web-worker/test.js?rev=987174&view=auto
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/test/web-worker/test.js (added)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/test/web-worker/test.js Thu Aug 19 14:49:06 2010
@@ -0,0 +1 @@
+p = new window.DOMParser();

Propchange: commons/sandbox/gsoc/2010/scxml-js/trunk/test/web-worker/test.js
------------------------------------------------------------------------------
    svn:eol-style = native