Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #36648
| From | Tim Streater <timstreater@greenbee.net> |
|---|---|
| Newsgroups | comp.lang.javascript, alt.html |
| Subject | IE11 renderer provokes this OLE error |
| Date | 2019-05-25 21:58 +0100 |
| Message-ID | <250520192158344243%timstreater@greenbee.net> (permalink) |
Cross-posted to 2 groups.
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.
Back to comp.lang.javascript | Previous | Next | Find similar | Unroll thread
IE11 renderer provokes this OLE error Tim Streater <timstreater@greenbee.net> - 2019-05-25 21:58 +0100
csiph-web