Uniface User Forum

 View Only
  • 1.  HTML widget: Settings for CEF (disable same origin policy)

    PARTNER
    Posted 04-20-2023 04:08
    Edited by Michael Rösch 04-20-2023 04:08
    Hello everybody,
     
    I have to disable the "same origin policy" for a particular application running in the HTML widget.
     
    Chrome for example can be started with the "-disable-web-security" option.
     
    Does anybody of you know how to set this for the HTML widget?
     
    Best regards



    ------------------------------
    Michael Rösch
    Abrechnungszentrum Emmendingen
    ------------------------------



  • 2.  RE: HTML widget: Settings for CEF (disable same origin policy)

    ROCKETEER
    Posted 05-05-2023 11:32

    The HtML widget is not intended to be a full blown web browser, but it merely is a HTML renderer that also can execute JavaScript. Additional functionality might be inherited from Chromium (respectively CEF3), but it can be changed or removed without notice, and is not maintained or supported by Uniface. By default the web security is enabled in CEF3, which is good, and this option (currently) cannot be changed for the HTML widget.

    The HTML widget also has other restrictions that are documented in the topic about the HTML Widget (uhtml).

    I hope this clarifies this matter.



    ------------------------------
    Daniel Iseli
    Principal Technical Support Engineer
    Uniface Services
    Rocket Software, Switzerland
    ------------------------------