Questions tagged [google-nativeclient]

Native Client (NaCl) and Portable Native Client (PNaCl) are open-source technologies for executing compiled code in a browser sandbox. PNaCl is portable and preferred but has a few limitations. Questions about the tool chain and SDK for Native Client as well as questions concerning behaviors of the resulting applications should use this tag. Questions involving HTML and JavaScript components used with Native Client may need those tags as well or instead.

Filter by
Sorted by
Tagged with
0 votes
1 answer
113 views

Do users of my web application need to manually enable native-client on their browser

I'm building a web application and i want to use c++ code on my client side. Most answers i've gone through suggest using native client. What i want to know is, will the people using the web app need ...
Maria Ahmed's user avatar
1 vote
1 answer
230 views

Outlook login request showing blank screen?

I am using below API for login to outlook but its showing me blank screen https://login.microsoftonline.com/common/oauth2/nativeclient? code=M6aff8423-620b-5d13-3d9d-e966554eea&state=x1en-...
Jordan's user avatar
  • 39
0 votes
1 answer
598 views

Is there a PNaCl test module that devs can use to see if PNaCl is running?

One of our partners makes an app that uses the Chrome Portable Native Client plugin, PNaCl for short. We use this app on our website, and some of our users have problems loading it, and I think that ...
Max Williams's user avatar
  • 32.5k
2 votes
0 answers
89 views

PNaCl logging to stdout no longer working in Chrome 72 onwards?

I'm currently working to maintain an existing PNaCl application for ChromeOS devices. Prior to Chrome 72, we were able to log to stdout and stderr and these logs would appear on the ChromeOS device ...
markeh21's user avatar
  • 189
0 votes
1 answer
150 views

Enabling developer tools on a NACL page

I'd like to debug a website that is using NACL, however the only way to access the site is through the NACL start page (see the picture below). From this page, there is no way to access the developer ...
Gibezynu Nu's user avatar
1 vote
1 answer
203 views

NACL on chromium

I do not know if this falls under the ramifications of what this website handles, but I was wondering if there is a way to install nacl onto chromium since it was removed from ubuntu's chromium ...
user890199's user avatar
3 votes
3 answers
2k views

Install chrome native client (nacl)

I am trying to install Chrome native client. I went to this https://developer.chrome.com/native-client/sdk/download page to download and install the sdk. I followed the instructions in this page ...
Yedidya kfir's user avatar
  • 1,419
2 votes
0 answers
199 views

Is Google Native Client (NaCl) vulnerable to Meltdown or Spectre attacks? [closed]

I run sel_ldr_x86_32 file32.nacl and sel_ldr_x86_64 file64.nacl on my Intel machine vulnerable to Meltdown and Spectre. Given that even JavaScript can employ Spectre, I am curious if NaCl'ed binaries ...
Stair's user avatar
  • 21
1 vote
0 answers
878 views

Running an local executable/binary via a web app?

Extending a web app for someone that I built, and one of the things we want to do is to integrate with a special piece of local hardware. I am able to communicate with this hardware, building my own ...
Guy Park's user avatar
  • 959
1 vote
1 answer
234 views

How to get functions’s start address using the unsafe package?

I need to get the first cpu instruction of a go function (not assembly or cgo), but in golang, &dummy of func dummy() {} doesn’t lead to the function start address, but to the variable start ...
user2284570's user avatar
  • 2,921
1 vote
0 answers
239 views

How to load Native Client Module manifest format (.nmf) in firefox extension background.js

I am developing an extension which supports native messaging for firefox, I want to encrypt my request/response while sending to native application, to achieve the same, I m trying to embed ...
Shivanshu Goyal's user avatar
1 vote
0 answers
3k views

Native Client(NaCl) support with Edge extension

I am developing an edge extension, where I need to use Nacl to encrypt my request while sending to backend application using native messaging. How can I use Nacl with edge extension background.js. ...
Shivanshu Goyal's user avatar
0 votes
1 answer
95 views

How to make a custom system call in Google Native Client

I have made the necessary changes to the following files irt_syscalls, nacl_syscalls, nacl_syscalls, nacl_syscalls_common, nacl_syscalls_handler_gen.py but I get Undefined reference to NaClSysLibcall ...
Yash Gautam's user avatar
0 votes
1 answer
97 views

How to avoid building NaCl client for arm?

I am trying to build a NaCl project that uses OpenCV. I am using part2 of getting_started code as a starting point. I read somewhere that OpenCV has not been ported to NaCl for arm architectures (or ...
sosegon's user avatar
  • 119
0 votes
1 answer
249 views

two different ip addresses only one works

I have an issue with the Tizen emulator. He is granting my server app an IP address of the type 10.0.2.15. I cannot get my other clients to connect to this address. Meanwhile, when i run the app on ...
schanti schul's user avatar
4 votes
1 answer
469 views

Future of native-client after WebAssembly Post-MVP

I am sure after WebAssembly Post-MVP, asm.js will be deprecated. Even now, a few existing asm.js projects already start to use WebAssembly. JS engine (V8) also starts to comiple asm.js to WebAssembly, ...
John London's user avatar
  • 1,260
0 votes
0 answers
75 views

How to create a control use native client

I want to create a control, like edit window in chrome, and npapi is not support, and now can use naci instead of it, but i can not find any control in naci sdk, anyone know that?
李小峰's user avatar
2 votes
0 answers
161 views

Tizen Native Module - How to read from network properly

I am hoping to show my local cctv in a native module on my Samsung smart tv which has Tizen. My class NativePlayer extending PP_Instance creates a class which creates a tcpsocket. I have been copying ...
Arial Buckley's user avatar
1 vote
0 answers
311 views

How to get the current EGLContext in a PPAPI Plugin that uses OpenGL

I try to develop a PPAPI Plugin (in a Chromium application) that Renders 3D Graphics using the OpenGL PPAPI Wrapper. Moreover I'd like to leverage an EGL extension that would allow me to access a ...
cmonsqpr's user avatar
  • 583
0 votes
1 answer
45 views

Testing NACL application on previous Chromebook version

I want to run chrome os application on the previous version of Chromebook. Please let me know the process to fall back to the previous version.
Dheeraj Koshti's user avatar
2 votes
0 answers
214 views

Is udp broadcast supported on Chrome Native Client (pnacl toolchain)?

I try to implement an Nacl module in a Chrome Extension that tries to discover GigE cameras using GigE Vision control service (gvcp). So I have to send an UDP broadcast message on port 3956. I use ...
Pierre's user avatar
  • 134
0 votes
1 answer
1k views

Get Windows username in Google Chrome with NaCl nexe

I face the following challenge: How can I retrieve the current logged in user ID in JS with Chrome on Windows? My current research results are: Natively this is not possible Active-X is not ...
MichaSchumann's user avatar
0 votes
1 answer
114 views

sending a POST request with Google's C++ native client

Can someone give an example of how to send a POST request with Google's C++ native client? The question has been asked before, but Google's documentation is not very helpful (and in some cases non-...
ConnorP's user avatar
  • 97
2 votes
1 answer
1k views

Getting Unauthorized from from Azure Web API

I created a basic project using Visual Studio 2015 Update 3 for Web API (nothing custom, bare bone) and deployed it to Azure (Free Account) following the instruction here. Then I created a Console ...
Diceyus's user avatar
  • 769
0 votes
1 answer
132 views

Chrome Nacl Video Decoder creation crash

I'm trying to create video decoder using Pepper api. I compiled and ran the pepper example video decoder api (in the sdk) and sample works fine. I'm trying to create a video decoder of my own but ...
Yahav Zamari's user avatar
0 votes
1 answer
102 views

Porting Eigen3 library for Chrome's Portable Native Client (PNaCl) build error

So I have an AWS instance (the free tier one) running with Ubuntu 16.04. There I have installed nacl_sdk (which is working and has allowed me to access their sample sites with success) and naclports ...
Sergey Bokhnyak's user avatar
2 votes
1 answer
243 views

Native Client inner/outer sandbox

I am dealing with the Chrome Native Client and have some difficulties in the following points: As I understood so far, the first 64 KB of the 256MB Nacl segment are dedicated to the inner-sandbox. ...
yoki's user avatar
  • 21
1 vote
0 answers
638 views

How do I register Pepper Plugins with QWebEngine?

I am trying to use the Pepper Plugin API with a QWebEngine-based browser. (It is probably going to be an implementation along the lines of Qt's browser examples "demobrowser" or "quicknanaobrowser".) ...
wickie's user avatar
  • 41
1 vote
1 answer
130 views

How can a variable in Javascript be a function, but not be able to be called?

I am currently investigating a website, and have found a curious thing. If I find a PNACL embed element in the developer console, and evaluate it in the Chrome dev console, it logs > anonymous(), ...
svbnet's user avatar
  • 1,080
1 vote
1 answer
230 views

How to create and open a file system through the Chrome Pepper C API?

The Pepper C API for Chrome browsers is defined here: https://developer.chrome.com/native-client/c-api I am trying to create and open a file system through the C API for use in a Chrome app that ...
teusbenschop's user avatar
0 votes
0 answers
65 views

Chrome extension PNaCl access background.js file

Is it possible to open an extensions background.js file in read mode directly from the PNaCl module (Chromium Projects Docs)? I wanted to be able to read the contents of that file, but I couldn't find ...
Łukasz Trzewik's user avatar
3 votes
1 answer
2k views

Porting c++ code (native client) to browser (Web app)

I have a c++ module written using Qt-creator SDK. I want to port this code to run on any webpage without compromising the source-code to end user. User should be able to see the output of this module ...
Raju's user avatar
  • 403
0 votes
1 answer
109 views

PNaCl & gtest—pnacl-ld: Incompatible object file (X8664 != X8632)

I'm a newbie at this,Please help me ...T_T... Recently I was building pthreadpool(required by NNPACK) with ninja on my Ubuntu 14.04 64bit. It requires Google PNaCl(Portable Native Client) and Google ...
ROKIM's user avatar
  • 53
0 votes
1 answer
70 views

Its possible to list printers and print via code with ChromeNaCl?

I have a web system that list all client-side printers in a combo, the user select the printer and the system prints the letters in the exctly place to fill a paper form, but this is made in activeX. ...
Carlos Salles's user avatar
2 votes
0 answers
78 views

PNaCl linking to Perl internal error in target

I'm trying to make a PNaCl application that uses WebPorts's NaCl port of Perl, but I'm getting a strange error when linking it. Here's the simple code I was trying to build: #include <EXTERN.h> ...
a spaghetto's user avatar
  • 1,072
0 votes
2 answers
104 views

pNaCl UDP Client getaddrinfo Function not implemented - untrusted code

I'm trying to write a google native client (pNacl) module. The Client is supposed to get some data from a remote server. The calling of the function from the module works fine. I'm at the very ...
redleo85's user avatar
  • 239
0 votes
1 answer
71 views

Adjust Volume In Google Native-Client

I've wrote media/stream player using google chrome native-client (nacl). The problem is that Pepper audio API does not have function to control audio level. Is there any way to adjust volume with nacl ...
Sun Dro's user avatar
  • 581
-2 votes
1 answer
84 views

On 21 Sept 2016, Is pepper_49 the stable release right NOW?

Naclsdk list indicates pepper_49 as the stable release C:\nacl_sdk>naclsdk.bat list Bundles: I: installed *: update available I sdk_tools (stable) vs_addin (dev) pepper_44 (...
menrfa's user avatar
  • 1,537
0 votes
1 answer
426 views

Building and using pnacl-compiler-rt with coverage functionality included

I'm currently having some serious trouble with making use of pnacl-compiler-rt, as I've had no success in finding any info on getting it to build (on Mac, which may or may not be relevant in the case ...
splrs's user avatar
  • 2,424
0 votes
0 answers
58 views

Response headers returned by Google's NaCL are incomplete

Response headers returned by Google's NaCL are incomplete. I can see in the network tab of chrome developer tools that browser actually received all the headers but NaCl is returning me incomplete ...
asad's user avatar
  • 281
1 vote
0 answers
718 views

NaCL flag is not enabled after loading chrome extension from Web Store

I have chrome extension (not a chrome app) that use on some site in iframe: <iframe id="application" src="chrome-extension://<extension_id>/index.html"></iframe> This extension ...
user2965454's user avatar
1 vote
1 answer
144 views

No type named 'VarDictionary' in namespace 'pp' using PNaCl

Can someone explain me why am I getting the compile error error: no type named 'VarDictionary' in namespace 'pp' pp::VarDictionary dictionary; ~~~~^ I'm tying to set a dictionary in ...
TalG's user avatar
  • 687
1 vote
2 answers
221 views

Generating random numbers went wrong

I have this code. I'm generating 2 arrays with random numbers and then creating 2 strings out of those arrays using the arrayToString function, but my output is strange. class job1Instance : public ...
TalG's user avatar
  • 687
2 votes
1 answer
106 views

Integrating an old C++ code into a PNaCl module

I read Google’s native client tutorial on how to build my own C++ based PNaCl module several times and somehow I'm not getting wiser, I know that if I want to implement a messaging functionality. I ...
TalG's user avatar
  • 687
0 votes
0 answers
185 views

Building/porting libraries to Native Client projects

I am trying to rework an existing c++ project so that it will build with the NaCl SDK, and I need to link a few libraries so that the revised project will properly compile. I am still in the "getting ...
mimewear's user avatar
1 vote
0 answers
45 views

Generic fwrite function

I am using Google Native client which requires background thread to manage IO operations. I am writing fwrite now but I am having a trouble passing data to the function and validating the data. here ...
Mohammad Abu Musa's user avatar
-1 votes
1 answer
5k views

c_str() returns empty string [duplicate]

For some reason c_str() returns empty string, the parameter const chart**out_function will hold a method name for file operations like fopen so basically what I do is converting a string I have to ...
Mohammad Abu Musa's user avatar
0 votes
1 answer
335 views

Which VFS to use in "sqlite3_open_v2()" call with NaCl port for Sqlite to enable synchronized access from multiple Chrome tabs?

I am using NaCl port of Sqlite in a Chrome(NaCl) plugin. I can open DB connection using "sqlite3_open_v2(filename, &pDB, SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE, "unix-none")". But I want to ...
user4626796's user avatar
0 votes
1 answer
76 views

Nacl_IO block thread until fopen is done

I am writing a screen recorder using NaCl, inside a thread I want to open a file. the file takes some time to open. I want to block fopen until it is done then move to the next line of code. I tried ...
Mohammad Abu Musa's user avatar
1 vote
1 answer
628 views

No rule to make target error when using Make to compile chrome app

I'm revisiting an old Chrome App project and have all the SDKs (Pepper 49) installed and Python etc. My previous project folder is accepted by Chrome in Dev mode and runs. However, I now need to ...
Dan's user avatar
  • 2,304

1
2 3 4 5
9