Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #36648 > unrolled thread

IE11 renderer provokes this OLE error

Started byTim Streater <timstreater@greenbee.net>
First post2019-05-25 21:58 +0100
Last post2019-05-25 21:58 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.javascript


Contents

  IE11 renderer provokes this OLE error Tim Streater <timstreater@greenbee.net> - 2019-05-25 21:58 +0100

#36648 — IE11 renderer provokes this OLE error

FromTim Streater <timstreater@greenbee.net>
Date2019-05-25 21:58 +0100
SubjectIE11 renderer provokes this OLE error
Message-ID<250520192158344243%timstreater@greenbee.net>
Under Windows 10, my application gets an OLE exception at startup. The
app contains an object which knows how to load an HTML renderer and use
it to display rendered HTML. The app asks (via the registry) to use the
IE11 renderer, and uses this:

     <meta http-equiv="X-UA-Compatible" content="IE=11">

to force the IE11 renderer to actually run in IE11 mode. The loaded
HTML is largely javascript with an added window.onerror which is able
to give me an error message and source line number, thus:

     Javascript error at line: 12757 - SecurityError

Examination of line 12757 reveals it's part of my initialisation
sequence, where the javascript part of the app connects to the
websocket sever elsewhere in the app, for communication purposes:

     socket = new WebSocket ('ws://localhost:' + port);

What could be provoking this problem?

-- 
"I am enclosing two tickets to the first night of my new play; bring a
friend.... if you have one." - GB Shaw to Churchill "Cannot possibly
attend first night, will attend second...  if there is one." - Winston
Churchill, in response.

[toc] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web