From 94b636c6fd50e4bb983b535b0a72687a2679cbf5 Mon Sep 17 00:00:00 2001 From: Wade Alcorn Date: Thu, 24 Apr 2014 19:36:58 +1000 Subject: [PATCH] Fixed reference to origin --- core/main/client/net/cors.js | 2 +- core/main/client/timeout.js | 2 +- core/main/client/websocket.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/main/client/net/cors.js b/core/main/client/net/cors.js index 01cf86008..cf12dcffe 100644 --- a/core/main/client/net/cors.js +++ b/core/main/client/net/cors.js @@ -12,7 +12,7 @@ beef.net.cors = { }, /** - * Make a cross-domain request using CORS + * Make a cross-origin request using CORS * * @param method {String} HTTP verb ('GET', 'POST', 'DELETE', etc.) * @param url {String} url diff --git a/core/main/client/timeout.js b/core/main/client/timeout.js index c766ade42..77719a79a 100644 --- a/core/main/client/timeout.js +++ b/core/main/client/timeout.js @@ -6,7 +6,7 @@ /* Sometimes there are timing issues and looks like beef_init - is not called at all (always in cross-domain situations, + is not called at all (always in cross-origin situations, for example calling the hook with jquery getScript, or sometimes with event handler injections). diff --git a/core/main/client/websocket.js b/core/main/client/websocket.js index 551ce17c8..122e16631 100644 --- a/core/main/client/websocket.js +++ b/core/main/client/websocket.js @@ -20,7 +20,7 @@ beef.websocket = { /** * Initialize the WebSocket client object. - * Note: use WebSocketSecure only if the hooked domain is under https. + * Note: use WebSocketSecure only if the hooked origin is under https. * Mixed-content in WS is quite different from a non-WS context. */ init:function () {