Does CEF3 support NaCl? - google-nativeclient

Has anyone had success in enabling NaCl/PNaCl support in the CEF3 (Chromium Embedded Framework)?
I find that Chrome (34) can run the PNaCl samples on this page fine, but the cefclient distributed at cefbuilds.com (Windows, 1916 branch) does not.
Chrome lists the ppGoogleNaClPluginChrome.dll as a PPAPI (in-process) plugin on chrome://plugins, while the cefclient app doesn't have this plugin listed (Test/Plugins menu option)
I've pulled down the source, and don't see any NaCl depedencies for the libcef target, and also see this issue filed for the CEF project, which make me suspect that this is currently only available for Chromium/Chrome.
--- Update ---
There has been quite a bit of activity on this question recently, I suspect in part due to the bounty, and also because Chrome/Chromium is now actively deprecating NPAPI.
If you would like to encourage the CEF team to prioritize work on adding NaCl/PNaCl support, please vote for the issue here:
http://bitbucket.org/chromiumembedded/cef/issue/705#

From the CEF Forum:
CEF does not include the NaCl pepper (ppapi) plugin which is required to load NaCl applications. So you need to tell CEF where to find the NaCl plugin via the command-line. I'm not sure of the exact command-line, but you can use this as a guide: viewtopic.php?f=10&t=10509
You can get the plugin from an equivalent version of Google Chrome of you can build it from source code. For more information see http://www.chromium.org/nativeclient/getting-started/getting-started-background-and-basics.
I haven't tested NaCl support in CEF myself so it's possible that other changes may be required.

In 2017 June, CEF3's plan to eventually suport NACL was officially dropped as mentioned in https://bitbucket.org/chromiumembedded/cef/issue/705
This is due to chromium moving to replace NACL by Webassembly.
There's some work in CEF3 in that direction: accordingly to https://bitbucket.org/chromiumembedded/cef/issues/2101/add-webassembly-support there's wasm support in v8 engine and it can be enabled by specific flags.

Related

Firepad and CodeMirror 6

I couldn't find this information on either Firepad documentation or CodeMirror. I have read CodeMirror is npm bundle based. Is Firepad compatible with CodeMirror 6 ?
Is Firepad compatible with CodeMirror 6 ?
Probably not. At the time of writing, Firepad is running on 5.52.2 (see package.json) and isn't actively developed anymore (see README.md):
This repository is no longer under active development. No new features will be added and issues are not actively triaged. Pull Requests which fix bugs are welcome and will be reviewed on a best-effort basis.
Since Codemirror 6 seems a complete rewrite with a new architecture, I don't think anymore will bother to port it over at the moment.
The original project is no longer mantainer, but I got it working and published the result as the npm package #lucafabbian/firebase. Far from perfect, but runs without major issues.
Check my demo here:
https://github.com/lucafabbian/codemirror6-firepad-demo

Using JMeter i can open firefox Driver config, but WebDriver sampler code is not working

Using JMeter i can open firefox Driver config, but WebDriver sample code is not working.
Below is the code used in WebDriver sample, Please help me.
WDS.sampleResult.sampleStart()
WDS.browser.get('http://google.com')
WDS.sampleResult.sampleEnd()
Do you see anything suspicious in jmeter.log file? My expectation is that you're using the latest Firefox version and WebDriver Sampler plugin doesn't support it.
As per JMeter Plugins Changelog
bump up Selenium dependency to 2.47.0
As per Selenium Changelog
v2.47.0
=======
Supports native events for Firefox version 31 (immediately previous ESR).
Native event support has been discontinued for versions of Firefox later
than 33. Synthetic events tested on Firefox versions 31 (immediately
previous ESR), 38 (immediately previous release and current ESR), and 39
(current release).
I would suggest downgrading your Firefox to version 31.0.6 . You can get it from Mozilla FTP website
Also check out The WebDriver Sampler: Your Top 10 Questions Answered guide, it covers this and several other frequent problems.
I agree with Dmitri T. The version 31.0.6 was the last version supporting native events. the Browser.get call is native I think. You can use a later version of firefox if you navigate instead using a JavascriptExecutor , and avoid the native calls, like .get and .sendKeys.

Google Analytics libAdIdAccess.a does not contain bitcode

Xcode 7 beta 3 just installed some "additional components" (now Version 7.0 beta 3 (7A152u)), and now I'm getting a compiler error:
ld: '/<abbreviated>/Vendor/Analytics/GoogleAnalytics/libAdIdAccess.a(TAGActualAdIdAccess.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
This Google Code post is the only mention I've found for GA and bitcode.
It would be nice if I could disable it for this library only rather than disable bitcode entirely. Is that possible?
This answer provides a work around for bitcode being enabled by default, and this may ultimately be a dupe of that more generic question.
Update:
Good news everyone!
Google Analytics now supports Bitcode with their 3.14 release. You can grab it from their download sources, however its not listed on Cocoapods yet.
Google Analytics SDK Download
Change Log
Original:
Google needs to compile their analytics SDK into a bitcode library. However, from previous experience with Google updating their libraries to 64-bit it took over half a year iirc.
My advice is if you're not supporting watchOS we can just wait it out, got to
Build Settings
Enable Bitcode
Set to No
If you are supporting watchOS, use a different analytics tool for now.
Extra info:
There's developers talking about it on a google forum here:
https://groups.google.com/forum/#!topic/ga-mobile-app-analytics/d6ML4BKBBeY
Facebook and Fabric.io (Crashlytics, TwitterKit) have already updated to use bitcode, so it technically shouldn't be too difficult for Google to follow suit. I believe this type of holdback to be politics. The ones who have the most to lose are our users.
Welcome back to 2013, as #david-wong mentioned, it took a year for Google to support arm64. Whenever Apple announces a change or requirement to the toolchain, it takes the Google ios SDK team years to update their static lib. Just to set your expectations, they just recently acknowledge that bitcode support is a "high priority" issue, even though app slicing/bitcode was announced on June 8th, 2015. If you're using GA in your main target, GA will prevent you from using the extremely valuable benefit of architecture slicing.
Disabling bitcode isn't a workaround, it's just disabling bitcode support. Hopefully someone managing GA sees this, and decides to makes ios a first class citizen.
Google have just updated the Google Analytics and Google Tag Manager SDKs (version 3.14) to support Bitcode, so you can update the libraries and compile your app using "Enable Bitcode - Yes" flag.
Download page
Direct link
Upgrade your GoogleAnalytics sdk using pod.
Open terminal
Go to your project directory
pod init
Open the pod file created in your project directory
Write the following lines
platform :ios, '10.0'
target “GoogleAnalyticsTestApp” do
pod 'GoogleAnalytics'
pod 'GoogleIDFASupport'
end
This will resolve the error. From the following links you can add Google's Api:
1.http://cocoapods.org/pods/GoogleAnalytics
2.http://developers.google.com/ios/guides/cocoapods
If you are using cocoapods, you can add this at the end of the Podfile:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
end
end
This will recurse through all the pods and mark the ENABLE_BITCODE off. Naturally, you will not be able to compile for the watch / apple tv (as they require it on some versions).

Google NaCl with Qt on Windows

I have a project which is using Qt 4.7.4 version (also I can't rebuild it using qt4.8 or qt5 – there are a lot of errors appears, project is big and not mine so fixing issues would be even harder than erasing the whole code and write new code). So I need to make this project, well, working on NativeClient.
Is it even possible? I use Windows and Visual Studio, I was trying to google instructions about qt+nacl on Windows but just can’t find nothing.
Also which pepper version should I use if it depends on it?
Is your qt build supporting native client?
Please check out this
Windows
The Qt-Nacl is not support, for now, in Windows.
By the way, here is the github repository dedicated for it -> https://github.com/msorvig/qt5-qtbase-nacl
In the file nacl-readme it is written :
[...] Windows is not supported as a host platform.
Linux
If you want to compile in Linux, I have made a script that will compile Qt5.4 with NaCl with all the dependencies needed.
https://gist.github.com/theshadowx/438297ac465874a5e226
I also made a video that will show the different steps and a showCase at the end :
https://www.youtube.com/watch?v=q2pMv1Svtqw

How do you install Flex SDK 4 to Flex Builder 3.0.2?

i am really going to be crayz. I did everything to install nightly compiled SDK 4 to FB. When i am going to design mode it says,
Design mode: Cannot load textLayout.swc (reason: ERROR: Load Verify). It may require classes (such as Adobe AIR components) that are not supported by design mode. Check the Eclipse error log for more details.
and also when i'm pressing CTRL+SPACE, code complition is not working.
Do you have an idea?
Have you seen this page: http://blog.flexexamples.com/2008/08/02/using-the-beta-gumbo-sdk-in-flex-builder-3/
(note: I haven't tried Flex 4 yet, so can't really offer much more than google-fu).
The official word is here.

Resources