Results 1 to 2 of 2
  1. #1
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784

    Exclamation Safari 4 & Chrome "Unsafe Javascript attempt to access..." errors

    Safari 4 and Chrome show a security error when a Lightstreamer application is in use.
    I think that the problem is the same for both browsers (the message is the same and both use webkit so I imagine that's a webkit issue) but while Safari shows the issue even with an ultra-simple test case Chrome doesn't.

    The message shown are similar to the followings:
    this message suggests that the problem is the communication between two pages coming from different servers, btw such messages appear even related to two pages coming from the same server:
    Such message is not completely correct as in both cases the protocols match, the ports match and even the domains match (as domains are set by our javascript library to "lightstreamer.com").

    My hypothesis (confirmed by the previously mentioned test-case only on Safari) is that it is enough that two pages coming from the same server change their domain to something else (eg from www.lightstreamer.com to lightstreamer.com) and communicate for the message to be shown.
    I have to declare it an hypothesis since the test-case doesn't work with Chrome.
    Moreover an application deployed on Lightstreamer server doesn't show the issue on Safari.
    So it's not exactly clear what causes the error message.

    In any case such messages are harmless and appear only after the first calls so that you can ignore them completely.

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    These messages have been completely eliminated with Lightstreamer JavaScript Client 6.0 (which is part of Lightstreamer 5.0 Colosseo).

 

 

Similar Threads

  1. Replies: 7
    Last Post: June 7th, 2010, 10:38 AM
  2. Replies: 3
    Last Post: February 19th, 2010, 12:14 AM
  3. Replies: 1
    Last Post: September 18th, 2009, 10:13 AM
  4. Replies: 3
    Last Post: April 9th, 2009, 11:38 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 08:03 AM.