summaryrefslogtreecommitdiff
path: root/web_socket.js
diff options
context:
space:
mode:
authorHiroshi Ichikawa <gimite@gmail.com>2011-01-11 17:08:52 +0900
committerHiroshi Ichikawa <gimite@gmail.com>2011-01-11 17:08:52 +0900
commit6640d9d806972ea1720a273d09e8919464bcd131 (patch)
tree3dfd8a4d63b6dc4e5a60af6ba762008e360cf3a5 /web_socket.js
parent0d8d903d8b3a2e0ce99a9e1198c82013936a7b30 (diff)
downloadweb-socket-js-6640d9d806972ea1720a273d09e8919464bcd131.tar.gz
Calling Security.loadPolicyFile() with port 843 if Flash.loadFlashPolicyFile() has not been called.
Renaming WebSocket.loadPolicyFile() to WebSocket.loadFlashPolicyFile(). WebSocket.loadFlashPolicyFile() now expects URL including xmlsocket://.
Diffstat (limited to 'web_socket.js')
-rw-r--r--web_socket.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/web_socket.js b/web_socket.js
index 842c6ae..baf3cf9 100644
--- a/web_socket.js
+++ b/web_socket.js
@@ -300,10 +300,10 @@
WebSocket.__tasks = [];
- WebSocket.loadPolicyFile = function(url) {
- WebSocket.__addTask(function() {
- WebSocket.__flash.loadPolicyFile(url);
- });
+ WebSocket.loadFlashPolicyFile = function(url) {
+ WebSocket.__addTask(function() {
+ WebSocket.__flash.loadManualPolicyFile(url);
+ });
}
WebSocket.__initialize = function() {