Client-Error: Browser-Widget can not access unkown domain from [message #1823248] |
Mon, 23 March 2020 11:51  |
Eclipse User |
|
|
|
I have a RCP application that I want to make runnable in RAP. The sample I am working on embedds https://fullcalender.io in a Browser widget, with some BrowserFunction contributions etc.
Using this in an e4 RAP application leaves the internal IDE browser with "The application terminated unexpectedly" and Details showing
Error: Error: Operation "call" on target "w13" of type "rwt.widgets.Browser" failed:
SecurityRestriction:
Browser-Widget can not access unkown domain from "127.0.0.1:61163".
Properties:
script = $('#calendar').fullCalendar('option', 'maxTime', '23:59:00');$('#calendar').fullCalendar('option', 'minTime', '00:00:00');
Script: {"head":{},"operations":[["call","w13","evaluate",{"script":"$('#calendar').fullCalendar('option', 'maxTime', '23:59:00');$('#calendar').fullCalendar('option', 'minTime', '00:00:00');"}]]}
line: 62748
column: 20
sourceURL: http://127.0.0.1:61163/rwt-resources/3120/rap-client.js
Stack: _processError@http://127.0.0.1:61163/rwt-resources/3120/rap-client.js:62748:20
processOperationArray@http://127.0.0.1:61163/rwt-resources/3120/rap-client.js:62587:25
processMessage@http://127.0.0.1:61163/rwt-resources/3120/rap-client.js:62539:33
_handleSuccess@http://127.0.0.1:61163/rwt-resources/3120/rap-client.js:63227:33
_success@http://127.0.0.1:61163/rwt-resources/3120/rap-client.js:31585:46
_onReadyStateChange@http://127.0.0.1:61163/rwt-resources/3120/rap-client.js:31622:24
http://127.0.0.1:61163/rwt-resources/3120/rap-client.js:624:22
Debug: on
Request: {"head":{"requestCounter":3},"operations":[["notify","w13","Progress",{}],["set","w1",{"cursorLocation":[337,417]}]]}
The external Chrome browser does not show anything, except in the developers console you see a stalled request that never returns.
I found little on the interwebs to this like https://bugs.eclipse.org/bugs/show_bug.cgi?id=508289 or https://www.eclipse.org/forums/index.php/t/241398/
I don't really understand the problem, and where to start to get it working!
Grateful for any hints or pokes on this!
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04629 seconds