LC's CEF browser and HTML5

Bringing your stacks to the web

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

LC's CEF browser and HTML5

Post by [-hh] » Sat Sep 12, 2015 5:48 pm

Nearly all my examples open and work correctly in Safari and Firefox and Google's Chrome but none with LC's revBrowserOpenCEF() ...

I'm wondering why LC's browser example in 6.7-8.0 uses still revBrowserOpen(), that by the way works for the HTML5 examples!

Is there any diff between dev team's Chrome version and that of LC 6.7 - 8.0?
Or what's the reason, that the close to grown up "create-HTML5-feature" is drifting away from the own CEF?
shiftLock happens

peter-b
Posts: 182
Joined: Thu Nov 20, 2014 2:14 pm
Location: LiveCode Ltd.

Re: LC's CEF browser and HTML5

Post by peter-b » Tue Sep 15, 2015 10:14 am

I'm really sorry, but I don't exactly understand what you're trying to do or what's going wrong...

Are you saying that if you create an HTML5 standalone, and try and open it inside the engine, then it doesn't work properly? In what way doesn't it work properly? I'm a little bit confused, sorry! :?
LiveCode Open Source Team — @PeterTBBrett — peter.brett@livecode.com

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: LC's CEF browser and HTML5

Post by [-hh] » Tue Sep 15, 2015 3:11 pm

The thread "successful test" contains working examples (leave out "buttonstest"), working with Chrome and Firefox on Mac/Win/Linux and Safari on Mac.

With LC's browser, say on Mac, all these examples work also when using revBrowserOpen (WebKit), but none of them runs when using revBrowserOpenCEF (Chromium 37).

That's a pity because 8.0.4 scares in HTML5 higher than the greatly announced Safari 9.

HTML5test ( http://html5test.com/ ) says, running from MacOS 10.10.5:

= the LC-WebKit-browser scores 378 out of 555 points (LC 7.0.6)
= the LC-CEF-browser scores 453 out of 555 points (LC 7.0.6, Chromium 37)
= the LC-CEF-browser scores 465 out of 555 points (LC 8.0.4, Chromium 39) <--
= Firefox 40.0 scores 466 out of 555 points.
= Safari 8.0.8/ 9.0 scores 396/ 400 out of 555 points.
= Chrome (Chromium 44) scores 501 out of 555 points.
shiftLock happens

LCMark
Livecode Staff Member
Livecode Staff Member
Posts: 1209
Joined: Thu Apr 11, 2013 11:27 am

Re: LC's CEF browser and HTML5

Post by LCMark » Tue Sep 15, 2015 3:41 pm

@hh: This will probably be because our CEF needs updating... We'll take a look and see if we can do that in due course. The HTML5 build feature requires very recent versions of all the browsers as it relies on a lot of very recent 'HTML5' features.

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: LC's CEF browser and HTML5

Post by [-hh] » Fri Sep 25, 2015 7:51 am

Just now, as we have the new LC 8.0.0-dp-5 version, some infos ... no comment.

This is available (as of today)

= Chromium 46 for Linux 32bit, Linux 64bit
= Chromium 47 for Mac 64bit
= Chromium 47 for Win 32bit, Win 64bit
= Chromium 41 for Mac 32bit (no longer supported)

Newest Chrome uses Chromium 45, current LC's revBrowserOpenCEF uses Chromium 39 (which is from Jan 2014).

Very interesting in this context is the current overview of html5test.com:
HTML5 scores for desktop, tablets and mobiles
(out of 555 points, also available are detailed supported features).
shiftLock happens

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: LC's CEF browser and HTML5

Post by [-hh] » Sun Oct 04, 2015 7:08 pm

Still the same with LC 8.0.0-dp6, especially:

Newest Google's Chrome uses Chromium 45,
LC's revBrowserOpenCEF uses Chromium 39.
shiftLock happens

peter-b
Posts: 182
Joined: Thu Nov 20, 2014 2:14 pm
Location: LiveCode Ltd.

Re: LC's CEF browser and HTML5

Post by peter-b » Sun Oct 04, 2015 7:09 pm

We looked into this over the last couple of weeks, and we have a basic problem here: either we can drop support for 32-bit Linux, or we can ship an old Chromium. As far as I'm aware, that is literally the tradeoff we have to consider.
LiveCode Open Source Team — @PeterTBBrett — peter.brett@livecode.com

Post Reply

Return to “HTML5”