Results 1 to 11 of 11

Thread: Did Javascript Bridge support for QWebEngine make it into 5.5?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2008
    Posts
    183
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Did Javascript Bridge support for QWebEngine make it into 5.5?

    Quote Originally Posted by anda_skoa View Post
    Hmm, I don't see why more teams would be involved, the C++ team would be the one providing the injection.

    Not that this is relevant now, but even if QtWebEngine had the web channel built in, the other browsers wouldn't so the shared HTML/JavaScript would not be able to access any of the bridge's objects anyway, no?

    Cheers,
    _
    Ahhh, you don't work with large places that have departments in charge of things. When you add a file to a controlled project each of those departments have to be involved. The bridge allows the C++ developer to direct inject functions via existing modules. The javascript people already have mechanisms to test for functions based on platform in their existing source. Even more people have to get involved when it is a text file which could be hacked with any text editor.

    Direct injection via bridge is secure. A binary thumps it in. The only thing which can get changed by someone being evil is if the function gets called. The function already defends against garbage.

    While I would never consider Windows a secure platform, that team went the direct injection route with their toolset just to try and lock a bit more down.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Did Javascript Bridge support for QWebEngine make it into 5.5?

    Quote Originally Posted by RolandHughes View Post
    The bridge allows the C++ developer to direct inject functions via existing modules.
    But that's the same thing for calling setHtml() in the webview
    This is C++, no?

    Cheers,
    _

  3. #3
    Join Date
    Nov 2008
    Posts
    183
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Did Javascript Bridge support for QWebEngine make it into 5.5?

    Quote Originally Posted by anda_skoa View Post
    But that's the same thing for calling setHtml() in the webview
    This is C++, no?

    Cheers,
    _
    Yes, it is C++. No, it is not the same.

Similar Threads

  1. QWebEngine: Ram size increases when load video
    By pipi in forum Qt Programming
    Replies: 0
    Last Post: 2nd March 2015, 09:07
  2. Replies: 7
    Last Post: 6th March 2013, 16:09
  3. Replies: 9
    Last Post: 29th November 2010, 12:12
  4. Does qmake support make install option?
    By hakermania in forum Newbie
    Replies: 14
    Last Post: 31st October 2010, 08:52
  5. How to make MDI editor with QGraphicsView support
    By Kuzemko in forum Qt Programming
    Replies: 4
    Last Post: 14th February 2007, 17:31

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.